description='Core utilities for Python packages'
url='https://github.com/pypa/packaging'

license="Apache"

packager="spiky <spiky@nutyx.org>"
contributors="Tnut"

name=python-packaging
_name="packaging"
alias=(${_name})

version=24.1
release=3

makedepends=(python-setuptools python-flit-core)

source=(https://pypi.io/packages/source/p/${_name}/${_name}-$version.tar.gz)

build() {
  cd ${_name}-$version

  pip3 wheel -w dist \
    --no-build-isolation \
    --no-deps $PWD
  pip3 install --no-index \
    --find-links dist \
    --no-cache-dir    \
    --no-user         \
    --root=$PKG       \
    ${_name}
}

