[arch-commits] Commit in python-pyppmd/trunk (PKGBUILD)

Caleb Maclennan alerque at gemini.archlinux.org
Tue Sep 6 15:32:17 UTC 2022


    Date: Tuesday, September 6, 2022 @ 15:32:16
  Author: alerque
Revision: 1294446

upgpkg: python-pyppmd 1.0.0-1

Modified:
  python-pyppmd/trunk/PKGBUILD

----------+
 PKGBUILD |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-09-06 14:21:02 UTC (rev 1294445)
+++ PKGBUILD	2022-09-06 15:32:16 UTC (rev 1294446)
@@ -2,11 +2,11 @@
 
 pkgname=python-pyppmd
 _pyname=${pkgname#python-}
-pkgver=0.18.3
+pkgver=1.0.0
 pkgrel=1
 pkgdesc='PPM compression/decompression library'
 arch=(x86_64)
-url="http://github.com/miurahr/$_pyname"
+url="https://codeberg.org/miurahr/$_pyname"
 license=(LGPL)
 depends=(python)
 makedepends=(python-{build,installer,wheel}
@@ -14,7 +14,7 @@
 checkdepends=(python-pytest-benchmark python-py-cpuinfo python-hypothesis)
 _archive="$_pyname-$pkgver"
 source=("https://files.pythonhosted.org/packages/source/${_pyname::1}/${_pyname}/$_archive.tar.gz")
-sha256sums=('6c74ce28213044e33a595279019e8d71512d5d8188826d106df9083f2b3006c4')
+sha256sums=('075c9bd297e3b0a87dd7aeabca7fee668218acbe69ecc1c6511064558de8840f')
 
 build() {
 	cd "$_archive"
@@ -23,7 +23,7 @@
 
 check() {
 	cd "$_archive"
-	local _pyver=$(python -c 'import sys; print(".".join(map(str, sys.version_info[:2])))')
+	local _pyver=cpython-$(python -c 'import sys; print("".join(map(str, sys.version_info[:2])))')
 	export PYTHONPATH="$PWD/build/lib.linux-$CARCH-$_pyver"
 	python -m pytest
 }



More information about the arch-commits mailing list