diff --git a/devel/py-installer/Makefile b/devel/py-installer/Makefile index 1b7747a9f851..7abd9b144232 100644 --- a/devel/py-installer/Makefile +++ b/devel/py-installer/Makefile @@ -1,19 +1,22 @@ PORTNAME= installer -PORTVERSION= 0.5.1 +PORTVERSION= 0.6.0 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Library for installing Python wheels WWW= https://github.com/pypa/installer LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE USES= python:3.7+ USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes +post-patch: + @${SED} -e 's|%%PORTVERSION%%|${PORTVERSION}|' ${FILESDIR}/setup.py > ${WRKSRC}/setup.py + .include diff --git a/devel/py-installer/distinfo b/devel/py-installer/distinfo index 53590e601ea7..9967e0998037 100644 --- a/devel/py-installer/distinfo +++ b/devel/py-installer/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1647264540 -SHA256 (installer-0.5.1.tar.gz) = f970995ec2bb815e2fdaf7977b26b2091e1e386f0f42eafd5ac811953dc5d445 -SIZE (installer-0.5.1.tar.gz) = 469793 +TIMESTAMP = 1674589800 +SHA256 (installer-0.6.0.tar.gz) = f3bd36cd261b440a88a1190b1becca0578fee90b4b62decc796932fdd5ae8839 +SIZE (installer-0.6.0.tar.gz) = 471077 diff --git a/devel/py-installer/files/setup.py b/devel/py-installer/files/setup.py new file mode 100644 index 000000000000..1be788dd310f --- /dev/null +++ b/devel/py-installer/files/setup.py @@ -0,0 +1,25 @@ +#!/usr/bin/env python +# setup.py generated by flit for tools that don't yet use PEP 517 + +from distutils.core import setup + +packages = \ +['installer', 'installer._scripts'] + +package_data = \ +{'': ['*']} + +package_dir = \ +{'': 'src'} + +setup(name='installer', + version='%%PORTVERSION%%', + description='A library for installing Python wheels.', + author=None, + author_email='Pradyun Gedam ', + url=None, + packages=packages, + package_data=package_data, + package_dir=package_dir, + python_requires='>=3.7', + )