forked from ports/contrib
21 lines
621 B
Plaintext
21 lines
621 B
Plaintext
# Description: Read metadata from Python packages
|
|
# URL: https://pypi.org/project/importlib-metadata/
|
|
# Maintainer: Matt Housh, jaeger at crux dot ninja
|
|
# Depends on: python3-zipp python3-setuptools-scm python3-toml
|
|
|
|
name=python3-importlib_metadata
|
|
version=4.8.1
|
|
release=1
|
|
source=(https://pypi.python.org/packages/source/i/importlib_metadata/importlib_metadata-$version.tar.gz)
|
|
|
|
build() {
|
|
cd importlib_metadata-$version
|
|
python3 setup.py build
|
|
python3 setup.py install --root=$PKG
|
|
find $PKG \(\
|
|
-iname '*changelog*' -o \
|
|
-iname '*index*' -o \
|
|
-iname '*example*' -o \
|
|
-iname '*using*' \) -exec rm -fr '{}' \+
|
|
}
|