summaryrefslogtreecommitdiff
path: root/repo/python-setuptools-scm/python-setuptools-scm.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-06-06 21:25:48 +0000
committerdavidovski <david@davidovski.xyz>2022-06-06 21:25:48 +0000
commitccc722b7ed330198d82a3cf28ead76d6d107a70a (patch)
tree7611b3cc4f3ca681524fa28b174a0253eb802e0e /repo/python-setuptools-scm/python-setuptools-scm.xibuild
parent9ee32689f0b57b9e1de6d22c84ce8e3700b6122b (diff)
added java
Diffstat (limited to 'repo/python-setuptools-scm/python-setuptools-scm.xibuild')
-rw-r--r--repo/python-setuptools-scm/python-setuptools-scm.xibuild23
1 files changed, 23 insertions, 0 deletions
diff --git a/repo/python-setuptools-scm/python-setuptools-scm.xibuild b/repo/python-setuptools-scm/python-setuptools-scm.xibuild
new file mode 100644
index 0000000..e81ca07
--- /dev/null
+++ b/repo/python-setuptools-scm/python-setuptools-scm.xibuild
@@ -0,0 +1,23 @@
+#!/bin/sh
+
+NAME="python-setuptools-scm"
+DESC="The blessed package to manage your versions by scm tags"
+
+MAKEDEPS="python-packaging python-tomli"
+DEPS="python-packaging python-tomli "
+
+PKG_VER=6.4.2
+SOURCE="https://files.pythonhosted.org/packages/source/s/setuptools_scm/setuptools_scm-$PKG_VER.tar.gz"
+ADDITIONAL="test_integration.patch deprecation-warning.patch "
+
+prepare () {
+ apply_patches
+}
+
+build() {
+ python setup.py build
+}
+
+package () {
+ python setup.py install --root="$PKG_DEST" --optimize=1
+}