forked from ports/contrib
24 lines
650 B
Plaintext
24 lines
650 B
Plaintext
# Description: sphinx extension which outputs "serialized" HTML files (json and pickle)
|
|
# URL: https://github.com/sphinx-doc/sphinxcontrib-serializinghtml/
|
|
# Maintainer: unmaintained
|
|
# Depends on: python3-setuptools
|
|
|
|
name=python3-sphinxcontrib-serializinghtml
|
|
version=1.1.5
|
|
release=1
|
|
source=(https://github.com/sphinx-doc/${name#*-}/archive/$version/${name#*-}-$version.tar.gz)
|
|
|
|
build() {
|
|
cd ${name#*-}-$version
|
|
|
|
sed -i '/^tag_build =/s/= .*$/=/' setup.cfg
|
|
sed -i '/^tag_date =/s/true/false/' setup.cfg
|
|
|
|
/usr/bin/python3 setup.py build
|
|
/usr/bin/python3 setup.py install \
|
|
--prefix=/usr \
|
|
--root=$PKG
|
|
|
|
chmod -R go-w,a+r,u+w $PKG
|
|
}
|