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 ', - 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