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

# source: BLFS 11.3
TARBALL=flit_core-$PKGVER.tar.gz
MD5SUM=7c41da13273f7787709a24f74e0f5a99
SRC_URL=https://files.pythonhosted.org/packages/source/f/flit_core/$TARBALL
BUNDLE=

SLACKREQ=python3
SLACKDESC="python3-flit_core: python3-flit_core $PKGVER (Core component of Flit system)
python3-flit_core: 
python3-flit_core: The Flit_core module is the key component of the Flit system, which 
python3-flit_core: provides a simple way to put Python packages and modules on PyPi.
python3-flit_core: 
python3-flit_core: 
python3-flit_core: 
python3-flit_core: 
python3-flit_core: 
python3-flit_core: 
python3-flit_core: 
"

### 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/flit* &&
	pip3 wheel -w dist --no-build-isolation --no-deps $PWD &&
	pip3 install --no-index --find-links dist --no-cache-dir --no-user flit_core &&
	
	pkg_build_slackdesc
}


