git: fa80f820cfda - main - devel/py-poetry2setup: Add py-poetry2setup 1.0.0
Po-Chuan Hsieh
sunpoet at FreeBSD.org
Wed Jul 14 16:16:26 UTC 2021
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=fa80f820cfda11b20f54e14c6e8417c3d2930add
commit fa80f820cfda11b20f54e14c6e8417c3d2930add
Author: Po-Chuan Hsieh <sunpoet at FreeBSD.org>
AuthorDate: 2021-07-14 15:47:58 +0000
Commit: Po-Chuan Hsieh <sunpoet at FreeBSD.org>
CommitDate: 2021-07-14 16:09:35 +0000
devel/py-poetry2setup: Add py-poetry2setup 1.0.0
poetry2setup converts python-poetry (pyproject.toml) to setup.py. It only relies
on poetry.core, so the effect is better than any other third-party software. The
author created this library because python-poetry does not support exporting to
setup.py and dephell will generate setup.py incorrectly in some cases.
WWW: https://github.com/abersheeran/poetry2setup
---
devel/Makefile | 1 +
devel/py-poetry2setup/Makefile | 22 ++++++++++++++++++++++
devel/py-poetry2setup/distinfo | 3 +++
devel/py-poetry2setup/pkg-descr | 6 ++++++
4 files changed, 32 insertions(+)
diff --git a/devel/Makefile b/devel/Makefile
index 6367627e67c8..322ebf550a57 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -4837,6 +4837,7 @@
SUBDIR += py-pockets
SUBDIR += py-podcastparser
SUBDIR += py-poetry-core
+ SUBDIR += py-poetry2setup
SUBDIR += py-polib
SUBDIR += py-pooch
SUBDIR += py-pop
diff --git a/devel/py-poetry2setup/Makefile b/devel/py-poetry2setup/Makefile
new file mode 100644
index 000000000000..ef6ca19ff9a7
--- /dev/null
+++ b/devel/py-poetry2setup/Makefile
@@ -0,0 +1,22 @@
+# Created by: Po-Chuan Hsieh <sunpoet at FreeBSD.org>
+
+PORTNAME= poetry2setup
+PORTVERSION= 1.0.0
+CATEGORIES= devel python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= sunpoet at FreeBSD.org
+COMMENT= Convert python-poetry to setup.py
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}poetry-core>=1.0.0<2.0.0:devel/py-poetry-core@${PY_FLAVOR}
+
+USES= python:3.5+
+USE_PYTHON= autoplist concurrent distutils
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-poetry2setup/distinfo b/devel/py-poetry2setup/distinfo
new file mode 100644
index 000000000000..78c61a1c2e82
--- /dev/null
+++ b/devel/py-poetry2setup/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1625585422
+SHA256 (poetry2setup-1.0.0.tar.gz) = ef1177303996b661eeec3de5027a1af84e106a1d2cb92c73152fe6ce47700cc3
+SIZE (poetry2setup-1.0.0.tar.gz) = 2274
diff --git a/devel/py-poetry2setup/pkg-descr b/devel/py-poetry2setup/pkg-descr
new file mode 100644
index 000000000000..546bc26fbdc2
--- /dev/null
+++ b/devel/py-poetry2setup/pkg-descr
@@ -0,0 +1,6 @@
+poetry2setup converts python-poetry (pyproject.toml) to setup.py. It only relies
+on poetry.core, so the effect is better than any other third-party software. The
+author created this library because python-poetry does not support exporting to
+setup.py and dephell will generate setup.py incorrectly in some cases.
+
+WWW: https://github.com/abersheeran/poetry2setup
More information about the dev-commits-ports-all
mailing list