pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/py-flit_core



Module Name:    pkgsrc
Committed By:   nros
Date:           Tue Jan 11 21:49:03 UTC 2022

Modified Files:
        pkgsrc/devel/py-flit_core: DESCR Makefile PLIST
Removed Files:
        pkgsrc/devel/py-flit_core/files: setup.py

Log Message:
make py-flit_core use pep517 for building


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/devel/py-flit_core/DESCR
cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/py-flit_core/Makefile \
    pkgsrc/devel/py-flit_core/PLIST
cvs rdiff -u -r1.1 -r0 pkgsrc/devel/py-flit_core/files/setup.py

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/py-flit_core/DESCR
diff -u pkgsrc/devel/py-flit_core/DESCR:1.1 pkgsrc/devel/py-flit_core/DESCR:1.2
--- pkgsrc/devel/py-flit_core/DESCR:1.1 Fri Dec  4 23:29:33 2020
+++ pkgsrc/devel/py-flit_core/DESCR     Tue Jan 11 21:49:03 2022
@@ -3,5 +3,5 @@ Flit is a simple way to put Python packa
 It tries to require less thought about packaging and help you avoid
 common mistakes.
 
-flit_core is the core library inside flit, used to bootstrap the build
-of the flit tool.
+flit_core is the flit pep517 build backend, used as a build backend
+for a lot of python packages including the build of the flit tool.

Index: pkgsrc/devel/py-flit_core/Makefile
diff -u pkgsrc/devel/py-flit_core/Makefile:1.2 pkgsrc/devel/py-flit_core/Makefile:1.3
--- pkgsrc/devel/py-flit_core/Makefile:1.2      Mon Jan 10 19:17:09 2022
+++ pkgsrc/devel/py-flit_core/Makefile  Tue Jan 11 21:49:03 2022
@@ -1,6 +1,5 @@
-# $NetBSD: Makefile,v 1.2 2022/01/10 19:17:09 adam Exp $
+# $NetBSD: Makefile,v 1.3 2022/01/11 21:49:03 nros Exp $
 
-# Important: Re-generate files/setup.py on update.
 DISTNAME=      flit_core-3.6.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
@@ -18,11 +17,6 @@ USE_LANGUAGES=       # none
 
 PYTHON_VERSIONS_INCOMPATIBLE=  27
 
-pre-configure:
-       ${CP} ${FILESDIR}/setup.py ${WRKSRC}/
-
-do-test:
-       cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} flit_core/tests
-
-.include "../../lang/python/egg.mk"
+.include "../../lang/python/wheel.mk"
+.include "../../lang/python/extension.mk"
 .include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/py-flit_core/PLIST
