summaryrefslogtreecommitdiff
path: root/lang/python33
Commit message (Collapse)AuthorAgeFilesLines
* lang/python{27,33,34}: Bump PORTREVISION, sanitizes builds.Kubilay Kocak2014-08-231-1/+1
| | | | | | | | | Bump PORTREVISION, as prior to the previous change that fixed upstream Issue #21166, Python builds could be potentially polluted by the host environment which could caused runtime issues because of ABI differences. Notes: svn path=/head/; revision=365709
* lang/python{27,33,34}: Backport fix for upstream Issue #21166Kubilay Kocak2014-08-231-0/+74
| | | | | | | | | | | | | | | | | | | | | Backport fix for upstream Issue #21166: Prevent possible segfaults and other random failures of python --generate-posix-vars in pybuilddir.txt build target by ensuring that pybuilddir.txt is always regenerated when configure is run and that the newly built skeleton python does not inadvertently import modules from previously installed instances. [1] This changeset has been committed for release in 2.7.9, 3.4.2, and 3.5.0. A HUGE thank you to Ned Deily from the Python Core Development Team for helping to identify the underlying cause, produce a fix and wonderfully document the explanation. [1] http://bugs.python.org/issue21166 Notes: svn path=/head/; revision=365708
* - Add USE_OPENSSL, since all lang/python ports build the _ssl module, whichMarcus von Appen2014-08-101-1/+2
| | | | | | | | | | | requires a working OpenSSL implementation Phabric: D569 Reviewed by: wg@ With hat: python@ Notes: svn path=/head/; revision=364557
* - Remove everything related to USE_PYTHON and bsd.python.mk. This is aMarcus von Appen2014-08-024-5241/+4825
| | | | | | | | | | | | | | | | | | | | | | | | | preparatory step to convert bsd.python.mk into a USES file. - Remove the shared/static build separation, which is the source of many problems and even more hacks. Instead build only the shared version, which greatly simplifies the build. - Use NLS_LIBS instead of NLS_LDFLAGS as done for lang/python27 (r357486) - Remove the FPECTL option to align the build with the clean "template" from lang/python34. - Remove PORTDATA and EXAMPLES. Those will be made available via separate ports. - Add a new DEBUG option to enable debug builds as for lang/python34. - Add a new TSC option for precise timestamp counter support as for lang/python34. - Reactivate curses/ncurses support. - Use buildbottest in the regression-test: target. Phabric: D410 Exp-run: 192242, 192244 Reviewed by: koobs, bapt With hat: python@ Notes: svn path=/head/; revision=363788
* Drop some %%PORTDATA%%Antoine Brodin2014-07-201-223/+223
| | | | | | | With hat: portmgr Notes: svn path=/head/; revision=362367
* - Add CPE entries for pythonSofian Brabez2014-07-111-3/+5
| | | | | | | - Remove NOPORTDATA as it's deprecated since r359061 Notes: svn path=/head/; revision=361574
* Convert GMAKE to MAKE_CMDBaptiste Daroussin2014-06-251-1/+1
| | | | | | | | | | Please note that lots of invocation of MAKE_CMD here are wrong as they do not properly respect MAKE_ENV and friends With hat: portmgr Notes: svn path=/head/; revision=359185
* lang/python{31,32,33}: Fix stage/package as non-rootKubilay Kocak2014-04-221-5/+27
| | | | | | | | | | | | | | | | | | | | | Copy the second part of a change previously made to python27 [1], to python31, python32 and python33. This fixes staging and packaging of these ports by a non-root user by running ranlib on the archive prior to it being installed read-only. While I'm here: - python27: Add breadcrumbs and references to the patch header - python34: Update breadcrumbs and references to the patch header [1] https://svnweb.freebsd.org/ports?view=revision&revision=350207 Submitted by: antoine Reviewed by: kwm, sbz Notes: svn path=/head/; revision=351815
* lang/python{31,32,33}: Add clang 3.4 fix from python27Kubilay Kocak2014-04-202-0/+16
| | | | | | | | | | | | | | | | Copy change committed to python27 [1] to python31, python32 and python33 to fix builds of some extensions with Clang 3.4. Also add breadcrumbs to the patch header in lang/python27 referencing the upstream issue. [2] The Python 3.4 port (lang/python34) already carries the patch. [1] https://svnweb.freebsd.org/ports?view=revision&revision=346428 [2] http://bugs.python.org/issue20767 Notes: svn path=/head/; revision=351610
* - Pet portlint: use PYTHON_DISTNAME instead of PYTHON_DISTFILESunpoet Po-Chuan Hsieh2014-04-111-1/+1
| | | | Notes: svn path=/head/; revision=350904
* - Fix shebangSunpoet Po-Chuan Hsieh2014-04-061-17/+23
| | | | | | | | | - Use USES=tar:xz - Bump PORTREVISION for package change - Space/Tab twiddle Notes: svn path=/head/; revision=350299
* Update python33: 3.3.4 --> 3.3.5.Dmitry Sivachenko2014-03-104-48/+28
| | | | Notes: svn path=/head/; revision=347738
* lang/python33: Update to 3.3.4Kubilay Kocak2014-03-047-116/+112
| | | | | | | | | | | | | | | | | | | | | | | | - Update to 3.3.4 - Update pkg-plist - Remove patch-CVE-2014-1912 (upstream) - Remove patch-issue20374 (upstream) - Repatch and rename patch-Modules__fcntlmodule.c - Add patch-issue-20695-Lib__test__test_urllibnet.py (tests) [1] - Add regression-test target for QA Changes: 3.3.4 - 09/02/2014 http://docs.python.org/3.3/whatsnew/changelog.html#python-3-3-4 Extra: - Update python-doc-html distinfo for Python 3.3 docs - Update bsd.python.mk to support the new version [1] http://bugs.python.org/issue20695 Notes: svn path=/head/; revision=347015
* - Fix build with readline 6.3 from portsAntoine Brodin2014-03-012-1/+56
| | | | | | | | | | | | | the patch was obtained from upstream (issue #20374) - Add missing USES=readline PR: ports/187176 Reported by: O. Hartmann Reviewed by: koobs Obtained from: python Notes: svn path=/head/; revision=346628
* lang/python*: Backport security fix for CVE-2014-1912Kubilay Kocak2014-03-012-1/+50
| | | | | | | | | | | | | | | | | | | | | | A vulnerability was reported [1] in Python's socket module, due to a boundary error within the sock_recvfrom_into() function, which could be exploited to cause a buffer overflow. This could be used to crash a Python application that uses the socket.recvfrom_info() function or, possibly, execute arbitrary code with the permissions of the user running vulnerable Python code. This vulnerable function, socket.recvfrom_into(), was introduced in Python 2.5. Earlier versions are not affected by this flaw. This is fixed in upstream branches for version 2.7, 3.1, 3.2 and 3.3. [1] http://bugs.python.org/issue20246 MFH: 2014Q1 Security: 8e5e6d42-a0fa-11e3-b09a-080027f2d077 Notes: svn path=/head/; revision=346614
* - Fix bad libpython* symlinks after enabling the lang/python* ports toMarcus von Appen2014-02-012-4/+4
| | | | | | | | | | | be stagedir-aware PR: ports/186284 Submitted by: marino@ Pointyhat to: myself Notes: svn path=/head/; revision=342104
* - Enable stagedir supportMarcus von Appen2014-01-262-16/+17
| | | | | | | - Convert to new LIB_DEPENDS Notes: svn path=/head/; revision=341192
* Bump PORTREVISION for all Python ports to pickup the recent ARM patchKubilay Kocak2013-12-081-0/+1
| | | | | | | PR: ports/149167 Notes: svn path=/head/; revision=335872
* Reduce diffs, sort sections & Add LICENSE for Python 2.6, 2.7 & 3.3Kubilay Kocak2013-12-081-18/+23
| | | | | | | | | | | - Sort USE_*, *_WRKSRC and CONFIGURE/MAKE sections - Whitespace alignment for readability - Add LICENSE (PSFL) Reviewed by: milki Notes: svn path=/head/; revision=335871
* All Python ports: Address abort() for ctypes import on FreeBSD/ARMKubilay Kocak2013-12-081-0/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | The current FreeBSD/ARM __clear_cache() implementation does nothing #if __i386__ || __x86_64__ #else abort(); cognet@ advises this is an issue for anything !Apple that is using the libcompiler_rt provided by Clang on ARM, and requires upstreaming. This is the root cause of abort() on import for the ctypes module in Python, as they bundle libffi. [1] This change patches the bundled libffi library in all Python ports, even though it is a NOOP for the ports that use devel/libffi. These ports, currently python31, will get the fix via ports/184517 A huge shout out to cognet@ who helped diagnose the issue and created the patch to address it. Thank you! PR: ports/149167 [1] PR: ports/184517 Submitted by: cognet [3] Reviewed by: cognet, eadler, milki, ak Notes: svn path=/head/; revision=335867
* Update to version 3.3.3.Dmitry Sivachenko2013-11-194-240/+258
| | | | Notes: svn path=/head/; revision=334321
* lang/python33: add support for freebsd11William Grzybowski2013-11-113-3/+11
| | | | | | | PR: ports/183597 Notes: svn path=/head/; revision=333492
* Add NO_STAGE all over the place in preparation for the staging support (cat: ↵Baptiste Daroussin2013-09-201-0/+1
| | | | | | | lang) Notes: svn path=/head/; revision=327741
* - Use USES=gmakeSunpoet Po-Chuan Hsieh2013-09-161-1/+1
| | | | Notes: svn path=/head/; revision=327423
* Resolve gettext (libintl) detection and linking in all Python portsKubilay Kocak2013-09-082-7/+34
| | | | | | | | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=326729
* - Move the symlink magic for the default python version into lang/pythonMarcus von Appen2013-08-172-36/+1
| | | | | | | | | | | | | | 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. Notes: svn path=/head/; revision=324864
* - Remove MAKE_JOBS_SAFE variableAlex Kozlov2013-08-141-1/+0
| | | | | | | Approved by: portmgr (bdrewery) Notes: svn path=/head/; revision=324744
* Add patch that resolves the issue, found after r250991 in src HEAD.Ruslan Makhmatkhanov2013-06-102-0/+11
| | | | | | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=320442
* Using GNU make to build this port now, because people reporting variousRuslan Makhmatkhanov2013-05-211-0/+1
| | | | | | | | | | | | | | build problems with pmake, that's cannot be reproduced reliable. There is also upstream bug-report [1]. The solution is suggested by Marcus von Appen. PORTREVISION isn't bumped, because there is no need in gmake for people that already built python33 successfully. Reported by: many Submitted by: mva (by mail) Tested by: demon Notes: svn path=/head/; revision=318640
* Update lang/python32 to 3.2.5 and lang/python33 to 3.3.2Ruslan Makhmatkhanov2013-05-184-19/+11
| | | | Notes: svn path=/head/; revision=318421
* - update to latest upstream versions:Ruslan Makhmatkhanov2013-05-176-30/+72
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | . 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) Notes: svn path=/head/; revision=318353
* Commit all the non-functional changes to python ports to reduce the diff sizeRuslan Makhmatkhanov2013-05-113-2615/+2614
| | | | | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=317865
* - finish conversion for USES of gettextJason Helfman2013-05-061-1/+1
| | | | Notes: svn path=/head/; revision=317498
* - adoption of USES for gettextJason Helfman2013-05-061-9/+11
| | | | | | | Approved by: portmgr (bapt@) Notes: svn path=/head/; revision=317469
* Fix logic (should be defined to true integer, not false).Chris Rees2013-02-032-16/+21
| | | | | | | | | | | While here, let's use patch from upstream so it obviously conflicts on the next update. Submitted by: koobs Obtained from: http://bugs.python.org/issue16753 Notes: svn path=/head/; revision=311456
* Fix package on 9.1-RELEASEChris Rees2013-02-021-0/+16
| | | | Notes: svn path=/head/; revision=311428
* - Remove "first-installed-win" logic for automatically settingLi-Wen Hsu2012-12-232-17/+14
| | | | | | | | | | | | | | | | | | | | ${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/ Notes: svn path=/head/; revision=309444
* - Remove test and regression-test targets for now - they pollute theMarcus von Appen2012-12-211-5/+0
| | | | | | | | | installation on tinderboxes causing leftovers Discussed with: Kubilay Kocak <koobs.freebsd@gmail.com> Notes: svn path=/head/; revision=309372
* Create python2 symlink for the latest version of python2.X executable andDmitry Sivachenko2012-12-212-0/+8
| | | | | | | | | | | | 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. Notes: svn path=/head/; revision=309359
* Port for python version 3.3.Dmitry Sivachenko2012-12-208-0/+5273
Submitted by: Kubilay Kocak <koobs.freebsd@gmail.com> Notes: svn path=/head/; revision=309312