diff --git a/sysutils/py-distro/Makefile b/sysutils/py-distro/Makefile index 539e770559ac..83b3615d0bc9 100644 --- a/sysutils/py-distro/Makefile +++ b/sysutils/py-distro/Makefile @@ -1,21 +1,24 @@ PORTNAME= distro -PORTVERSION= 1.7.0 +PORTVERSION= 1.8.0 CATEGORIES= sysutils python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Linux OS platform information API WWW= https://github.com/python-distro/distro LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE USES= python:3.6+ shebangfix USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes SHEBANG_FILES= query_local_distro.py +post-patch: + @${CP} ${FILESDIR}/setup.py ${WRKSRC}/ + .include diff --git a/sysutils/py-distro/distinfo b/sysutils/py-distro/distinfo index 7dd01680cf93..a6ec50d94586 100644 --- a/sysutils/py-distro/distinfo +++ b/sysutils/py-distro/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1646058128 -SHA256 (distro-1.7.0.tar.gz) = 151aeccf60c216402932b52e40ee477a939f8d58898927378a02abbe852c1c39 -SIZE (distro-1.7.0.tar.gz) = 58164 +TIMESTAMP = 1665647905 +SHA256 (distro-1.8.0.tar.gz) = 02e111d1dc6a50abb8eed6bf31c3e48ed8b0830d1ea2a1b78c61765c2513fdd8 +SIZE (distro-1.8.0.tar.gz) = 59428 diff --git a/sysutils/py-distro/files/setup.py b/sysutils/py-distro/files/setup.py new file mode 100644 index 000000000000..606849326a40 --- /dev/null +++ b/sysutils/py-distro/files/setup.py @@ -0,0 +1,3 @@ +from setuptools import setup + +setup()