summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--devel/Makefile1
-rw-r--r--devel/py-hatch-requirements-txt/Makefile24
-rw-r--r--devel/py-hatch-requirements-txt/distinfo3
-rw-r--r--devel/py-hatch-requirements-txt/pkg-descr3
4 files changed, 31 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index c626e4ae13c0..1b050cb8d732 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -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
diff --git a/devel/py-hatch-requirements-txt/Makefile b/devel/py-hatch-requirements-txt/Makefile
new file mode 100644
index 000000000000..2ae048fc4bc3
--- /dev/null
+++ b/devel/py-hatch-requirements-txt/Makefile
@@ -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>
diff --git a/devel/py-hatch-requirements-txt/distinfo b/devel/py-hatch-requirements-txt/distinfo
new file mode 100644
index 000000000000..6a941e5dc77d
--- /dev/null
+++ b/devel/py-hatch-requirements-txt/distinfo
@@ -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
diff --git a/devel/py-hatch-requirements-txt/pkg-descr b/devel/py-hatch-requirements-txt/pkg-descr
new file mode 100644
index 000000000000..1be5f48aecba
--- /dev/null
+++ b/devel/py-hatch-requirements-txt/pkg-descr
@@ -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.