- update to py-sqlobject-0.10.4

- enable regression tests
- use master_site_pypi
input, ok fgs@
This commit is contained in:
martynas 2009-04-05 00:15:52 +00:00
parent bacf4396a9
commit cdd011e114
2 changed files with 29 additions and 24 deletions

View File

@ -1,10 +1,10 @@
# $OpenBSD: Makefile,v 1.8 2009/03/14 14:47:28 espie Exp $
# $OpenBSD: Makefile,v 1.9 2009/04/05 00:15:52 martynas Exp $
COMMENT = Object Relational Manager
MODPY_EGG_VERSION= 0.10.2
MODPY_EGG_VERSION = 0.10.4
DISTNAME = SQLObject-${MODPY_EGG_VERSION}
PKGNAME= py-sqlobject-${MODPY_EGG_VERSION}p0
PKGNAME = py-sqlobject-${MODPY_EGG_VERSION}
CATEGORIES = databases
@ -18,12 +18,13 @@ PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM = Yes
PERMIT_DISTFILES_FTP = Yes
MASTER_SITES= http://cheeseshop.python.org/packages/source/S/SQLObject/
MASTER_SITES = ${MASTER_SITE_PYPI:=S/SQLObject/}
MODULES = lang/python
RUN_DEPENDS = ::www/py-formencode
NO_REGRESS= Yes
REGRESS_DEPENDS = ${RUN_DEPENDS} \
::devel/py-nose \
::devel/py-py
MODPY_SETUPTOOLS = Yes
@ -31,6 +32,10 @@ post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/py-sqlobject
${INSTALL_DATA} ${WRKSRC}/docs/*.txt ${PREFIX}/share/doc/py-sqlobject/
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/py-sqlobject
${INSTALL_DATA} ${WRKSRC}/docs/*.py ${PREFIX}/share/examples/py-sqlobject/
${INSTALL_DATA} ${WRKSRC}/docs/*.py \
${PREFIX}/share/examples/py-sqlobject/
do-regress:
cd ${WRKSRC}/sqlobject/tests && ${LOCALBASE}/bin/py.test
.include <bsd.port.mk>

View File

@ -1,5 +1,5 @@
MD5 (SQLObject-0.10.2.tar.gz) = bvHrlGTAh0P9JdjBDa5irw==
RMD160 (SQLObject-0.10.2.tar.gz) = LL5klBW3F9ZCSbSlSEFs0cCMSL8=
SHA1 (SQLObject-0.10.2.tar.gz) = /jWI3EOKh4k0YBStyM6EhnJ2FQ4=
SHA256 (SQLObject-0.10.2.tar.gz) = ug3T4s9v3bzfKC2JgIfgZMJj7L4ZICKHrWZI9SGf6AY=
SIZE (SQLObject-0.10.2.tar.gz) = 259564
MD5 (SQLObject-0.10.4.tar.gz) = IAOSecW3mcSeZJa5/nHwPw==
RMD160 (SQLObject-0.10.4.tar.gz) = kCMBuUnSNNYjgxMF43k3GnS1BkU=
SHA1 (SQLObject-0.10.4.tar.gz) = TbPgYre5f79ZHqZv2D59ibj6kwk=
SHA256 (SQLObject-0.10.4.tar.gz) = ggS/WurKW3LmvzvRHbRANG8+1tE7hWFm47hMSz7HFS8=
SIZE (SQLObject-0.10.4.tar.gz) = 258563