blob: bffdbfceb6c6febab620ece8c7194f458cdd33cd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
name=python-installer
version=1.0.0
release=1
source="https://files.pythonhosted.org/packages/py3/i/installer/installer-${version}-py3-none-any.whl"
build() {
mkdir tmp
unzip -d tmp $SRC/installer-${version}-py3-none-any.whl
sitedir="$(python3 -c 'import site;print(site.getsitepackages()[0])')"
mkdir -p $PKG/$sitedir
cp -a tmp/installer* $PKG/$sitedir
python3 -m compileall $PKG/$sitedir
}
|