summaryrefslogtreecommitdiff
path: root/repo/python-hatch-vcs
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2023-02-02 14:10:02 +0000
committerdavidovski <david@davidovski.xyz>2023-02-02 14:10:02 +0000
commitf29d569cd33a73da5ad675f43a34ad53c5cc9bc6 (patch)
tree76fe6267f8307e7630fc6f53ff99a9767ad40de0 /repo/python-hatch-vcs
parent05d004dfe0c9a9d898fac8a4a0292ca2a74ca391 (diff)
Work
Diffstat (limited to 'repo/python-hatch-vcs')
-rw-r--r--repo/python-hatch-vcs/python-hatch-vcs.xibuild15
1 files changed, 15 insertions, 0 deletions
diff --git a/repo/python-hatch-vcs/python-hatch-vcs.xibuild b/repo/python-hatch-vcs/python-hatch-vcs.xibuild
new file mode 100644
index 0000000..f14763e
--- /dev/null
+++ b/repo/python-hatch-vcs/python-hatch-vcs.xibuild
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+MAKEDEPS="python python-hatchling"
+
+PKG_VER=0.3.0
+SOURCE=https://files.pythonhosted.org/packages/source/h/hatch-vcs/hatch_vcs-$PKG_VER.tar.gz
+DESC="Hatch plugin for versioning with your preferred VCS"
+
+build() {
+ python -m build --skip-dependency-check --no-isolation --wheel .
+}
+
+package () {
+ python -m installer -d "$PKG_DEST" dist/hatch_vcs-$PKG_VER-py3-none-any.whl
+}