1
0
Fork 0
mirror of https://git.freebsd.org/ports.git synced 2025-06-27 23:50:30 -04:00
Commit graph

20 commits

Author SHA1 Message Date
Sunpoet Po-Chuan Hsieh
9415533407 Simplify Makefile: use PY_ENUM34
With hat:	python
2018-02-26 22:32:12 +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
Antoine Brodin
410b354e0d Update to 1.2.0 2016-04-02 15:47:52 +00:00
Mathieu Arnold
597afc47ba Remove ${PORTSDIR}/ from dependencies, categories r, s, t, and u.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 14:25:16 +00:00
Antoine Brodin
6e381a9d53 Switch default python_CMD used by shebangfix to ${PYTHON_CMD} for ports
using python

PR:		201077
Reviewed by:	mat
With hat:	portmgr
Differential Revision:	https://reviews.freebsd.org/D2955
2015-07-29 22:09:53 +00:00
Antoine Brodin
1b85bc9332 Switch PYTHON_REL from a 3 digits number to a 4 digits number to handle
python 2.7.10

Differential Revision:	https://reviews.freebsd.org/D2639
Reviewed by:	sunpoet, mva
2015-05-26 16:47:02 +00:00
Mathieu Arnold
fb4deed873 Update ports in the remaining categories to not use GH_COMMIT.
With minor cleanups to make things simpler.

With hat:	portmgr
Sponsored by:	Absolight
2015-05-07 20:24:15 +00:00
Bryan Drewery
5b5a90256d Update USE_GITHUB so it does not require GH_COMMIT.
Using this new scheme allows only setting the _tag_ or _commit hash_ in
GH_TAGNAME and not having to know the hash for a tag.  This scheme will
download a tarball that has a different checksum than before due to a changed
directory name for extraction.

The following MASTER_SITES are provided to retain the old checksum and
directory structure (that require GH_COMMIT):
  GH -> GHL
  GITHUB -> GITHUB_LEGACY

Differential Revision:	https://reviews.freebsd.org/D748
Submitted by:	amdmi3
Reviewed by:	mat, swills, antoine, bdrewery
With hat:	portmgr
2015-03-19 16:44:57 +00:00
Antoine Brodin
427e3f638c Update to 1.1.0 2015-03-08 15:22:21 +00:00
Antoine Brodin
d1a393d48d Update to 1.0.4 2014-08-30 11:30:34 +00:00
Antoine Brodin
35dce6f3e8 Update to 1.0.3 2014-05-01 20:42:57 +00:00
Antoine Brodin
ef6d7df3a5 - Update to 1.0.1
- Use PYDISTUTILS_AUTOPLIST (and get rid of PY3K hack)
- Remove DOCS/EXAMPLES conditionals
2014-01-16 17:18:23 +00:00
Olli Hauer
4fb1cfb1cd - rename AL2 to APACHE20 in Mk/bsd.licenses.db.mk
- svn move Templates/Licenses/AL2 Templates/Licenses/APACHE20
- add APACHE10 and APACHE11 to Mk/bsd.licenses.db.mk
- add entry in UPDATING
- bulk change all ports AL2 => APACHE20

- math/openfst/pkg-plist: remove share/licenses/openfst-1.3.4

PR:		ports/184785
Submitted by:	ohauer
Reviewed by:	tabthorpe
Approved by:	portmgr (tabthorpe@)
2013-12-30 20:55:18 +00:00
Antoine Brodin
fe525125e4 - Update to 1.0.0
- This version works with python 3
- Use shebangfix instead of REINPLACE
- Convert to STAGEDIR
2013-10-20 18:29:53 +00:00
Baptiste Daroussin
a65ed2e51b Add NO_STAGE all over the place in preparation for the staging support (cat: security) 2013-09-20 22:55:24 +00:00
Antoine Brodin
325ea40973 Update python-registry to 0.2.7 2013-08-17 08:49:49 +00:00
Antoine Brodin
5e46505535 Update python-registry to 0.2.6 2013-08-10 11:51:31 +00:00
Antoine Brodin
9ed1e705d8 Update python-registry to 0.2.5.1 2013-07-30 19:03:06 +00:00
Antoine Brodin
b5acaf1e24 python-registry distfile is available on GH and not on GHC
Approved by:	eadler (mentor)
Feature safe:	yes
2013-04-21 19:15:11 +00:00
Ruslan Makhmatkhanov
6748e3b8de python-registry was originally written by Willi Ballenthin, a forensicator who
wanted to access the contents of the Windows Registry from his Linux laptop.
python-registry currently provides read-only access to Windows Registry files,
such as NTUSER.DAT, userdiff, and SOFTWARE. The interface is two-fold: a
high-level interface suitable for most tasks, and a low level set of parsing
objects and methods which may be used for advanced study of the Windows
Registry. python-registry is written in pure Python, making it portable across
all major platforms.

WWW: http://www.williballenthin.com/registry/

PR:		173141
Submitted by:	Antoine Brodin <antoine@FreeBSD.org>
2013-03-26 20:24:12 +00:00