Commit graph

100 commits

Author SHA1 Message Date
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
Baptiste Daroussin
bb21093773 Bump portrevision after png update 2014-12-25 20:54:41 +00:00
Antoine Brodin
439d4a07a8 Properly support png15 2014-12-24 09:03:34 +00:00
Antoine Brodin
4ba112a63f Fix a typo 2014-10-04 23:27:17 +00:00
Dmitry Sivachenko
45dce9a0a7 Correct a typo. 2014-10-03 17:48:21 +00:00
Dmitry Sivachenko
1c54e9bd92 Bump PORTREVISION because of additon of py-parsing dep;
Move some python modules deps out of BUILD_DEPENDS (they seem to be
runtime only).

Thanks to Mikhail Tsatsenko <m.tsatsenko@gmail.com>,
Geoffrey Mainland <mainland@apeiron.net> (maintainer)
2014-10-03 17:46:44 +00:00
Dmitry Sivachenko
14c052668d Add missing dep.
Submitted by:	olgeni
Approved by:	maintainer
2014-10-02 13:36:09 +00:00
Dmitry Sivachenko
ec77e60fda Update to version 1.4.0.
PR:		193505
Submitted by:	m.tsatsenko@gmail.com
Approved by:	mainland@apeiron.net (maintainer)
2014-09-28 07:48:34 +00:00
Gerald Pfeifer
15945f8122 Update the default version of GCC in the Ports Collection from GCC 4.7.4
to GCC 4.8.3.

Part II, Bump PORTREVISIONs.

PR:		192025
Tested by:	antoine (-exp runs)
Approved by:	portmgr (implicit)
2014-09-10 20:50:31 +00:00
Niclas Zeising
39fc32e828 The FreeBSD x11@ and graphics team proudly presents
a zeising, kwm production, with help from dumbbell, bdrewery:

NEW XORG ON FREEBSD 9-STABLE AND 10-STABLE

This update switches over to use the new xorg stack by default on FreeBSD 9
and 10 stable, on osversions where vt(9) is available.
It is still possible to use the old stack by specifying WITHOUT_NEW_XORG in
/etc/make.conf .
FreeBSD 8-STABLE and released versions of FreeBSD still use
the old version.
A package repository with binary packages for new xorg will
be available soon.

This patch also contains updates of libxcb and related ports, pixman, as well
as some drivers and utilities.

Bump portrevisions for xf86-* ports, as well as virtualbox-ose-additions due
to xserver version change.

Apart from these updates, the way shared libraries are handled has been
changed for all xorg ports, as well as libxml2 and freetype, which means
ltverhack is gone and as a consequence shared libraries have been bumped.
The plan is that this change will make library bumps less likely in the
future.
All affected ports have had their portrevisions bumped as a consequence of
this.

Fix some issues where WITH_NEW_XORG weren't detected properly on CURRENT.

Update instructions, hardware support, and more notes can be found on
https://wiki.freebsd.org/Graphics

Thanks to:	all testers, bdrewery and the FreeBSD x11@ team
exp-run by:	bdrewery [1]
PR:		ports/187602 [1]
Approved by:	portmgr (bdrewery), core (jhb)
2014-04-16 18:28:47 +00:00
Antoine Brodin
d14cf13d2a - Fix after conversion to PYDISTUTILS_AUTOPLIST
- Add EXAMPLES to OPTIONS_DEFINE

Reported by:	poudriere -qat
With hat:	portmgr
2014-04-04 16:19:55 +00:00
Dmitry Sivachenko
d6da3e66a0 Better way to generate correct plist for both versions of python.
Suggested by:	koobs
No objection from:	maintainer
2014-04-01 11:25:56 +00:00
Dmitry Sivachenko
b38caed684 Generate correct plist with python3. 2014-03-24 11:20:13 +00:00
Gerald Pfeifer
1cd277bdce Update the default version of GCC used in the Ports Collection from
GCC 4.6.4 to GCC 4.7.3.  This entails updating the lang/gcc port as
well as changing the default in Mk/bsd.default-versions.mk.

Part II, Bump PORTREVISIONs.

