pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel py-configupdater: added version 3.1
details: https://anonhg.NetBSD.org/pkgsrc/rev/973fd246b44a
branches: trunk
changeset: 376303:973fd246b44a
user: adam <adam%pkgsrc.org@localhost>
date: Tue Apr 05 07:12:47 2022 +0000
description:
py-configupdater: added version 3.1
The sole purpose of ConfigUpdater is to easily update an INI config file with
no changes to the original file except the intended ones. This means comments,
the ordering of sections and key/value-pairs as wells as their cases are kept
as in the original file. Thus ConfigUpdater provides complementary
functionality to Python's ConfigParser which is primarily meant for reading
config files and writing new ones.
diffstat:
devel/Makefile | 3 ++-
devel/py-configupdater/DESCR | 6 ++++++
devel/py-configupdater/Makefile | 34 ++++++++++++++++++++++++++++++++++
devel/py-configupdater/PLIST | 35 +++++++++++++++++++++++++++++++++++
devel/py-configupdater/distinfo | 5 +++++
5 files changed, 82 insertions(+), 1 deletions(-)
diffs (113 lines):
diff -r 3156ea1c2351 -r 973fd246b44a devel/Makefile
--- a/devel/Makefile Tue Apr 05 06:57:48 2022 +0000
+++ b/devel/Makefile Tue Apr 05 07:12:47 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3707 2022/04/03 16:11:01 bsiegert Exp $
+# $NetBSD: Makefile,v 1.3708 2022/04/05 07:12:47 adam Exp $
#
COMMENT= Development utilities
@@ -2362,6 +2362,7 @@
SUBDIR+= py-configargparse
SUBDIR+= py-configobj
SUBDIR+= py-configparser
+SUBDIR+= py-configupdater
SUBDIR+= py-confuse
SUBDIR+= py-constantly
SUBDIR+= py-constants
diff -r 3156ea1c2351 -r 973fd246b44a devel/py-configupdater/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-configupdater/DESCR Tue Apr 05 07:12:47 2022 +0000
@@ -0,0 +1,6 @@
+The sole purpose of ConfigUpdater is to easily update an INI config file with
+no changes to the original file except the intended ones. This means comments,
+the ordering of sections and key/value-pairs as wells as their cases are kept
+as in the original file. Thus ConfigUpdater provides complementary
+functionality to Python's ConfigParser which is primarily meant for reading
+config files and writing new ones.
diff -r 3156ea1c2351 -r 973fd246b44a devel/py-configupdater/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-configupdater/Makefile Tue Apr 05 07:12:47 2022 +0000
@@ -0,0 +1,34 @@
+# $NetBSD: Makefile,v 1.1 2022/04/05 07:12:47 adam Exp $
+
+DISTNAME= ConfigUpdater-3.1
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl}
+CATEGORIES= devel python
+MASTER_SITES= ${MASTER_SITE_PYPI:=c/configupdater/}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://github.com/pyscaffold/configupdater
+COMMENT= Parser like ConfigParser but for updating configuration files
+LICENSE= mit
+
+TEST_DEPENDS+= ${PYPKGPREFIX}-test>0:../../devel/py-test
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov>0:../../devel/py-test-cov
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-virtualenv>0:../../devel/py-test-virtualenv
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-xdist>0:../../devel/py-test-xdist
+
+USE_LANGUAGES= # none
+
+USE_PKG_RESOURCES= yes
+
+PYTHON_VERSIONS_INCOMPATIBLE= 27
+
+.include "../../lang/python/pyversion.mk"
+
+.if ${_PYTHON_VERSION} == 37
+DEPENDS+= ${PYPKGPREFIX}-importlib-metadata>0:../../devel/py-importlib-metadata
+.endif
+
+do-test:
+ cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} tests
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 3156ea1c2351 -r 973fd246b44a devel/py-configupdater/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-configupdater/PLIST Tue Apr 05 07:12:47 2022 +0000
@@ -0,0 +1,35 @@
+@comment $NetBSD: PLIST,v 1.1 2022/04/05 07:12:47 adam Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/configupdater/__init__.py
+${PYSITELIB}/configupdater/__init__.pyc
+${PYSITELIB}/configupdater/__init__.pyo
+${PYSITELIB}/configupdater/block.py
+${PYSITELIB}/configupdater/block.pyc
+${PYSITELIB}/configupdater/block.pyo
+${PYSITELIB}/configupdater/builder.py
+${PYSITELIB}/configupdater/builder.pyc
+${PYSITELIB}/configupdater/builder.pyo
+${PYSITELIB}/configupdater/configupdater.py
+${PYSITELIB}/configupdater/configupdater.pyc
+${PYSITELIB}/configupdater/configupdater.pyo
+${PYSITELIB}/configupdater/container.py
+${PYSITELIB}/configupdater/container.pyc
+${PYSITELIB}/configupdater/container.pyo
+${PYSITELIB}/configupdater/document.py
+${PYSITELIB}/configupdater/document.pyc
+${PYSITELIB}/configupdater/document.pyo
+${PYSITELIB}/configupdater/option.py
+${PYSITELIB}/configupdater/option.pyc
+${PYSITELIB}/configupdater/option.pyo
+${PYSITELIB}/configupdater/parser.py
+${PYSITELIB}/configupdater/parser.pyc
+${PYSITELIB}/configupdater/parser.pyo
+${PYSITELIB}/configupdater/py.typed
+${PYSITELIB}/configupdater/section.py
+${PYSITELIB}/configupdater/section.pyc
+${PYSITELIB}/configupdater/section.pyo
diff -r 3156ea1c2351 -r 973fd246b44a devel/py-configupdater/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-configupdater/distinfo Tue Apr 05 07:12:47 2022 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2022/04/05 07:12:47 adam Exp $
+
+BLAKE2s (ConfigUpdater-3.1.tar.gz) = ea30ee389db824ad197f8ee5a6546e255386fa16f87cd5be0c1f2e49964e7baa
+SHA512 (ConfigUpdater-3.1.tar.gz) = 1542236eeb760d3f5f38b7cc194093b6c16d6c7a42ce35dc209665ccddd0ecd3ae16a8fc3dbba06580993ec6152f93624e6603c62d53913bb93a1a76a3fa8b87
+Size (ConfigUpdater-3.1.tar.gz) = 139877 bytes
Home |
Main Index |
Thread Index |
Old Index