Github messages for voidlinux
 help / color / mirror / Atom feed
From: TinfoilSubmarine <TinfoilSubmarine@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] python3-py7zr: update to 0.18.3.
Date: Fri, 08 Apr 2022 03:40:33 +0200	[thread overview]
Message-ID: <20220408014033.72wAU6wVw4M8jEwpsB0jlqwOqzh07Pi_5xptt4uVagk@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-36538@inbox.vuxu.org>

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

There is an updated 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: 7088 bytes --]

From 6b9d14dfa5a1d47da1d573037a610c4f630cba74 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 1004c315874b89c17ab405c7981d2b7bed53f1c3 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 eec28b65d7c502a92a54dca7c131d6ddee440329 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.

enable tests with pytest
---
 srcpkgs/python3-pybcj/template | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/python3-pybcj/template b/srcpkgs/python3-pybcj/template
index 9e0e806f9583..a0776b796627 100644
--- a/srcpkgs/python3-pybcj/template
+++ b/srcpkgs/python3-pybcj/template
@@ -1,15 +1,16 @@
 # 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
 hostmakedepends="python3-setuptools_scm"
 makedepends="python3-devel"
 depends="python3"
+checkdepends="python3-pytest python3-hypothesis"
 short_desc="BCJ(Branch-Call-Jump) filter for python"
 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 20c39a5047ee7b82fcc885ae2a4433f7bf783130 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 | 16 ++++++++++++++++
 1 file changed, 16 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..61b3233e7984
--- /dev/null
+++ b/srcpkgs/python3-zipfile-deflate64/template
@@ -0,0 +1,16 @@
+# 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
+make_check=no # no tests included

From 17c2318df7048fb62e697eb5513331c77f6e5433 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
+}

  parent reply	other threads:[~2022-04-08  1:40 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-05 18:11 [PR PATCH] " 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 ` TinfoilSubmarine [this message]
2022-04-11 15:03 ` [PR PATCH] [Updated] " 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220408014033.72wAU6wVw4M8jEwpsB0jlqwOqzh07Pi_5xptt4uVagk@z \
    --to=tinfoilsubmarine@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).