Page MenuHomeFreeBSD

D34789.diff
No OneTemporary

D34789.diff

diff --git a/devel/py-installer/Makefile b/devel/py-installer/Makefile
--- a/devel/py-installer/Makefile
+++ b/devel/py-installer/Makefile
@@ -1,22 +1,24 @@
PORTNAME= installer
-PORTVERSION= 0.6.0
+DISTVERSION= 0.6.0
+PORTREVISION= 1
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
-MAINTAINER= sunpoet@FreeBSD.org
+MAINTAINER= python@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
+USES= python
+USE_PYTHON= allflavors autoplist concurrent pep517
+PEP517_BUILD_CMD= ${PYTHON_CMD} -m flit_core.wheel
+PEP517_BUILD_DEPEND= ${PYTHON_PKGNAMEPREFIX}flit-core>0:devel/py-flit-core@${PY_FLAVOR}
+PEP517_INSTALL_DEPEND=
+MAKE_ENV+= PYTHONPATH=${BUILD_WRKSRC}/src
NO_ARCH= yes
-post-patch:
- @${SED} -e 's|%%PORTVERSION%%|${PORTVERSION}|' ${FILESDIR}/setup.py > ${WRKSRC}/setup.py
-
.include <bsd.port.mk>
diff --git a/devel/py-installer/files/setup.py b/devel/py-installer/files/setup.py
deleted file mode 100644
--- a/devel/py-installer/files/setup.py
+++ /dev/null
@@ -1,25 +0,0 @@
-#!/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 <pradyunsg@gmail.com>',
- url=None,
- packages=packages,
- package_data=package_data,
- package_dir=package_dir,
- python_requires='>=3.7',
- )

File Metadata

Mime Type
text/plain
Expires
Mon, Dec 23, 10:24 PM (19 h, 57 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15580459
Default Alt Text
D34789.diff (1 KB)

Event Timeline