pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/py-toolconfig
Module Name: pkgsrc
Committed By: wiz
Date: Thu May 4 09:38:36 UTC 2023
Added Files:
pkgsrc/devel/py-toolconfig: DESCR Makefile PLIST distinfo
pkgsrc/devel/py-toolconfig/patches: patch-pyproject.toml
Log Message:
devel/py-toolconfig: import py-toolconfig-1.2.5
The goal of this project is to manage configuration for python
tools, such as black and rope and add support for a pyproject.toml
configuration file.
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/py-toolconfig/DESCR \
pkgsrc/devel/py-toolconfig/Makefile pkgsrc/devel/py-toolconfig/PLIST \
pkgsrc/devel/py-toolconfig/distinfo
cvs rdiff -u -r0 -r1.1 \
pkgsrc/devel/py-toolconfig/patches/patch-pyproject.toml
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Added files:
Index: pkgsrc/devel/py-toolconfig/DESCR
diff -u /dev/null pkgsrc/devel/py-toolconfig/DESCR:1.1
--- /dev/null Thu May 4 09:38:36 2023
+++ pkgsrc/devel/py-toolconfig/DESCR Thu May 4 09:38:36 2023
@@ -0,0 +1,3 @@
+The goal of this project is to manage configuration for python
+tools, such as black and rope and add support for a pyproject.toml
+configuration file.
Index: pkgsrc/devel/py-toolconfig/Makefile
diff -u /dev/null pkgsrc/devel/py-toolconfig/Makefile:1.1
--- /dev/null Thu May 4 09:38:36 2023
+++ pkgsrc/devel/py-toolconfig/Makefile Thu May 4 09:38:36 2023
@@ -0,0 +1,39 @@
+# $NetBSD: Makefile,v 1.1 2023/05/04 09:38:36 wiz Exp $
+
+DISTNAME= pytoolconfig-1.2.5
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/^py//}
+CATEGORIES= devel
+MASTER_SITES= ${MASTER_SITE_PYPI:=p/pytoolconfig/}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://github.com/bageljrkhanofemus/pytoolconfig
+COMMENT= Python tool configuration
+LICENSE= gnu-lgpl-v3
+
+DEPENDS+= ${PYPKGPREFIX}-packaging>=22.0:../../devel/py-packaging
+DEPENDS+= ${PYPKGPREFIX}-docutils>=0:../../textproc/py-docutils
+DEPENDS+= ${PYPKGPREFIX}-platformdirs>=1.4.4:../../misc/py-platformdirs
+DEPENDS+= ${PYPKGPREFIX}-tabulate>=0.8.9:../../textproc/py-tabulate
+DEPENDS+= ${PYPKGPREFIX}-sphinx>=4.5.0:../../textproc/py-sphinx
+TOOL_DEPENDS+= ${PYPKGPREFIX}-pdm_backend-[0-9]*:../../devel/py-pdm_backend
+TEST_DEPENDS+= ${PYPKGPREFIX}-test>=7.2.0:../../devel/py-test
+TEST_DEPENDS+= ${PYPKGPREFIX}-mypy>=0.991:../../lang/py-mypy
+
+USE_LANGUAGES= # none
+
+PYTHON_VERSIONS_INCOMPATIBLE= 27
+
+.include "../../lang/python/pyversion.mk"
+
+.if ${PYTHON_VERSION} < 311
+DEPENDS+= ${PYPKGPREFIX}-tomli>=2.0.1:../../textproc/py-tomli
+.endif
+.if ${PYTHON_VERSION} < 308
+DEPENDS+= ${PYPKGPREFIX}-typing-extensions>=4.4.0:../../devel/py-typing-extensions
+.endif
+
+do-test:
+ cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX}
+
+.include "../../lang/python/wheel.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/py-toolconfig/PLIST
diff -u /dev/null pkgsrc/devel/py-toolconfig/PLIST:1.1
--- /dev/null Thu May 4 09:38:36 2023
+++ pkgsrc/devel/py-toolconfig/PLIST Thu May 4 09:38:36 2023
@@ -0,0 +1,37 @@
+@comment $NetBSD: PLIST,v 1.1 2023/05/04 09:38:36 wiz Exp $
+${PYSITELIB}/${WHEEL_INFODIR}/INSTALLER
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/REQUESTED
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/direct_url.json
+${PYSITELIB}/${WHEEL_INFODIR}/licenses/LICENSE
+${PYSITELIB}/pytoolconfig/__init__.py
+${PYSITELIB}/pytoolconfig/__init__.pyc
+${PYSITELIB}/pytoolconfig/_version.py
+${PYSITELIB}/pytoolconfig/_version.pyc
+${PYSITELIB}/pytoolconfig/documentation.py
+${PYSITELIB}/pytoolconfig/documentation.pyc
+${PYSITELIB}/pytoolconfig/fields.py
+${PYSITELIB}/pytoolconfig/fields.pyc
+${PYSITELIB}/pytoolconfig/py.typed
+${PYSITELIB}/pytoolconfig/pytoolconfig.py
+${PYSITELIB}/pytoolconfig/pytoolconfig.pyc
+${PYSITELIB}/pytoolconfig/sources/__init__.py
+${PYSITELIB}/pytoolconfig/sources/__init__.pyc
+${PYSITELIB}/pytoolconfig/sources/ini.py
+${PYSITELIB}/pytoolconfig/sources/ini.pyc
+${PYSITELIB}/pytoolconfig/sources/pyproject.py
+${PYSITELIB}/pytoolconfig/sources/pyproject.pyc
+${PYSITELIB}/pytoolconfig/sources/pytool.py
+${PYSITELIB}/pytoolconfig/sources/pytool.pyc
+${PYSITELIB}/pytoolconfig/sources/setup_cfg.py
+${PYSITELIB}/pytoolconfig/sources/setup_cfg.pyc
+${PYSITELIB}/pytoolconfig/sources/source.py
+${PYSITELIB}/pytoolconfig/sources/source.pyc
+${PYSITELIB}/pytoolconfig/types.py
+${PYSITELIB}/pytoolconfig/types.pyc
+${PYSITELIB}/pytoolconfig/universal_config.py
+${PYSITELIB}/pytoolconfig/universal_config.pyc
+${PYSITELIB}/pytoolconfig/utils.py
+${PYSITELIB}/pytoolconfig/utils.pyc
Index: pkgsrc/devel/py-toolconfig/distinfo
diff -u /dev/null pkgsrc/devel/py-toolconfig/distinfo:1.1
--- /dev/null Thu May 4 09:38:36 2023
+++ pkgsrc/devel/py-toolconfig/distinfo Thu May 4 09:38:36 2023
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2023/05/04 09:38:36 wiz Exp $
+
+BLAKE2s (pytoolconfig-1.2.5.tar.gz) = 2c479602ce62a5bc7afa12409827f0a27a73cb1bac44c767ecff6c24c6d5c196
+SHA512 (pytoolconfig-1.2.5.tar.gz) = 37753530a166d324ddef0c2e9f0c3d6b2f61252a18ff8037d530b339c8b817cde4087d14b6756690fe10002cbd3442776604ff064d7d16d34289ba859492c920
+Size (pytoolconfig-1.2.5.tar.gz) = 16322 bytes
+SHA1 (patch-pyproject.toml) = 69c5a4472c0dad6c61ebe3dd7bd676017c57d3fa
Index: pkgsrc/devel/py-toolconfig/patches/patch-pyproject.toml
diff -u /dev/null pkgsrc/devel/py-toolconfig/patches/patch-pyproject.toml:1.1
--- /dev/null Thu May 4 09:38:36 2023
+++ pkgsrc/devel/py-toolconfig/patches/patch-pyproject.toml Thu May 4 09:38:36 2023
@@ -0,0 +1,25 @@
+$NetBSD: patch-pyproject.toml,v 1.1 2023/05/04 09:38:36 wiz Exp $
+
+Convert to pdm-pep517 replacement, pdm-backend.
+https://github.com/bagel897/pytoolconfig/issues/14
+
+--- pyproject.toml.orig 2023-01-04 21:38:24.718939300 +0000
++++ pyproject.toml
+@@ -15,7 +15,7 @@ authors = [
+ version = "1.2.5"
+
+ [project.license]
+-file = "LGPL-3.0"
++file = "LICENSE"
+
+ [project.urls]
+ Homepage = "https://github.com/bageljrkhanofemus/pytoolconfig"
+@@ -75,6 +75,6 @@ strict = true
+
+ [build-system]
+ requires = [
+- "pdm-pep517>=1.0.5",
++ "pdm-backend>=1.0.5",
+ ]
+-build-backend = "pdm.pep517.api"
++build-backend = "pdm.backend"
Home |
Main Index |
Thread Index |
Old Index