Commit graph

25 commits

Author SHA1 Message Date
Ruslan Makhmatkhanov
b20cc2697d - remove patch for python26, that's not in tree anymore
- turn extra-patch for python27 into regular patch and remove corresponding
  logic from Makefile
2014-02-09 13:46:50 +00:00
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
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
888c4c9a5b - Add PORTSCOUT=ignore:1 to avoid false alarm 2013-09-07 17:21:44 +00:00
Ruslan Makhmatkhanov
11bf569497 - update to latest upstream versions:
. lang/python27: 2.7.3 -> 2.7.5
  . lang/python32: 3.2.3 -> 3.2.4
  . lang/python33: 3.3.0 -> 3.3.1
- update Mk/bsd.python.mk with new versions
- mark lang/python26 and lang/python31 as deprecated (set them to
  upstream EoL dates)
- update docs (lang/python-doc-html)
- align databases/py-bsddb patch for python27 - most of it was applied
  upstream. Raise BDB version to 4.3 atleast, according to
  upstream requirements.

Many thanks to Martin (miwi) for his time on this update.

PR:		178506
Submitted by:	rm (myself)
Exp-run by:	    portmgr (miwi)

- revert erroneous threads patch in lang/python26 and lang/python27,
  that was added after ports/131080. It was rejected upstream, because it's
  not actually a bug, but misuse.

  Gabor Pali (pgj) in collaboration with Kubilay Kocak (koobs) did an
  independent investigation regard the issue. See here for details:

  http://lists.freebsd.org/pipermail/freebsd-python/2013-April/005376.html

PR:	    153167
Submitted by:	Duncan Findlay <duncan@duncf.ca>
Reported by:	pgj/koobs (at python@ ML)
Exp-run by:     portmgr (miwi)
2013-05-17 04:17:22 +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
44b69bf6bd - cleanup unsupported python versions
- trim Makefile header
2012-10-03 06:02:24 +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
Sunpoet Po-Chuan Hsieh
b16b930ff6 - Fix build with various python releases (2.4-2.7) and berkeley db versions (4.x-5.x) 2011-10-10 04:05:14 +00:00
Sunpoet Po-Chuan Hsieh
27e2e6cbb6 - Fix build with db5
- Cosmetic change

PR:		ports/152886
Reported by:	Anatoly Borodin <anatoly.borodin@gmail.com>
2011-10-04 16:44:07 +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
9c86a3c0e8 - Use checksum file under lang/python${PYTHON_SUFFIX}/,
for removal lang/python/distinfo [1]
- USE_PYTHON=yes, all Python version in the ports tree is 2.3+
- Mark IGNORE for Python >= 3.0
- Prepare to be a master port

PR:		ports/136200 [1]
Submitted by:	lwhsu
Approved by:	perky
2009-07-08 08:55:07 +00:00
Tom McLaughlin
780a3db19c Fix build with Python 2.6
- chase moved db.h include location

PR:		130410
Submitted by:	David Naylor
Approved by:	maintainer timeout
2009-04-06 05:12:40 +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
Hye-Shik Chang
51aeff263d - Utilize BDB macros from bsd.database.mk.
- This resolves a version problem reported in [1].

PR:		91801 [1]
Submitted by:	Rob B <rbyrnes@mailshack.com> [1]
2006-04-22 04:39:05 +00:00
Hye-Shik Chang
4804251def Add support for Berkeley DB 4.3
PR:		80998
Submitted by:	NIIMI Satoshi <sa2c@sa2c.net>
2005-08-29 13:57:44 +00:00
Trevor Johnson
a049dd78cc Use PLIST_FILES (bento-tested, marcus-reviewed). 2004-02-06 13:12:53 +00:00
Hye-Shik Chang
51c9f67671 Allow to build with bsddb 4.2.
PR:		61650
Submitted by:	Scot W. Hetzel <hetzelsw@westbend.net>
2004-01-26 01:54:59 +00:00
Hye-Shik Chang
c61f08b456 Add WITH_DB4 knob and change default to use db4.1.
Submitted by:	Rui Lopes <rui@ruilopes.com>
2003-11-21 05:17: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
cb9cbfb122 Add new port for py-bsddb,
a bsddb[34] binding bundled in python2.3 distribution.
2003-07-31 20:03:51 +00:00