Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F111040898
D34786.id113231.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
3 KB
Referenced Files
None
Subscribers
None
D34786.id113231.diff
View Options
Index: devel/py-flit-core/distinfo
===================================================================
--- /dev/null
+++ devel/py-flit-core/distinfo
@@ -1,3 +0,0 @@
-TIMESTAMP = 1646057942
-SHA256 (flit_core-3.7.1.tar.gz) = 14955af340c43035dbfa96b5ee47407e377ee337f69e70f73064940d27d0a44f
-SIZE (flit_core-3.7.1.tar.gz) = 40330
Index: devel/py-flit-core/files/setup.py
===================================================================
--- devel/py-flit-core/files/setup.py
+++ /dev/null
@@ -1,44 +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 = \
-['flit_core',
- 'flit_core.tests',
- 'flit_core.tests.samples.ns1-pkg.ns1.pkg',
- 'flit_core.tests.samples.package1',
- 'flit_core.tests.samples.package1.subpkg',
- 'flit_core.tests.samples.package1.subpkg2',
- 'flit_core.vendor',
- 'flit_core.vendor.tomli']
-
-package_data = \
-{'': ['*'],
- 'flit_core.tests': ['samples/*',
- 'samples/conflicting_modules/*',
- 'samples/conflicting_modules/src/*',
- 'samples/constructed_version/*',
- 'samples/inclusion/*',
- 'samples/inclusion/LICENSES/*',
- 'samples/inclusion/doc/*',
- 'samples/inclusion/doc/subdir/*',
- 'samples/ns1-pkg/*',
- 'samples/ns1-pkg/ns1/*',
- 'samples/pep517/*',
- 'samples/pep621/*',
- 'samples/pep621_nodynamic/*'],
- 'flit_core.tests.samples.package1': ['data_dir/*'],
- 'flit_core.tests.samples.package1.subpkg': ['sp_data_dir/*'],
- 'flit_core.vendor': ['tomli-1.2.3.dist-info/*']}
-
-setup(name='flit_core',
- version='%%PORTVERSION%%',
- description='Distribution-building parts of Flit. See flit package for more information',
- author=None,
- author_email='Thomas Kluyver & contributors <thomas@kluyver.me.uk>',
- url=None,
- packages=packages,
- package_data=package_data,
- python_requires='>=3.6',
- )
Index: devel/py-flit-core/pkg-descr
===================================================================
--- /dev/null
+++ devel/py-flit-core/pkg-descr
@@ -1,2 +0,0 @@
-flit_core provides a PEP 517 build backend for packages using Flit. The only
-public interface is the API specified by PEP 517, at flit_core.buildapi.
Index: devel/py-flit_core/Makefile
===================================================================
--- devel/py-flit_core/Makefile
+++ devel/py-flit_core/Makefile
@@ -1,9 +1,8 @@
-PORTNAME= flit-core
+PORTNAME= flit_core
PORTVERSION= 3.7.1
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
-DISTNAME= flit_core-${PORTVERSION}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Distribution-building parts of Flit
@@ -13,12 +12,14 @@
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}testpath>=0:devel/py-testpath@${PY_FLAVOR}
-USES= python:3.4+
-USE_PYTHON= autoplist concurrent distutils pytest
+USES= python
+USE_PYTHON= allflavors autoplist concurrent pep517 pytest
+PEP517_BUILD_CMD= ${PYTHON_CMD} -m ${PORTNAME}.wheel
+PEP517_BUILD_DEPEND=
+PEP517_INSTALL_CMD= ${PYTHON_CMD} ${BUILD_WRKSRC}/bootstrap_install.py \
+ -i ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} ${BUILD_WRKSRC}/dist/${PORTNAME}-*.whl
+PEP517_INSTALL_DEPEND=
NO_ARCH= yes
-post-patch:
- @${SED} -e 's|%%PORTVERSION%%|${PORTVERSION}|' ${FILESDIR}/setup.py > ${WRKSRC}/setup.py
-
.include <bsd.port.mk>
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Feb 27, 2:25 PM (19 h, 12 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16869954
Default Alt Text
D34786.id113231.diff (3 KB)
Attached To
Mode
D34786: devel/py-flit-core: convert to self-hosting bootstrap
Attached
Detach File
Event Timeline
Log In to Comment