summaryrefslogtreecommitdiff
path: root/repo/python-setuptools-scm/python-setuptools-scm.xibuild
diff options
context:
space:
mode:
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
+}