Commit graph

126 commits

Author SHA1 Message Date
Dmitry Marakasov
559d03711f math/py-matplotlib: remove unneded dependency on tcl
PR:		255843
Approved by:	maintainer timeout (mainland@apeiron.net, 1 month)
2021-06-10 17:00:44 +03:00
Thierry Thomas
7d8e528099 math/py-matplotlib: upgrade to 3.4.1.
Release notes at <https://matplotlib.org/stable/users/whats_new.html#id4>.
2021-05-09 22:47:43 +02:00
Mathieu Arnold
305f148f48
Remove # $FreeBSD$ from Makefiles. 2021-04-06 16:31:07 +02:00
Rainer Hurling
8e2c19381f math/py-matplotlib: Update to 3.3.3
Changelog: https://github.com/matplotlib/matplotlib/releases

PR:		252432
Approved by:	arrowd (mentor)
2021-01-05 17:05:57 +00:00
Kai Knoblich
a96535ce64 math/py-matplotlib: Fix build with Python 3.8.7
* Since r558913 the port fails to package.  Adjust pkg-plist with new
  PYTHON_EXT_SUFFIX variable introduced to python.mk in r559071 to remedy
  the issue.

PR:		252057 (related)
Submitted by:	portmgr (blanket: build fix)
2020-12-31 12:04:53 +00:00
Fernando Apesteguía
3a69b7a5e7 math/py-matplotlib: Unbreak in 11.4
Use LLVM linker to build successfully.

Quaterly is also broken:

https://docs.freebsd.org/cgi/getmsg.cgi?fetch=152802642+0+current/freebsd-pkg-fallout
https://docs.freebsd.org/cgi/getmsg.cgi?fetch=152706419+0+current/freebsd-pkg-fallout

PR:	250627
Submitted by:	bengta@sics.se
MFH: 2020Q4 (blanket build fix)
2020-10-29 07:16:09 +00:00
Antoine Brodin
9e6683e879 Unbreak bulk -a 2020-09-19 14:15:42 +00:00
Thierry Thomas
7212bd1061 Upgrade py-matplotlib to 3.3.1, and keep a repocopy of 2.2.4.
Changelog at <https://matplotlib.org/3.3.1/users/whats_new.html>.

PR:		236913
Submitted by:	chitty_cloud (at) me.com
Approved by:	maintainer
2020-09-19 13:10:26 +00:00
Antoine Brodin
bf1573f316 Revert r534292, this was not properly tested
With hat:	portmgr
2020-05-07 21:09:25 +00:00
Renato Botelho
d4e565a7b5 math/py-matplotlib: Update to 3.2.1
PR:		245650
Submitted by:	Jose Luis Duran <jlduran@gmail.com>
Approved by:	maintainer timeout (> 2 weeks)
2020-05-07 20:55:38 +00:00
Antoine Brodin
fe9980b985 Remove optional dependency on pygtk2 and py-wxPython28
With hat:	portmgr
2020-04-18 09:17:42 +00:00
Antoine Brodin
8eb5d593da Convert to USES=display 2020-02-19 13:03:59 +00:00
Gerald Pfeifer
ea8c8ec7da Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.

PR:		238330
2019-07-26 20:46:53 +00:00
Antoine Brodin
e413c34db1 Switch default version of python to 3.6
PR:		234633
With hat:	portmgr
Differential Revision:	https://reviews.freebsd.org/D18743
2019-04-10 05:47:26 +00:00
Sunpoet Po-Chuan Hsieh
f7db2e9a2c Remove unnecessary jquery-ui-1.12.1.zip from DISTFILES
jquery-ui-1.21.1 is already bundled in the matplot 2.2.4 tarball [1].
This patch fixes r496681.

[1] https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=236455#c4

PR:		236740
Submitted by:	sunpoet (myself)
Approved by:	maintainer (timeout, 14 days)
2019-04-06 14:46:04 +00:00
Thomas Zander
5dcc619ac2 Update to upstream version 2.2.4
While on it:
- Pet portlint

