1999-08-25 08:35:40 +02:00
|
|
|
# $FreeBSD$
|
1995-08-09 00:09:07 +02:00
|
|
|
|
2010-08-15 21:12:51 +02:00
|
|
|
PORTNAME= python27
|
lang/python27: Update to 2.7.8
The FreeBSD Python team welcomes Python 2.7.8 to the Ports tree!
Announcement: https://www.python.org/download/releases/2.7.8/
Changelog: http://hg.python.org/cpython/raw-file/v2.7.8/Misc/NEWS
- Update to 2.7.8, update pkg-plist
- OPTIONS: Reorder and sort alphabetically
- OPTIONS: Make POSIX SEM(aphores) a DEFAULT (Hi binary package users!)
- OPTIONS: Add better descriptions for UCS2 and UCS4
- OPTIONS: Use options helpers
- Remove patch-CVE-2014-1912: upstream, was backported
- Remove patch-issue20374: upstream, was backported
- Rename patch-Doc__library__fcntl.rst: underscore convention
- Rename patch-Modules__fcntlmodule.c: underscore convention
- Patch: setup.py: Remove ncurses overrides and return to upstream code
- Patch: setup.py: Add partial backport for ossaudio OS checks
- pkg-message: Remove warning for POSIX Semaphores. They are now in
GENERIC for FreeBSD 8.x 9.x, 10.x and tested well upstream
- pkg-message: No longer needs substitutions, remove .in suffix and
SUB_FILES
- Rework and simplify the platformX mechanism, update pkg-plist
accordingly
- Add regression-test target
- Deprecate NOPORTDATA, remove pkg-plist entries with %%PORTDATA%%
- Replace bsd.{pre,post}.mk with bsd.port.options.mk
Based on original patch submitted by wen@ and worked on by lwhsu@,
thank you!
PR: 191405
PR: 178301
PR: 171246
Phabric: D364
Reviewed by: antoine, bapt, mat, mva, wg
2014-07-14 09:20:40 +02:00
|
|
|
PORTVERSION= 2.7.8
|
2014-11-04 10:14:21 +01:00
|
|
|
PORTREVISION= 6
|
2002-04-02 13:55:20 +02:00
|
|
|
CATEGORIES= lang python ipv6
|
2013-05-11 13:37:54 +02:00
|
|
|
MASTER_SITES= PYTHON
|
2014-08-02 08:54:20 +02:00
|
|
|
MASTER_SITE_SUBDIR= ftp/python/${PORTVERSION}
|
|
|
|
DISTNAME= Python-${PORTVERSION}
|
2013-12-08 09:57:34 +01:00
|
|
|
DIST_SUBDIR= python
|
1998-04-08 11:23:59 +02:00
|
|
|
|
2006-10-09 16:29:18 +02:00
|
|
|
MAINTAINER= python@FreeBSD.org
|
2013-05-11 13:37:54 +02:00
|
|
|
COMMENT= Interpreted object-oriented programming language
|
1995-08-09 00:09:07 +02:00
|
|
|
|
2013-12-08 09:57:34 +01:00
|
|
|
LICENSE= PSFL
|
|
|
|
|
2014-08-02 08:54:20 +02:00
|
|
|
USES= cpe ncurses pkgconfig readline tar:xz
|
2013-11-24 14:22:40 +01:00
|
|
|
USE_LDCONFIG= yes
|
2014-08-10 20:36:27 +02:00
|
|
|
USE_OPENSSL= yes
|
2014-08-02 08:54:20 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2013-11-24 14:22:40 +01:00
|
|
|
|
2014-07-11 20:09:01 +02:00
|
|
|
CPE_VENDOR= python
|
|
|
|
CPE_PRODUCT= ${CPE_VENDOR}
|
|
|
|
CPE_VERSION= ${PORTVERSION}
|
|
|
|
|
2014-08-02 08:54:20 +02:00
|
|
|
CONFIGURE_ARGS+= --enable-shared
|
2014-08-02 16:45:43 +02:00
|
|
|
CONFIGURE_ENV+= ac_cv_opt_olimit_ok=no OPT="" # Null out OPT to respect user CFLAGS and remove optimizations
|
2014-08-02 08:54:20 +02:00
|
|
|
|
|
|
|
INSTALL_TARGET= altinstall # Don't want cloberring of unprefixed files
|
2014-09-04 21:26:24 +02:00
|
|
|
MAKE_ARGS+= INSTALL_SHARED="${INSTALL_LIB}" # Strip shared library
|
2014-08-02 08:54:20 +02:00
|
|
|
MAKE_ARGS+= LIBPC="${PREFIX}/libdata/pkgconfig" # Until pathfix gets support for files other than Makefile.in
|
2012-05-29 18:42:24 +02:00
|
|
|
|
2014-08-02 08:54:20 +02:00
|
|
|
PLIST_SUB= ABI=${ABIFLAGS} \
|
|
|
|
PORTVERSION=${PORTVERSION} \
|
|
|
|
OSMAJOR=${OSVERSION:C/([0-9]*)[0-9]{5}/\1/} # For plat-freebsd* in pkg-plist. http://bugs.python.org/issue19554
|
|
|
|
|
2014-11-04 10:14:21 +01:00
|
|
|
OPTIONS_DEFINE= DEBUG IPV6 NLS PYMALLOC SEM THREADS LIBFFI
|
|
|
|
OPTIONS_DEFAULT= IPV6 NLS PYMALLOC SEM THREADS UCS4 LIBFFI
|
lang/python27: Update to 2.7.8
The FreeBSD Python team welcomes Python 2.7.8 to the Ports tree!
Announcement: https://www.python.org/download/releases/2.7.8/
Changelog: http://hg.python.org/cpython/raw-file/v2.7.8/Misc/NEWS
- Update to 2.7.8, update pkg-plist
- OPTIONS: Reorder and sort alphabetically
- OPTIONS: Make POSIX SEM(aphores) a DEFAULT (Hi binary package users!)
- OPTIONS: Add better descriptions for UCS2 and UCS4
- OPTIONS: Use options helpers
- Remove patch-CVE-2014-1912: upstream, was backported
- Remove patch-issue20374: upstream, was backported
- Rename patch-Doc__library__fcntl.rst: underscore convention
- Rename patch-Modules__fcntlmodule.c: underscore convention
- Patch: setup.py: Remove ncurses overrides and return to upstream code
- Patch: setup.py: Add partial backport for ossaudio OS checks
- pkg-message: Remove warning for POSIX Semaphores. They are now in
GENERIC for FreeBSD 8.x 9.x, 10.x and tested well upstream
- pkg-message: No longer needs substitutions, remove .in suffix and
SUB_FILES
- Rework and simplify the platformX mechanism, update pkg-plist
accordingly
- Add regression-test target
- Deprecate NOPORTDATA, remove pkg-plist entries with %%PORTDATA%%
- Replace bsd.{pre,post}.mk with bsd.port.options.mk
Based on original patch submitted by wen@ and worked on by lwhsu@,
thank you!
PR: 191405
PR: 178301
PR: 171246
Phabric: D364
Reviewed by: antoine, bapt, mat, mva, wg
2014-07-14 09:20:40 +02:00
|
|
|
OPTIONS_SINGLE= UNICODE
|
|
|
|
OPTIONS_SINGLE_UNICODE= UCS2 UCS4
|
2004-05-07 07:39:33 +02:00
|
|
|
|
2014-08-02 08:54:20 +02:00
|
|
|
OPTIONS_SUB= yes
|
|
|
|
|
|
|
|
NLS_DESC= Enable gettext support for the locale module
|
lang/python27: Update to 2.7.8
The FreeBSD Python team welcomes Python 2.7.8 to the Ports tree!
Announcement: https://www.python.org/download/releases/2.7.8/
Changelog: http://hg.python.org/cpython/raw-file/v2.7.8/Misc/NEWS
- Update to 2.7.8, update pkg-plist
- OPTIONS: Reorder and sort alphabetically
- OPTIONS: Make POSIX SEM(aphores) a DEFAULT (Hi binary package users!)
- OPTIONS: Add better descriptions for UCS2 and UCS4
- OPTIONS: Use options helpers
- Remove patch-CVE-2014-1912: upstream, was backported
- Remove patch-issue20374: upstream, was backported
- Rename patch-Doc__library__fcntl.rst: underscore convention
- Rename patch-Modules__fcntlmodule.c: underscore convention
- Patch: setup.py: Remove ncurses overrides and return to upstream code
- Patch: setup.py: Add partial backport for ossaudio OS checks
- pkg-message: Remove warning for POSIX Semaphores. They are now in
GENERIC for FreeBSD 8.x 9.x, 10.x and tested well upstream
- pkg-message: No longer needs substitutions, remove .in suffix and
SUB_FILES
- Rework and simplify the platformX mechanism, update pkg-plist
accordingly
- Add regression-test target
- Deprecate NOPORTDATA, remove pkg-plist entries with %%PORTDATA%%
- Replace bsd.{pre,post}.mk with bsd.port.options.mk
Based on original patch submitted by wen@ and worked on by lwhsu@,
thank you!
PR: 191405
PR: 178301
PR: 171246
Phabric: D364
Reviewed by: antoine, bapt, mat, mva, wg
2014-07-14 09:20:40 +02:00
|
|
|
UCS2_DESC= Enable UCS2 Unicode Strings
|
|
|
|
UCS4_DESC= Enable UCS4 Unicode Strings
|
2014-08-02 08:54:20 +02:00
|
|
|
PYMALLOC_DESC= Enable specialized mallocs
|
2014-11-04 10:14:21 +01:00
|
|
|
LIBFFI_DESC= Use libffi from ports instead of bundled version
|
2012-06-19 19:48:42 +02:00
|
|
|
|
2014-08-02 08:54:20 +02:00
|
|
|
DEBUG_CONFIGURE_WITH= pydebug
|
lang/python27: Update to 2.7.8
The FreeBSD Python team welcomes Python 2.7.8 to the Ports tree!
Announcement: https://www.python.org/download/releases/2.7.8/
Changelog: http://hg.python.org/cpython/raw-file/v2.7.8/Misc/NEWS
- Update to 2.7.8, update pkg-plist
- OPTIONS: Reorder and sort alphabetically
- OPTIONS: Make POSIX SEM(aphores) a DEFAULT (Hi binary package users!)
- OPTIONS: Add better descriptions for UCS2 and UCS4
- OPTIONS: Use options helpers
- Remove patch-CVE-2014-1912: upstream, was backported
- Remove patch-issue20374: upstream, was backported
- Rename patch-Doc__library__fcntl.rst: underscore convention
- Rename patch-Modules__fcntlmodule.c: underscore convention
- Patch: setup.py: Remove ncurses overrides and return to upstream code
- Patch: setup.py: Add partial backport for ossaudio OS checks
- pkg-message: Remove warning for POSIX Semaphores. They are now in
GENERIC for FreeBSD 8.x 9.x, 10.x and tested well upstream
- pkg-message: No longer needs substitutions, remove .in suffix and
SUB_FILES
- Rework and simplify the platformX mechanism, update pkg-plist
accordingly
- Add regression-test target
- Deprecate NOPORTDATA, remove pkg-plist entries with %%PORTDATA%%
- Replace bsd.{pre,post}.mk with bsd.port.options.mk
Based on original patch submitted by wen@ and worked on by lwhsu@,
thank you!
PR: 191405
PR: 178301
PR: 171246
Phabric: D364
Reviewed by: antoine, bapt, mat, mva, wg
2014-07-14 09:20:40 +02:00
|
|
|
IPV6_CONFIGURE_ENABLE= ipv6
|
2013-05-06 08:32:22 +02:00
|
|
|
|
lang/python27: Update to 2.7.8
The FreeBSD Python team welcomes Python 2.7.8 to the Ports tree!
Announcement: https://www.python.org/download/releases/2.7.8/
Changelog: http://hg.python.org/cpython/raw-file/v2.7.8/Misc/NEWS
- Update to 2.7.8, update pkg-plist
- OPTIONS: Reorder and sort alphabetically
- OPTIONS: Make POSIX SEM(aphores) a DEFAULT (Hi binary package users!)
- OPTIONS: Add better descriptions for UCS2 and UCS4
- OPTIONS: Use options helpers
- Remove patch-CVE-2014-1912: upstream, was backported
- Remove patch-issue20374: upstream, was backported
- Rename patch-Doc__library__fcntl.rst: underscore convention
- Rename patch-Modules__fcntlmodule.c: underscore convention
- Patch: setup.py: Remove ncurses overrides and return to upstream code
- Patch: setup.py: Add partial backport for ossaudio OS checks
- pkg-message: Remove warning for POSIX Semaphores. They are now in
GENERIC for FreeBSD 8.x 9.x, 10.x and tested well upstream
- pkg-message: No longer needs substitutions, remove .in suffix and
SUB_FILES
- Rework and simplify the platformX mechanism, update pkg-plist
accordingly
- Add regression-test target
- Deprecate NOPORTDATA, remove pkg-plist entries with %%PORTDATA%%
- Replace bsd.{pre,post}.mk with bsd.port.options.mk
Based on original patch submitted by wen@ and worked on by lwhsu@,
thank you!
PR: 191405
PR: 178301
PR: 171246
Phabric: D364
Reviewed by: antoine, bapt, mat, mva, wg
2014-07-14 09:20:40 +02:00
|
|
|
# Use CPPFLAGS over CFLAGS due to -I ordering, causing elementtree and pyexpat
|
|
|
|
# to break in Python 2.7, or preprocessor complaints in Python >= 3.3
|
|
|
|
# Upstream Issue: http://bugs.python.org/issue6299
|
|
|
|
NLS_USES= gettext
|
|
|
|
NLS_CPPFLAGS= -I${LOCALBASE}/include
|
|
|
|
NLS_LIBS= -L${LOCALBASE}/lib -lintl
|
|
|
|
NLS_CONFIGURE_ENV_OFF= ac_cv_lib_intl_textdomain=no ac_cv_header_libintl_h=no
|
2013-05-06 08:32:22 +02:00
|
|
|
|
lang/python27: Update to 2.7.8
The FreeBSD Python team welcomes Python 2.7.8 to the Ports tree!
Announcement: https://www.python.org/download/releases/2.7.8/
Changelog: http://hg.python.org/cpython/raw-file/v2.7.8/Misc/NEWS
- Update to 2.7.8, update pkg-plist
- OPTIONS: Reorder and sort alphabetically
- OPTIONS: Make POSIX SEM(aphores) a DEFAULT (Hi binary package users!)
- OPTIONS: Add better descriptions for UCS2 and UCS4
- OPTIONS: Use options helpers
- Remove patch-CVE-2014-1912: upstream, was backported
- Remove patch-issue20374: upstream, was backported
- Rename patch-Doc__library__fcntl.rst: underscore convention
- Rename patch-Modules__fcntlmodule.c: underscore convention
- Patch: setup.py: Remove ncurses overrides and return to upstream code
- Patch: setup.py: Add partial backport for ossaudio OS checks
- pkg-message: Remove warning for POSIX Semaphores. They are now in
GENERIC for FreeBSD 8.x 9.x, 10.x and tested well upstream
- pkg-message: No longer needs substitutions, remove .in suffix and
SUB_FILES
- Rework and simplify the platformX mechanism, update pkg-plist
accordingly
- Add regression-test target
- Deprecate NOPORTDATA, remove pkg-plist entries with %%PORTDATA%%
- Replace bsd.{pre,post}.mk with bsd.port.options.mk
Based on original patch submitted by wen@ and worked on by lwhsu@,
thank you!
PR: 191405
PR: 178301
PR: 171246
Phabric: D364
Reviewed by: antoine, bapt, mat, mva, wg
2014-07-14 09:20:40 +02:00
|
|
|
PYMALLOC_CONFIGURE_WITH= pymalloc
|
2004-05-07 07:39:33 +02:00
|
|
|
|
lang/python27: Update to 2.7.8
The FreeBSD Python team welcomes Python 2.7.8 to the Ports tree!
Announcement: https://www.python.org/download/releases/2.7.8/
Changelog: http://hg.python.org/cpython/raw-file/v2.7.8/Misc/NEWS
- Update to 2.7.8, update pkg-plist
- OPTIONS: Reorder and sort alphabetically
- OPTIONS: Make POSIX SEM(aphores) a DEFAULT (Hi binary package users!)
- OPTIONS: Add better descriptions for UCS2 and UCS4
- OPTIONS: Use options helpers
- Remove patch-CVE-2014-1912: upstream, was backported
- Remove patch-issue20374: upstream, was backported
- Rename patch-Doc__library__fcntl.rst: underscore convention
- Rename patch-Modules__fcntlmodule.c: underscore convention
- Patch: setup.py: Remove ncurses overrides and return to upstream code
- Patch: setup.py: Add partial backport for ossaudio OS checks
- pkg-message: Remove warning for POSIX Semaphores. They are now in
GENERIC for FreeBSD 8.x 9.x, 10.x and tested well upstream
- pkg-message: No longer needs substitutions, remove .in suffix and
SUB_FILES
- Rework and simplify the platformX mechanism, update pkg-plist
accordingly
- Add regression-test target
- Deprecate NOPORTDATA, remove pkg-plist entries with %%PORTDATA%%
- Replace bsd.{pre,post}.mk with bsd.port.options.mk
Based on original patch submitted by wen@ and worked on by lwhsu@,
thank you!
PR: 191405
PR: 178301
PR: 171246
Phabric: D364
Reviewed by: antoine, bapt, mat, mva, wg
2014-07-14 09:20:40 +02:00
|
|
|
SEM_CONFIGURE_ENV= ac_cv_posix_semaphores_enabled=yes
|
|
|
|
SEM_CONFIGURE_ENV_OFF= ac_cv_posix_semaphores_enabled=no
|
|
|
|
|
2014-08-02 08:54:20 +02:00
|
|
|
THREADS_CONFIGURE_WITH= threads
|
|
|
|
THREADS_CFLAGS= ${PTHREAD_CFLAGS}
|
|
|
|
THREADS_LDFLAGS= ${PTHREAD_LIBS}
|
|
|
|
|
lang/python27: Update to 2.7.8
The FreeBSD Python team welcomes Python 2.7.8 to the Ports tree!
Announcement: https://www.python.org/download/releases/2.7.8/
Changelog: http://hg.python.org/cpython/raw-file/v2.7.8/Misc/NEWS
- Update to 2.7.8, update pkg-plist
- OPTIONS: Reorder and sort alphabetically
- OPTIONS: Make POSIX SEM(aphores) a DEFAULT (Hi binary package users!)
- OPTIONS: Add better descriptions for UCS2 and UCS4
- OPTIONS: Use options helpers
- Remove patch-CVE-2014-1912: upstream, was backported
- Remove patch-issue20374: upstream, was backported
- Rename patch-Doc__library__fcntl.rst: underscore convention
- Rename patch-Modules__fcntlmodule.c: underscore convention
- Patch: setup.py: Remove ncurses overrides and return to upstream code
- Patch: setup.py: Add partial backport for ossaudio OS checks
- pkg-message: Remove warning for POSIX Semaphores. They are now in
GENERIC for FreeBSD 8.x 9.x, 10.x and tested well upstream
- pkg-message: No longer needs substitutions, remove .in suffix and
SUB_FILES
- Rework and simplify the platformX mechanism, update pkg-plist
accordingly
- Add regression-test target
- Deprecate NOPORTDATA, remove pkg-plist entries with %%PORTDATA%%
- Replace bsd.{pre,post}.mk with bsd.port.options.mk
Based on original patch submitted by wen@ and worked on by lwhsu@,
thank you!
PR: 191405
PR: 178301
PR: 171246
Phabric: D364
Reviewed by: antoine, bapt, mat, mva, wg
2014-07-14 09:20:40 +02:00
|
|
|
UCS2_CONFIGURE_ON= --enable-unicode=ucs2
|
|
|
|
UCS4_CONFIGURE_ON= --enable-unicode=ucs4
|
2009-03-14 10:33:40 +01:00
|
|
|
|
lang/python27: Update to 2.7.8
The FreeBSD Python team welcomes Python 2.7.8 to the Ports tree!
Announcement: https://www.python.org/download/releases/2.7.8/
Changelog: http://hg.python.org/cpython/raw-file/v2.7.8/Misc/NEWS
- Update to 2.7.8, update pkg-plist
- OPTIONS: Reorder and sort alphabetically
- OPTIONS: Make POSIX SEM(aphores) a DEFAULT (Hi binary package users!)
- OPTIONS: Add better descriptions for UCS2 and UCS4
- OPTIONS: Use options helpers
- Remove patch-CVE-2014-1912: upstream, was backported
- Remove patch-issue20374: upstream, was backported
- Rename patch-Doc__library__fcntl.rst: underscore convention
- Rename patch-Modules__fcntlmodule.c: underscore convention
- Patch: setup.py: Remove ncurses overrides and return to upstream code
- Patch: setup.py: Add partial backport for ossaudio OS checks
- pkg-message: Remove warning for POSIX Semaphores. They are now in
GENERIC for FreeBSD 8.x 9.x, 10.x and tested well upstream
- pkg-message: No longer needs substitutions, remove .in suffix and
SUB_FILES
- Rework and simplify the platformX mechanism, update pkg-plist
accordingly
- Add regression-test target
- Deprecate NOPORTDATA, remove pkg-plist entries with %%PORTDATA%%
- Replace bsd.{pre,post}.mk with bsd.port.options.mk
Based on original patch submitted by wen@ and worked on by lwhsu@,
thank you!
PR: 191405
PR: 178301
PR: 171246
Phabric: D364
Reviewed by: antoine, bapt, mat, mva, wg
2014-07-14 09:20:40 +02:00
|
|
|
.include <bsd.port.options.mk>
|
2009-03-14 10:33:40 +01:00
|
|
|
|
2003-07-03 16:41:09 +02:00
|
|
|
.if ${ARCH} == i386
|
|
|
|
PLIST_SUB+= X86_ONLY=""
|
|
|
|
.else
|
|
|
|
PLIST_SUB+= X86_ONLY="@comment "
|
|
|
|
.endif
|
2014-01-29 15:54:52 +01:00
|
|
|
.if ${ARCH} == amd64 || ${ARCH} == ia64 || ${ARCH} == sparc64 || ${ARCH} == powerpc64
|
2009-02-17 00:32:02 +01:00
|
|
|
PLIST_SUB+= 32BIT_ONLY="@comment "
|
2003-10-29 22:31:13 +01:00
|
|
|
.else
|
2009-02-17 00:32:02 +01:00
|
|
|
PLIST_SUB+= 32BIT_ONLY=""
|
2003-10-29 22:31:13 +01:00
|
|
|
.endif
|
2011-03-11 06:38:57 +01:00
|
|
|
.if ${ARCH} == powerpc64
|
2011-09-24 00:26:39 +02:00
|
|
|
MAKE_ENV+= UNAME_m="powerpc64"
|
2011-03-11 06:38:57 +01:00
|
|
|
.endif
|
2004-01-09 02:43:30 +01:00
|
|
|
.if ${ARCH} == sparc64
|
2009-02-17 00:32:02 +01:00
|
|
|
CFLAGS+= -DPYTHON_DEFAULT_RECURSION_LIMIT=900
|
2004-01-09 02:43:30 +01:00
|
|
|
.endif
|
2003-07-03 16:41:09 +02:00
|
|
|
|
2014-11-04 10:14:21 +01:00
|
|
|
.if ${PORT_OPTIONS:MLIBFFI}
|
|
|
|
CONFIGURE_ARGS+= --with-system-ffi
|
|
|
|
LIB_DEPENDS+= libffi.so:${PORTSDIR}/devel/libffi
|
|
|
|
.endif
|
|
|
|
|
2011-09-18 10:33:15 +02:00
|
|
|
# See http://bugs.freebsd.org/115940
|
|
|
|
.if !exists(/usr/bin/ypcat) || defined(WITHOUT_NIS) # the world with NO_NIS
|
2007-07-30 11:42:28 +02:00
|
|
|
PLIST_SUB+= NO_NIS="@comment "
|
|
|
|
.else
|
|
|
|
PLIST_SUB+= NO_NIS=""
|
|
|
|
.endif
|
|
|
|
|
2014-08-02 08:54:20 +02:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e \
|
2004-07-09 19:18:00 +02:00
|
|
|
's,/usr/doc/python-docs-,${PREFIX}/share/doc/python,g' \
|
2006-03-26 09:58:41 +02:00
|
|
|
${PATCH_WRKSRC}/Lib/pydoc.py
|
2012-05-29 18:42:24 +02:00
|
|
|
.if ${PORT_OPTIONS:MSEM}
|
2014-08-02 08:54:20 +02:00
|
|
|
@# do not use SEM_EXTRA_PATCHES here, since patch-setup.py overlaps with this one
|
2009-09-15 23:41:21 +02:00
|
|
|
@cd ${WRKSRC} && ${PATCH} ${PATCH_ARGS} < ${PATCHDIR}/extra-patch-setup.py
|
|
|
|
.endif
|
|
|
|
|
2014-08-02 08:54:20 +02:00
|
|
|
.if !exists(/usr/bin/ypcat) || defined(WITHOUT_NIS)
|
|
|
|
@${REINPLACE_CMD} -e 's/disabled_module_list =[^]]*/&, "nis"/' \
|
|
|
|
${WRKSRC}/setup.py
|
|
|
|
.endif
|
2006-08-10 12:05:13 +02:00
|
|
|
|
1996-01-18 11:18:54 +01:00
|
|
|
post-install:
|
2014-08-02 08:54:20 +02:00
|
|
|
for i in ${STAGEDIR}${PREFIX}/lib/python2.7/lib-dynload/*.so; do \
|
|
|
|
${STRIP_CMD} $$i; done # Strip shared extensions
|
1995-08-09 03:30:00 +02:00
|
|
|
|
lang/python27: Update to 2.7.8
The FreeBSD Python team welcomes Python 2.7.8 to the Ports tree!
Announcement: https://www.python.org/download/releases/2.7.8/
Changelog: http://hg.python.org/cpython/raw-file/v2.7.8/Misc/NEWS
- Update to 2.7.8, update pkg-plist
- OPTIONS: Reorder and sort alphabetically
- OPTIONS: Make POSIX SEM(aphores) a DEFAULT (Hi binary package users!)
- OPTIONS: Add better descriptions for UCS2 and UCS4
- OPTIONS: Use options helpers
- Remove patch-CVE-2014-1912: upstream, was backported
- Remove patch-issue20374: upstream, was backported
- Rename patch-Doc__library__fcntl.rst: underscore convention
- Rename patch-Modules__fcntlmodule.c: underscore convention
- Patch: setup.py: Remove ncurses overrides and return to upstream code
- Patch: setup.py: Add partial backport for ossaudio OS checks
- pkg-message: Remove warning for POSIX Semaphores. They are now in
GENERIC for FreeBSD 8.x 9.x, 10.x and tested well upstream
- pkg-message: No longer needs substitutions, remove .in suffix and
SUB_FILES
- Rework and simplify the platformX mechanism, update pkg-plist
accordingly
- Add regression-test target
- Deprecate NOPORTDATA, remove pkg-plist entries with %%PORTDATA%%
- Replace bsd.{pre,post}.mk with bsd.port.options.mk
Based on original patch submitted by wen@ and worked on by lwhsu@,
thank you!
PR: 191405
PR: 178301
PR: 171246
Phabric: D364
Reviewed by: antoine, bapt, mat, mva, wg
2014-07-14 09:20:40 +02:00
|
|
|
regression-test: build
|
|
|
|
@cd ${WRKSRC} && ${MAKE} TESTOPTS=-j${MAKE_JOBS_NUMBER} buildbottest
|
2006-10-09 16:29:18 +02:00
|
|
|
|
lang/python27: Update to 2.7.8
The FreeBSD Python team welcomes Python 2.7.8 to the Ports tree!
Announcement: https://www.python.org/download/releases/2.7.8/
Changelog: http://hg.python.org/cpython/raw-file/v2.7.8/Misc/NEWS
- Update to 2.7.8, update pkg-plist
- OPTIONS: Reorder and sort alphabetically
- OPTIONS: Make POSIX SEM(aphores) a DEFAULT (Hi binary package users!)
- OPTIONS: Add better descriptions for UCS2 and UCS4
- OPTIONS: Use options helpers
- Remove patch-CVE-2014-1912: upstream, was backported
- Remove patch-issue20374: upstream, was backported
- Rename patch-Doc__library__fcntl.rst: underscore convention
- Rename patch-Modules__fcntlmodule.c: underscore convention
- Patch: setup.py: Remove ncurses overrides and return to upstream code
- Patch: setup.py: Add partial backport for ossaudio OS checks
- pkg-message: Remove warning for POSIX Semaphores. They are now in
GENERIC for FreeBSD 8.x 9.x, 10.x and tested well upstream
- pkg-message: No longer needs substitutions, remove .in suffix and
SUB_FILES
- Rework and simplify the platformX mechanism, update pkg-plist
accordingly
- Add regression-test target
- Deprecate NOPORTDATA, remove pkg-plist entries with %%PORTDATA%%
- Replace bsd.{pre,post}.mk with bsd.port.options.mk
Based on original patch submitted by wen@ and worked on by lwhsu@,
thank you!
PR: 191405
PR: 178301
PR: 171246
Phabric: D364
Reviewed by: antoine, bapt, mat, mva, wg
2014-07-14 09:20:40 +02:00
|
|
|
.include <bsd.port.mk>
|