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

MAKEDEPS="python python-hatchling"

PKG_VER=0.3.0
SOURCE=https://files.pythonhosted.org/packages/source/h/hatch-vcs/hatch_vcs-$PKG_VER.tar.gz
DESC="Hatch plugin for versioning with your preferred VCS"

build() {
    python -m build --skip-dependency-check --no-isolation --wheel .
}

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