Date: Monday, April 10, 2023 @ 13:24:50
Author: alerque
Revision: 1444329
archrelease: copy trunk to community-any
Added:
python-py7zr/repos/community-any/PKGBUILD
(from rev 1444328, python-py7zr/trunk/PKGBUILD)
Deleted:
python-py7zr/repos/community-any/PKGBUILD
----------+
PKGBUILD | 120 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 60 insertions(+), 60 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2023-04-10 13:24:38 UTC (rev 1444328)
+++ PKGBUILD 2023-04-10 13:24:50 UTC (rev 1444329)
@@ -1,60 +0,0 @@
-# Maintainer: Caleb Maclennan <[email protected]>
-# Contributor: Eli Schwartz <[email protected]>
-
-pkgname=python-py7zr
-_pyname=${pkgname#python-}
-pkgver=0.20.2
-pkgrel=1
-pkgdesc='Pure python 7-zip library'
-arch=(any)
-url="https://github.com/miurahr/${_pyname}"
-license=(LGPL)
-_pydeps=(brotli
- brotlicffi
- psutil
- multivolumefile
- pybcj
- pycryptodomex
- pyppmd
- pyzstd
- texttable
- inflate64)
-depends=(python
- "${_pydeps[@]/#/python-}")
-optdepends=('python-zstandard: zstd compression')
-makedepends=(python-{build,installer,wheel}
- python-setuptools-scm)
-checkdepends=(p7zip
- pyannotate
- python-py-cpuinfo
- python-pytest-benchmark
- python-pytest-timeout)
-_archive="$_pyname-$pkgver"
-source=("https://files.pythonhosted.org/packages/source/${_pyname::1}/$_pyname/$_archive.tar.gz")
-sha256sums=('791ef912a295b61b91c5fe0c23adeddb80bf13500308062c082b8fec6c8c9653')
-
-prepare() {
- cd "$_archive"
- # Upstream setuptools version pinning is too aggressive for us.
- # It is also outdated because current versions have toml support is
builtin.
- sed -i -E '/^requires /s#([a-z])[\[>][^"]*"#\1"#g' pyproject.toml
- sed -i -E '/setuptools/s#>.*##' setup.cfg
-}
-
-build() {
- cd "$_archive"
- python -m build -wn
-}
-
-check() {
- cd "$_archive"
- python -m pytest -rsx \
- --deselect tests/test_concurrent.py \
- --deselect tests/test_extra_codecs.py \
- -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 1444328,
python-py7zr/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2023-04-10 13:24:50 UTC (rev 1444329)
@@ -0,0 +1,60 @@
+# Maintainer: Caleb Maclennan <[email protected]>
+# Contributor: Eli Schwartz <[email protected]>
+
+pkgname=python-py7zr
+_pyname=${pkgname#python-}
+pkgver=0.20.4
+pkgrel=1
+pkgdesc='Pure python 7-zip library'
+arch=(any)
+url="https://github.com/miurahr/${_pyname}"
+license=(LGPL)
+_pydeps=(brotli
+ brotlicffi
+ psutil
+ multivolumefile
+ pybcj
+ pycryptodomex
+ pyppmd
+ pyzstd
+ texttable
+ inflate64)
+depends=(python
+ "${_pydeps[@]/#/python-}")
+optdepends=('python-zstandard: zstd compression')
+makedepends=(python-{build,installer,wheel}
+ python-setuptools-scm)
+checkdepends=(p7zip
+ pyannotate
+ python-py-cpuinfo
+ python-pytest-benchmark
+ python-pytest-timeout)
+_archive="$_pyname-$pkgver"
+source=("https://files.pythonhosted.org/packages/source/${_pyname::1}/$_pyname/$_archive.tar.gz")
+sha256sums=('1d01f98ea1e1f5c49940358691b2076f9a5848056426541e783de33834f59e21')
+
+prepare() {
+ cd "$_archive"
+ # Upstream setuptools version pinning is too aggressive for us.
+ # It is also outdated because current versions have toml support is
builtin.
+ sed -i -E '/^requires /s#([a-z])[\[>][^"]*"#\1"#g' pyproject.toml
+ sed -i -E '/setuptools/s#>.*##' setup.cfg
+}
+
+build() {
+ cd "$_archive"
+ python -m build -wn
+}
+
+check() {
+ cd "$_archive"
+ python -m pytest -rsx \
+ --deselect tests/test_concurrent.py \
+ --deselect tests/test_extra_codecs.py \
+ -m 'not benchmark and not remote_data'
+}
+
+package() {
+ cd "$_archive"
+ python -m installer -d "$pkgdir" dist/*.whl
+}