forked from ports/contrib
21 lines
631 B
Plaintext
21 lines
631 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
|
|
|
|
name=python3-importlib_metadata
|
|
version=1.7.0
|
|
release=1
|
|
source=(https://files.pythonhosted.org/packages/e2/ae/0b037584024c1557e537d25482c306cf6327b5a09b6c4b893579292c1c38/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 '{}' \+
|
|
}
|