summaryrefslogtreecommitdiff
path: root/repo/python-sphinx-rtd-theme/python-sphinx-rtd-theme.xibuild
diff options
context:
space:
mode:
Diffstat (limited to 'repo/python-sphinx-rtd-theme/python-sphinx-rtd-theme.xibuild')
-rw-r--r--repo/python-sphinx-rtd-theme/python-sphinx-rtd-theme.xibuild17
1 files changed, 17 insertions, 0 deletions
diff --git a/repo/python-sphinx-rtd-theme/python-sphinx-rtd-theme.xibuild b/repo/python-sphinx-rtd-theme/python-sphinx-rtd-theme.xibuild
new file mode 100644
index 0000000..3b5c934
--- /dev/null
+++ b/repo/python-sphinx-rtd-theme/python-sphinx-rtd-theme.xibuild
@@ -0,0 +1,17 @@
+#!/bin/sh
+
+MAKEDEPS="python"
+DEPS="python-sphinx python-docutils python-transifex-python-client python-sphinxcontrib-python-httpdomain python-bump2version"
+
+PKG_VER=1.0.0
+SOURCE=https://files.pythonhosted.org/packages/source/s/sphinx_rtd_theme/sphinx_rtd_theme-$PKG_VER.tar.gz
+MAKEDEPS="python"
+DESC="Read the Docs theme for Sphinx"
+
+build() {
+ python setup.py build
+}
+
+package () {
+ python setup.py install --root="$PKG_DEST" --optimize=1
+}