Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F105944296
D34789.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D34789.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D34789: devel/py-installer: convert to PEP-517 build and packaging
Attached
Detach File
Event Timeline
Log In to Comment