databases/py-alembic14: Add LICENSE_FILE

- Mark more strict RUN_DEPENDS version
- Supports all version of python
- Mark USE_PYTHON=concurrent
- Add PORTSCOUT

Reported by: koobs
This commit is contained in:
Muhammad Moinur Rahman 2021-12-05 17:02:21 -06:00
parent 4ba0f03541
commit 67db29a881

View file

@ -6,22 +6,24 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
PKGNAMESUFFIX= 14
MAINTAINER= bofh@FreeBSD.org
COMMENT= Database migration tool for SQLAlchemy - 1.4.X Branch
COMMENT= Database migration tool for SQLAlchemy (1.4.X branch)
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dateutil>=0:devel/py-dateutil@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}mako>=0:textproc/py-mako@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}python-editor>=0:devel/py-python-editor@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}sqlalchemy12>=0:databases/py-sqlalchemy12@${PY_FLAVOR}
${PYTHON_PKGNAMEPREFIX}python-editor>=0.3:devel/py-python-editor@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}sqlalchemy12>=1.1.0:databases/py-sqlalchemy12@${PY_FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}tox>0:devel/py-tox@${PY_FLAVOR}
USES= python:3.6+
USE_PYTHON= distutils autoplist
USES= python
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
PORTSCOUT= limit:^1\.4\.
do-test:
@cd ${WRKSRC} && ${LOCALBASE}/bin/tox -e ${PY_FLAVOR}