Date: Monday, March 28, 2022 @ 11:43:53 Author: alerque Revision: 1177370
archrelease: copy trunk to community-any Added: python-py7zr/repos/community-any/PKGBUILD (from rev 1177369, python-py7zr/trunk/PKGBUILD) Deleted: python-py7zr/repos/community-any/PKGBUILD ----------+ PKGBUILD | 90 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 45 insertions(+), 45 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-03-28 11:43:45 UTC (rev 1177369) +++ PKGBUILD 2022-03-28 11:43:53 UTC (rev 1177370) @@ -1,45 +0,0 @@ -# Maintainer: Caleb Maclennan <ca...@alerque.com> -# Contributor: Eli Schwartz <eschwa...@archlinux.org> - -pkgname=python-py7zr -_pyname=${pkgname#python-} -pkgver=0.18.1 -pkgrel=1 -pkgdesc='Pure python 7-zip library' -arch=(any) -url="https://github.com/miurahr/${_pyname}" -license=(LGPL) -depends=(python-pycryptodomex - python-texttable - python-multivolumefile - python-pyppmd - python-pyzstd - python-brotlicffi - python-zipfile-deflate64) -optdepends=('python-zstandard: zstd compression') -makedepends=(python-{build,installer} - python-setuptools-scm - python-wheel) -checkdepends=(python-pytest-benchmark - python-pytest-timeout - pyannotate - p7zip - python-py-cpuinfo) -_archive="$_pyname-$pkgver" -source=("https://files.pythonhosted.org/packages/source/${_pyname::1}/$_pyname/$_archive.tar.gz") -sha256sums=('36984de7ff2d3b5649cd9f12f6045490a0ec1fe278537a2c51cc2576e4c81271') - -build(){ - cd "$_archive" - python -m build -wn -} - -check() { - cd "$_archive" - python -m pytest -rsx -m 'not benchmark and not remote_data' -} - -package() { - cd "$_archive" - python -m installer -d "$pkgdir" dist/*.whl -} Copied: python-py7zr/repos/community-any/PKGBUILD (from rev 1177369, python-py7zr/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-03-28 11:43:53 UTC (rev 1177370) @@ -0,0 +1,45 @@ +# Maintainer: Caleb Maclennan <ca...@alerque.com> +# Contributor: Eli Schwartz <eschwa...@archlinux.org> + +pkgname=python-py7zr +_pyname=${pkgname#python-} +pkgver=0.18.3 +pkgrel=1 +pkgdesc='Pure python 7-zip library' +arch=(any) +url="https://github.com/miurahr/${_pyname}" +license=(LGPL) +depends=(python-pycryptodomex + python-texttable + python-multivolumefile + python-pyppmd + python-pyzstd + python-brotlicffi + python-zipfile-deflate64) +optdepends=('python-zstandard: zstd compression') +makedepends=(python-{build,installer} + python-setuptools-scm + python-wheel) +checkdepends=(python-pytest-benchmark + python-pytest-timeout + pyannotate + p7zip + python-py-cpuinfo) +_archive="$_pyname-$pkgver" +source=("https://files.pythonhosted.org/packages/source/${_pyname::1}/$_pyname/$_archive.tar.gz") +sha256sums=('d5bdc81536316f209a3ca4e1ce6e2ef11d8a519d613be47bcdd084bf655f400f') + +build(){ + cd "$_archive" + python -m build -wn +} + +check() { + cd "$_archive" + python -m pytest -rsx -m 'not benchmark and not remote_data' +} + +package() { + cd "$_archive" + python -m installer -d "$pkgdir" dist/*.whl +}