[arch-commits] Commit in python-py7zr/repos/community-any (PKGBUILD PKGBUILD)
Caleb Maclennan
alerque at gemini.archlinux.org
Sat Apr 30 10:07:32 UTC 2022
Date: Saturday, April 30, 2022 @ 10:07:32
Author: alerque
Revision: 1191889
archrelease: copy trunk to community-any
Added:
python-py7zr/repos/community-any/PKGBUILD
(from rev 1191888, python-py7zr/trunk/PKGBUILD)
Deleted:
python-py7zr/repos/community-any/PKGBUILD
----------+
PKGBUILD | 93 +++++++++++++++++++++++++++++++------------------------------
1 file changed, 48 insertions(+), 45 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-04-30 10:07:23 UTC (rev 1191888)
+++ PKGBUILD 2022-04-30 10:07:32 UTC (rev 1191889)
@@ -1,45 +0,0 @@
-# Maintainer: Caleb Maclennan <caleb at alerque.com>
-# Contributor: Eli Schwartz <eschwartz at archlinux.org>
-
-pkgname=python-py7zr
-_pyname=${pkgname#python-}
-pkgver=0.18.4
-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=('6986e90ca4ca1f4999d57987a54d891673c9f8befa02c9c6cd8201893a17442c')
-
-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 1191888, python-py7zr/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-04-30 10:07:32 UTC (rev 1191889)
@@ -0,0 +1,48 @@
+# Maintainer: Caleb Maclennan <caleb at alerque.com>
+# Contributor: Eli Schwartz <eschwartz at archlinux.org>
+
+pkgname=python-py7zr
+_pyname=${pkgname#python-}
+pkgver=0.18.5
+pkgrel=1
+pkgdesc='Pure python 7-zip library'
+arch=(any)
+url="https://github.com/miurahr/${_pyname}"
+license=(LGPL)
+_pydeps=(brotlicffi
+ psutil
+ multivolumefile
+ pycryptodomex
+ pyppmd
+ pyzstd
+ texttable
+ zipfile-deflate64)
+depends=(python
+ "${_pydeps[@]/#/python-}")
+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=('81ebb10619739764c2d80ef222e5845373ce84523183371ae9cd88e0df908929')
+
+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
+}
More information about the arch-commits
mailing list