summaryrefslogtreecommitdiff
path: root/python3-sphinxcontrib-serializinghtml/Pkgfile
blob: 251c050ceb87039735bcd69c5352a4a8c6fd99fa (plain)
    1 # Description: sphinx extension which outputs "serialized" HTML files (json and pickle)
    2 # URL:         https://github.com/sphinx-doc/sphinxcontrib-serializinghtml/
    3 # Maintainer:  John Vogel, jvogel4 at stny dot rr dot com
    4 # Depends on:  python3-setuptools
    5 
    6 name=python3-sphinxcontrib-serializinghtml
    7 version=1.1.4
    8 release=1
    9 source=(https://github.com/sphinx-doc/${name#*-}/archive/$version/${name#*-}-$version.tar.gz)
   10 
   11 build() {
   12 	cd ${name#*-}-$version
   13 
   14 	sed -i '/^tag_build =/s/= .*$/=/' setup.cfg
   15 	sed -i '/^tag_date =/s/true/false/' setup.cfg
   16 
   17 	/usr/bin/python3 setup.py build
   18 	/usr/bin/python3 setup.py install \
   19 		--prefix=/usr \
   20 		--root=$PKG
   21 
   22 	chmod -R go-w,a+r,u+w $PKG
   23 }

Generated by cgit