summaryrefslogtreecommitdiff
path: root/devel/py-hatch-nodejs-version/Makefile
blob: 7168be6e6c21bbedb3506efb42b6d5de0d59cbae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
PORTNAME=	hatch-nodejs-version
DISTVERSION=	0.3.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>