diff --git a/py-towncrier/Makefile b/py-towncrier/Makefile index fe1ca614f33..c5cee9ecb29 100644 --- a/py-towncrier/Makefile +++ b/py-towncrier/Makefile @@ -1,6 +1,6 @@ # $NetBSD$ -DISTNAME= towncrier-19.2.0 +DISTNAME= towncrier-22.12.0 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} CATEGORIES= devel python MASTER_SITES= ${MASTER_SITE_PYPI:=t/towncrier/} @@ -10,12 +10,24 @@ HOMEPAGE= https://github.com/hawkowl/towncrier COMMENT= Building newsfiles for your project LICENSE= mit -DEPENDS+= ${PYPKGPREFIX}-click>=7.1.2:../../devel/py-click -DEPENDS+= ${PYPKGPREFIX}-incremental>=17.5.0:../../devel/py-incremental -DEPENDS+= ${PYPKGPREFIX}-jinja2>=2.11.2:../../textproc/py-jinja2 -DEPENDS+= ${PYPKGPREFIX}-toml>=0.10.2:../../textproc/py-toml +DEPENDS+= ${PYPKGPREFIX}-click>=0:../../devel/py-click +DEPENDS+= ${PYPKGPREFIX}-click-default-group>=0:../../devel/py-click-default-group +DEPENDS+= ${PYPKGPREFIX}-incremental>=0:../../devel/py-incremental +DEPENDS+= ${PYPKGPREFIX}-jinja2>=0:../../textproc/py-jinja2 +DEPENDS+= ${PYPKGPREFIX}-setuptools>=0:../../devel/py-setuptools +TEST_DEPENDS+= ${PYPKGPREFIX}-test>=0:../../devel/py-test +TEST_DEPENDS+= ${PYPKGPREFIX}-twisted>=0:../../net/py-twisted USE_LANGUAGES= # none +do-test: + cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} + +.include "../../lang/python/pyversion.mk" + +.if ${PYTHON_VERSION} < 311 +DEPENDS+= ${PYPKGPREFIX}-toml>=0:../../textproc/py-toml +.endif + .include "../../lang/python/egg.mk" .include "../../mk/bsd.pkg.mk" diff --git a/py-towncrier/PLIST b/py-towncrier/PLIST index ee70f4b279c..61e3c7c1ca0 100644 --- a/py-towncrier/PLIST +++ b/py-towncrier/PLIST @@ -22,28 +22,54 @@ ${PYSITELIB}/towncrier/_git.pyo ${PYSITELIB}/towncrier/_project.py ${PYSITELIB}/towncrier/_project.pyc ${PYSITELIB}/towncrier/_project.pyo -${PYSITELIB}/towncrier/_settings.py -${PYSITELIB}/towncrier/_settings.pyc -${PYSITELIB}/towncrier/_settings.pyo +${PYSITELIB}/towncrier/_settings/__init__.py +${PYSITELIB}/towncrier/_settings/__init__.pyc +${PYSITELIB}/towncrier/_settings/__init__.pyo +${PYSITELIB}/towncrier/_settings/fragment_types.py +${PYSITELIB}/towncrier/_settings/fragment_types.pyc +${PYSITELIB}/towncrier/_settings/fragment_types.pyo +${PYSITELIB}/towncrier/_settings/load.py +${PYSITELIB}/towncrier/_settings/load.pyc +${PYSITELIB}/towncrier/_settings/load.pyo +${PYSITELIB}/towncrier/_shell.py +${PYSITELIB}/towncrier/_shell.pyc +${PYSITELIB}/towncrier/_shell.pyo ${PYSITELIB}/towncrier/_version.py ${PYSITELIB}/towncrier/_version.pyc ${PYSITELIB}/towncrier/_version.pyo ${PYSITELIB}/towncrier/_writer.py ${PYSITELIB}/towncrier/_writer.pyc ${PYSITELIB}/towncrier/_writer.pyo +${PYSITELIB}/towncrier/build.py +${PYSITELIB}/towncrier/build.pyc +${PYSITELIB}/towncrier/build.pyo ${PYSITELIB}/towncrier/check.py ${PYSITELIB}/towncrier/check.pyc ${PYSITELIB}/towncrier/check.pyo -${PYSITELIB}/towncrier/templates/template.rst +${PYSITELIB}/towncrier/create.py +${PYSITELIB}/towncrier/create.pyc +${PYSITELIB}/towncrier/create.pyo +${PYSITELIB}/towncrier/templates/default.rst +${PYSITELIB}/towncrier/templates/hr-between-versions.rst +${PYSITELIB}/towncrier/templates/single-file-no-bullets.rst ${PYSITELIB}/towncrier/test/__init__.py ${PYSITELIB}/towncrier/test/__init__.pyc ${PYSITELIB}/towncrier/test/__init__.pyo +${PYSITELIB}/towncrier/test/helpers.py +${PYSITELIB}/towncrier/test/helpers.pyc +${PYSITELIB}/towncrier/test/helpers.pyo +${PYSITELIB}/towncrier/test/test_build.py +${PYSITELIB}/towncrier/test/test_build.pyc +${PYSITELIB}/towncrier/test/test_build.pyo +${PYSITELIB}/towncrier/test/test_builder.py +${PYSITELIB}/towncrier/test/test_builder.pyc +${PYSITELIB}/towncrier/test/test_builder.pyo ${PYSITELIB}/towncrier/test/test_check.py ${PYSITELIB}/towncrier/test/test_check.pyc ${PYSITELIB}/towncrier/test/test_check.pyo -${PYSITELIB}/towncrier/test/test_cli.py -${PYSITELIB}/towncrier/test/test_cli.pyc -${PYSITELIB}/towncrier/test/test_cli.pyo +${PYSITELIB}/towncrier/test/test_create.py +${PYSITELIB}/towncrier/test/test_create.pyc +${PYSITELIB}/towncrier/test/test_create.pyo ${PYSITELIB}/towncrier/test/test_format.py ${PYSITELIB}/towncrier/test/test_format.pyc ${PYSITELIB}/towncrier/test/test_format.pyo diff --git a/py-towncrier/distinfo b/py-towncrier/distinfo index fe2c60069c4..b934d239c67 100644 --- a/py-towncrier/distinfo +++ b/py-towncrier/distinfo @@ -1,5 +1,5 @@ $NetBSD$ -RMD160 (towncrier-19.2.0.tar.gz) = 8d52b9b09c273ef5ad04662c7e68504ebcc9ef31 -SHA512 (towncrier-19.2.0.tar.gz) = 729cb0830b87d9ae7c630b50341b42eeb4b3e624785fbdcf529f69631e90d39e35457d874fd6248d1798b2f03dfc04c1a58397b67084d2cc9024a055a84e5b75 -Size (towncrier-19.2.0.tar.gz) = 20250 bytes +BLAKE2s (towncrier-22.12.0.tar.gz) = 26adb5497c55805d80f159ca6983ef99c129024eb46167b37698f4de8cee4885 +SHA512 (towncrier-22.12.0.tar.gz) = af602610ddf77ad2d241347bd59ac915637123b65aa9da41197674ea338f8d7c86d1faa59e58e8675286c44ea266915896041bf6e16c3e920e40ca85cf04e52d +Size (towncrier-22.12.0.tar.gz) = 46201 bytes