Commit Graph

13 Commits

Author SHA1 Message Date
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
Dmitry Marakasov
c637402081 Switch all pypi.python.org WWWs to a new PyPi home pypi.org where
they now redirect to anyway. All new urls checked to return 200,
I've fixed a couple of them in the process.

Approved by:	portmgr blanket, mat
2018-04-25 16:42:37 +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
Mathieu Arnold
4e1b79a0a6 Remove ${PORTSDIR}/ from dependencies, categories d, e, f, and g.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 14:00:51 +00:00
Sunpoet Po-Chuan Hsieh
d2f445d451 - Update to 0.6.2
- Sort USE_PYTHON
- Add PyPI as primary WWW
- Update WWW

Changes:	https://github.com/patx/pickledb/commits/master
2016-03-26 17:10:39 +00:00
Olivier Duchateau
81a75fd03f - Update to 0.4
- Re-assign to the Python team
- Adjust WWW entry
2015-12-07 18:39:53 +00:00
Marcus von Appen
e1555011ab - Convert ports from databases/ and deskutils/ to new USES=python
Approved by:	portmgr (implicit)
2014-10-19 08:50:17 +00:00
Steve Wills
45c04e0941 - Stage
- Pet portlint

PR:		ports/188619
Submitted by:	Bartek Rutkowski <ports@robakdesign.com>
Approved by:	portmgr@ (blanket)
2014-04-15 15:21:24 +00:00
Rene Ladan
50f8eaece1 Python cleanup:
- USE_PYTHON* = 2.X -> USE_PYTHON* = 2
- USE_PYTHON* = 2.X+ -> USE_PYTHON* = yes
Reviewed by:	python (mva, rm)
Approved by:	portmgr-lurkers (mat)
2014-01-13 21:00:02 +00:00
Baptiste Daroussin
36117d7097 Add NO_STAGE all over the place in preparation for the staging support (cat: databases) 2013-09-20 16:13:47 +00:00
Carlo Strub
d5fda8cb2c Fix typos in COMMENT 2012-07-25 06:32:06 +00:00
Martin Wilke
4cbf2608f3 - Update to 0.3
PR:		162779
Submitted by:	maintainer
 Feature safe: yes
2011-11-25 17:05:00 +00:00
Martin Wilke
07ef322d9d pickleDB is a lightweight, fast, and simple database based on Python's own
json module.

WWW:	http://packages.python.org/pyckleDB/

PR:		ports/162282
Submitted by:	Olivier Duchateau <duchateau.olivier@gmail.com>
2011-11-05 18:41:28 +00:00