1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

- 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)
This commit is contained in:
Ruslan Makhmatkhanov 2013-03-05 06:20:28 +00:00
parent 9d3770e044
commit c70a815d81
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=313436
3 changed files with 8 additions and 3 deletions

View File

@ -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

View File

@ -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

View File

@ -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