forked from ports/contrib
21 lines
633 B
Plaintext
21 lines
633 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=3.3.0
|
|
release=1
|
|
source=(https://files.pythonhosted.org/packages/30/8c/aafe43247cd18441740a4c3976c29b147e9df3ce79c1076b4e4f6253d15d/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 '{}' \+
|
|
}
|