freebsd-ports/databases/py-peewee_migrate/Makefile
Goran Meki? 24ba6b9eaa databases/py-peewee_migrate: Update to 1.4.3
Changes c78f6fc...c328380

PR:		256785
Approved by:	maintainer
2021-06-23 13:45:14 -07:00

34 lines
1 KiB
Makefile

PORTNAME= peewee_migrate
PORTVERSION= 1.4.3
CATEGORIES= databases devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= meka@tilda.center
COMMENT= Simple migration engine for Peewee
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
MY_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cached-property>=0:devel/py-cached-property@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}click>=0:devel/py-click@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}mock>=0:devel/py-mock@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}peewee>=0:databases/py-peewee@${PY_FLAVOR}
BUILD_DEPENDS= ${MY_DEPENDS}
RUN_DEPENDS= ${MY_DEPENDS}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}psycopg2>=0:databases/py-psycopg2@${PY_FLAVOR}
USES= python:3.6+
USE_GITHUB= yes # tests not shipped with sdist
USE_PYTHON= autoplist concurrent distutils
GH_ACCOUNT= klen
TEST_ENV= PYTHONPATH=${WRKSRC}/src
NO_ARCH= yes
do-test:
cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest -v -rs -o addopts=
.include <bsd.port.mk>