summaryrefslogtreecommitdiff
path: root/repo/python-distlib/python-distlib.xibuild
blob: e7aa0de84886f6385ed27325baed038efc1d6771 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh

MAKEDEPS="python python-pep517"

PKG_VER=0.3.6
SOURCE=https://files.pythonhosted.org/packages/source/d/distlib/distlib-$PKG_VER.tar.gz
MAKEDEPS="python"
DESC="Distribution utilities"

build() {
    python -m build --no-isolation --wheel
}

package () {
    python -m installer -d "$PKG_DEST" dist/distlib-$PKG_VER-py2.py3-none-any.whl
}