1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-27 10:03:20 +00:00
freebsd-ports/databases/py-Pyrseas/Makefile
Kubilay Kocak cbdcc728bc databases/py-Pyrseas: Unbreak
- Remove BROKEN (switch GH_ACCOUNT)

While I'm here:

- Add LICENSE_FILE
- Add TEST_DEPENDS and regression-test target
- pkg-descr: Strip trailing slash from WWW: URL

PR:		191890
Submitted by:	<arcade at b1t dot name> (maintainer)
2014-07-26 10:44:37 +00:00

33 lines
790 B
Makefile

# $FreeBSD$
PORTNAME= Pyrseas
PORTVERSION= 0.7.1
CATEGORIES= databases python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= arcade@b1t.name
COMMENT= Framework and utilities to upgrade and maintain a relational database
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}psycopg2>=2.2:${PORTSDIR}/databases/py-psycopg2 \
${PYTHON_PKGNAMEPREFIX}yaml>=3.09:${PORTSDIR}/devel/py-yaml
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:${PORTSDIR}/devel/py-pytest
USE_PYTHON= yes
USE_PYDISTUTILS= yes
PYDISTUTILS_AUTOPLIST= yes
USE_GITHUB= yes
GH_ACCOUNT= perseas
GH_COMMIT= 9b0e3d2
GH_TAGNAME= v${PORTVERSION}
# Requires a running PostgreSQL instance
regression-test: build
@cd ${WRKSRC} && ${PYTHON_CMD} ${PYSETUP} test
.include <bsd.port.mk>