Baptiste Daroussin
888ab73a81
Add NO_STAGE all over the place in preparation for the staging support (cat: lang)
2013-09-20 19:53:09 +00:00
Kubilay Kocak
ec7259ec32
Resolve gettext (libintl) detection and linking in all Python ports
...
Fix gettext (NLS) detection, includes and linking:
- all: Use LDFLAGS and CPPFLAGS over CFLAGS for NLS option (with comment)
- python26,27: Pass LIBS="-lintl" to CONFIGURE_ENV
Workaround Pythons odd build mechanics causing duplicate args:
- all: Remove CFLAGS from OPT= in CONFIGURE_ENV
- python32,33: Remove CONFIGURE_* variables from Makefile.pre.in
Other:
- python32: Patch setup.py to pass OPT correctly to shared modules
PR: ports/181721
Reported by: pawel
Reviewed by: bapt mva sbz
2013-09-08 14:05:18 +00:00
Marcus von Appen
7452555915
- Move the symlink magic for the default python version into lang/python
...
and lang/python2 and lang/python3. This change brings us closer to the goal
of making Python ports usable with different Python versions at the same
time.
- Add a new lang/python2 port to handle the symlinks for bin/python2,
bin/idle2, bin/pydoc2 and so on.
- Add a new lang/python3 port to handle the symlinks for bin/python3,
bin/idle3, bin/pydoc3 and so on.
- Bump the PORTREVISION on all lang/python* ports.
2013-08-17 19:10:59 +00:00
Alex Kozlov
d4041784dc
- Remove MAKE_JOBS_SAFE variable
...
Approved by: portmgr (bdrewery)
2013-08-14 22:35:50 +00:00
Li-Wen Hsu
5ad157df04
Correct syntax in kernel config is 'options'
...
Submitted by: kevlo
2013-07-03 08:14:13 +00:00
Ruslan Makhmatkhanov
b922bed77e
Add patch that resolves the issue, found after r250991 in src HEAD.
...
Investigation and the patch are from Marcel Moolenaar.
I also added upstream bug-report, based on Marcel's info:
http://bugs.python.org/issue18178
There also was relevant discussion on current@:
http://lists.freebsd.org/pipermail/freebsd-current/2013-June/
Please see there for details of the issue.
Submitted by: marcel (python@ ML)
Reported by: many
2013-06-10 08:20:15 +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
Ruslan Makhmatkhanov
f831a5f25d
Commit all the non-functional changes to python ports to reduce the diff size
...
for an exp-run of updated python versions.
- trim Makefile headers
- remove leading indefinite article from COMMENT
- use PYTHON shortcut in MASTER_SITES
- whitespace fixes
- remove checks for unsupported versions of FreeBSD
- use static value ``33'' instead of PYTHON_SUFFIX in lang/python33/pkg-plist,
because this value is not supposed to be changed across the branch and for
consistency with other python3 ports
- remove conflicts in lang/python-mode.el with not more existing python-2.4
2013-05-11 11:37:54 +00:00
Jason Helfman
7cdc62b981
- adoption of USES for gettext
...
Approved by: portmgr (bapt@)
2013-05-06 06:32:22 +00:00
Jung-uk Kim
57945c1ebe
- Update devel/libffi to 3.0.11.
...
- Reset maintainership for libffi. See ports/164941.
PR: ports/171768
Submitted by: Takefu <takefu@airport.fm>
2013-01-29 00:35:32 +00:00
Marcus von Appen
996e4b60c3
- Fix the -OPT:Olimit=X detection for clang, which could pollute the
...
output of python27-config --cflags
PR: ports/172859 ports/161494 ports/174525
Submitted by: Oleg Nauman <oleg.nauman@gmail.com>
2013-01-14 17:56:47 +00:00
Li-Wen Hsu
6e2fa0573b
- Remove "first-installed-win" logic for automatically setting
...
${PYTHON_DEFAULT_VERSION}, this generates conflicting packages.
- Create symbolic links as PEP 394 [1] suggests. ${PYTHON_DEFAULT_VERSION}
will create python and python${MAJOR_VERSION} links. In current default,
lang/python27 will create: python -> python2 -> python2.7
- Introduce ${PYTHON3_DEFAULT_VERSION}, which will handle bin/python3 link.
At this point, lang/python33 will create python3 -> python3.3
- Minor cleanups
* Trim Makefile headers
* Remove ${OSVERSION} detection for xz, whihc is done by USE_XZ
[1] http://www.python.org/dev/peps/pep-0394/
2012-12-23 17:52:46 +00:00
Dmitry Sivachenko
10277be714
Create python2 symlink for the latest version of python2.X executable and
...
python3 symlink for the latest version of python3.X executable.
People who really want to use older python version for both python branches
should specify explicit version number in interpreter invocation.
Discussed on python@ long ago.
2012-12-21 15:45:29 +00:00
Koop Mast
4e9d93dbac
Don't try to tidy up user-created directories.
...
Approved by: crees (python@)
2012-10-06 08:01:29 +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
Olli Hauer
f1ddff4b92
- fix PORT_OPTIONS s/)/}/
2012-09-08 11:48:59 +00:00
Marcus von Appen
a9682d1571
- Fix Python OPT flags for WITH_PTH knob
...
PR: ports/168767
Submitted by: Marcus von Appen <mva@freebsd.org>
2012-07-22 09:45:24 +00:00
Marcus von Appen
2f377af2d0
- Fix builds, if the NLS option switch is set. In some cases
...
expat-related modules are not built correctly.
PR: ports/169276
Submitted by: Greg Byshenk <freebsd@byshenk.net>
2012-06-20 22:35:15 +00:00
Marcus von Appen
b89f9ab26f
- Fix gettext detection for the locale module
...
- Explicitly enable/disable gettext support via a new NLS OPTION switch.
PR: ports/168684 ports/136917
On behalf of: python@
2012-06-19 17:48:42 +00:00
Marcus von Appen
66adb13649
- unbreak WITH_PTH option support
...
PR: ports/155936
Submitted by: Kalten <kalten@gmx.at>
On behalf of: python@
2012-06-16 14:53:56 +00:00
Dmitry Sivachenko
2b56d23731
Fix permissions for Tools and Demo folders.
...
PR: 152224
Submitted by: John Hein <jhein@symmetricom.com>
Silence from: python@
2012-06-14 06:02:52 +00:00
Martin Wilke
58183419a8
- Revert back UCS changes
2012-05-31 15:17:32 +00:00
Martin Wilke
7e94fe3d3d
- Correct PYMALLOC logic (that fix the build of devel/gobject-introspection)
...
- Remove old OPTION layout from py32
- Bump PORTREVISON
2012-05-31 10:13:55 +00:00
Martin Wilke
8c2c328510
- Convert to new options framework
...
Reviewed by: bapt
2012-05-29 16:42:24 +00:00
Martin Wilke
19425757a8
- Update:
...
* python26 -> 2.6.8
* python27 -> 2.7.3
* python31 -> 3.1.5
* python32 -> 3.2.1
Security: http://www.vuxml.org/freebsd/b4f8be9e-56b2-11e1-9fb7-003067b2972c.html
CVE-2012-0845 CVE-2012-0876 CVE-2012-1150 CVE-2012-0845 CVE-2011-3389
2012-04-11 12:52:17 +00:00
Martin Wilke
c70027929c
- Mark Python as Secure
...
- Fix DoS via malformed XML-RPC / HTTP POST
Submitted by: rm@
Reported by: many
Obtained from: python hg
Security: http://www.vuxml.org/freebsd/b4f8be9e-56b2-11e1-9fb7-003067b2972c.html
2012-02-18 17:53:53 +00:00
Martin Wilke
e1c6649edf
- Remove WITH_FBSD10_FIX, is no longer needed
2011-11-09 15:26:04 +00:00
Sunpoet Po-Chuan Hsieh
03ff71952d
- Remove outdated patch to prune __wchar_t from CFLAGS (python-config --cflags)
...
- Bump PORTREVISION for package change
PR: ports/161564
Submitted by: Nali Toja <nalitoja@gmail.com>
2011-11-05 13:18:26 +00:00
Beat Gaetzi
2fbda21282
- Replace pre-configure target with WITH_FBSD10_FIX as we have a fix in
...
bsd.port.mk now.
Approved by: miwi
2011-10-27 15:22:09 +00:00
Erwin Lansing
ce2f38ec49
Fix build on powerpc as is done on other python ports
...
Submitted by: linimon
Tested on: pointyhat
2011-10-27 10:11:41 +00:00
Erwin Lansing
d7364df969
Fix build on FreeBSD 10
...
Submitted by: beat
Tested on: pointyhat i386-9-exp and i386-10
2011-10-27 09:56:58 +00:00
Li-Wen Hsu
fc7b20b6d4
- Remove the HUGE_STACK_SIZE option, now Python will use default
...
thread stack size of the system.
2011-09-25 15:05:18 +00:00
Dmitry Marakasov
6f6fbe4bdf
- Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
...
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead
PR: 157936
Submitted by: myself
Exp-runs by: pav
Approved by: pav
2011-09-23 22:26:39 +00:00
Chris Rees
d03cd9afc5
Handle built world without NIS more gracefully; detect missing ypcat and
...
disable NIS module.
PR: ports/115940
Submitted by: Alex Deiter <tiamat@komi.mts.ru>
Reviewed by: bf
2011-09-18 08:33:15 +00:00
Li-Wen Hsu
80b804c403
- Fix pkg-plist when building with WITHOUT_THREADS
...
PR: ports/159842
Submitted by: Ruslan Mahmatkhanov <cvs-src@yandex.ru>
2011-08-19 13:09:30 +00:00
Sunpoet Po-Chuan Hsieh
e35f6b3ffb
- Clarify error message
...
PR: ports/158812
Submitted by: Warren Block <wblock@wonkity.com>
Reviewed by: lwhsu
With Hat: python
2011-07-22 13:47:31 +00:00
Wen Heping
d08126833f
- Remove patch-Makefile.pre.in, now build with pthread correctly, bump PORTREVISION
...
Reported by: rhurlin@gwdg.de (via email)
2011-06-29 01:30:10 +00:00
Wen Heping
d3a995e088
- Update to 2.7.2
...
- Mark BROKEN when build with pth
Reviewed by: miwi@
2011-06-27 02:37:39 +00:00
Mark Linimon
674f8a50d0
Enable build on powerpc64. Tested on i386, no regression.
...
PR: ports/155310
Submitted by: andreast
Approved by: lwhsu (python team)
2011-03-11 05:38:57 +00:00
Wen Heping
8ce9760c30
- Fix the run error when build c extensions
...
PR: ports/152671
Submitted by: Milos Negovanovic <milos.negovanovic@gmail.com>
2010-11-30 03:34:54 +00:00
Wen Heping
91993cc40d
- Update to 2.7.1
2010-11-29 06:29:13 +00:00
Wen Heping
40d7ee37de
- Fix build to create _curses module correctly.
...
Submitted by: olli@lurza.secnetix.de (via Email)
2010-09-06 00:25:05 +00:00
Li-Wen Hsu
61b31f74b4
- Introduce Python 2.7.0
...
Original work by: wen
2010-08-15 19:12:51 +00:00
Wen Heping
25e48ae956
- Update lang/python26 to 2.6.5
...
- Update lang/python31 to 3.1.2
Reviewed by: miwi@, lwhsu@
2010-05-12 12:13:07 +00:00
Martin Wilke
492dce90c8
- Update to 2.6.4
...
Changelog:
http://python.org/download/releases/2.6.4/NEWS.txt
2009-11-26 22:21:20 +00:00
Martin Wilke
87ee28693e
Fix build if POSIX semaphore enabled is
...
Reported by: many on ports@/python@
Patched by: beat@
Feature safe: yes
2009-09-15 21:41:21 +00:00
Martin Wilke
7ab93f8778
- Add support for FreeBSD 9.0
...
PR: based on 138600
2009-09-11 14:58:08 +00:00
Martin Wilke
e3b22deb7d
- Use dirrmtry in lib-old dir to fix some plist leftlovers
2009-08-13 12:12:20 +00:00
Li-Wen Hsu
af509f97c9
- Fix build with WITH_SEM but ${OSVERSION} < 701106 (mark IGNORE correctly)
...
PR: ports/136992
Submitted by: Andrey Zonov <andrey.zonov AT gmail.com>
2009-08-02 10:58:58 +00:00
Li-Wen Hsu
2b97db48a6
- Ask the first Python installed to install the bin/python link,
...
and be the default Python version
PR: ports/109550
Submitted by: David Yeske <dyeske AT yahoo.com>
Obtained from: tmclaugh
2009-07-14 09:29:03 +00:00