diff --git a/devel/py-poetry2setup/Makefile b/devel/py-poetry2setup/Makefile index 7fbc8c477957..1c689d03ba6d 100644 --- a/devel/py-poetry2setup/Makefile +++ b/devel/py-poetry2setup/Makefile @@ -1,20 +1,21 @@ PORTNAME= poetry2setup PORTVERSION= 1.0.0 +PORTREVISION= 1 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 diff --git a/devel/py-poetry2setup/files/patch-poetry2setup.py b/devel/py-poetry2setup/files/patch-poetry2setup.py new file mode 100644 index 000000000000..4fa604dc5c51 --- /dev/null +++ b/devel/py-poetry2setup/files/patch-poetry2setup.py @@ -0,0 +1,10 @@ +--- poetry2setup.py.orig 2021-01-23 17:40:07 UTC ++++ poetry2setup.py +@@ -1,6 +1,6 @@ + from __future__ import print_function + +-from poetry.core.utils._compat import Path ++from pathlib import Path + from poetry.core.factory import Factory + from poetry.core.masonry.builders.sdist import SdistBuilder +