devel/py-hatch-requirements-txt: New port

Hatchling plugin to read project dependencies from "requirements.txt"
and there is support for defining groups of optional dependencies (also
known as "features") as well.

WWW: https://github.com/repo-helper/hatch-requirements-txt
This commit is contained in:
Kai Knoblich 2023-03-16 06:55:47 +01:00
parent d5173cf69d
commit 54572d0de5
4 changed files with 31 additions and 0 deletions

View file

@ -4689,6 +4689,7 @@
SUBDIR += py-hatch
SUBDIR += py-hatch-fancy-pypi-readme
SUBDIR += py-hatch-nodejs-version
SUBDIR += py-hatch-requirements-txt
SUBDIR += py-hatch-vcs
SUBDIR += py-hatchling
SUBDIR += py-heapdict

View file

@ -0,0 +1,24 @@
PORTNAME= hatch-requirements-txt
DISTVERSION= 0.3.0
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= hatch_requirements_txt-${DISTVERSION}
MAINTAINER= kai@FreeBSD.org
COMMENT= Hatchling plugin to read project dependencies from requirements.txt
WWW= https://github.com/repo-helper/hatch-requirements-txt
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>0:devel/py-hatchling@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>=0.21.0:devel/py-hatchling@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}packaging>=21.3:devel/py-packaging@${PY_FLAVOR}
USES= python:3.6+
USE_PYTHON= autoplist pep517
NO_ARCH= yes
.include <bsd.port.mk>

View file

@ -0,0 +1,3 @@
TIMESTAMP = 1671530501
SHA256 (hatch_requirements_txt-0.3.0.tar.gz) = bb87ecee32e4ac05d09854ac3c279dd526fbd655154acd9cd10c2a4768a83669
SIZE (hatch_requirements_txt-0.3.0.tar.gz) = 5921

View file

@ -0,0 +1,3 @@
Hatchling plugin to read project dependencies from "requirements.txt" and there
is support for defining groups of optional dependencies (also known as
"features") as well.