diff -u pkgsrc/devel/py-flit_core/PLIST:1.2 pkgsrc/devel/py-flit_core/PLIST:1.3
--- pkgsrc/devel/py-flit_core/PLIST:1.2 Mon Jan 10 19:17:09 2022
+++ pkgsrc/devel/py-flit_core/PLIST     Tue Jan 11 21:49:03 2022
@@ -1,38 +1,31 @@
-@comment $NetBSD: PLIST,v 1.2 2022/01/10 19:17:09 adam Exp $
-${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
-${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
-${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+@comment $NetBSD: PLIST,v 1.3 2022/01/11 21:49:03 nros Exp $
+${PYSITELIB}/${WHEEL_INFODIR}/INSTALLER
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/REQUESTED
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/direct_url.json
 ${PYSITELIB}/flit_core/__init__.py
 ${PYSITELIB}/flit_core/__init__.pyc
-${PYSITELIB}/flit_core/__init__.pyo
 ${PYSITELIB}/flit_core/buildapi.py
 ${PYSITELIB}/flit_core/buildapi.pyc
-${PYSITELIB}/flit_core/buildapi.pyo
 ${PYSITELIB}/flit_core/common.py
 ${PYSITELIB}/flit_core/common.pyc
-${PYSITELIB}/flit_core/common.pyo
 ${PYSITELIB}/flit_core/config.py
 ${PYSITELIB}/flit_core/config.pyc
-${PYSITELIB}/flit_core/config.pyo
 ${PYSITELIB}/flit_core/sdist.py
 ${PYSITELIB}/flit_core/sdist.pyc
-${PYSITELIB}/flit_core/sdist.pyo
 ${PYSITELIB}/flit_core/tests/__init__.py
 ${PYSITELIB}/flit_core/tests/__init__.pyc
-${PYSITELIB}/flit_core/tests/__init__.pyo
 ${PYSITELIB}/flit_core/tests/samples/EG_README.rst
 ${PYSITELIB}/flit_core/tests/samples/bad-description-ext.toml
 ${PYSITELIB}/flit_core/tests/samples/conflicting_modules/module1.py
 ${PYSITELIB}/flit_core/tests/samples/conflicting_modules/module1.pyc
-${PYSITELIB}/flit_core/tests/samples/conflicting_modules/module1.pyo
 ${PYSITELIB}/flit_core/tests/samples/conflicting_modules/pyproject.toml
 ${PYSITELIB}/flit_core/tests/samples/conflicting_modules/src/module1.py
 ${PYSITELIB}/flit_core/tests/samples/conflicting_modules/src/module1.pyc
-${PYSITELIB}/flit_core/tests/samples/conflicting_modules/src/module1.pyo
 ${PYSITELIB}/flit_core/tests/samples/constructed_version/module1.py
 ${PYSITELIB}/flit_core/tests/samples/constructed_version/module1.pyc
-${PYSITELIB}/flit_core/tests/samples/constructed_version/module1.pyo
 ${PYSITELIB}/flit_core/tests/samples/constructed_version/pyproject.toml
 ${PYSITELIB}/flit_core/tests/samples/extras-dev-conflict.toml
 ${PYSITELIB}/flit_core/tests/samples/extras.toml
@@ -42,65 +35,51 @@ ${PYSITELIB}/flit_core/tests/samples/inc
 ${PYSITELIB}/flit_core/tests/samples/inclusion/doc/test.txt
 ${PYSITELIB}/flit_core/tests/samples/inclusion/module1.py
 ${PYSITELIB}/flit_core/tests/samples/inclusion/module1.pyc
-${PYSITELIB}/flit_core/tests/samples/inclusion/module1.pyo
 ${PYSITELIB}/flit_core/tests/samples/inclusion/pyproject.toml
 ${PYSITELIB}/flit_core/tests/samples/invalid_version1.py
 ${PYSITELIB}/flit_core/tests/samples/invalid_version1.pyc
-${PYSITELIB}/flit_core/tests/samples/invalid_version1.pyo
 ${PYSITELIB}/flit_core/tests/samples/missing-description-file.toml
 ${PYSITELIB}/flit_core/tests/samples/misspelled-key.toml
 ${PYSITELIB}/flit_core/tests/samples/module1-pkg.ini
 ${PYSITELIB}/flit_core/tests/samples/module1-pkg.toml
 ${PYSITELIB}/flit_core/tests/samples/module1.py
 ${PYSITELIB}/flit_core/tests/samples/module1.pyc
-${PYSITELIB}/flit_core/tests/samples/module1.pyo
 ${PYSITELIB}/flit_core/tests/samples/module2.py
 ${PYSITELIB}/flit_core/tests/samples/module2.pyc
-${PYSITELIB}/flit_core/tests/samples/module2.pyo
 ${PYSITELIB}/flit_core/tests/samples/moduleunimportable.py
 ${PYSITELIB}/flit_core/tests/samples/moduleunimportable.pyc
-${PYSITELIB}/flit_core/tests/samples/moduleunimportable.pyo
 ${PYSITELIB}/flit_core/tests/samples/my-description.rst
 ${PYSITELIB}/flit_core/tests/samples/no_docstring-pkg.toml
 ${PYSITELIB}/flit_core/tests/samples/no_docstring.py
 ${PYSITELIB}/flit_core/tests/samples/no_docstring.pyc
-${PYSITELIB}/flit_core/tests/samples/no_docstring.pyo
 ${PYSITELIB}/flit_core/tests/samples/ns1-pkg/EG_README.rst
 ${PYSITELIB}/flit_core/tests/samples/ns1-pkg/ns1/pkg/__init__.py
 ${PYSITELIB}/flit_core/tests/samples/ns1-pkg/ns1/pkg/__init__.pyc
-${PYSITELIB}/flit_core/tests/samples/ns1-pkg/ns1/pkg/__init__.pyo
 ${PYSITELIB}/flit_core/tests/samples/ns1-pkg/pyproject.toml
 ${PYSITELIB}/flit_core/tests/samples/package1.toml
 ${PYSITELIB}/flit_core/tests/samples/package1/__init__.py
 ${PYSITELIB}/flit_core/tests/samples/package1/__init__.pyc
-${PYSITELIB}/flit_core/tests/samples/package1/__init__.pyo
 ${PYSITELIB}/flit_core/tests/samples/package1/data_dir/foo.sh
 ${PYSITELIB}/flit_core/tests/samples/package1/foo.py
 ${PYSITELIB}/flit_core/tests/samples/package1/foo.pyc
-${PYSITELIB}/flit_core/tests/samples/package1/foo.pyo
 ${PYSITELIB}/flit_core/tests/samples/package1/subpkg/__init__.py
 ${PYSITELIB}/flit_core/tests/samples/package1/subpkg/__init__.pyc
-${PYSITELIB}/flit_core/tests/samples/package1/subpkg/__init__.pyo
 ${PYSITELIB}/flit_core/tests/samples/package1/subpkg/sp_data_dir/test.json
 ${PYSITELIB}/flit_core/tests/samples/package1/subpkg2/__init__.py
 ${PYSITELIB}/flit_core/tests/samples/package1/subpkg2/__init__.pyc
-${PYSITELIB}/flit_core/tests/samples/package1/subpkg2/__init__.pyo
 ${PYSITELIB}/flit_core/tests/samples/pep517/LICENSE
 ${PYSITELIB}/flit_core/tests/samples/pep517/README.rst
 ${PYSITELIB}/flit_core/tests/samples/pep517/module1.py
 ${PYSITELIB}/flit_core/tests/samples/pep517/module1.pyc
-${PYSITELIB}/flit_core/tests/samples/pep517/module1.pyo
 ${PYSITELIB}/flit_core/tests/samples/pep517/pyproject.toml
 ${PYSITELIB}/flit_core/tests/samples/pep621/LICENSE
 ${PYSITELIB}/flit_core/tests/samples/pep621/README.rst
 ${PYSITELIB}/flit_core/tests/samples/pep621/module1a.py
 ${PYSITELIB}/flit_core/tests/samples/pep621/module1a.pyc
-${PYSITELIB}/flit_core/tests/samples/pep621/module1a.pyo
 ${PYSITELIB}/flit_core/tests/samples/pep621/pyproject.toml
 ${PYSITELIB}/flit_core/tests/samples/pep621_nodynamic/README.rst
 ${PYSITELIB}/flit_core/tests/samples/pep621_nodynamic/module1.py
 ${PYSITELIB}/flit_core/tests/samples/pep621_nodynamic/module1.pyc
-${PYSITELIB}/flit_core/tests/samples/pep621_nodynamic/module1.pyo
 ${PYSITELIB}/flit_core/tests/samples/pep621_nodynamic/pyproject.toml
 ${PYSITELIB}/flit_core/tests/samples/requires-dev.toml
 ${PYSITELIB}/flit_core/tests/samples/requires-envmark.toml
@@ -108,47 +87,33 @@ ${PYSITELIB}/flit_core/tests/samples/req
 ${PYSITELIB}/flit_core/tests/samples/requires-requests.toml
 ${PYSITELIB}/flit_core/tests/test_build_thyself.py
 ${PYSITELIB}/flit_core/tests/test_build_thyself.pyc
-${PYSITELIB}/flit_core/tests/test_build_thyself.pyo
 ${PYSITELIB}/flit_core/tests/test_buildapi.py
 ${PYSITELIB}/flit_core/tests/test_buildapi.pyc
-${PYSITELIB}/flit_core/tests/test_buildapi.pyo
 ${PYSITELIB}/flit_core/tests/test_common.py
 ${PYSITELIB}/flit_core/tests/test_common.pyc
-${PYSITELIB}/flit_core/tests/test_common.pyo
 ${PYSITELIB}/flit_core/tests/test_config.py
 ${PYSITELIB}/flit_core/tests/test_config.pyc
-${PYSITELIB}/flit_core/tests/test_config.pyo
 ${PYSITELIB}/flit_core/tests/test_sdist.py
 ${PYSITELIB}/flit_core/tests/test_sdist.pyc
-${PYSITELIB}/flit_core/tests/test_sdist.pyo
 ${PYSITELIB}/flit_core/tests/test_versionno.py
 ${PYSITELIB}/flit_core/tests/test_versionno.pyc
-${PYSITELIB}/flit_core/tests/test_versionno.pyo
 ${PYSITELIB}/flit_core/tests/test_wheel.py
 ${PYSITELIB}/flit_core/tests/test_wheel.pyc
-${PYSITELIB}/flit_core/tests/test_wheel.pyo
 ${PYSITELIB}/flit_core/vendor/README
 ${PYSITELIB}/flit_core/vendor/__init__.py
 ${PYSITELIB}/flit_core/vendor/__init__.pyc
-${PYSITELIB}/flit_core/vendor/__init__.pyo
 ${PYSITELIB}/flit_core/vendor/tomli-1.2.3.dist-info/LICENSE
 ${PYSITELIB}/flit_core/vendor/tomli-1.2.3.dist-info/METADATA
 ${PYSITELIB}/flit_core/vendor/tomli/__init__.py
 ${PYSITELIB}/flit_core/vendor/tomli/__init__.pyc
-${PYSITELIB}/flit_core/vendor/tomli/__init__.pyo
 ${PYSITELIB}/flit_core/vendor/tomli/_parser.py
 ${PYSITELIB}/flit_core/vendor/tomli/_parser.pyc
-${PYSITELIB}/flit_core/vendor/tomli/_parser.pyo
 ${PYSITELIB}/flit_core/vendor/tomli/_re.py
 ${PYSITELIB}/flit_core/vendor/tomli/_re.pyc
-${PYSITELIB}/flit_core/vendor/tomli/_re.pyo
 ${PYSITELIB}/flit_core/vendor/tomli/_types.py
 ${PYSITELIB}/flit_core/vendor/tomli/_types.pyc
-${PYSITELIB}/flit_core/vendor/tomli/_types.pyo
 ${PYSITELIB}/flit_core/vendor/tomli/py.typed
 ${PYSITELIB}/flit_core/versionno.py
 ${PYSITELIB}/flit_core/versionno.pyc
-${PYSITELIB}/flit_core/versionno.pyo
 ${PYSITELIB}/flit_core/wheel.py
 ${PYSITELIB}/flit_core/wheel.pyc
-${PYSITELIB}/flit_core/wheel.pyo



Home | Main Index | Thread Index | Old Index