2020-03-19 12:47:23 -05:00
|
|
|
# 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
|
2020-11-30 10:28:32 -06:00
|
|
|
version=3.1.0
|
2020-03-19 12:47:23 -05:00
|
|
|
release=1
|
2020-11-30 10:28:32 -06:00
|
|
|
source=(https://files.pythonhosted.org/packages/7d/d4/dbc58eed92be61bae65a7d80a7604d35bf6ded3e3c53c14f2d45b4a28831/importlib_metadata-$version.tar.gz)
|
2020-03-19 12:47:23 -05:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd importlib_metadata-$version
|
|
|
|
python3 setup.py build
|
|
|
|
python3 setup.py install --root=$PKG
|
2020-07-10 11:47:02 +00:00
|
|
|
find $PKG \(\
|
|
|
|
-iname '*changelog*' -o \
|
|
|
|
-iname '*index*' -o \
|
|
|
|
-iname '*example*' -o \
|
|
|
|
-iname '*using*' \) -exec rm -fr '{}' \+
|
2020-03-19 12:47:23 -05:00
|
|
|
}
|