PR:		236455
Submitted by:	lbartoletti@tuxfamily.org
Approved by:	mainland@apeiron.net (maintainer)
2019-03-23 18:48:58 +00:00
Sunpoet Po-Chuan Hsieh
50a9a69da6 Update to 2.2.3
- Change MASTER_SITES from GitHub to CHEESESHOP
- Add USES=gnome
- Silence extraction and patch message
- Do not silence installation message

Changes:	https://github.com/matplotlib/matplotlib/releases
PR:		236276
Submitted by:	sunpoet (myself)

Approved by:	(maintainer)
2019-03-21 19:41:49 +00:00
Tobias C. Berner
4047522fd9 math/py-matplotlib: remove QT4AGGBACKEND option (Qt4 deprecation)
Approved by:	portmgr (implicit)
2019-03-16 17:45:32 +00:00
Gerald Pfeifer
a9f015d155 Bump PORTREVISION for ports depending on the canonical version of GCC
defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t
GCC 8.2 under most circumstances.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, as a double check, everything INDEX-11 showed depending on lang/gcc7.

PR:		231590
2018-12-12 01:35:33 +00:00
Rene Ladan
99d6d12a38 Mark QT4 ports/functionality for removal on 2019-03-15
While here, chase some KDE4 ports and functionality, these are scheduled for
removal on 2018-12-31. Change the default option/flavor to QT5 where applicable
or use alternative toolkits like GTK.

Submitted by:	tcberner
Reviewed by:	adridg, jhale, rene, tcberner
Approved by:	portmgr (implicit, flavor hook)
Differential Revision:	https://reviews.freebsd.org/D17741
2018-12-02 15:41:47 +00:00
Tobias C. Berner
cc8a667aa2 pyqt: Change install directories for Python flavor support
* PyQt could not be installed for multiple Python versions at
  the same time, as there were conflicting files.

  This patch creates Python-version versioned directories for
  all these, and further installs binaries with a version number.

* Note, there might be some hickups for software that depends on
  on of the .so's provided by PyQt5, which might not be found
  anymore autmotically, and maybe need some LD-flaggery.

* Update PyQt5 to 5.10.1

* Mark www/py-qt5-webengine broken. It is unforuntately no longer
  compatible with the old qt5-webengine-5.9.4 we ship.

PR:		232745
Exp-run by:	antoine
Differential Revision:	https://reviews.freebsd.org/D8714
2018-11-22 20:18:37 +00:00
Gerald Pfeifer
09f9633cb6 Bump PORTREVISION for ports depending on the canonical version of GCC
in the ports tree (via Mk/bsd.default-versions.mk and lang/gcc) which
has now moved from GCC 6 to GCC 7 by default.

This includes ports
 - featuring USE_GCC=yes or USE_GCC=any,
 - featuring USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and those
 - with USES=compiler specifying one of openmp, nestedfct, c11, c++0x,
   c++11-lib, c++11-lang, c++14-lang, c++17-lang, or gcc-c++11-lib.

PR:		222542
2018-07-29 22:18:44 +00:00
Mathieu Arnold
4376dbbb58 Use PY_FLAVOR for dependencies.
FLAVOR is the current port's flavor, it should not be used outside of
this scope.

Sponsored by:	Absolight
2018-06-20 17:05:41 +00:00
Gerald Pfeifer
c2a92a1aea Bump PORTREVISIONs of all users of math/mpc that we just updated to
version 1.1.0 (via revision 464079).
2018-03-10 17:46:04 +00:00
Yuri Victorovich
72629cd9c1 math/py-matplotlib: Unbreak build on 12 i386
Also used the helper for py27-only dependency.

