26 lines
720 B
Makefile
26 lines
720 B
Makefile
PORTNAME= hatch-nodejs-version
|
|
DISTVERSION= 0.3.1
|
|
PORTREVISION= 1
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= CHEESESHOP
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
DISTNAME= hatch_nodejs_version-${DISTVERSION}
|
|
|
|
MAINTAINER= kai@FreeBSD.org
|
|
COMMENT= Hatch plugin for versioning from a package.json file
|
|
WWW= https://github.com/agoose77/hatch-nodejs-version
|
|
|
|
LICENSE= MIT
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
|
|
|
|
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>=0.21.0:devel/py-hatchling@${PY_FLAVOR}
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>=0.21.0:devel/py-hatchling@${PY_FLAVOR}
|
|
|
|
USES= python:3.7+
|
|
USE_PYTHON= autoplist pep517 pytest
|
|
|
|
TEST_ENV= PYTHONPATH=${STAGEDIR}${PYTHON_SITELIBDIR}
|
|
|
|
NO_ARCH= yes
|
|
|
|
.include <bsd.port.mk>
|