First ports I found which need Add WANTLIB += ${MODPY_WANTLIB}, bump revision.

ok sthen@.
This commit is contained in:
rpointel 2011-05-31 05:44:26 +00:00
parent 65586efaf2
commit 0e28b0e3c9
16 changed files with 62 additions and 28 deletions

View File

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

View File

@ -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 <bsd.port.mk>

View File

@ -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 <djm@openbsd.org>
@ -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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -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 <djm@openbsd.org>
@ -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

View File

@ -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 <bsd.port.mk>

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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