Reported by:	antoine (for build failure, in bug#222689), jhale (for dependency)
Approved by:	tcberner (mentor, implicit)
2018-03-10 06:46:00 +00:00
Yuri Victorovich
59b28943a2 math/py-matplotlib: Dependency devel/py-backports.functools_lru_cache is only for python-2.7
Reported by:	tobik
Approved by:	tcberner (mentor, implicit)
2018-03-09 07:23:45 +00:00
Yuri Victorovich
782afbe154 math/py-matplotlib: Add missing dependency devel/py-backports.functools_lru_cache
Reported by:	Shane <FreeBSD@ShaneWare.Biz> in bug#226441 comment
Approved by:	tcberner (mentor, implicit)
Approved by:	portmgr blanket
2018-03-09 06:30:20 +00:00
Yuri Victorovich
b0896d33d0 math/py-matplotlib: Update to 2.1.2
Maintainer's timeout expired: mainland@apeiron.net

Additional port changes:
* Changed to DISTVERSION
* Changed WWW to https URL

PR:		222689
Submitted by:	Kostas Oikonomou <ko@research.att.com> (version 2.0.2)
Approved by:	portmgr (maintainer timeout, 14 days)
Approved by:	tcberner (mentor, implicit)
2018-02-24 11:12:25 +00:00
Jan Beich
1b096ffd34 math/py-matplotlib: unbreak build with Clang 6 (C++14 by default)
extern/ttconv/pprdrv_tt.cpp:245:41: error: cast from pointer to smaller type 'char' loses information
                font->Copyright[length]=(char)NULL;
                                        ^~~~~~~~~~
extern/ttconv/pprdrv_tt.cpp:261:42: error: cast from pointer to smaller type 'char' loses information
                font->FamilyName[length]=(char)NULL;
                                         ^~~~~~~~~~
extern/ttconv/pprdrv_tt.cpp:277:37: error: cast from pointer to smaller type 'char' loses information
                font->Style[length]=(char)NULL;
                                    ^~~~~~~~~~
extern/ttconv/pprdrv_tt.cpp:293:40: error: cast from pointer to smaller type 'char' loses information
                font->FullName[length]=(char)NULL;
                                       ^~~~~~~~~~
extern/ttconv/pprdrv_tt.cpp:309:39: error: cast from pointer to smaller type 'char' loses information
                font->Version[length]=(char)NULL;
                                      ^~~~~~~~~~
extern/ttconv/pprdrv_tt.cpp:325:40: error: cast from pointer to smaller type 'char' loses information
                font->PostName[length]=(char)NULL;
                                       ^~~~~~~~~~
extern/ttconv/pprdrv_tt.cpp:340:42: error: cast from pointer to smaller type 'char' loses information
                font->PostName[length/2]=(char)NULL;
                                         ^~~~~~~~~~
extern/ttconv/pprdrv_tt.cpp:355:41: error: cast from pointer to smaller type 'char' loses information
                font->Trademark[length]=(char)NULL;
                                        ^~~~~~~~~~
extern/ttconv/pprdrv_tt.cpp:1041:19: error: cast from pointer to smaller type 'char' loses information
        temp[len]=(char)NULL;   /* a buffer and make it ASCIIz. */
                  ^~~~~~~~~~

Reported by:	antoine (via bug 224669)
2018-01-06 05:24:09 +00:00
Tobias Kortkamp
1aaf849b21 math/py-matplotlib: Allow build for Python 3.x
- x11-toolkits/{py-gtk2,py-wxPython28} do not support Python 3.x, so
  exclude the GTKBACKEND, GTKAGGBACKEND, and WXAGGBACKEND in that case.

PR:		213636
Reported by:	lbartoletti@tuxfamily.org
Submitted by:	rsmith@xs4all.nl (based on)
Reviewed by:	mat
Approved by:	maintainer timeout
Differential Revision:	https://reviews.freebsd.org/D13377
2017-12-06 19:46:53 +00:00
Mathieu Arnold
551be3c723 Convert Python ports to FLAVORS.
Ports using USE_PYTHON=distutils are now flavored.  They will
  automatically get flavors (py27, py34, py35, py36) depending on what
  versions they support.

  There is also a USE_PYTHON=flavors for ports that do not use distutils
  but need FLAVORS to be set.  A USE_PYTHON=noflavors can be set if
  using distutils but flavors are not wanted.

  A new USE_PYTHON=optsuffix that will add PYTHON_PKGNAMESUFFIX has been
  added to cope with Python ports that did not have the Python
  PKGNAMEPREFIX but are flavored.

  USES=python now also exports a PY_FLAVOR variable that contains the
  current python flavor.  It can be used in dependency lines when the
  port itself is not python flavored.  For example, deskutils/calibre.

  By default, all the flavors are generated.  To only generate flavors
  for the versions in PYTHON2_DEFAULT and PYTHON3_DEFAULT, define
  BUILD_DEFAULT_PYTHON_FLAVORS in your make.conf.

  In all the ports with Python dependencies, the *_DEPENDS entries MUST
  end with the flavor so that the framework knows which to build/use.
  This is done by appending '@${PY_FLAVOR}' after the origin (or
  @${FLAVOR} if in a Python module with Python flavors, as the content
  will be the same).  For example:

    RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR}

