mirror of
https://github.com/outbackdingo/ports.git
synced 2026-02-06 09:26:32 +00:00
23 lines
629 B
Plaintext
23 lines
629 B
Plaintext
# description : sphinx extension which renders display math in HTML via JavaScript
|
|
# homepage : https://github.com/sphinx-doc/sphinxcontrib-jsmath/
|
|
# depends : python3-setuptools
|
|
|
|
name=python3-sphinxcontrib-jsmath
|
|
version=1.0.1
|
|
release=1
|
|
source="$name-$version.tar.gz::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
|
|
}
|