pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/py-setuptools_scm py-setuptools_scm: updated to ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a9550979f768
branches:  trunk
changeset: 391155:a9550979f768
user:      adam <adam%pkgsrc.org@localhost>
date:      Wed Jan 04 10:32:00 2023 +0000

description:
py-setuptools_scm: updated to 7.1.0

v7.1.0
use tomllib from stdlib
handle non-ascii in setup.cfg
implement fallback file finders for archives
removed coding header in python template
declared Python 3.11 support
update .git_archival.txt templates match git-describe invocation
fix handling of .git-archival.txt from tagged commit

diffstat:

 devel/py-setuptools_scm/Makefile |  21 +++++++++------------
 devel/py-setuptools_scm/distinfo |   8 ++++----
 2 files changed, 13 insertions(+), 16 deletions(-)

diffs (63 lines):

diff -r 01e4355318af -r a9550979f768 devel/py-setuptools_scm/Makefile
--- a/devel/py-setuptools_scm/Makefile  Wed Jan 04 09:37:44 2023 +0000
+++ b/devel/py-setuptools_scm/Makefile  Wed Jan 04 10:32:00 2023 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.36 2022/11/05 22:34:29 joerg Exp $
+# $NetBSD: Makefile,v 1.37 2023/01/04 10:32:00 adam Exp $
 
-DISTNAME=      setuptools_scm-7.0.5
+DISTNAME=      setuptools_scm-7.1.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   2
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=s/setuptools_scm/}
 
@@ -13,28 +12,26 @@
 
 DEPENDS+=      ${PYPKGPREFIX}-packaging>=20.0:../../devel/py-packaging
 DEPENDS+=      ${PYPKGPREFIX}-setuptools>=45:../../devel/py-setuptools
-DEPENDS+=      ${PYPKGPREFIX}-tomli>=1.0.0:../../textproc/py-tomli
 DEPENDS+=      ${PYPKGPREFIX}-typing-extensions-[0-9]*:../../devel/py-typing-extensions
 TEST_DEPENDS+= ${PYPKGPREFIX}-mercurial-[0-9]*:../../devel/py-mercurial
 TEST_DEPENDS+= ${PYPKGPREFIX}-pip-[0-9]*:../../devel/py-pip
 TEST_DEPENDS+= ${PYPKGPREFIX}-test>=6.2:../../devel/py-test
-TEST_DEPENDS+= ${PYPKGPREFIX}-virtualenv-[0-9]*:../../devel/py-virtualenv
+TEST_DEPENDS+= ${PYPKGPREFIX}-virtualenv>=20:../../devel/py-virtualenv
+
+USE_LANGUAGES= # none
 
 PYTHON_VERSIONS_INCOMPATIBLE=  27
 
 .include "../../lang/python/pyversion.mk"
-
-.if ${_PYTHON_VERSION} == 37
-DEPENDS+=      ${PYPKGPREFIX}-importlib-metadata-[0-9]*:../../devel/py-importlib-metadata
+.if ${_PYTHON_VERSION} != 311
+DEPENDS+=      ${PYPKGPREFIX}-tomli>=1.0.0:../../textproc/py-tomli
 .endif
 
-USE_LANGUAGES= # none
-
 TEST_ENV+=     PYTHONPATH=${WRKSRC}/build/lib
 # needs to be installed for testing, otherwise you'll see
 # INTERNALERROR> importlib.metadata.PackageNotFoundError: No package metadata was found for setuptools_scm
-# as of 7.0.5:
-# 140 passed, 93 skipped, 1 xfailed, 16 errors
+# as of 7.1.0:
+# 1 failed, 217 passed, 33 skipped, 3 xfailed, 1 xpassed
 do-test:
        cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX}
 
diff -r 01e4355318af -r a9550979f768 devel/py-setuptools_scm/distinfo
--- a/devel/py-setuptools_scm/distinfo  Wed Jan 04 09:37:44 2023 +0000
+++ b/devel/py-setuptools_scm/distinfo  Wed Jan 04 10:32:00 2023 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.31 2022/10/13 12:11:12 adam Exp $
+$NetBSD: distinfo,v 1.32 2023/01/04 10:32:00 adam Exp $
 
-BLAKE2s (setuptools_scm-7.0.5.tar.gz) = f92f8c5f6c64c559504c821ab9739be2e077f1a4c4200073f97ae56d9bb8d1b0
-SHA512 (setuptools_scm-7.0.5.tar.gz) = 5b3420f0aaa0dd1655afb0fdcedc3738b75dbb9d8205e0ad67555c251d330a0d3620a7297cfdcfabbc7386a8acf43fe73fa7f3b17e2d156495fd8b2ab7d1c985
-Size (setuptools_scm-7.0.5.tar.gz) = 70716 bytes
+BLAKE2s (setuptools_scm-7.1.0.tar.gz) = e84926f7be7b59dc8c3706af80e648b89fb202705be99faf036dfe3ceca29ee8
+SHA512 (setuptools_scm-7.1.0.tar.gz) = bd7260672c213db6b8c5842dbb6ac69e69ce040777865c935033971f65d905bd8e6b54e174190a924e452c302e69d4c1de231cbc8f603176ba013a739840dad3
+Size (setuptools_scm-7.1.0.tar.gz) = 71904 bytes



Home | Main Index | Thread Index | Old Index