dev #2

Merged
wyj merged 232 commits from dev into main 2026-01-13 22:39:32 -05:00
Showing only changes of commit 025abc44cd - Show all commits
+25
View File
@@ -0,0 +1,25 @@
pkgname=hatch-vcs
pkgver=0.5.0
pkgdesc="Hatch plugin for versioning with your preferred VCS"
homepage="https://github.com/ofek/hatch-vcs"
license=('MIT')
arch=('any')
sources=("${pkgname/-/_}-${pkgver}.tar.gz")
urls=("https://files.pythonhosted.org/packages/source/${pkgname:0:1}/${pkgname}/${sources[0]}")
md5sums=("9a22a9f7203783e526959d34510a9672")
src_prepare() {
tar -xf ${distdir}/${sources[0]} --strip-components=1
}
src_build() {
python -m build --wheel --no-isolation
}
# check need pytest, but hatch-vcs is needed by pytest
src_install() {
python -m installer --destdir="$pkgdir" dist/*.whl
install -Dm644 LICENSE.txt -t "$pkgdir"/usr/share/licenses/$pkgname/
}