pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Add py-setuptools-git-versioning
Module Name: pkgsrc-wip
Committed By: Matthew Danielson <matthewd%fastmail.us@localhost>
Pushed By: matthewd
Date: Sun Jun 30 06:12:17 2024 -0600
Changeset: 172ff4786a7de06fc0a484e5b7ca3804f0e4833e
Added Files:
py-setuptools-git-versioning/DESCR
py-setuptools-git-versioning/Makefile
py-setuptools-git-versioning/PLIST
py-setuptools-git-versioning/distinfo
Log Message:
Add py-setuptools-git-versioning
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=172ff4786a7de06fc0a484e5b7ca3804f0e4833e
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
py-setuptools-git-versioning/DESCR | 12 ++++++++++++
py-setuptools-git-versioning/Makefile | 25 +++++++++++++++++++++++++
py-setuptools-git-versioning/PLIST | 11 +++++++++++
py-setuptools-git-versioning/distinfo | 5 +++++
4 files changed, 53 insertions(+)
diffs:
diff --git a/py-setuptools-git-versioning/DESCR b/py-setuptools-git-versioning/DESCR
new file mode 100644
index 0000000000..db8da1b89a
--- /dev/null
+++ b/py-setuptools-git-versioning/DESCR
@@ -0,0 +1,12 @@
+Use git repo data (latest tag, current commit hash, etc)
+for building a version number according PEP 440.
+
+Features:
+
+Can be installed & configured through both setup.py and PEP 518's pyproject.toml
+Does not require to change source code of the project
+Tag-, file-, and callback-based versioning schemas are supported
+Templates for tag, dev and dirty versions are separated
+Templates support a lot of substitutions including git and environment
+information
+Well-documented
diff --git a/py-setuptools-git-versioning/Makefile b/py-setuptools-git-versioning/Makefile
new file mode 100644
index 0000000000..fef2466cf3
--- /dev/null
+++ b/py-setuptools-git-versioning/Makefile
@@ -0,0 +1,25 @@
+# $NetBSD$
+
+DISTNAME= setuptools-git-versioning-2.0.0
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= python
+MASTER_SITES= ${MASTER_SITE_PYPI:=s/setuptools-git-versioning/}
+
+MAINTAINER= matthewd%fastmail.us@localhost
+HOMEPAGE= https://github.com/dolfinus/setuptools-git-versioning
+COMMENT= Use git repo data for building a version number according PEP-440
+LICENSE= mit
+
+TOOL_DEPENDS+= ${PYPKGPREFIX}-packaging>=0:../../devel/py-packaging
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=70.0:../../devel/py-setuptools
+.include "../../lang/python/pyversion.mk"
+.if ${PYTHON_VERSION} < 311
+TOOL_DEPENDS+= ${PYPKGPREFIX}-toml>=0.10.2:../../textproc/py-toml
+.endif
+
+USE_LANGUAGES= # none
+
+PYTHON_VERSIONS_INCOMPATIBLE= 27
+
+.include "../../lang/python/wheel.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/py-setuptools-git-versioning/PLIST b/py-setuptools-git-versioning/PLIST
new file mode 100644
index 0000000000..92e0bc4541
--- /dev/null
+++ b/py-setuptools-git-versioning/PLIST
@@ -0,0 +1,11 @@
+@comment $NetBSD$
+bin/setuptools-git-versioning
+${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/entry_points.txt
+${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
+${PYSITELIB}/setuptools_git_versioning.py
+${PYSITELIB}/setuptools_git_versioning.pyc
+${PYSITELIB}/setuptools_git_versioning.pyo
diff --git a/py-setuptools-git-versioning/distinfo b/py-setuptools-git-versioning/distinfo
new file mode 100644
index 0000000000..9a75fe88ba
--- /dev/null
+++ b/py-setuptools-git-versioning/distinfo
@@ -0,0 +1,5 @@
+$NetBSD$
+
+BLAKE2s (setuptools-git-versioning-2.0.0.tar.gz) = fec816b59092cd5455d8a4b4cf2c7a5f096b9b44dc056a63bbe753e7e1584bfb
+SHA512 (setuptools-git-versioning-2.0.0.tar.gz) = 94aa15123b7fdbf2488036a09cd17d9a031635f38760d11d9f3959f90e473321436e89a0d48cb7ade2214ac9a89a851098236869c69e6be4e92f206eef0d48b1
+Size (setuptools-git-versioning-2.0.0.tar.gz) = 10608 bytes
Home |
Main Index |
Thread Index |
Old Index