summaryrefslogtreecommitdiff
path: root/python/py-hatch_vcs
diff options
context:
space:
mode:
Diffstat (limited to 'python/py-hatch_vcs')
-rw-r--r--python/py-hatch_vcs/.footprint19
-rw-r--r--python/py-hatch_vcs/.signature6
-rw-r--r--python/py-hatch_vcs/MAKEPKG39
3 files changed, 64 insertions, 0 deletions
diff --git a/python/py-hatch_vcs/.footprint b/python/py-hatch_vcs/.footprint
new file mode 100644
index 0000000..98f4e8d
--- /dev/null
+++ b/python/py-hatch_vcs/.footprint
@@ -0,0 +1,19 @@
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/lib/
+drwxr-xr-x root/root usr/lib/python3.14/
+drwxr-xr-x root/root usr/lib/python3.14/site-packages/
+drwxr-xr-x root/root usr/lib/python3.14/site-packages/hatch_vcs-0.5.0.dist-info/
+-rw-r--r-- root/root usr/lib/python3.14/site-packages/hatch_vcs-0.5.0.dist-info/METADATA
+-rw-r--r-- root/root usr/lib/python3.14/site-packages/hatch_vcs-0.5.0.dist-info/RECORD
+-rw-r--r-- root/root usr/lib/python3.14/site-packages/hatch_vcs-0.5.0.dist-info/WHEEL
+-rw-r--r-- root/root usr/lib/python3.14/site-packages/hatch_vcs-0.5.0.dist-info/entry_points.txt
+drwxr-xr-x root/root usr/lib/python3.14/site-packages/hatch_vcs-0.5.0.dist-info/licenses/
+-rw-r--r-- root/root usr/lib/python3.14/site-packages/hatch_vcs-0.5.0.dist-info/licenses/LICENSE.txt
+drwxr-xr-x root/root usr/lib/python3.14/site-packages/hatch_vcs/
+-rw-r--r-- root/root usr/lib/python3.14/site-packages/hatch_vcs/__about__.py
+-rw-r--r-- root/root usr/lib/python3.14/site-packages/hatch_vcs/__init__.py
+-rw-r--r-- root/root usr/lib/python3.14/site-packages/hatch_vcs/build_hook.py
+-rw-r--r-- root/root usr/lib/python3.14/site-packages/hatch_vcs/hooks.py
+-rw-r--r-- root/root usr/lib/python3.14/site-packages/hatch_vcs/metadata_hook.py
+-rw-r--r-- root/root usr/lib/python3.14/site-packages/hatch_vcs/vcs_utils.py
+-rw-r--r-- root/root usr/lib/python3.14/site-packages/hatch_vcs/version_source.py
diff --git a/python/py-hatch_vcs/.signature b/python/py-hatch_vcs/.signature
new file mode 100644
index 0000000..96b9365
--- /dev/null
+++ b/python/py-hatch_vcs/.signature
@@ -0,0 +1,6 @@
+RWTZ9IduCSQ/mCLo3yL9F4//HxDChaEnYJGHcMrlEw3LN9rGZAQyqQRN3jGt9upEcmHrSg5+huMtTVJi4GhUBbatovIqfHmrlwc=
+
+SHA256 (MAKEPKG) = 27fc7dd19586377cce73faf070372b992df63a1c76be31b8df56639eb2144cdd
+SHA256 (.footprint) = b8d716622c7441c6240d404c744984c93c6c4e6a4acf8c487fad98cc693d9fcc
+SHA256 (hatch_vcs-0.5.0.tar.gz) = 0395fa126940340215090c344a2bf4e2a77bcbe7daab16f41b37b98c95809ff9
+SHA256 (py-hatch_vcs#0.5.0-4.pkg.tar.gz) = 054a75b66a6ba8b7b53d3fd64bf86ecc61635490743bfb2d50569e7c0d4af74c
diff --git a/python/py-hatch_vcs/MAKEPKG b/python/py-hatch_vcs/MAKEPKG
new file mode 100644
index 0000000..18fa8fe
--- /dev/null
+++ b/python/py-hatch_vcs/MAKEPKG
@@ -0,0 +1,39 @@
+#!/bin/mkpkg
+# description: Hatch plugin for versioning with your preferred VCS
+# url: https://github.com/ofek/hatch-vcs
+
+name=py-hatch_vcs
+_name=hatch_vcs
+version=0.5.0
+release=4
+depends=(python3 py-hatchling py-setuptools_scm)
+makedeps=(py-installer py-hatchling py-build)
+source=(https://files.pythonhosted.org/packages/source/h/hatch-vcs/$_name-$version.tar.gz)
+
+sha256sums=(
+ "0395fa126940340215090c344a2bf4e2a77bcbe7daab16f41b37b98c95809ff9"
+)
+
+build() {
+ cd $_name-$version
+
+ # Build wheel via PEP 517 frontend (backend from pyproject.toml)
+ /usr/bin/python3 -m build --no-isolation --wheel
+
+ _pyver=$(/usr/bin/python3 -c 'import sys; print(f"{sys.version_info.major}.{sys.version_info.minor}")')
+ _sitedir="$PKG/usr/lib/python${_pyver}/site-packages"
+
+ install -dm755 "$_sitedir"
+ /usr/bin/python3 -m installer --no-compile-bytecode --destdir "$PKG" --prefix /usr dist/*.whl
+
+ find "$_sitedir" -type d \( -name tests -o -name test \) -prune -exec rm -rf {} +
+ find "$_sitedir" -name "*.exe" -delete
+}
+
+signify() {
+ untrusted comment: public key
+ RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3
+}
+
+# vim: filetype=sh
+