Commit graph

15 commits

Author SHA1 Message Date
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
Dmitry Marakasov
e1e5b44eb1 - Switch to USES=tar
- Strip library
2015-03-19 00:20:53 +00:00
Marcus von Appen
214bd533a7 - Convert ports of math/ to new USES=python
Approved by:	portmgr (implicit)
2014-10-21 16:54:54 +00:00
William Grzybowski
0c121deb76 math/py-probstat: support staging and use auto plist 2013-12-28 11:14:20 +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
Martin Wilke
bb86cbe5d2 - Get Rid MD5 support 2011-03-20 12:54:45 +00:00
Dmitry Marakasov
a13d9a603d - Switch SourceForge ports to the new File Release System: categories starting with M 2009-08-22 00:28:34 +00:00
Alexander Botero-Lowry
4942ce5a7d - Make Python 2.5.1 the default Python version
- Add significantly better support in bsd.python.mk for working with
   Python Eggs and the easy_install system

Tested by:	pointyhat runs
Approved by:	pav (portmgr)
Most work by:	perky
Thanks to:	pav
2007-07-30 09:42:28 +00:00
Pav Lucistnik
6d7f8c459f - Add SHA256 2005-11-25 15:48:16 +00:00
Trevor Johnson
3c175cb569 Use PLIST_FILES.
Reviewed by:	marcus
2004-02-05 20:38:07 +00:00
Trevor Johnson
f15b845ebe SIZEify. 2004-01-29 16:13:06 +00:00
Akinori MUSHA
2c41b9e5f3 De-pkg-comment. 2003-02-20 19:00:52 +00:00
Mario Sergio Fujikawa Ferreira
f0a1969d34 o Rollback PORTCOMMENT modifications while this feature's implementation
is better studied
o Turn PORTCOMMENT variable in Makefile back into pkg-comment files

Approved by:	kris (portmgr hat),
		portmgr, re (silence)
2002-11-10 16:48:51 +00:00
Adam Weinberger
d9611f9375 Use PORTCOMMENT in the Makefile, and whack the pkg-comment.
Approved by:	pat
2002-11-06 22:47:41 +00:00
Ying-Chieh Liao
36f7228995 add py-probstat 0.912
Probability And Statistics Utils for Python
2002-10-12 13:23:58 +00:00