pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel
Module Name: pkgsrc
Committed By: adam
Date: Tue Apr 5 07:12:47 UTC 2022
Modified Files:
pkgsrc/devel: Makefile
Added Files:
pkgsrc/devel/py-configupdater: DESCR Makefile PLIST distinfo
Log Message:
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.
To generate a diff of this commit:
cvs rdiff -u -r1.3707 -r1.3708 pkgsrc/devel/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/py-configupdater/DESCR \
pkgsrc/devel/py-configupdater/Makefile \
pkgsrc/devel/py-configupdater/PLIST \
pkgsrc/devel/py-configupdater/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/devel/Makefile
diff -u pkgsrc/devel/Makefile:1.3707 pkgsrc/devel/Makefile:1.3708
--- pkgsrc/devel/Makefile:1.3707 Sun Apr 3 16:11:01 2022
+++ pkgsrc/devel/Makefile Tue Apr 5 07:12:47 2022
@@ -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-compizconfig
SUBDIR+= py-configargparse
SUBDIR+= py-configobj
SUBDIR+= py-configparser
+SUBDIR+= py-configupdater
SUBDIR+= py-confuse
SUBDIR+= py-constantly
SUBDIR+= py-constants
Added files:
Index: pkgsrc/devel/py-configupdater/DESCR
diff -u /dev/null pkgsrc/devel/py-configupdater/DESCR:1.1
--- /dev/null Tue Apr 5 07:12:47 2022
+++ pkgsrc/devel/py-configupdater/DESCR Tue Apr 5 07:12:47 2022
@@ -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.
Index: pkgsrc/devel/py-configupdater/Makefile
diff -u /dev/null pkgsrc/devel/py-configupdater/Makefile:1.1
--- /dev/null Tue Apr 5 07:12:47 2022
+++ pkgsrc/devel/py-configupdater/Makefile Tue Apr 5 07:12:47 2022
@@ -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"
Index: pkgsrc/devel/py-configupdater/PLIST
diff -u /dev/null pkgsrc/devel/py-configupdater/PLIST:1.1
--- /dev/null Tue Apr 5 07:12:47 2022
+++ pkgsrc/devel/py-configupdater/PLIST Tue Apr 5 07:12:47 2022
@@ -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
Index: pkgsrc/devel/py-configupdater/distinfo
diff -u /dev/null pkgsrc/devel/py-configupdater/distinfo:1.1
--- /dev/null Tue Apr 5 07:12:47 2022
+++ pkgsrc/devel/py-configupdater/distinfo Tue Apr 5 07:12:47 2022
@@ -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