pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/py-pep517 py-pep517: updated to 0.13.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/98f3e9660891
branches:  trunk
changeset: 382580:98f3e9660891
user:      adam <adam%pkgsrc.org@localhost>
date:      Mon Aug 01 07:52:59 2022 +0000

description:
py-pep517: updated to 0.13.0

0.13
- Remove support for end-of-life Pythons. Now requires Python3.6+.
- Remove support for ``toml`` package. Now requires ``tomli``.
- Rely on preferred "files" API on Python 3.9 and later.

diffstat:

 devel/py-pep517/Makefile |  29 +++++++++++++++++++----------
 devel/py-pep517/PLIST    |  29 ++++++++++-------------------
 devel/py-pep517/distinfo |   8 ++++----
 3 files changed, 33 insertions(+), 33 deletions(-)

diffs (114 lines):

diff -r a0e78c6b7506 -r 98f3e9660891 devel/py-pep517/Makefile
--- a/devel/py-pep517/Makefile  Mon Aug 01 07:33:33 2022 +0000
+++ b/devel/py-pep517/Makefile  Mon Aug 01 07:52:59 2022 +0000
@@ -1,24 +1,33 @@
-# $NetBSD: Makefile,v 1.9 2022/01/09 11:58:14 wiz Exp $
+# $NetBSD: Makefile,v 1.10 2022/08/01 07:52:59 adam Exp $
 
-DISTNAME=      pep517-0.12.0
+DISTNAME=      pep517-0.13.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   2
 CATEGORIES=    devel python
-MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pep517/}
+MASTER_SITES=  ${MASTER_SITE_WHEEL:=pep517/}
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=      https://github.com/pypa/pep517
 COMMENT=       Wrappers to build Python packages using PEP 517 hooks
 LICENSE=       mit
 
-DEPENDS+=      ${PYPKGPREFIX}-toml-[0-9]*:../../textproc/py-toml
-TEST_DEPENDS+= ${PYPKGPREFIX}-test-flake8-[0-9]*:../../devel/py-test-flake8
-TEST_DEPENDS+= ${PYPKGPREFIX}-testpath-[0-9]*:../../devel/py-testpath
+DEPENDS+=      ${PYPKGPREFIX}-tomli>=1.1.0:../../textproc/py-tomli
+#TEST_DEPENDS+=        ${PYPKGPREFIX}-test-flake8-[0-9]*:../../devel/py-test-flake8
+#TEST_DEPENDS+=        ${PYPKGPREFIX}-testpath-[0-9]*:../../devel/py-testpath
 
 USE_LANGUAGES= # none
+# avoid circular dependency: py-build -> py-pep517
+NO_BUILD=      yes
 
-do-test:
-       cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} tests
+PYTHON_VERSIONS_INCOMPATIBLE=  27
 
-.include "../../lang/python/egg.mk"
+.include "../../lang/python/pyversion.mk"
+.if ${_PYTHON_VERSION} < 38
+DEPENDS+=      ${PYPKGPREFIX}-importlib-metadata-[0-9]*:../../devel/py-importlib-metadata
+DEPENDS+=      ${PYPKGPREFIX}-zipp-[0-9]*:../../archivers/py-zipp
+.endif
+
+#do-test:
+#      cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} tests
+
+.include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r a0e78c6b7506 -r 98f3e9660891 devel/py-pep517/PLIST
--- a/devel/py-pep517/PLIST     Mon Aug 01 07:33:33 2022 +0000
+++ b/devel/py-pep517/PLIST     Mon Aug 01 07:52:59 2022 +0000
@@ -1,40 +1,31 @@
-@comment $NetBSD: PLIST,v 1.4 2022/01/22 15:24:20 wiz Exp $
+@comment $NetBSD: PLIST,v 1.5 2022/08/01 07:52:59 adam Exp $
 ${PLIST.py2x}${PYSITELIB}/${EGG_INFODIR}
