1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-02 01:20:54 +00:00
Commit Graph

35 Commits

Author SHA1 Message Date
William Grzybowski
1e34739b64 Use setuptools for all Python ports.
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)
2013-12-15 16:22:17 +00:00
Baptiste Daroussin
b5482324dc In preparation for making libtool generate libraries with a sane name, fix all
LIB_DEPENDS in databases
2013-12-11 18:08:52 +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
Sunpoet Po-Chuan Hsieh
ce552b4dea - Add PORTSCOUT=ignore:1 to avoid false alarm 2013-09-07 17:21:47 +00:00
Li-Wen Hsu
4e54190b40 - Install standard libraries separated as other ports to the same place
with other standard libraries (${PYTHON_LIBDIR}/lib-dynload)
- Improve consistency of the Makefile(s)
- Whitespace cleanup for the patches
2013-03-01 20:12:01 +00:00
Ruslan Makhmatkhanov
309da33d2f - do not hardcode distfile extension for lang/python ports in bsd.python.mk
(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@
2012-10-03 04:06:37 +00:00
Ruslan Makhmatkhanov
fa11d99646 - convert to using PYTHON_SITELIBDIR (not functional change) 2012-02-12 15:33:34 +00:00
Gabor Kovesdan
2fc6a06a9b - Track dependencies after databases/gdbm update 2011-09-12 13:46:58 +00:00
Erwin Lansing
74cb9eff53 Deprecate md5 in favour of sha256 checksums. md5 checksums will no longer
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
2010-10-28 21:00:21 +00:00
Li-Wen Hsu
b9f1de42ee - Grab maintainership of these ports for python@ 2010-08-20 20:53:48 +00:00
Mark Linimon
cb4c252136 Reset perky@FreeBSD.org due to maintainer-timeouts and no response
to email.

Hat:		portmgr
2010-05-23 21:16:16 +00:00
Li-Wen Hsu
979f0ac6fb - Fix building with python3*
- Use checksum file under lang/python${PYTHON_SUFFIX}/,
  for removal lang/python/distinfo

PR:		ports/136199
Submitted by:	lwhsu
Approved by:	perky
2009-07-08 09:12:46 +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
Trevor Johnson
a049dd78cc Use PLIST_FILES (bento-tested, marcus-reviewed). 2004-02-06 13:12:53 +00:00
Hye-Shik Chang
30e9e996fd Enable building for Python-2.4 by utilizing PYTHON_MASTER_SITES. 2003-11-04 17:36:04 +00:00
Hye-Shik Chang
c8eb65a5cc Chase bsd.python.mk's change PYTHON_SITE_SUBDIR -> PYTHON_MASTER_SITE_SUBDIR.
Submitted by:	marcus
2003-11-04 16:38:39 +00:00
Hye-Shik Chang
473635d704 Utilize PYTHON_SITE_SUBDIR and USE_PYTHON. 2003-10-19 08:52:10 +00:00
Hye-Shik Chang
04b39f4e75 - Use ports/lang/python's MD5_FILE.
- Take maintainership

Approved by:	tg (previous maintainer)
2003-07-31 19:48:34 +00:00
Hye-Shik Chang
b823bf7157 Add checksums for Python-2.2.3 2003-06-04 08:39:59 +00:00
Ade Lovett
7e52725f2a Clear moonlight beckons.
Requiem mors pacem pkg-comment,
And be calm ports tree.

E Nomini Patri, E Fili, E Spiritu Sancti.
2003-03-07 06:14:21 +00:00
Ying-Chieh Liao
27ebc7aa15 chase gdbm lib version 2003-01-03 08:26:35 +00:00
Hye-Shik Chang
0c46db4749 Add checksums for Python-2.2.2.
Approved by:	tg
2002-10-17 11:17:35 +00:00
Thomas Gellekum
d92e49d5cf Use USE_PYDISTUTILS. 2002-04-17 11:35:55 +00:00
Thomas Gellekum
bc9b06827b Update checksums for Python-2.2.1.
PR:		36977
Submitted by:	Hye-Shik Chang <perky@fallin.lv>
2002-04-12 10:39:45 +00:00
Thomas Gellekum
fd97ea3585 Update checksum for Python-2.1.3. 2002-04-11 11:31:49 +00:00
Thomas Gellekum
38d8068c7f Upgrade python21 to 2.1.2, the latest bugfix release.
PR:		34078
Submitted by:	Hye-Shik Chang <perky@fallin.lv>

Update checksum of dependent ports.
2002-01-22 12:53:28 +00:00
Thomas Gellekum
555f286ca1 Upgrade lang/python to 2.2. Adjust bsd.python.mk accordingly.
PR:		33444
Submitted by:	Hye-Shik Chang <perky@fallin.lv>

Add new MD5 to dependent ports.
2002-01-07 13:26:47 +00:00
Thomas Gellekum
66d7c998f9 Add checksums for 2.0.1 and 2.1.1.
Reminded by:	Ray Kohler <rkohler1@cox.rr.com>
2001-07-26 10:38:23 +00:00
Thomas Gellekum
c450afa5d4 Use the same MASTER_SITES as lang/python. 2001-05-04 11:03:58 +00:00
Thomas Gellekum
d0a20f6628 Add checksum for python-2.1. 2001-05-02 11:45:03 +00:00
Thomas Gellekum
8ff2a71cf3 Correct file name. 2001-03-05 12:44:58 +00:00
Thomas Gellekum
ed3bc16bc4 Use the py-distutils for building and installing. 2001-03-01 12:24:24 +00:00
Jimmy Olgeni
e18f0a7be2 Style/space police (space -> tab) over the database category. 2001-02-05 14:31:42 +00:00
Dmitry Sivachenko
0aafce6a70 Remove trailing period and package name from the pkg-comment. 2000-12-18 20:32:55 +00:00
Thomas Gellekum
ea73b9c22a New port py-gdbm; this contains Python bindings to the GNU dbm library. 2000-10-20 09:11:38 +00:00