svn commit: r313436 - head/devel/py-distribute
Ruslan Mahmatkhanov
rm at FreeBSD.org
Tue Mar 5 06:20:29 UTC 2013
Author: rm
Date: Tue Mar 5 06:20:28 2013
New Revision: 313436
URL: http://svnweb.freebsd.org/changeset/ports/313436
Log:
- update to 0.6.35
- add regression tests
- add distribute.pth symlink to make setuptools namespace available on live
systems (that had not distribute entry in easy_install.pth previously)
Modified:
head/devel/py-distribute/Makefile
head/devel/py-distribute/distinfo
head/devel/py-distribute/pkg-plist
Modified: head/devel/py-distribute/Makefile
==============================================================================
--- head/devel/py-distribute/Makefile Tue Mar 5 06:08:12 2013 (r313435)
+++ head/devel/py-distribute/Makefile Tue Mar 5 06:20:28 2013 (r313436)
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= distribute
-PORTVERSION= 0.6.34
+PORTVERSION= 0.6.35
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -54,6 +54,9 @@ post-patch:
@${REINPLACE_CMD} -e '/easy_install = / s|".*"||' ${WRKSRC}/setup.py
.endif
+regression-test: build
+ @cd ${WRKSRC} && ${PYTHON_CMD} ${PYSETUP} test
+
pre-install:
PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
@@ -62,6 +65,7 @@ post-install:
${PYTHON_CMD} -m py_compile ${SITE_PY}
${PYTHON_CMD} -OO -m py_compile ${SITE_PY}
${CP} ${EASYINSTALL_PTH} ${EASYINSTALL_PTH}.dist
+ ${LN} ${EASYINSTALL_PTH}.dist ${PYTHON_SITELIBDIR}/distribute.pth
PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
if [ -f ${PKGMESSAGE} ]; then ${CAT} ${PKGMESSAGE}; fi
Modified: head/devel/py-distribute/distinfo
==============================================================================
--- head/devel/py-distribute/distinfo Tue Mar 5 06:08:12 2013 (r313435)
+++ head/devel/py-distribute/distinfo Tue Mar 5 06:20:28 2013 (r313436)
@@ -1,2 +1,2 @@
-SHA256 (python/distribute-0.6.34.tar.gz) = 1a82a50f448fd963c1efade437b9ace3c47bfdd9b168fcdba7fca140df4b364e
-SIZE (python/distribute-0.6.34.tar.gz) = 644358
+SHA256 (python/distribute-0.6.35.tar.gz) = 7ee7ce926e15b0066c6d241e1ff271c30ff99b9ec7648699263d36967409e804
+SIZE (python/distribute-0.6.35.tar.gz) = 644308
Modified: head/devel/py-distribute/pkg-plist
==============================================================================
--- head/devel/py-distribute/pkg-plist Tue Mar 5 06:08:12 2013 (r313435)
+++ head/devel/py-distribute/pkg-plist Tue Mar 5 06:20:28 2013 (r313436)
@@ -2,6 +2,7 @@
%%IF_DEFAULT%%bin/easy_install
bin/easy_install-%%PYVER%%
%%PYTHON_SITELIBDIR%%/distribute-%%VERSION%%-py%%PYVER%%.egg
+%%PYTHON_SITELIBDIR%%/distribute.pth
@unexec if cmp -s %B/easy-install.pth %B/easy-install.pth.dist; then rm %B/easy-install.pth; fi
%%PYTHON_SITELIBDIR%%/easy-install.pth.dist
@exec if [ ! -f %B/easy-install.pth ]; then cp %B/%f %B/easy-install.pth; fi
More information about the svn-ports-all
mailing list