PR:		182136
Supported by:	Christoph Moench-Tegeder <cmt@burggraben.net> (fixing many ports)
Tested by:	bdrewery (two -exp runs)
2014-03-10 20:55:20 +00:00
Pietro Cerutti
40bb5736de - Convert to USES=tk
- Convert to new LIB_DEPENDS format
- STAGE-clean
2014-02-20 17:07:02 +00:00
Gerald Pfeifer
3be3e90f93 Update to libmpc version 1.0.1 which brings the following fixes:
- Switched to automake 1.11.6, see CVE-2012-3386.
 - #14669: Fixed extraction of CC from gmp.h.
 - Fixed case of intermediate zero real or imaginary part in mpc_fma,
   found by hydra with GMP_CHECK_RANDOMIZE=1346362345.

This is on top of the following changes from version 1.0

 - Licence change towards LGPLv3+ for the code and GFDLv1.3+ (with no
   invariant sections) for the documentation.
 - 100% of all lines are covered by tests
 - Renamed functions
   . mpc_mul_2exp to mpc_mul_2ui
   . mpc_div_2exp to mpc_div_2ui
 - 0^0, which returned (NaN,NaN) previously, now returns (1,+0).
 - Removed compatibility with K&R compilers, which was untestable due
   to lack of such compilers.
 - New functions
   . mpc_log10
   . mpc_mul_2si, mpc_div_2si
 - Speed-ups
   . mpc_fma
 - Bug fixes
   . mpc_div and mpc_norm now return a value indicating the effective
     rounding direction, as the other functions.
   . mpc_mul, mpc_sqr and mpc_norm now return correct results even if
     there are over- or underflows during the computation.
   . mpc_asin, mpc_proj, mpc_sqr: Wrong result when input variable has
     infinite part and equals output variable is corrected.
   . mpc_fr_sub: Wrong return value for imaginary part is corrected.

Convert to the new LIB_DEPENDS standard and remove hard-coded
.so versions from a couple of dependent ports.

Bump PORTREVISIONS of all dependent ports.

PR:		183141
Approved by:	portmgr (bdrewery)
2013-10-26 00:52:33 +00:00
Baptiste Daroussin
ce5e457020 Add NO_STAGE all over the place in preparation for the staging support (cat: math) 2013-09-20 20:55:04 +00:00
Baptiste Daroussin
10d826c3a1 Remove usage of X_VFBSERVER_PORT 2013-07-07 12:20:31 +00:00
Baptiste Daroussin
ec3e4382ca fmake is sometime to bad :( 2013-06-06 10:10:06 +00:00
Baptiste Daroussin
3a9aabe218 Convert to new options framework 2013-06-05 14:28:24 +00:00
Pietro Cerutti
b041f76bb1 - Fix build with Tcl/Tk 8.6 by letting the build system locate the Tcl/Tk
installation instead of hardcoding the paths.

Reported by:	miwi (Tcl/Tk 8.6 exp-run late comers)
Approved by:	portmgr
2013-06-03 15:35:22 +00:00
Baptiste Daroussin
992586fa08 Finish converting the whole ports tree to USES=pkgconfig 2013-04-23 14:20:25 +00:00
Jimmy Olgeni
470d488d25 This port must USE_PKGCONFIG, else pkg-config will not be available
when building without X11 frontends, causing the build to fail.

Approved by:	maintainer
2013-03-14 13:59:40 +00:00
Li-Wen Hsu
4226f978f7 - Update *_DEPENDS on x11-toolkits/py-tkinter after _tkinter.so relocation 2013-03-02 23:04:45 +00:00
Ruslan Makhmatkhanov
965bb4f692 Change USE_PYTHON to yes. Since version 1.2.0 matplotlib adding python3 support.
But please note that it still can't be built from ports with python3 without user
intervention, because a) it depends on pygtk2 by default and b) we have no
suitable py-dateutil version that works with python3.

Requested by:	demon (at developers@)
2013-01-11 20:05:48 +00:00
Ruslan Makhmatkhanov
fc4d1d6b71 - update to 1.2.0
PR:		173843
Submitted by:	David Naylor <naylor.b.david@gmail.com>
Approved by:	Geoffrey Mainland <mainland@apeiron.net> (maintainer)
2013-01-10 19:05:43 +00:00
Carlo Strub
db5e2bc177 Fix typos in COMMENT
Approved by:	portmgr@ (implicit)
2012-07-29 11:17:02 +00:00