diff options
author | Kubilay Kocak <koobs@FreeBSD.org> | 2019-05-28 08:55:49 +0000 |
---|---|---|
committer | Kubilay Kocak <koobs@FreeBSD.org> | 2019-05-28 08:55:49 +0000 |
commit | 98da32a295e5ed0e1221a470cbc36a63b8ad0ab6 (patch) | |
tree | 397cc220970272ed7ec963204197cc305b741a1e /databases/py-pgcli/Makefile | |
parent | dee7f6e5397d39a6103273f142caac7ebc3981ac (diff) | |
download | ports-98da32a295e5ed0e1221a470cbc36a63b8ad0ab6.tar.gz ports-98da32a295e5ed0e1221a470cbc36a63b8ad0ab6.zip |
Notes
Diffstat (limited to 'databases/py-pgcli/Makefile')
-rw-r--r-- | databases/py-pgcli/Makefile | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/databases/py-pgcli/Makefile b/databases/py-pgcli/Makefile index 82ec4a702af6..bf4bde013f9a 100644 --- a/databases/py-pgcli/Makefile +++ b/databases/py-pgcli/Makefile @@ -3,6 +3,7 @@ PORTNAME= pgcli PORTVERSION= 2.1.0 +PORTREVISION= 1 CATEGORIES= databases python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -18,15 +19,21 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cli-helpers>=1.2.0:devel/py-cli-helpers@${PY ${PYTHON_PKGNAMEPREFIX}configobj>=5.0.6:devel/py-configobj@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}humanize>=0.5.1:devel/py-humanize@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pgspecial>=1.11.5:databases/py-pgspecial@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}prompt_toolkit>=2.0.6:devel/py-prompt_toolkit@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}prompt_toolkit>=2.0.6<2.1.0:devel/py-prompt_toolkit@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}psycopg2>=2.7.4:databases/py-psycopg2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pygments>=2.0:textproc/py-pygments@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}setproctitle>=1.1.9:devel/py-setproctitle@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}sqlparse>=0.2.2:databases/py-sqlparse@${PY_FLAVOR} + ${PYTHON_PKGNAMEPREFIX}sqlparse>=0.2.2<0.4:databases/py-sqlparse@${PY_FLAVOR} +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=2.7.0:devel/py-pytest@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}mock>=1.0.1:devel/py-mock@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pexpect>=0:misc/py-pexpect@${PY_FLAVOR} USES= pgsql python USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes +do-test: + @cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -v -rs + .include <bsd.port.mk> |