pkgsrc-Changes archive

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

CVS commit: pkgsrc/textproc



Module Name:    pkgsrc
Committed By:   adam
Date:           Tue Apr  5 07:15:09 UTC 2022

Modified Files:
        pkgsrc/textproc: Makefile
Added Files:
        pkgsrc/textproc/py-ini2toml: ALTERNATIVES DESCR Makefile PLIST distinfo

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.1297 -r1.1298 pkgsrc/textproc/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/textproc/py-ini2toml/ALTERNATIVES \
    pkgsrc/textproc/py-ini2toml/DESCR pkgsrc/textproc/py-ini2toml/Makefile \
    pkgsrc/textproc/py-ini2toml/PLIST pkgsrc/textproc/py-ini2toml/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/textproc/Makefile
diff -u pkgsrc/textproc/Makefile:1.1297 pkgsrc/textproc/Makefile:1.1298
--- pkgsrc/textproc/Makefile:1.1297     Tue Mar 29 20:28:51 2022
+++ pkgsrc/textproc/Makefile    Tue Apr  5 07:15:09 2022
@@ -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-html5-parser
 SUBDIR+=       py-html5lib
 SUBDIR+=       py-humanize
 SUBDIR+=       py-inflection
+SUBDIR+=       py-ini2toml
 SUBDIR+=       py-iniparse
 SUBDIR+=       py-isc_dhcp_leases
 SUBDIR+=       py-itemadapter

Added files:

Index: pkgsrc/textproc/py-ini2toml/ALTERNATIVES
diff -u /dev/null pkgsrc/textproc/py-ini2toml/ALTERNATIVES:1.1
--- /dev/null   Tue Apr  5 07:15:09 2022
+++ pkgsrc/textproc/py-ini2toml/ALTERNATIVES    Tue Apr  5 07:15:09 2022
@@ -0,0 +1 @@
+bin/ini2toml @PREFIX@/bin/ini2toml-@PYVERSSUFFIX@
Index: pkgsrc/textproc/py-ini2toml/DESCR
diff -u /dev/null pkgsrc/textproc/py-ini2toml/DESCR:1.1
--- /dev/null   Tue Apr  5 07:15:09 2022
+++ pkgsrc/textproc/py-ini2toml/DESCR   Tue Apr  5 07:15:09 2022
@@ -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.
Index: pkgsrc/textproc/py-ini2toml/Makefile
diff -u /dev/null pkgsrc/textproc/py-ini2toml/Makefile:1.1
--- /dev/null   Tue Apr  5 07:15:09 2022
+++ pkgsrc/textproc/py-ini2toml/Makefile        Tue Apr  5 07:15:09 2022
@@ -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"
Index: pkgsrc/textproc/py-ini2toml/PLIST
diff -u /dev/null pkgsrc/textproc/py-ini2toml/PLIST:1.1
--- /dev/null   Tue Apr  5 07:15:09 2022
+++ pkgsrc/textproc/py-ini2toml/PLIST   Tue Apr  5 07:15:09 2022
@@ -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
Index: pkgsrc/textproc/py-ini2toml/distinfo
diff -u /dev/null pkgsrc/textproc/py-ini2toml/distinfo:1.1
--- /dev/null   Tue Apr  5 07:15:09 2022
+++ pkgsrc/textproc/py-ini2toml/distinfo        Tue Apr  5 07:15:09 2022
@@ -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