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

# source: BLFS 11.3
TARBALL=sphinx-$PKGVER.tar.gz
MD5SUM=18b07621d19d4b2cffd58d7a6ac5bed3
SRC_URL=https://github.com/sphinx-doc/sphinx/archive/v6.1.3/$TARBALL
BUNDLE=

SLACKREQ='python3 python3-flit_core python3-sphinxcontrib-applehelp'
SLACKDESC="python3-sphinkx: python3-sphinkx $PKGVER (Structure Text to documentation)
python3-sphinkx: 
python3-sphinkx: The Sphinx package is a set of tools for translating some structured 
python3-sphinkx: text formats into pretty documentation in various formats.
python3-sphinkx: 
python3-sphinkx: 
python3-sphinkx: 
python3-sphinkx: 
python3-sphinkx: 
python3-sphinkx: 
python3-sphinkx: 
"

### 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 sphinx &&

	pkg_build_slackdesc
}


