From ba0b1e204e719ca5234b66245c0cefb341c6c609 Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Sat, 27 Dec 2025 03:41:36 -0500 Subject: [PATCH] new bblfs: dev-python/calver-2025.04.01 --- dev-python/calver-2025.04.01.PKGBUILD | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 dev-python/calver-2025.04.01.PKGBUILD diff --git a/dev-python/calver-2025.04.01.PKGBUILD b/dev-python/calver-2025.04.01.PKGBUILD new file mode 100644 index 0000000..67cf205 --- /dev/null +++ b/dev-python/calver-2025.04.01.PKGBUILD @@ -0,0 +1,24 @@ +pkgname=calver +pkgver=2025.04.01 +pkgdesc="Setuptools extension for CalVer package versions" +homepage="https://github.com/di/calver" +license=('Apache-2.0') +arch=('any') +sources=("${pkgname}-${pkgver}.tar.gz") +#urls=("https://files.pythonhosted.org/packages/source/${pkgname:0:1}/${pkgname}/${sources[0]}") +urls=("https://github.com/di/calver/archive/refs/tags/${pkgver}.tar.gz") +md5sums=("305e056178a135ae7912c9e1ab848acc") + +src_prepare() { + tar -xf ${distdir}/${sources[0]} --strip-components=1 +} + +src_build() { + python -m build --wheel --no-isolation +} + +# check need pytest + +src_install() { + python -m installer --destdir="$pkgdir" dist/*.whl +}