Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Mar 2023 06:18:14 GMT
From:      Kai Knoblich <kai@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 54572d0de530 - main - devel/py-hatch-requirements-txt: New port
Message-ID:  <202303160618.32G6IEvq089250@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by kai:

URL: https://cgit.FreeBSD.org/ports/commit/?id=54572d0de530029388737d4e241562e27aecb79e

commit 54572d0de530029388737d4e241562e27aecb79e
Author:     Kai Knoblich <kai@FreeBSD.org>
AuthorDate: 2023-03-16 05:55:47 +0000
Commit:     Kai Knoblich <kai@FreeBSD.org>
CommitDate: 2023-03-16 05:55:47 +0000

    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
---
 devel/Makefile                            |  1 +
 devel/py-hatch-requirements-txt/Makefile  | 24 ++++++++++++++++++++++++
 devel/py-hatch-requirements-txt/distinfo  |  3 +++
 devel/py-hatch-requirements-txt/pkg-descr |  3 +++
 4 files changed, 31 insertions(+)

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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202303160618.32G6IEvq089250>