openbsd-ports/www/py-routes/Makefile

40 lines
835 B
Makefile
Raw Normal View History

2012-05-01 08:22:46 -04:00
# $OpenBSD: Makefile,v 1.9 2012/05/01 12:22:46 jasper Exp $
COMMENT = re-implementation of the rails routes system
2012-05-01 08:22:46 -04:00
MODPY_EGG_VERSION = 1.13
DISTNAME = Routes-${MODPY_EGG_VERSION}
2010-01-10 07:35:28 -05:00
PKGNAME = py-${DISTNAME:L}
CATEGORIES = www devel
HOMEPAGE = http://routes.groovie.org/
# BSD
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM = Yes
PERMIT_DISTFILES_FTP = Yes
MASTER_SITES = ${MASTER_SITE_PYPI:=R/Routes/}
MODULES = lang/python
MODPY_SETUPTOOLS = Yes
2012-05-01 08:22:46 -04:00
RUN_DEPENDS = www/py-repoze-lru
2010-11-22 03:36:47 -05:00
REGRESS_DEPENDS = devel/py-coverage \
devel/py-nose \
www/py-paste \
www/py-webtest
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/py-routes
2010-01-10 07:35:28 -05:00
cd ${WRKSRC}/docs/_build/html && pax -rw * \
${PREFIX}/share/doc/py-routes
do-regress:
cd ${WRKSRC} && ${LOCALBASE}/bin/nosetests
.include <bsd.port.mk>