diff options
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/py-poetry2setup/Makefile | 22 | ||||
-rw-r--r-- | devel/py-poetry2setup/distinfo | 3 | ||||
-rw-r--r-- | devel/py-poetry2setup/pkg-descr | 6 |
4 files changed, 32 insertions, 0 deletions
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@FreeBSD.org> + +PORTNAME= poetry2setup +PORTVERSION= 1.0.0 +CATEGORIES= devel python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= sunpoet@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 |