Added
Link Here
|
1 |
# $FreeBSD$ |
2 |
|
3 |
PORTNAME= peewee_migrate |
4 |
PORTVERSION= 1.1.6 |
5 |
CATEGORIES= databases devel python |
6 |
MASTER_SITES= CHEESESHOP |
7 |
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} |
8 |
|
9 |
MAINTAINER= meka@tilda.center |
10 |
COMMENT= Simple migration engine for Peewee |
11 |
|
12 |
LICENSE= BSD3CLAUSE |
13 |
LICENSE_FILE= ${WRKSRC}/LICENSE |
14 |
|
15 |
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cached-property>=0:devel/py-cached-property@${PY_FLAVOR} \ |
16 |
${PYTHON_PKGNAMEPREFIX}click>=0:devel/py-click@${PY_FLAVOR} \ |
17 |
${PYTHON_PKGNAMEPREFIX}mock>=0:devel/py-mock@${PY_FLAVOR} \ |
18 |
${PYTHON_PKGNAMEPREFIX}peewee>=0:databases/py-peewee@${PY_FLAVOR} |
19 |
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR} \ |
20 |
${PYTHON_PKGNAMEPREFIX}psycopg2>=0:databases/py-psycopg2@${PY_FLAVOR} |
21 |
|
22 |
USES= python |
23 |
USE_GITHUB= yes # tests not shipped with sdist |
24 |
USE_PYTHON= autoplist concurrent distutils |
25 |
|
26 |
GH_ACCOUNT= klen |
27 |
GH_TAGNAME= ${PORTVERSION} |
28 |
TEST_ENV= PYTHONPATH=${WRKSRC}/src |
29 |
|
30 |
NO_ARCH= yes |
31 |
|
32 |
do-test: |
33 |
cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest -v -rs -o addopts= |
34 |
|
35 |
.include <bsd.port.mk> |