summaryrefslogtreecommitdiff
path: root/python3-sphinx/Pkgfile
blob: 95305f11549acff4d7ac2ce1782e717dc38a4961 (plain)
    1 # Description: the Sphinx documentaion generator
    2 # URL:         http://www.sphinx-doc.org/
    3 # Maintainer:  John Vogel, jvogel4 at stny dot rr dot com
    4 # Depends on: docutils python3-alabaster python3-imagesize python3-jinja python3-packaging python3-pygments python3-requests python3-snowballstemmer python3-sphinxcontrib-applehelp python3-sphinxcontrib-devhelp python3-sphinxcontrib-htmlhelp python3-sphinxcontrib-jsmath python3-sphinxcontrib-qthelp python3-sphinxcontrib-serializinghtml python3-sphinxcontrib-websupport
    5 
    6 name=python3-sphinx
    7 version=3.3.0
    8 release=1
    9 source=(https://github.com/sphinx-doc/${name#*-}/archive/v$version/${name#*-}-$version.tar.gz)
   10 
   11 build() {
   12 	cd ${name#*-}-$version
   13 
   14 	sed -i -e '/^tag_build = .*/d' -e 's,^\(tag_date =\).*$,\1 false,' setup.cfg
   15 
   16 	/usr/bin/python3 setup.py build
   17 	/usr/bin/python3 setup.py install --prefix=/usr --root=$PKG --optimize=1 --skip-build
   18 
   19 	# fix permissions
   20 	chmod -R go-w $PKG/*
   21 }

Generated by cgit