description='Canonical source for classifiers on PyPI (pypi.org)'
url='https://github.com/pypa/trove-classifiers'

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

makedepends=(python-setuptools python-wheel python-calver)

name=python-trove-classifiers
_name="trove_classifiers"
alias=(${_name})

version=2024.9.12
release=2

source=(https://pypi.org/packages/source/t/trove_classifiers/trove_classifiers-$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}

 find $PKG -type d -name vendor -o -name tests |xargs rm -rf 
}
