### this file is sourced not run
PKGVER=1.0.1
PKGBUILD=1
PKGARCH=noarch

# source: BLFS 11.3
TARBALL=sphinxcontrib-jsmath-$PKGVER.tar.gz
MD5SUM=e45179f0a3608b6766862e0f34c23b62
SRC_URL=https://files.pythonhosted.org/packages/source/s/sphinxcontrib-jsmath/$TARBALL
BUNDLE=

SLACKREQ='python3 python3-sphinxcontrib-applehelp'
SLACKDESC="python3-sphinxcontrib-jsmath: python3-sphinxcontrib-jsmath $PKGVER (Sphnix MathJS output)
python3-sphinxcontrib-jsmath: 
python3-sphinxcontrib-jsmath: The sphinxcontrib-jsmath a Sphinx extension which renders display 
python3-sphinxcontrib-jsmath: math in HTML via JavaScript.
python3-sphinxcontrib-jsmath: 
python3-sphinxcontrib-jsmath: 
python3-sphinxcontrib-jsmath: 
python3-sphinxcontrib-jsmath: 
python3-sphinxcontrib-jsmath: 
python3-sphinxcontrib-jsmath: 
python3-sphinxcontrib-jsmath: 
"

### default pkg_download
### default pkg_prepare
### default pkg_package
### build
pkg_build() {
	# pkg_build_python3modules && # doesn't work, no setup.py
	# so use BLFS 11.3 method to build the module

	cd /tmp/sphinx* &&
	pip3 wheel -w dist --no-build-isolation --no-deps $PWD &&
	pip3 install --no-index --find-links dist --no-cache-dir --no-user sphinxcontrib-jsmath &&

	pkg_build_slackdesc
}


