pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc py-ini2toml: added version 0.10



details:   https://anonhg.NetBSD.org/pkgsrc/rev/25701ac36e25
branches:  trunk
changeset: 376306:25701ac36e25
user:      adam <adam%pkgsrc.org@localhost>
date:      Tue Apr 05 07:15:09 2022 +0000

description:
py-ini2toml: added version 0.10

The original purpose of this project is to help migrating setup.cfg files to
PEP 621, but by extension it can also be used to convert any compatible
.ini/.cfg file to TOML.

diffstat:

 textproc/Makefile                 |   3 +-
 textproc/py-ini2toml/ALTERNATIVES |   1 +
 textproc/py-ini2toml/DESCR        |   3 +
 textproc/py-ini2toml/Makefile     |  32 ++++++++++++++
 textproc/py-ini2toml/PLIST        |  85 +++++++++++++++++++++++++++++++++++++++
 textproc/py-ini2toml/distinfo     |   5 ++
 6 files changed, 128 insertions(+), 1 deletions(-)

diffs (163 lines):

diff -r deb0ddb6e68b -r 25701ac36e25 textproc/Makefile
--- a/textproc/Makefile Tue Apr 05 07:13:25 2022 +0000
+++ b/textproc/Makefile Tue Apr 05 07:15:09 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1297 2022/03/29 20:28:51 wiz Exp $
+# $NetBSD: Makefile,v 1.1298 2022/04/05 07:15:09 adam Exp $
 #
 
 COMMENT=       Text processing utilities (does not include desktop publishing)
@@ -1016,6 +1016,7 @@
 SUBDIR+=       py-html5lib
 SUBDIR+=       py-humanize
 SUBDIR+=       py-inflection
+SUBDIR+=       py-ini2toml
 SUBDIR+=       py-iniparse
 SUBDIR+=       py-isc_dhcp_leases
 SUBDIR+=       py-itemadapter
