summaryrefslogtreecommitdiff
path: root/repo/python-towncrier/python-towncrier.xibuild
diff options
context:
space:
mode:
Diffstat (limited to 'repo/python-towncrier/python-towncrier.xibuild')
-rw-r--r--repo/python-towncrier/python-towncrier.xibuild16
1 files changed, 16 insertions, 0 deletions
diff --git a/repo/python-towncrier/python-towncrier.xibuild b/repo/python-towncrier/python-towncrier.xibuild
new file mode 100644
index 0000000..43c09d4
--- /dev/null
+++ b/repo/python-towncrier/python-towncrier.xibuild
@@ -0,0 +1,16 @@
+#!/bin/sh
+
+MAKEDEPS="python python-incremental"
+DEPS="python-click python-click-python-default-python-group python-incremental python-jinja2 python-setuptools python-toml python-tomli python-packaging"
+
+PKG_VER=21.9.0
+SOURCE=https://files.pythonhosted.org/packages/source/t/towncrier/towncrier-$PKG_VER.tar.gz
+DESC="Building newsfiles for your project."
+
+build() {
+ python setup.py build
+}
+
+package () {
+ python setup.py install --root="$PKG_DEST" --optimize=1
+}