ca30e01f7f
PR: 240217 Submitted by: Volodymyr Kostyrko <arcade@b1t.name> (maintainer)
31 lines
810 B
Makefile
31 lines
810 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= Pyrseas
|
|
PORTVERSION= 0.9.0
|
|
DISTVERSIONPREFIX= v
|
|
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.5:databases/py-psycopg2@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}pgdbconn>=0.8:databases/py-pgdbconn@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}yaml>=3.10:devel/py-yaml@${PY_FLAVOR}
|
|
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR}
|
|
|
|
USES= python
|
|
USE_PYTHON= distutils autoplist
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= perseas
|
|
|
|
# Requires a running PostgreSQL instance
|
|
|
|
do-test:
|
|
@cd ${WRKSRC} && ${PYTHON_CMD} ${PYSETUP} test
|
|
|
|
.include <bsd.port.mk>
|