Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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
  • Loading branch information
5u623l20 committed Dec 6, 2021
1 parent 4ba0f03 commit 67db29a
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions databases/py-alembic14/Makefile
Expand Up @@ -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}
Expand Down

0 comments on commit 67db29a

Please sign in to comment.