Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] python3-py7zr: update to 0.18.3.
@ 2022-04-05 18:11 TinfoilSubmarine
  2022-04-07 13:58 ` [PR REVIEW] " ahesford
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: TinfoilSubmarine @ 2022-04-05 18:11 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1255 bytes --]

There is a new pull request by TinfoilSubmarine against master on the void-packages repository

https://github.com/TinfoilSubmarine/void-packages py7zr
https://github.com/void-linux/void-packages/pull/36538

python3-py7zr: update to 0.18.3.
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

<!--
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!-- 
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/36538.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-py7zr-36538.patch --]
[-- Type: text/x-diff, Size: 6847 bytes --]

From 53c3998be58898488df3ee982c55d029bcf2678b Mon Sep 17 00:00:00 2001
From: Joel Beckmeyer <joel@beckmeyer.us>
Date: Tue, 5 Apr 2022 11:59:21 -0400
Subject: [PATCH 1/5] python3-pyppmd: update to 0.18.2.

enable tests by ignoring/disabling pytest-benchmark
---
 srcpkgs/python3-pyppmd/template | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/python3-pyppmd/template b/srcpkgs/python3-pyppmd/template
index 4034cde05478..99e5a944d390 100644
--- a/srcpkgs/python3-pyppmd/template
+++ b/srcpkgs/python3-pyppmd/template
@@ -1,18 +1,22 @@
 # Template file for 'python3-pyppmd'
 pkgname=python3-pyppmd
-version=0.17.3
+version=0.18.2
 revision=1
 wrksrc="pyppmd-${version}"
 build_style=python3-module
+make_check_args="--ignore=tests/test_benchmark.py" # requires pytest-benchmark
 hostmakedepends="python3-setuptools_scm"
 makedepends="python3-devel"
 depends="python3"
+checkdepends="python3-pytest python3-py-cpuinfo python3-hypothesis"
 short_desc="Python interface for PPM variation H and I.2"
 maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
 license="LGPL-2.0-or-later"
 homepage="https://github.com/miurahr/pyppmd"
 changelog="https://raw.githubusercontent.com/miurahr/pyppmd/main/Changelog.rst"
 distfiles="${PYPI_SITE}/p/pyppmd/pyppmd-${version}.tar.gz"
-checksum=05a4765833623d5cc1c9afc27d9b05fb64f0319711beffe0b44d9695eb1beb0a
-# testing requires unpackaged plugin pytest-benchmark
-make_check=no
+checksum=732b28ea25afa41a282c986178b29e60ea5ec2e2b67f66997af943f73d4673e0
+
+pre_check() {
+	rm tests/conftest.py
+}

From f648b1c6759b81270d7c44cda941dc0dc9afadd8 Mon Sep 17 00:00:00 2001
From: Joel Beckmeyer <joel@beckmeyer.us>
Date: Tue, 5 Apr 2022 11:59:34 -0400
Subject: [PATCH 2/5] python3-pyzstd: update to 0.15.2.

fix tests with custom do_check
---
 srcpkgs/python3-pyzstd/template | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/python3-pyzstd/template b/srcpkgs/python3-pyzstd/template
index 708b8a193d9b..1385d8201c70 100644
--- a/srcpkgs/python3-pyzstd/template
+++ b/srcpkgs/python3-pyzstd/template
@@ -1,6 +1,6 @@
 # Template file for 'python3-pyzstd'
 pkgname=python3-pyzstd
-version=0.15.0
+version=0.15.2
 revision=1
 wrksrc="pyzstd-${version}"
 build_style=python3-module
@@ -13,9 +13,11 @@ maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
 license="BSD-3-Clause"
 homepage="https://github.com/animalize/pyzstd"
 distfiles="${PYPI_SITE}/p/pyzstd/pyzstd-${version}.tar.gz"
-checksum=bf15a39cb3c9b662775e22ffa8c4da09fdde6a15ece5e0ed710b6d3b4329cf36
-# test is broken and can't be run by setup.py or pytest
-make_check=no
+checksum=eda9d2874a8f3823eea882125f304620f592693b3af0101c484bfc75726c8c59
+
+do_check() {
+	PYTHONPATH="$(cd build/lib* && pwd)" python3 setup.py test
+}
 
 post_install() {
 	vlicense LICENSE

From b5a7cfb6a87e9b41b0d8a7e2401c970f4487385e Mon Sep 17 00:00:00 2001
From: Joel Beckmeyer <joel@beckmeyer.us>
Date: Tue, 5 Apr 2022 12:00:01 -0400
Subject: [PATCH 3/5] python3-pybcj: update to 0.5.1.

---
 srcpkgs/python3-pybcj/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/python3-pybcj/template b/srcpkgs/python3-pybcj/template
index 9e0e806f9583..4f819191faaf 100644
--- a/srcpkgs/python3-pybcj/template
+++ b/srcpkgs/python3-pybcj/template
@@ -1,6 +1,6 @@
 # Template file for 'python3-pybcj'
 pkgname=python3-pybcj
-version=0.5.0
+version=0.5.1
 revision=1
 wrksrc="pybcj-${version}"
 build_style=python3-module
@@ -12,4 +12,4 @@ maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
 license="LGPL-2.1-or-later"
 homepage="https://github.com/miurahr/pybcj"
 distfiles="${PYPI_SITE}/p/pybcj/pybcj-${version}.tar.gz"
-checksum=8de74f338874c698e405a72181eb0ea2e011ed5a6567e0feca524275f113bb0f
+checksum=376d039200639a52cba47fb04ffda39aad39715d9e988405fee0e5d60080d111

From cda59f70cb38511ba2b289d943f66fe2e05674de Mon Sep 17 00:00:00 2001
From: Joel Beckmeyer <joel@beckmeyer.us>
Date: Tue, 5 Apr 2022 13:39:53 -0400
Subject: [PATCH 4/5] New package: python3-zipfile-deflate64-0.2.0

---
 srcpkgs/python3-zipfile-deflate64/template | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 srcpkgs/python3-zipfile-deflate64/template

diff --git a/srcpkgs/python3-zipfile-deflate64/template b/srcpkgs/python3-zipfile-deflate64/template
new file mode 100644
index 000000000000..b53e46f16178
--- /dev/null
+++ b/srcpkgs/python3-zipfile-deflate64/template
@@ -0,0 +1,15 @@
+# Template file for 'python3-zipfile-deflate64'
+pkgname=python3-zipfile-deflate64
+version=0.2.0
+revision=1
+wrksrc="zipfile-deflate64-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+makedepends="python3-devel"
+depends="python3"
+short_desc="Extract Deflate64 ZIP archives with Python's zipfile API"
+maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
+license="Apache-2.0"
+homepage="https://github.com/brianhelba/zipfile-deflate64"
+distfiles="${PYPI_SITE}/z/zipfile-deflate64/zipfile-deflate64-${version}.tar.gz"
+checksum=875a3299de102edf1c17f8cafcc528b1ca80b62dc4814b9cb56867ec59fbfd18

From e65e1a7392745c0171fa1ec51f531e342ee0467c Mon Sep 17 00:00:00 2001
From: Joel Beckmeyer <joel@beckmeyer.us>
Date: Tue, 5 Apr 2022 12:00:36 -0400
Subject: [PATCH 5/5] python3-py7zr: update to 0.18.3.

enable tests by ignoring/disabling pytest-benchmark
---
 srcpkgs/python3-py7zr/template | 17 ++++++++++-------
 1 file changed, 10 insertions(+), 7 deletions(-)

diff --git a/srcpkgs/python3-py7zr/template b/srcpkgs/python3-py7zr/template
index 7dcdc642f601..7b34be9cb9f6 100644
--- a/srcpkgs/python3-py7zr/template
+++ b/srcpkgs/python3-py7zr/template
@@ -1,20 +1,23 @@
 # Template file for 'python3-py7zr'
 pkgname=python3-py7zr
-version=0.16.4
-revision=2
+version=0.18.3
+revision=1
 wrksrc="py7zr-${version}"
 build_style=python3-module
+make_check_args="--ignore=tests/test_benchmark.py"
 hostmakedepends="python3-setuptools_scm"
 depends="python3-texttable python3-pycryptodomex
  python3-Brotli python3-pyzstd python3-pyppmd python3-pybcj
- python3-multivolumefile"
+ python3-multivolumefile python3-zipfile-deflate64"
+checkdepends="python3-pytest python3-pytest-timeout python3-py-cpuinfo $depends"
 short_desc="7zip in python3 with various compressions, and AES encryption"
 maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
 license="LGPL-2.1-or-later"
 homepage="https://github.com/miurahr/py7zr"
 changelog="https://raw.githubusercontent.com/miurahr/py7zr/master/Changelog.rst"
 distfiles="${PYPI_SITE}/p/py7zr/py7zr-${version}.tar.gz"
-checksum=9b584dcd71b0e8c385cc66ae8e370bdbc29d1f07139d5cee770dc221fa338cf9
-# testing requires unpackaged modules:
-# pyannotate_runtime, pytest-benchmark, pytest-remotedata, pytest-profiling
-make_check=no
+checksum=d5bdc81536316f209a3ca4e1ce6e2ef11d8a519d613be47bcdd084bf655f400f
+
+pre_check() {
+	rm tests/conftest.py
+}

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2022-04-14 16:02 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-05 18:11 [PR PATCH] python3-py7zr: update to 0.18.3 TinfoilSubmarine
2022-04-07 13:58 ` [PR REVIEW] " ahesford
2022-04-07 13:58 ` ahesford
2022-04-08  1:18 ` TinfoilSubmarine
2022-04-08  1:35 ` TinfoilSubmarine
2022-04-08  1:37 ` [PR PATCH] [Updated] " TinfoilSubmarine
2022-04-08  1:39 ` [PR REVIEW] " TinfoilSubmarine
2022-04-08  1:40 ` [PR PATCH] [Updated] " TinfoilSubmarine
2022-04-11 15:03 ` TinfoilSubmarine
2022-04-12 11:25 ` TinfoilSubmarine
2022-04-12 11:36 ` TinfoilSubmarine
2022-04-12 11:36 ` [PR REVIEW] " TinfoilSubmarine
2022-04-14 16:02 ` [PR PATCH] [Closed]: " ahesford

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).