PR:		223071
Reviewed by:	portmgr, python
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D12464
2017-11-30 15:50:30 +00:00
Gerald Pfeifer
e59c88cece Bump PORTREVISION for ports depending on the canonical version of GCC
(via Mk/bsd.default-versions.mk and lang/gcc) which has moved from
GCC 5.4 to GCC 6.4 under most circumstances.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c++11-lib, c++11-lang,
   c++14-lang, c++0x, c11, or gcc-c++11-lib.

PR:		219275
2017-09-10 20:55:38 +00:00
Sunpoet Po-Chuan Hsieh
15c81f5ca2 Remove no-op WX_UNICODE
Approved by:	portmgr (blanket)
2017-06-11 01:56:56 +00:00
Gerald Pfeifer
04d6f52202 Bump PORTREVISIONs for ports depending on the canonical version of GCC and
lang/gcc which have moved from GCC 4.9.4 to GCC 5.4 (at least under some
circumstances such as versions of FreeBSD or platforms).

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using using Mk/bsd.octave.mk which in turn has USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c++11-lib, c++14-lang,
   c++11-lang, c++0x, c11, or gcc-c++11-lib.

PR:		216707
2017-04-01 15:23:30 +00:00
Tobias C. Berner
4c7d30bb70 Switch ports to use USE_PYQT=<foo> instead of using RUN_- and BUILD_DEPENDS
pyqt.mk provides USE_PYQT=<list> to depend on its components. Convert the ports
not yet using it to it.

Reviewed by:	rakuco, mat
Approved by:	rakuco (mentor)
Differential Revision:	https://reviews.freebsd.org/D9261
2017-02-04 13:37:15 +00:00
Kurt Jaeger
2e4255b7e5 math/py-matplotlib: really depend on python2.7 and not on the metaport
PR:		214600
Submitted by:	koobs
2016-11-23 08:09:40 +00:00
Kurt Jaeger
411fd19ca2 math/py-matplotlib: update 1.5.0 -> 1.5.3
- MASTER_SITE sourceforge seems to have been discontinued,
  it doesn't have the latest version any more.
- Additionally, 1.5.3 version doesn't build with python-3.X because
  'import gtk' which the build tries fails in python3. Therefore, python:2.

PR:		214600
Submitted by:	Yuri Victorovich <yuri@rawbw.com>
Approved by:	mainland@apeiron.net (maintainer)
2016-11-23 05:39:34 +00:00
Kurt Jaeger
6f33585070 math/py-matplotlib: Add Qt5Agg backend option
- Now that there are Qt5 python bindings in ports, matplotlib can
  be configured to use them.