-${PLIST.py3x}${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
-${PLIST.py3x}${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
-${PLIST.py3x}${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PLIST.py3x}${PYSITELIB}/${EGG_INFODIR}/requires.txt
-${PLIST.py3x}${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/${WHEEL_INFODIR}/INSTALLER
+${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/REQUESTED
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/direct_url.json
 ${PYSITELIB}/pep517/__init__.py
 ${PYSITELIB}/pep517/__init__.pyc
-${PYSITELIB}/pep517/__init__.pyo
+${PYSITELIB}/pep517/_compat.py
+${PYSITELIB}/pep517/_compat.pyc
 ${PYSITELIB}/pep517/build.py
 ${PYSITELIB}/pep517/build.pyc
-${PYSITELIB}/pep517/build.pyo
 ${PYSITELIB}/pep517/check.py
 ${PYSITELIB}/pep517/check.pyc
-${PYSITELIB}/pep517/check.pyo
 ${PYSITELIB}/pep517/colorlog.py
 ${PYSITELIB}/pep517/colorlog.pyc
-${PYSITELIB}/pep517/colorlog.pyo
-${PYSITELIB}/pep517/compat.py
-${PYSITELIB}/pep517/compat.pyc
-${PYSITELIB}/pep517/compat.pyo
 ${PYSITELIB}/pep517/dirtools.py
 ${PYSITELIB}/pep517/dirtools.pyc
-${PYSITELIB}/pep517/dirtools.pyo
 ${PYSITELIB}/pep517/envbuild.py
 ${PYSITELIB}/pep517/envbuild.pyc
-${PYSITELIB}/pep517/envbuild.pyo
 ${PYSITELIB}/pep517/in_process/__init__.py
 ${PYSITELIB}/pep517/in_process/__init__.pyc
-${PYSITELIB}/pep517/in_process/__init__.pyo
 ${PYSITELIB}/pep517/in_process/_in_process.py
 ${PYSITELIB}/pep517/in_process/_in_process.pyc
-${PYSITELIB}/pep517/in_process/_in_process.pyo
 ${PYSITELIB}/pep517/meta.py
 ${PYSITELIB}/pep517/meta.pyc
-${PYSITELIB}/pep517/meta.pyo
 ${PYSITELIB}/pep517/wrappers.py
 ${PYSITELIB}/pep517/wrappers.pyc
-${PYSITELIB}/pep517/wrappers.pyo
diff -r a0e78c6b7506 -r 98f3e9660891 devel/py-pep517/distinfo
--- a/devel/py-pep517/distinfo  Mon Aug 01 07:33:33 2022 +0000
+++ b/devel/py-pep517/distinfo  Mon Aug 01 07:52:59 2022 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.7 2021/10/26 17:13:01 adam Exp $
+$NetBSD: distinfo,v 1.8 2022/08/01 07:52:59 adam Exp $
 
-BLAKE2s (pep517-0.12.0.tar.gz) = 5b81737b300b501a3abc1570d398132907fa25e0458b0446439e205c3adfdc13
-SHA512 (pep517-0.12.0.tar.gz) = 5af1fd2e35414d2a91104c967c48e554c9f838d598e14bc55f9a824c16ba484c817a90065b6734568fc77660bd85b309347392774fb4d54dd969dab8680768e7
-Size (pep517-0.12.0.tar.gz) = 26853 bytes
+BLAKE2s (pep517-0.13.0-py3-none-any.whl) = 8c777e7dd683e0f33c81beb5b43f788f75c114fbd5a1e1163473e90f862decc5
+SHA512 (pep517-0.13.0-py3-none-any.whl) = 868f5131994044acad495a246218d3e8316ad27279f7b3e9db841ad52993e09d04301e000bfa017afa0128ad84f12a7d5ee993956589e1c2f7c1cbd003bc0f1d
+Size (pep517-0.13.0-py3-none-any.whl) = 18966 bytes



Home | Main Index | Thread Index | Old Index