mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-01 01:17:02 +00:00
c30bae7766
convert to pep517 while here PR: 279596 Reported by: uqs Approved by: 0mp (maintainer)
39 lines
1.3 KiB
Makefile
39 lines
1.3 KiB
Makefile
PORTNAME= milc
|
|
DISTVERSION= 1.8.0
|
|
CATEGORIES= devel python
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= 0mp@FreeBSD.org
|
|
COMMENT= Opinionated, batteries-included Python 3 CLI framework
|
|
WWW= https://milc.clueboard.co/
|
|
|
|
LICENSE= MIT
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}appdirs>=0:devel/py-appdirs@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}argcomplete>=0:devel/py-argcomplete@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}colorama>=0:devel/py-colorama@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}halo>=0:misc/py-halo@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}spinners>=0:misc/py-spinners@${PY_FLAVOR}
|
|
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}flake8>=0:devel/py-flake8@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}nose2>=0:devel/py-nose2@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}semver>=0:devel/py-semver@${PY_FLAVOR}
|
|
|
|
USES= python
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= clueboard
|
|
USE_PYTHON= autoplist pep517
|
|
|
|
# There is no need to run yapf during tests
|
|
# because it only checks code formatting.
|
|
BINARY_ALIAS= python3=${PYTHON_CMD} yapf=true
|
|
|
|
NO_ARCH= yes
|
|
|
|
do-test:
|
|
@(cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} ./ci_tests)
|
|
|
|
.include <bsd.port.mk>
|