From 0e28b0e3c990a13c8a3c0cc12cd0f5b9c761f519 Mon Sep 17 00:00:00 2001 From: rpointel Date: Tue, 31 May 2011 05:44:26 +0000 Subject: [PATCH] First ports I found which need Add WANTLIB += ${MODPY_WANTLIB}, bump revision. ok sthen@. --- devel/py-cheetah/Makefile | 5 ++++- devel/py-coverage/Makefile | 5 ++++- devel/py-ctypes/Makefile | 6 ++++-- devel/py-dulwich/Makefile | 6 ++++-- devel/py-editdist/Makefile | 6 ++++-- devel/py-openbsd/Makefile | 5 +++-- devel/py-protocols/Makefile | 6 ++++-- devel/py-py/Makefile | 6 ++++-- devel/py-radix/Makefile | 6 ++++-- devel/py-rcsparse/Makefile | 6 ++++-- devel/py-ruledispatch/Makefile | 6 ++++-- devel/py-silc/Makefile | 5 +++-- devel/py-simplejson/Makefile | 6 ++++-- devel/py-twisted/core/Makefile | 6 ++++-- devel/py-urwid/Makefile | 5 ++++- devel/py-zopeinterface/Makefile | 5 ++++- 16 files changed, 62 insertions(+), 28 deletions(-) diff --git a/devel/py-cheetah/Makefile b/devel/py-cheetah/Makefile index 3965b21bc1d..bb2e15a79ed 100644 --- a/devel/py-cheetah/Makefile +++ b/devel/py-cheetah/Makefile @@ -1,8 +1,9 @@ -# $OpenBSD: Makefile,v 1.18 2011/05/04 09:39:52 jasper Exp $ +# $OpenBSD: Makefile,v 1.19 2011/05/31 05:44:26 rpointel Exp $ COMMENT= Python-powered template engine and code generator VERSION= 2.4.4 +REVISION= 0 DISTNAME= Cheetah-${VERSION} PKGNAME= py-cheetah-${VERSION} CATEGORIES= devel textproc @@ -23,6 +24,8 @@ MODPY_SETUPTOOLS= Yes MAKE_ENV+= CHEETAH_USE_SETUPTOOLS=1 MODPY_BADEGGS= Cheetah +WANTLIB += ${MODPY_WANTLIB} + SUBST_VARS= VERSION RUN_DEPENDS= textproc/markdown diff --git a/devel/py-coverage/Makefile b/devel/py-coverage/Makefile index ebc8e0cfabf..420fb507f29 100644 --- a/devel/py-coverage/Makefile +++ b/devel/py-coverage/Makefile @@ -1,10 +1,11 @@ -# $OpenBSD: Makefile,v 1.4 2011/03/31 22:56:28 fgsch Exp $ +# $OpenBSD: Makefile,v 1.5 2011/05/31 05:44:26 rpointel Exp $ COMMENT = code coverage measurement for Python MODPY_EGG_VERSION = 3.4 DISTNAME = coverage-${MODPY_EGG_VERSION} PKGNAME = py-${DISTNAME} +REVISION = 0 CATEGORIES = devel @@ -24,4 +25,6 @@ MODPY_SETUPTOOLS = Yes NO_REGRESS = Yes +WANTLIB += ${MODPY_WANTLIB} + .include diff --git a/devel/py-ctypes/Makefile b/devel/py-ctypes/Makefile index 4bfd960f44d..0ea50c40b61 100644 --- a/devel/py-ctypes/Makefile +++ b/devel/py-ctypes/Makefile @@ -1,9 +1,9 @@ -# $OpenBSD: Makefile,v 1.9 2010/08/31 07:41:20 jasper Exp $ +# $OpenBSD: Makefile,v 1.10 2011/05/31 05:44:26 rpointel Exp $ COMMENT= Python foreign function interface library DISTNAME= ctypes-1.0.1 PKGNAME= py-${DISTNAME} -REVISION = 3 +REVISION = 4 CATEGORIES= devel MAINTAINER= Damien Miller @@ -23,6 +23,8 @@ PERMIT_DISTFILES_FTP= Yes MODULES= lang/python SHARED_ONLY= Yes +WANTLIB += ${MODPY_WANTLIB} + do-regress: fake cd ${WRKSRC} && ${SETENV} PYTHONPATH=${WRKINST}${MODPY_SITEPKG} \ ${MODPY_BIN} ./ctypes/test/runtests.py diff --git a/devel/py-dulwich/Makefile b/devel/py-dulwich/Makefile index 2598011af70..b406ae90db9 100644 --- a/devel/py-dulwich/Makefile +++ b/devel/py-dulwich/Makefile @@ -1,11 +1,11 @@ -# $OpenBSD: Makefile,v 1.5 2010/11/15 19:46:07 espie Exp $ +# $OpenBSD: Makefile,v 1.6 2011/05/31 05:44:27 rpointel Exp $ COMMENT = pure Python implementation of Git file formats and protocols MODPY_EGG_VERSION = 0.6.1 DISTNAME = dulwich-${MODPY_EGG_VERSION} PKGNAME = py-${DISTNAME} -REVISION = 1 +REVISION = 2 CATEGORIES = devel @@ -26,6 +26,8 @@ MODPY_BADEGGS = dulwich REGRESS_DEPENDS = devel/py-nose +WANTLIB += ${MODPY_WANTLIB} + do-regress: cd ${WRKSRC} && nosetests diff --git a/devel/py-editdist/Makefile b/devel/py-editdist/Makefile index 552840b6567..8d1cec04759 100644 --- a/devel/py-editdist/Makefile +++ b/devel/py-editdist/Makefile @@ -1,10 +1,10 @@ -# $OpenBSD: Makefile,v 1.3 2010/08/30 22:24:15 jasper Exp $ +# $OpenBSD: Makefile,v 1.4 2011/05/31 05:44:27 rpointel Exp $ COMMENT= calculate Levenshtein distance between two strings MODPY_EGG_VERSION= 0.3 DISTNAME= py-editdist-${MODPY_EGG_VERSION} -REVISION = 1 +REVISION = 2 CATEGORIES= devel HOMEPAGE= http://www.mindrot.org/projects/py-editdist/ @@ -21,6 +21,8 @@ MASTER_SITES= http://www.mindrot.org/files/py-editdist/ MODULES= lang/python +WANTLIB += ${MODPY_WANTLIB} + do-regress: fake @cd ${WRKSRC} && ${MAKE_ENV} \ PYTHONPATH=${WRKINST}${MODPY_SITEPKG} \ diff --git a/devel/py-openbsd/Makefile b/devel/py-openbsd/Makefile index 6c8d17a4809..afd94ca34b5 100644 --- a/devel/py-openbsd/Makefile +++ b/devel/py-openbsd/Makefile @@ -1,11 +1,11 @@ -# $OpenBSD: Makefile,v 1.9 2010/12/27 19:03:48 jasper Exp $ +# $OpenBSD: Makefile,v 1.10 2011/05/31 05:44:27 rpointel Exp $ COMMENT= specific Python bindings for OpenBSD V= 0.1.2 DISTNAME= pyopenbsd-${V} PKGNAME= py-openbsd-${V} -REVISION= 7 +REVISION= 8 CATEGORIES= devel HOMEPAGE= http://dev.nullcube.com/ @@ -18,6 +18,7 @@ PERMIT_PACKAGE_FTP= Yes PERMIT_DISTFILES_CDROM= Yes PERMIT_DISTFILES_FTP= Yes WANTLIB= kvm pcap +WANTLIB+= ${MODPY_WANTLIB} MASTER_SITES= http://spacehopper.org/mirrors/ EXTRACT_SUFX= .tgz diff --git a/devel/py-protocols/Makefile b/devel/py-protocols/Makefile index 1797c796418..43b699e014a 100644 --- a/devel/py-protocols/Makefile +++ b/devel/py-protocols/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.14 2011/04/25 15:01:28 jolan Exp $ +# $OpenBSD: Makefile,v 1.15 2011/05/31 05:44:27 rpointel Exp $ COMMENT= protocol definition, declaration and adaptation @@ -6,7 +6,7 @@ VERSION= 1.0 REV= 2306 DISTNAME= PyProtocols PKGNAME= py-protocols-${VERSION}r${REV} -REVISION = 4 +REVISION = 5 CATEGORIES= devel @@ -29,6 +29,8 @@ REGRESS_DEPENDS= devel/py-decoratortools MODPY_SETUPTOOLS= Yes +WANTLIB += ${MODPY_WANTLIB} + # make regress happy after fake post-install: rm -fr ${WRKSRC}/src/PyProtocols.egg-info diff --git a/devel/py-py/Makefile b/devel/py-py/Makefile index be28362a14e..4c29b159d95 100644 --- a/devel/py-py/Makefile +++ b/devel/py-py/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.10 2010/08/30 22:24:15 jasper Exp $ +# $OpenBSD: Makefile,v 1.11 2011/05/31 05:44:27 rpointel Exp $ ONLY_FOR_ARCHS= i386 amd64 powerpc @@ -7,7 +7,7 @@ COMMENT= agile development and test support library MODPY_EGG_VERSION= 0.9.1 DISTNAME= py-${MODPY_EGG_VERSION} PKGNAME= py-${DISTNAME} -REVISION = 2 +REVISION = 3 CATEGORIES= devel @@ -27,6 +27,8 @@ MODULES= lang/python NO_REGRESS= Yes +WANTLIB += ${MODPY_WANTLIB} + MODPY_BADEGGS= py MODPY_DISTUTILS_INSTALL= install --prefix=${LOCALBASE} \ --root=${DESTDIR} diff --git a/devel/py-radix/Makefile b/devel/py-radix/Makefile index b09ddc6689a..70dae227974 100644 --- a/devel/py-radix/Makefile +++ b/devel/py-radix/Makefile @@ -1,11 +1,11 @@ -# $OpenBSD: Makefile,v 1.6 2010/08/30 22:24:15 jasper Exp $ +# $OpenBSD: Makefile,v 1.7 2011/05/31 05:44:27 rpointel Exp $ SHARED_ONLY= Yes COMMENT= Radix tree implementation for Python DISTNAME= py-radix-0.4 -REVISION = 3 +REVISION = 4 CATEGORIES= devel net MAINTAINER= Damien Miller @@ -20,6 +20,8 @@ PERMIT_DISTFILES_FTP= Yes MODULES= lang/python +WANTLIB += ${MODPY_WANTLIB} + do-regress: fake @cd ${WRKSRC} && ${MAKE_ENV} \ PYTHONPATH=${WRKINST}${MODPY_SITEPKG} ${MODPY_BIN} ./test.py diff --git a/devel/py-rcsparse/Makefile b/devel/py-rcsparse/Makefile index 3c719310fd8..3103e9434d3 100644 --- a/devel/py-rcsparse/Makefile +++ b/devel/py-rcsparse/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.6 2010/08/30 22:24:15 jasper Exp $ +# $OpenBSD: Makefile,v 1.7 2011/05/31 05:44:27 rpointel Exp $ COMMENT= RCS parsing library for Python @@ -8,7 +8,7 @@ VERSION= 20060714 DISTNAME= rcsparse-${CHANGESET} EXTRACT_SUFX= .tar.bz2 PKGNAME= rcsparse-${VERSION} -REVISION = 3 +REVISION = 4 CATEGORIES= devel PERMIT_PACKAGE_CDROM= Yes @@ -24,4 +24,6 @@ USE_GMAKE= Yes MODULES= lang/python NO_REGRESS= Yes +WANTLIB += ${MODPY_WANTLIB} + .include diff --git a/devel/py-ruledispatch/Makefile b/devel/py-ruledispatch/Makefile index 67cb214c2f3..51ba59f1a71 100644 --- a/devel/py-ruledispatch/Makefile +++ b/devel/py-ruledispatch/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.14 2011/04/25 15:01:28 jolan Exp $ +# $OpenBSD: Makefile,v 1.15 2011/05/31 05:44:27 rpointel Exp $ COMMENT= rule-based dispatching and generic functions @@ -6,7 +6,7 @@ VERSION= 0.5 REV= 2306 DISTNAME= RuleDispatch PKGNAME= py-ruledispatch-${VERSION}r${REV} -REVISION = 4 +REVISION = 5 CATEGORIES= devel @@ -29,6 +29,8 @@ REGRESS_DEPENDS= devel/py-protocols MODPY_SETUPTOOLS= Yes +WANTLIB += ${MODPY_WANTLIB} + # make regress happy after fake post-install: rm -fr ${WRKSRC}/src/RuleDispatch.egg-info diff --git a/devel/py-silc/Makefile b/devel/py-silc/Makefile index 7a0edf9f463..dbce8bf7e53 100644 --- a/devel/py-silc/Makefile +++ b/devel/py-silc/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.13 2010/11/15 19:46:08 espie Exp $ +# $OpenBSD: Makefile,v 1.14 2011/05/31 05:44:27 rpointel Exp $ SHARED_ONLY= Yes @@ -7,7 +7,7 @@ COMMENT= Python bindings for the SILC toolkit V= 0.5 DISTNAME= pysilc-${V} PKGNAME= py-silc-${V} -REVISION= 1 +REVISION= 2 EPOCH= 0 CATEGORIES= devel @@ -28,6 +28,7 @@ MODULES= lang/python converters/libiconv LIB_DEPENDS= devel/silc-toolkit WANTLIB += silc>=7 silcclient>=5 +WANTLIB += ${MODPY_WANTLIB} NO_REGRESS= Yes diff --git a/devel/py-simplejson/Makefile b/devel/py-simplejson/Makefile index 6b247a57595..b2bafe9a577 100644 --- a/devel/py-simplejson/Makefile +++ b/devel/py-simplejson/Makefile @@ -1,11 +1,11 @@ -# $OpenBSD: Makefile,v 1.14 2010/11/15 19:46:08 espie Exp $ +# $OpenBSD: Makefile,v 1.15 2011/05/31 05:44:27 rpointel Exp $ COMMENT = JSON encoder/decoder MODPY_EGG_VERSION = 2.0.9 DISTNAME = simplejson-${MODPY_EGG_VERSION} PKGNAME = py-${DISTNAME} -REVISION = 1 +REVISION = 2 CATEGORIES = devel @@ -26,6 +26,8 @@ REGRESS_DEPENDS = devel/py-nose MODPY_SETUPTOOLS = Yes +WANTLIB += ${MODPY_WANTLIB} + post-install: ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/py-simplejson cd ${WRKSRC}/docs && pax -rw * ${PREFIX}/share/doc/py-simplejson diff --git a/devel/py-twisted/core/Makefile b/devel/py-twisted/core/Makefile index edccdc39ee0..abee097d374 100644 --- a/devel/py-twisted/core/Makefile +++ b/devel/py-twisted/core/Makefile @@ -1,11 +1,11 @@ -# $OpenBSD: Makefile,v 1.17 2010/11/15 19:46:08 espie Exp $ +# $OpenBSD: Makefile,v 1.18 2011/05/31 05:44:27 rpointel Exp $ COMMENT= event-based Python framework (core module) VERSION= 10.0.0 DISTNAME= TwistedCore-${VERSION} PKGNAME= py-twisted-core-${VERSION} -REVISION = 0 +REVISION = 1 HOMEPAGE= http://twistedmatrix.com/trac/wiki/TwistedCore @@ -14,6 +14,8 @@ MASTER_SITES= http://tmrc.mit.edu/mirror/twisted/Core/${VERSION:R}/ RUN_DEPENDS= devel/py-zopeinterface \ security/py-openssl +WANTLIB += ${MODPY_WANTLIB} + post-install: ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/py-twisted-core ${INSTALL_DATA} ${WRKSRC}/LICENSE ${PREFIX}/share/doc/py-twisted-core/ diff --git a/devel/py-urwid/Makefile b/devel/py-urwid/Makefile index fdaf4127f7b..89115a5a6ca 100644 --- a/devel/py-urwid/Makefile +++ b/devel/py-urwid/Makefile @@ -1,10 +1,11 @@ -# $OpenBSD: Makefile,v 1.9 2010/11/15 19:46:08 espie Exp $ +# $OpenBSD: Makefile,v 1.10 2011/05/31 05:44:27 rpointel Exp $ COMMENT = console user interface library for python MODPY_EGG_VERSION = 0.9.9.1 DISTNAME = urwid-${MODPY_EGG_VERSION} PKGNAME = py-${DISTNAME} +REVISION = 0 CATEGORIES = devel HOMEPAGE = http://excess.org/urwid/ @@ -26,6 +27,8 @@ MODPY_BADEGGS = urwid PKG_ARCH = * +WANTLIB += ${MODPY_WANTLIB} + do-regress: @cd ${WRKSRC} && ${MODPY_BIN} ./test_urwid.py diff --git a/devel/py-zopeinterface/Makefile b/devel/py-zopeinterface/Makefile index 9200d06401b..0404c5980b0 100644 --- a/devel/py-zopeinterface/Makefile +++ b/devel/py-zopeinterface/Makefile @@ -1,8 +1,9 @@ -# $OpenBSD: Makefile,v 1.11 2010/11/30 10:53:51 eric Exp $ +# $OpenBSD: Makefile,v 1.12 2011/05/31 05:44:27 rpointel Exp $ COMMENT= object interface infrastructure from Zope 3 MODPY_EGG_VERSION= 3.6.1 +REVISION= 0 DISTNAME= zope.interface-${MODPY_EGG_VERSION} PKGNAME= py-zopeinterface-${MODPY_EGG_VERSION} @@ -24,6 +25,8 @@ MODULES= lang/python MODPY_SETUPTOOLS= Yes +WANTLIB += ${MODPY_WANTLIB} + do-regress: install for f in `ls ${WRKSRC}/src/zope/interface/tests/test_*.py`; do \ ${MODPY_BIN} -m zope.interface.tests.`basename $$f .py` || true; \