Date: Tuesday, April 11, 2023 @ 08:05:00
  Author: alerque
Revision: 1444652

archrelease: copy trunk to community-staging-x86_64

Added:
  python-pyzstd/repos/community-staging-x86_64/PKGBUILD
    (from rev 1444651, python-pyzstd/trunk/PKGBUILD)
Deleted:
  python-pyzstd/repos/community-staging-x86_64/PKGBUILD

----------+
 PKGBUILD |   71 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 35 insertions(+), 36 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2023-04-11 08:04:52 UTC (rev 1444651)
+++ PKGBUILD    2023-04-11 08:05:00 UTC (rev 1444652)
@@ -1,36 +0,0 @@
-# Maintainer: Caleb Maclennan <[email protected]>
-
-pkgname=python-pyzstd
-_pyname=${pkgname#python-}
-pkgver=0.15.3
-pkgrel=2
-pkgdesc='Python bindings to Zstandard (zstd) compression library'
-arch=(x86_64)
-url="https://github.com/animalize/$_pyname";
-license=(LGPL)
-depends=(python
-         zstd)
-makedepends=(python-{build,installer,wheel}
-             python-setuptools-scm)
-checkdepends=(python-tests)
-_archive="$_pyname-$pkgver"
-source=("https://files.pythonhosted.org/packages/source/${_pyname::1}/$_pyname/$_archive.tar.gz";)
-sha256sums=('ac4edab5d3955343e8f7f287e62cd2882907d46bcba4b406a1e9f84aa2887472')
-
-build() {
-       cd "$_archive"
-       python -m build -wn -C=--dynamic-link-zstd
-}
-
-check() {
-       cd "$_archive"
-       local _pyver=$(python -c 'import sys; print("".join(map(str, 
sys.version_info[:2])))')
-       export PYTHONPATH="$PWD/build/lib.linux-$CARCH-cpython-$_pyver"
-       # python -m pytest
-       python setup.py test
-}
-
-package() {
-       cd "$_archive"
-       python -m installer -d "$pkgdir" dist/*.whl
-}

Copied: python-pyzstd/repos/community-staging-x86_64/PKGBUILD (from rev 
1444651, python-pyzstd/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2023-04-11 08:05:00 UTC (rev 1444652)
@@ -0,0 +1,35 @@
+# Maintainer: Caleb Maclennan <[email protected]>
+
+pkgname=python-pyzstd
+_pyname=${pkgname#python-}
+pkgver=0.15.6
+pkgrel=2
+pkgdesc='Python bindings to Zstandard (zstd) compression library'
+arch=(x86_64)
+url="https://github.com/animalize/$_pyname";
+license=(LGPL)
+depends=(python
+         zstd)
+makedepends=(python-{build,installer,wheel}
+             python-setuptools-scm)
+checkdepends=(python-tests)
+_archive="$_pyname-$pkgver"
+source=("https://files.pythonhosted.org/packages/source/${_pyname::1}/$_pyname/$_archive.tar.gz";)
+sha256sums=('32a1b67d5340d8df381e718a788417455edd76bed7e8a4cbd259acdc30b5e17e')
+
+build() {
+       cd "$_archive"
+       python -m build -wn -C=--dynamic-link-zstd
+}
+
+check() {
+       cd "$_archive/build"
+       local _pyver=$(python -c 'import sys; print("".join(map(str, 
sys.version_info[:2])))')
+       export PYTHONPATH="$PWD/lib.linux-$CARCH-cpython-$_pyver"
+       python -m unittest discover
+}
+
+package() {
+       cd "$_archive"
+       python -m installer -d "$pkgdir" dist/*.whl
+}

Reply via email to