commit b0313d495021aec5dec110c5316e1ebe4d5eeb74 Author: John Vogel <jvogel4@stny.rr.com> Date: Mon Apr 27 21:14:19 2020 -0400 python3-sphinxcontrib-jsmath: initial import diff --git a/python3-sphinxcontrib-jsmath/.footprint b/python3-sphinxcontrib-jsmath/.footprint new file mode 100644 index 000000000..358a7c02a --- /dev/null +++ b/python3-sphinxcontrib-jsmath/.footprint @@ -0,0 +1,20 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/lib/ +drwxr-xr-x root/root usr/lib/python3.7/ +drwxr-xr-x root/root usr/lib/python3.7/site-packages/ +drwxr-xr-x root/root usr/lib/python3.7/site-packages/sphinxcontrib/ +drwxr-xr-x root/root usr/lib/python3.7/site-packages/sphinxcontrib/jsmath/ +-rw-r--r-- root/root usr/lib/python3.7/site-packages/sphinxcontrib/jsmath/__init__.py +drwxr-xr-x root/root usr/lib/python3.7/site-packages/sphinxcontrib/jsmath/__pycache__/ +-rw-r--r-- root/root usr/lib/python3.7/site-packages/sphinxcontrib/jsmath/__pycache__/__init__.cpython-37.pyc +-rw-r--r-- root/root usr/lib/python3.7/site-packages/sphinxcontrib/jsmath/__pycache__/version.cpython-37.pyc +-rw-r--r-- root/root usr/lib/python3.7/site-packages/sphinxcontrib/jsmath/version.py +-rw-r--r-- root/root usr/lib/python3.7/site-packages/sphinxcontrib_jsmath-1.0.1-py3.7-nspkg.pth +drwxr-xr-x root/root usr/lib/python3.7/site-packages/sphinxcontrib_jsmath-1.0.1-py3.7.egg-info/ +-rw-r--r-- root/root usr/lib/python3.7/site-packages/sphinxcontrib_jsmath-1.0.1-py3.7.egg-info/PKG-INFO +-rw-r--r-- root/root usr/lib/python3.7/site-packages/sphinxcontrib_jsmath-1.0.1-py3.7.egg-info/SOURCES.txt +-rw-r--r-- root/root usr/lib/python3.7/site-packages/sphinxcontrib_jsmath-1.0.1-py3.7.egg-info/dependency_links.txt +-rw-r--r-- root/root usr/lib/python3.7/site-packages/sphinxcontrib_jsmath-1.0.1-py3.7.egg-info/namespace_packages.txt +-rw-r--r-- root/root usr/lib/python3.7/site-packages/sphinxcontrib_jsmath-1.0.1-py3.7.egg-info/not-zip-safe +-rw-r--r-- root/root usr/lib/python3.7/site-packages/sphinxcontrib_jsmath-1.0.1-py3.7.egg-info/requires.txt +-rw-r--r-- root/root usr/lib/python3.7/site-packages/sphinxcontrib_jsmath-1.0.1-py3.7.egg-info/top_level.txt diff --git a/python3-sphinxcontrib-jsmath/.signature b/python3-sphinxcontrib-jsmath/.signature new file mode 100644 index 000000000..9bb548aea --- /dev/null +++ b/python3-sphinxcontrib-jsmath/.signature @@ -0,0 +1,5 @@ +untrusted comment: verify with /etc/ports/contrib.pub +RWSagIOpLGJF3x6oBfuce1XmMZxjwVIDr+Ro3Szp9UAThYBRKBo+tXboeB6vVhBZ6nN3J5UwYipF1ytTphOlvHCeDI30+zN/6g4= +SHA256 (Pkgfile) = a7acd687d3a4ad86fc6c83015f61afa909f7ad55b7423a5a2b108145c8c742f2 +SHA256 (.footprint) = f4b201ee9212099cf310e6faf7f1fd208cd0b7cf84160c0a2fd3cb66fcd37e28 +SHA256 (sphinxcontrib-jsmath-1.0.1.tar.gz) = 1a20febedb885c78f2e2c29b6f4c1e4e6fe0ac4699378b624b805914491df064 diff --git a/python3-sphinxcontrib-jsmath/Pkgfile b/python3-sphinxcontrib-jsmath/Pkgfile new file mode 100644 index 000000000..da36e044f --- /dev/null +++ b/python3-sphinxcontrib-jsmath/Pkgfile @@ -0,0 +1,23 @@ +# Description: sphinx extension which renders display math in HTML via JavaScript +# URL: https://github.com/sphinx-doc/sphinxcontrib-jsmath/ +# Maintainer: John Vogel, jvogel4 at stny dot rr dot com +# Depends on: python3-setuptools + +name=python3-sphinxcontrib-jsmath +version=1.0.1 +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 +}