summaryrefslogtreecommitdiff
path: root/repo/python-setuptools-scm/python-setuptools-scm.xibuild
blob: e81ca07665572e12c6c58e075b6cd9f9e8e6b78c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/sh

NAME="python-setuptools-scm"
DESC="The blessed package to manage your versions by scm tags"

MAKEDEPS="python-packaging python-tomli"
DEPS="python-packaging python-tomli "

PKG_VER=6.4.2
SOURCE="https://files.pythonhosted.org/packages/source/s/setuptools_scm/setuptools_scm-$PKG_VER.tar.gz"
ADDITIONAL="test_integration.patch deprecation-warning.patch "

prepare () {
    apply_patches
}

build() {
    python setup.py build
}

package () {
    python setup.py install --root="$PKG_DEST" --optimize=1
}