[arch-commits] Commit in python-pyzstd/repos/community-x86_64 (PKGBUILD PKGBUILD)
Caleb Maclennan
alerque at gemini.archlinux.org
Sat Aug 13 07:02:17 UTC 2022
Date: Saturday, August 13, 2022 @ 07:02:16
Author: alerque
Revision: 1265861
archrelease: copy trunk to community-x86_64
Added:
python-pyzstd/repos/community-x86_64/PKGBUILD
(from rev 1265860, python-pyzstd/trunk/PKGBUILD)
Deleted:
python-pyzstd/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 73 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 36 insertions(+), 37 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-08-13 07:02:08 UTC (rev 1265860)
+++ PKGBUILD 2022-08-13 07:02:16 UTC (rev 1265861)
@@ -1,37 +0,0 @@
-# Maintainer: Caleb Maclennan <caleb at alerque.com>
-
-pkgname=python-pyzstd
-_pyname=${pkgname#python-}
-pkgver=0.15.2
-pkgrel=1
-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}
- python-setuptools-scm
- python-wheel)
-checkdepends=(python-tests)
-_archive="$_pyname-$pkgver"
-source=("https://files.pythonhosted.org/packages/source/${_pyname::1}/$_pyname/$_archive.tar.gz")
-sha256sums=('eda9d2874a8f3823eea882125f304620f592693b3af0101c484bfc75726c8c59')
-
-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-$_pyver"
- # python -m pytest
- python setup.py test
-}
-
-package() {
- cd "$_archive"
- python -m installer -d "$pkgdir" dist/*.whl
-}
Copied: python-pyzstd/repos/community-x86_64/PKGBUILD (from rev 1265860, python-pyzstd/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-08-13 07:02:16 UTC (rev 1265861)
@@ -0,0 +1,36 @@
+# Maintainer: Caleb Maclennan <caleb at alerque.com>
+
+pkgname=python-pyzstd
+_pyname=${pkgname#python-}
+pkgver=0.15.3
+pkgrel=1
+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-$_pyver"
+ # python -m pytest
+ python setup.py test
+}
+
+package() {
+ cd "$_archive"
+ python -m installer -d "$pkgdir" dist/*.whl
+}
More information about the arch-commits
mailing list