Carl Smedstad pushed to branch main at Arch Linux / Packaging / Packages / python-cramjam
Commits: 57095dc7 by Carl Smedstad at 2024-09-25T10:26:09+02:00 upgpkg: 2.8.4-1: Upstream release https://github.com/milesgranger/cramjam/releases/tag/v2.8.4 - - - - - 2 changed files: - .SRCINFO - PKGBUILD Changes: ===================================== .SRCINFO ===================================== @@ -1,13 +1,15 @@ pkgbase = python-cramjam pkgdesc = Thin Python bindings to de/compression algorithms in Rust - pkgver = 2.8.3 - pkgrel = 3 + pkgver = 2.8.4 + pkgrel = 1 url = https://github.com/milesgranger/cramjam arch = x86_64 license = MIT checkdepends = python-hypothesis checkdepends = python-numpy checkdepends = python-pytest + makedepends = cmake + makedepends = nasm makedepends = python-build makedepends = python-installer makedepends = python-maturin @@ -17,7 +19,7 @@ pkgbase = python-cramjam depends = glibc depends = python options = !lto - source = python-cramjam-2.8.3.tar.gz::https://github.com/milesgranger/cramjam/archive/v2.8.3.tar.gz - sha256sums = 54c5d19876f63bc0955f919d9479145ca9f142f48a18db0cd560e590a6eca01a + source = python-cramjam-2.8.4.tar.gz::https://github.com/milesgranger/cramjam/archive/v2.8.4.tar.gz + sha256sums = b3f0667f0d065c55221c032dcfb6b910ff7a8e334cb93b03c8a44a426e6f2dc4 pkgname = python-cramjam ===================================== PKGBUILD ===================================== @@ -3,8 +3,8 @@ pkgname=python-cramjam _pkgname=${pkgname#python-} -pkgver=2.8.3 -pkgrel=3 +pkgver=2.8.4 +pkgrel=1 pkgdesc="Thin Python bindings to de/compression algorithms in Rust" arch=(x86_64) url="https://github.com/milesgranger/cramjam" @@ -16,6 +16,8 @@ depends=( python ) makedepends=( + cmake + nasm python-build python-installer python-maturin @@ -28,18 +30,16 @@ checkdepends=( ) options=(!lto) source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz") -sha256sums=('54c5d19876f63bc0955f919d9479145ca9f142f48a18db0cd560e590a6eca01a') +sha256sums=('b3f0667f0d065c55221c032dcfb6b910ff7a8e334cb93b03c8a44a426e6f2dc4') build() { - cd "$_pkgname-$pkgver/cramjam-python" - + cd "$_pkgname-$pkgver" export RUSTUP_TOOLCHAIN=stable python -m build --wheel --no-isolation } check() { - cd "$_pkgname-$pkgver/cramjam-python" - + cd "$_pkgname-$pkgver" local site_packages=$(python -c "import site; print(site.getsitepackages()[0])") python -m installer --destdir=tmp_install dist/*.whl PYTHONPATH="$PWD/tmp_install/$site_packages" pytest \ @@ -48,7 +48,6 @@ check() { package() { cd "$_pkgname-$pkgver" - - python -m installer --destdir="$pkgdir" cramjam-python/dist/*.whl + python -m installer --destdir="$pkgdir" dist/*.whl install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE } View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/python-cramjam/-/commit/57095dc777176431f9f38ae51f7f6238912e3ae8 -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/python-cramjam/-/commit/57095dc777176431f9f38ae51f7f6238912e3ae8 You're receiving this email because of your account on gitlab.archlinux.org.
