blob: 5667e28661d8a9aef2a95a03e596e3be28d92dd4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#!/bin/sh
NAME="python-importlib-metadata"
DESC="Read metadata from Python packages"
MAKEDEPS="python-build python-installer python-toml python-wheel"
PKG_VER=4.11.3
SOURCE="https://pypi.python.org/packages/source/i/importlib_metadata/importlib_metadata-$PKG_VER.tar.gz"
build() {
python3 -m build --no-isolation --skip-dependency-check --wheel
}
package() {
python3 -m installer \
-d "$PKG_DEST" \
dist/importlib_metadata-0.0.0-py3-none-any.whl
}
|