PR:		212763
Submitted by:	Matthieu Volat <mazhe@alkumuna.eu>
Approved by:	mainland@apeiron.net (maintainer)
2016-10-30 11:39:42 +00:00
Mathieu Arnold
8d6597e0bb Remove ${PORTSDIR}/ from dependencies, categories m, n, o, and p.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 14:16:16 +00:00
Jimmy Olgeni
9d2c409fc6 Make the cairo and gdkpixbuf2 dependencies conditional on
GTKBACKEND and GTKAGGBACKEND. This change restores headless
support.

Approved by:	maintainer (by mail)
2016-02-15 00:56:30 +00:00
Ruslan Makhmatkhanov
5848a9fb38 math/py-matplotlib: update to 1.5.0
Release notes:
http://matplotlib.org/users/whats_new.html#new-in-matplotlib-1-5

This port still can't be built with python 3.x here.

PR:		205538
Submitted by:	yuri@rawbw.com
Approved by:	mainland@apeiron.net (maintainer)
2016-02-13 16:49:00 +00:00
Sunpoet Po-Chuan Hsieh
fb4243736a - Move devel/py-parsing to devel/py-pyparsing
- Change MASTER_SITES to CHEESESHOP
- Remove DISTNAME
- While I'm here, remove duplicate PORTREVISION for security/py-crits/Makefile
2015-11-04 20:11:00 +00:00
Antoine Brodin
2c0d50dd9a Fix make patch 2015-10-30 07:08:19 +00:00
Mathieu Arnold
2c1694b96c Add Qt4Agg backend option.
Simplify post-install stripping.

PR:		203150
Submitted by:	Matthieu Volat
Approved by:	maintainer
Sponsored by:	Absolight
2015-10-29 13:47:20 +00:00
Jimmy Olgeni
bb150603ef Unbreak math/py-matplotlib when some options are disabled (original PR).
The previous version tried to ${STRIP} non-existing files.

Some additional fixes:

- Fix WXAGGBACKEND_VARS, which was overwritten and broke the WX build
- Fix permissions in .py files
- Sort entries in post-install
- Whitespace fixes

PR:		203417
Submitted by:	Tomi Kause
Reviewed by:	olgeni
Approved by:	maintainer
2015-10-07 12:50:42 +00:00
Antoine Brodin
2ade0213a5 Unbreak build and check-sanity
Pointy hat:	bofh@
2015-09-14 18:27:32 +00:00
Muhammad Moinur Rahman
a2b4ecec50 math/py-matplotlib: Add uniquefiles:dirs for version specific files [1]
- Convert to OPTIONSNG
- Convert patch files to be 'make makepatch' compatible
- Depreciate bsd.port.options.mk
- Add STRIP_CMD for shared objects

PR:		202205 [1]
Submitted by:	mazhe@alkumuna.eu [1]
2015-09-14 10:00:02 +00:00
Baptiste Daroussin
73f610542b Enforce unicode version of wxGTK 2015-09-13 18:58:29 +00:00
Mathieu Arnold
21a283f3be Remove UNIQUENAME and LATEST_LINK.
UNIQUENAME was never unique, it was only used by USE_LDCONFIG and now,
we won't have conflicts there.

Use PKGBASE instead of LATEST_LINK in PKGLATESTFILE, the *only* consumer
is pkg-devel, and it works just fine without LATEST_LINK as pkg-devel
has the correct PKGNAME anyway.

Now that UNIQUENAME is gone, OPTIONSFILE is too. (it's been called
OPTIONS_FILE now.)

Reviewed by:	antoine, bapt
Exp-run by:	antoine
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D3336
2015-08-17 14:20:40 +00:00
Thierry Thomas
ec894695fa Update to 1.4.3.
PR:		ports/200664
Submitted by:	yuri (at) rawbw.com
Approved by:	maintainer
2015-06-21 16:40:47 +00:00