git: 41e4f0ecb101 - main - devel/py-poetry-plugin-export: New port: Poetry plugin to export the dependencies to various formats

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Sun, 29 Jan 2023 17:40:55 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=41e4f0ecb101a9834c418c58fb4c961b41a9c56e

commit 41e4f0ecb101a9834c418c58fb4c961b41a9c56e
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-01-29 17:28:34 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-01-29 17:28:34 +0000

    devel/py-poetry-plugin-export: New port: Poetry plugin to export the dependencies to various formats
---
 devel/Makefile                          |  1 +
 devel/py-poetry-plugin-export/Makefile  | 24 ++++++++++++++++++++++++
 devel/py-poetry-plugin-export/distinfo  |  3 +++
 devel/py-poetry-plugin-export/pkg-descr |  4 ++++
 4 files changed, 32 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 58eb91a92acb..ab0a6bcf427e 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -5038,6 +5038,7 @@
     SUBDIR += py-podcastparser
     SUBDIR += py-poetry-core
     SUBDIR += py-poetry-dynamic-versioning
+    SUBDIR += py-poetry-plugin-export
     SUBDIR += py-poetry2setup
     SUBDIR += py-polib
     SUBDIR += py-pooch
diff --git a/devel/py-poetry-plugin-export/Makefile b/devel/py-poetry-plugin-export/Makefile
new file mode 100644
index 000000000000..dab3541c211f
--- /dev/null
+++ b/devel/py-poetry-plugin-export/Makefile
@@ -0,0 +1,24 @@
+PORTNAME=	poetry-plugin-export
+DISTVERSION=	1.2.0
+CATEGORIES=	devel python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+DISTNAME=	${PORTNAME:S/-/_/g}-${PORTVERSION}
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	Poetry plugin to export the dependencies to various formats
+WWW=		https://python-poetry.org/
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+PY_DEPENDS=	${PYTHON_PKGNAMEPREFIX}poetry-core>=1.3.0<2.0.0:devel/py-poetry-core@${PY_FLAVOR}
+BUILD_DEPENDS=	${PY_DEPENDS}
+RUN_DEPENDS=	${PY_DEPENDS}
+
+USES=		python:3.7+
+USE_PYTHON=	pep517 concurrent autoplist
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-poetry-plugin-export/distinfo b/devel/py-poetry-plugin-export/distinfo
new file mode 100644
index 000000000000..a5c8148936f7
--- /dev/null
+++ b/devel/py-poetry-plugin-export/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1675012990
+SHA256 (poetry_plugin_export-1.2.0.tar.gz) = 9a1dd42765408931d7831738749022651d43a2968b67c988db1b7a567dfe41ef
+SIZE (poetry_plugin_export-1.2.0.tar.gz) = 28406
diff --git a/devel/py-poetry-plugin-export/pkg-descr b/devel/py-poetry-plugin-export/pkg-descr
new file mode 100644
index 000000000000..4c0f5f6c9e4a
--- /dev/null
+++ b/devel/py-poetry-plugin-export/pkg-descr
@@ -0,0 +1,4 @@
+Poetry plugin to export the dependencies to various formats.
+
+This plugin provides the same features as the existing export command
+of Poetry which it will eventually replace.