| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/head/; revision=455210
|
|
|
|
|
|
|
| |
Approved by: portmgr blanket
Notes:
svn path=/head/; revision=415501
|
|
|
|
|
|
|
|
| |
With hat: portmgr
Sponsored by: Absolight
Notes:
svn path=/head/; revision=412346
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
non-default Python versions:
- Add pyXY-{sqlite3,gdbm,tkinter} ports for generating binary packages
- Improve/add pkg-message to point users to install respective packages of
separated Python standard modules
- Add COMMENT to explicitly show the Python version that package should be
used with
- Simplify version-related PYTHON_* for lang/python35
Reviewed by: koobs
Differential Revision: https://reviews.freebsd.org/D4170
Notes:
svn path=/head/; revision=401909
|
|
|
|
|
|
|
|
|
|
| |
python 2.7.10
Differential Revision: https://reviews.freebsd.org/D2639
Reviewed by: sunpoet, mva
Notes:
svn path=/head/; revision=387491
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Replace ${MASTER_SITE_FOO} with FOO.
- Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9%
of the time.)
- Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and
no hint of what it should be was present.
- Fix some logic.
- And generally, make things more simple and easy to understand.
While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and
SAMBA macros.
Also, replace some EXTRACT_SUFX occurences with USES=tar:*.
Checked by: make fetch-urlall-list
With hat: portmgr
Sponsored by: Absolight
Notes:
svn path=/head/; revision=386312
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Strip shared extension
- Sort DIST* entries
- Sort USE_PYTHON values
- Add LICENSE_FILE
Approved by: python (with hat)
Notes:
svn path=/head/; revision=378837
|
|
|
|
|
|
|
| |
With hat: python@
Notes:
svn path=/head/; revision=369466
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Please use USES=python instead of USE_PYTHON.
USE_PYTHON=yes becomes USES=python
USE_PYTHON=2.7+ becomes USES=python:2.7+
USE_PYTHON_BUILD=3.3 becomes USES=python:3.3,build
...
A new PYTHON_FEATURES variable was added, which enables certain features for a
port and replaces some knobs at the same time;
PYTHON_FEATURES=distutils replaces USE_PYDISTUTILS
PYTHON_FEATURES=autoplist replaces PYDISTUTILS_AUTOPLIST
PYTHON_FEATURES=py3kplist replaces PYTHON_PY3K_PLIST_HACK
PYTHON_FEATURES=noegginfo replaces PYDISTUTILS_NOEGGINFO
PYTHON_FEATURES=concurrent replaces PYTHON_CONCURRENT_INSTALL
PYTHON_FEATURES=pythonprefix replaces USE_PYTHON_PREFIX
Some knobs have been deprecated and are to be removed in the near future:
PYTHON_MASTER_SITES - use MASTER_SITE_PYTHON instead
PYTHON_PKGNAMESUFFIX - use PYTHON_PKGNAMEPREFIX instead
PYDISTUTILS_INSTALLNOSINGLE - deprecated without replacement
Some knobs have been removed completely:
PYTHON_MASTER_SITE_SUBDIR
PYTHON_DISTNAME
PYTHON_WRKSRC
Several variables specific to the Python framework are no longer passed to the
build environment to avoid polluting dependency builds.
PYTHON_VERSION is not passed to .MAKEFLAGS anymore
PYTHON_DEFAULT_VERSION,
PYTHON_DEFAULT_PORTVERSION and
PYTHONBASE are not passed to the make environment anymore
The conversion required a couple of ports to be updated to fit the changes and
new requirements. Those included "bsd.python.mk" directly or contained checks
in places, for which the USES framework would fail to provide correct values.
Python modules directly using the upstream Python package (such as py-tkinter
or py-sqlite3) were updated to avoid using the now unnecessary and remmoved
knobs from "bsd.python.mk".
Phabric: D399
exp-run: 167368 192357
PR: 167368 192357
Reviewed by: antoine, wg
Exp-run award: antoine
With hat: python@
Approved by: portmgr
Notes:
svn path=/head/; revision=364450
|
|
|
|
|
|
|
| |
With hat: python@
Notes:
svn path=/head/; revision=363791
|
|
|
|
|
|
|
| |
Approved by: portmgr (myself)
Notes:
svn path=/head/; revision=359586
|
|
|
|
|
|
|
|
| |
- Pet portlint: use PYTHON_DISTNAME instead of PYTHON_DISTFILE
- Use USES=tar:xz
Notes:
svn path=/head/; revision=350902
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Setuptools is the preferred method to manage Python distributions after
many changes to the packaging ecosystem over the past couple of years.
Only ports using USE_PYDISTUTILS= yes are affected by this commit, ports using
USE_PYDISTUTILS= easy_install remains the same however this usage is now
deprecated and should be converted to USE_PYDISTUTILS= yes.
Some Python distributions do not work with setuptools out of the box because
they extend the install command from distutils and not setuptools, and
so they need to be patched accordingly.
pip (which leverages setuptools) works around the issue by using eggs, however
we want to get rid of those as well, as support for "flat" installation is
unavailable or has other issues associated with it.
This work allows us to unify how python packages are built, ensure that Python
distributions are installed consistently, reduces complexity for Python port
maintainers and paves the way for simplifying the Python ports framework in
the future.
With hat on: python
Reviewed by: koobs, antoine
Exp-run: bdrewery
Approved by: bdrewery (portmgr)
Notes:
svn path=/head/; revision=336553
|
|
|
|
|
|
|
| |
LIB_DEPENDS in databases
Notes:
svn path=/head/; revision=336187
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Remove BROKEN for ARM architecture [1]
[1] http://lists.freebsd.org/pipermail/freebsd-python/2013-October/005960.html
PR: ports/183549
Reported by: Xu Waycell <xw901103@gmail.com>
Notes:
svn path=/head/; revision=332358
|
|
|
|
|
|
|
| |
databases)
Notes:
svn path=/head/; revision=327717
|
|
|
|
| |
Notes:
svn path=/head/; revision=326661
|
|
|
|
|
|
|
|
|
| |
with other standard libraries (${PYTHON_LIBDIR}/lib-dynload)
- Improve consistency of the Makefile(s)
- Whitespace cleanup for the patches
Notes:
svn path=/head/; revision=313167
|
|
|
|
|
|
|
|
|
|
|
|
| |
(PYTHON_DISTFILE variable)
- switch lang/python ports (and it's slaves) to tar.xz
I compared all the four pairs .tgz/.tar.xz and they have no content differences.
Discussed on: python@
Notes:
svn path=/head/; revision=305181
|
|
|
|
|
|
|
|
|
| |
PR: ports/170946
Submitted by: linimon
Hat: portmgr
Notes:
svn path=/head/; revision=303634
|
|
|
|
|
|
|
|
|
|
| |
option turned off
PR: ports/156076
Submitted by: Pan Tsu <inyaoo@gmail.com>
Notes:
svn path=/head/; revision=301540
|
|
|
|
|
|
|
|
| |
PR: ports/161535
Submitted by: Ruslan Mahmatkhanov <cvs-src@yandex.ru>
Notes:
svn path=/head/; revision=283474
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
be generated or checked, and will be silently ignored for now. Also,
generalize the MD5_FILE macro to DISTINFO_FILO.
PR: 149657
Submitted by: rene
Approved by: portmgr
Tested on: pointyhat i386 7-exp
Notes:
svn path=/head/; revision=263705
|
|
|
|
|
|
|
|
| |
- Use checksum file under lang/python${PYTHON_SUFFIX}/,
for removal lang/python/distinfo
Notes:
svn path=/head/; revision=236835
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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
Notes:
svn path=/head/; revision=196700
|
|
|
|
| |
Notes:
svn path=/head/; revision=188801
|
|
|
|
|
|
|
| |
broken at that time and no fix has been submitted.
Notes:
svn path=/head/; revision=184837
|
|
|
|
|
|
|
| |
Approved by: portmgr (self)
Notes:
svn path=/head/; revision=175227
|
|
|
|
|
|
|
| |
standard modules.
Notes:
svn path=/head/; revision=169882
|
|
This port installs a Python "standard" library version of pysqlite
which is provided by databases/py-pysqlite22 already. Because
sqlite3 module was introduced in Python 2.5, this port plays only
for 2.5 or laters.
See Also: http://docs.python.org/dev/lib/module-sqlite3.html
Notes:
svn path=/head/; revision=166074
|