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

# source: BLFS 11.3
TARBALL=packaging-$PKGVER.tar.gz
MD5SUM=5c7b22d9258e8132c16cee4f230d8252
SRC_URL=https://files.pythonhosted.org/packages/source/p/packaging/$TARBALL
BUNDLE=

SLACKREQ='python3 python3-flit_core'
SLACKDESC="python3-packaging: python3-packaging $PKGVER (Python Packaging Stuff)
python3-packaging: 
python3-packaging: The Packaging library provides utilities that implement the 
python3-packaging: interoperability specifications which have clearly one correct 
python3-packaging: behaviour or benefit greatly from having a single shared 
python3-packaging: implementation.
python3-packaging: 
python3-packaging: 
python3-packaging: 
python3-packaging: 
python3-packaging: 
"

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


