summaryrefslogtreecommitdiff
path: root/python3-sphinxcontrib-websupport/Pkgfile
diff options
context:
space:
mode:
authorJohn Vogel <jvogel4@stny.rr.com>2020-04-27 21:14:19 -0400
committerJohn Vogel <jvogel4@stny.rr.com>2020-04-27 21:14:19 -0400
commit3c248278f334e8000186ebb3711c0a3e95d75204 (patch)
treeab2070c60f0d2fff2272621cbf21024987d348a7 /python3-sphinxcontrib-websupport/Pkgfile
parent969bda77d1b34bef4fe08c6f25171177e8ff5885 (diff)
downloadcontrib-3c248278f334e8000186ebb3711c0a3e95d75204.tar.gz
contrib-3c248278f334e8000186ebb3711c0a3e95d75204.tar.xz
python3-sphinxcontrib-websupport: initial import
Diffstat (limited to 'python3-sphinxcontrib-websupport/Pkgfile')
-rw-r--r--python3-sphinxcontrib-websupport/Pkgfile23
1 files changed, 23 insertions, 0 deletions
diff --git a/python3-sphinxcontrib-websupport/Pkgfile b/python3-sphinxcontrib-websupport/Pkgfile
new file mode 100644
index 000000000..be2f4cab0
--- /dev/null
+++ b/python3-sphinxcontrib-websupport/Pkgfile
@@ -0,0 +1,23 @@
+# Description: Python API to easily integrate Sphinx documentation into web applications.
+# URL: https://github.com/sphinx-doc/sphinxcontrib-websupport/
+# Maintainer: John Vogel, jvogel4 at stny dot rr dot com
+# Depends on: python3-setuptools
+
+name=python3-sphinxcontrib-websupport
+version=1.2.1
+release=1
+source=(https://github.com/sphinx-doc/${name#*-}/archive/$version/${name#*-}-$version.tar.gz)
+
+build() {
+ cd ${name#python3-}-$version
+
+ sed -i setup.cfg \
+ -e '/tag_build =.*/d' \
+ -e 's,tag_date = true,tag_date = false,'
+
+ /usr/bin/python3 setup.py build
+ /usr/bin/python3 setup.py install --prefix=/usr --root=$PKG --optimize=1
+
+ find $PKG -name '*.txt' -exec chmod -x {} \;
+ find $PKG ! -type l -a \( -perm /go+w -o ! -perm /u+rw \) -exec chmod go-w,u+rw {} \;
+}

Generated by cgit