diff -r deb0ddb6e68b -r 25701ac36e25 textproc/py-ini2toml/ALTERNATIVES
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/py-ini2toml/ALTERNATIVES Tue Apr 05 07:15:09 2022 +0000
@@ -0,0 +1,1 @@
+bin/ini2toml @PREFIX@/bin/ini2toml-@PYVERSSUFFIX@
diff -r deb0ddb6e68b -r 25701ac36e25 textproc/py-ini2toml/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/py-ini2toml/DESCR        Tue Apr 05 07:15:09 2022 +0000
@@ -0,0 +1,3 @@
+The original purpose of this project is to help migrating setup.cfg files to
+PEP 621, but by extension it can also be used to convert any compatible
+.ini/.cfg file to TOML.
diff -r deb0ddb6e68b -r 25701ac36e25 textproc/py-ini2toml/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/py-ini2toml/Makefile     Tue Apr 05 07:15:09 2022 +0000
@@ -0,0 +1,32 @@
+# $NetBSD: Makefile,v 1.1 2022/04/05 07:15:09 adam Exp $
+
+DISTNAME=      ini2toml-0.10
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=    textproc python
+MASTER_SITES=  ${MASTER_SITE_PYPI:=i/ini2toml/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/abravalheri/ini2toml
+COMMENT=       Automatically conversion of .ini/.cfg files to TOML equivalents
+LICENSE=       mpl-2.0
+
+BUILD_DEPENDS+=        ${PYPKGPREFIX}-packaging>=20.7:../../devel/py-packaging
+TEST_DEPENDS+= ${PYPKGPREFIX}-configupdater>=3.0.1:../../devel/py-configupdater
+TEST_DEPENDS+= ${PYPKGPREFIX}-test>0:../../devel/py-test
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov>0:../../devel/py-test-cov
+
+USE_LANGUAGES= # none
+
+USE_PKG_RESOURCES=     yes
+
+PYTHON_VERSIONS_INCOMPATIBLE=  27
+
+post-install:
+       cd ${DESTDIR}${PREFIX}/bin && \
+       ${MV} ini2toml ini2toml-${PYVERSSUFFIX} || ${TRUE}
+
+do-test:
+       cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} tests
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r deb0ddb6e68b -r 25701ac36e25 textproc/py-ini2toml/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/py-ini2toml/PLIST        Tue Apr 05 07:15:09 2022 +0000
@@ -0,0 +1,85 @@
+@comment $NetBSD: PLIST,v 1.1 2022/04/05 07:15:09 adam Exp $
+bin/ini2toml-${PYVERSSUFFIX}
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
+${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/ini2toml/__init__.py
+${PYSITELIB}/ini2toml/__init__.pyc
+${PYSITELIB}/ini2toml/__init__.pyo
+${PYSITELIB}/ini2toml/__main__.py
+${PYSITELIB}/ini2toml/__main__.pyc
+${PYSITELIB}/ini2toml/__main__.pyo
+${PYSITELIB}/ini2toml/api.py
+${PYSITELIB}/ini2toml/api.pyc
+${PYSITELIB}/ini2toml/api.pyo
+${PYSITELIB}/ini2toml/base_translator.py
+${PYSITELIB}/ini2toml/base_translator.pyc
+${PYSITELIB}/ini2toml/base_translator.pyo
+${PYSITELIB}/ini2toml/cli.py
+${PYSITELIB}/ini2toml/cli.pyc
+${PYSITELIB}/ini2toml/cli.pyo
+${PYSITELIB}/ini2toml/drivers/__init__.py
+${PYSITELIB}/ini2toml/drivers/__init__.pyc
+${PYSITELIB}/ini2toml/drivers/__init__.pyo
+${PYSITELIB}/ini2toml/drivers/configparser.py
+${PYSITELIB}/ini2toml/drivers/configparser.pyc
+${PYSITELIB}/ini2toml/drivers/configparser.pyo
+${PYSITELIB}/ini2toml/drivers/configupdater.py
+${PYSITELIB}/ini2toml/drivers/configupdater.pyc
+${PYSITELIB}/ini2toml/drivers/configupdater.pyo
+${PYSITELIB}/ini2toml/drivers/full_toml.py
+${PYSITELIB}/ini2toml/drivers/full_toml.pyc
+${PYSITELIB}/ini2toml/drivers/full_toml.pyo
+${PYSITELIB}/ini2toml/drivers/lite_toml.py
+${PYSITELIB}/ini2toml/drivers/lite_toml.pyc
+${PYSITELIB}/ini2toml/drivers/lite_toml.pyo
+${PYSITELIB}/ini2toml/drivers/plain_builtins.py
+${PYSITELIB}/ini2toml/drivers/plain_builtins.pyc
+${PYSITELIB}/ini2toml/drivers/plain_builtins.pyo
+${PYSITELIB}/ini2toml/errors.py
+${PYSITELIB}/ini2toml/errors.pyc
+${PYSITELIB}/ini2toml/errors.pyo
+${PYSITELIB}/ini2toml/intermediate_repr.py
+${PYSITELIB}/ini2toml/intermediate_repr.pyc
+${PYSITELIB}/ini2toml/intermediate_repr.pyo
+${PYSITELIB}/ini2toml/plugins/__init__.py
+${PYSITELIB}/ini2toml/plugins/__init__.pyc
+${PYSITELIB}/ini2toml/plugins/__init__.pyo
+${PYSITELIB}/ini2toml/plugins/best_effort.py
+${PYSITELIB}/ini2toml/plugins/best_effort.pyc
+${PYSITELIB}/ini2toml/plugins/best_effort.pyo
+${PYSITELIB}/ini2toml/plugins/coverage.py
+${PYSITELIB}/ini2toml/plugins/coverage.pyc
+${PYSITELIB}/ini2toml/plugins/coverage.pyo
+${PYSITELIB}/ini2toml/plugins/isort.py
+${PYSITELIB}/ini2toml/plugins/isort.pyc
+${PYSITELIB}/ini2toml/plugins/isort.pyo
+${PYSITELIB}/ini2toml/plugins/mypy.py
+${PYSITELIB}/ini2toml/plugins/mypy.pyc
+${PYSITELIB}/ini2toml/plugins/mypy.pyo
+${PYSITELIB}/ini2toml/plugins/profile_independent_tasks.py
+${PYSITELIB}/ini2toml/plugins/profile_independent_tasks.pyc
+${PYSITELIB}/ini2toml/plugins/profile_independent_tasks.pyo
+${PYSITELIB}/ini2toml/plugins/pytest.py
+${PYSITELIB}/ini2toml/plugins/pytest.pyc
+${PYSITELIB}/ini2toml/plugins/pytest.pyo
+${PYSITELIB}/ini2toml/plugins/setuptools_pep621.py
+${PYSITELIB}/ini2toml/plugins/setuptools_pep621.pyc
+${PYSITELIB}/ini2toml/plugins/setuptools_pep621.pyo
+${PYSITELIB}/ini2toml/profile.py
+${PYSITELIB}/ini2toml/profile.pyc
+${PYSITELIB}/ini2toml/profile.pyo
+${PYSITELIB}/ini2toml/py.typed
+${PYSITELIB}/ini2toml/transformations.py
+${PYSITELIB}/ini2toml/transformations.pyc
+${PYSITELIB}/ini2toml/transformations.pyo
+${PYSITELIB}/ini2toml/translator.py
+${PYSITELIB}/ini2toml/translator.pyc
+${PYSITELIB}/ini2toml/translator.pyo
+${PYSITELIB}/ini2toml/types.py
+${PYSITELIB}/ini2toml/types.pyc
+${PYSITELIB}/ini2toml/types.pyo
diff -r deb0ddb6e68b -r 25701ac36e25 textproc/py-ini2toml/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/py-ini2toml/distinfo     Tue Apr 05 07:15:09 2022 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2022/04/05 07:15:09 adam Exp $
+
+BLAKE2s (ini2toml-0.10.tar.gz) = baca119db7f2987a15b146c00fff99ddab7575591b9e911714be587f3ca06eec
+SHA512 (ini2toml-0.10.tar.gz) = 2c11e48e77dc0cdf852e9a42cb3a0b4e404dd17a9dd6742476b814e777442e9a44bc4086513f83edea8d428f7902e105804685cf5d4d14134f2dde415eb1e646
+Size (ini2toml-0.10.tar.gz) = 99836 bytes



Home | Main Index | Thread Index | Old Index