diff options
Diffstat (limited to 'repo/python-hatch-vcs/python-hatch-vcs.xibuild')
-rw-r--r-- | repo/python-hatch-vcs/python-hatch-vcs.xibuild | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/repo/python-hatch-vcs/python-hatch-vcs.xibuild b/repo/python-hatch-vcs/python-hatch-vcs.xibuild new file mode 100644 index 0000000..f14763e --- /dev/null +++ b/repo/python-hatch-vcs/python-hatch-vcs.xibuild @@ -0,0 +1,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 +} |