Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F173385903
D34875.id114680.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
D34875.id114680.diff
View Options
Index: devel/py-pep517/Makefile
===================================================================
--- devel/py-pep517/Makefile
+++ devel/py-pep517/Makefile
@@ -1,5 +1,6 @@
PORTNAME= pep517
PORTVERSION= 0.13.0
+PORTREVISION= 1
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -11,8 +12,10 @@
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}
NO_ARCH= yes
@@ -27,7 +30,4 @@
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}tomli>=1.1.0:textproc/py-tomli@${PY_FLAVOR}
.endif
-post-patch:
- @${SED} -e 's|%%PORTVERSION%%|${PORTVERSION}|' ${FILESDIR}/setup.py > ${WRKSRC}/setup.py
-
.include <bsd.port.post.mk>
Index: devel/py-pep517/files/setup.py
===================================================================
--- devel/py-pep517/files/setup.py
+++ /dev/null
@@ -1,26 +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 = \
-['pep517', 'pep517.in_process']
-
-package_data = \
-{'': ['*']}
-
-extras_require = \
-{":python_version<'3.11'": ['tomli >=1.1.0'],
- ":python_version<'3.8'": ['importlib_metadata', 'zipp']}
-
-setup(name='pep517',
- version='%%PORTVERSION%%',
- description='Wrappers to build Python packages using PEP 517 hooks',
- author='Thomas Kluyver',
- author_email='thomas@kluyver.me.uk',
- url='https://github.com/pypa/pep517',
- packages=packages,
- package_data=package_data,
- extras_require=extras_require,
- python_requires='>=3.6',
- )
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Sep 26, 3:06 PM (16 h, 42 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
39673136
Default Alt Text
D34875.id114680.diff (1 KB)
Attached To
Mode
D34875: [WIP] devel/py-pep517: convert to PEP-517
Attached
Detach File
Event Timeline
Log In to Comment