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.20.0.
Date: Fri, 02 Sep 2022 15:48:30 +0200	[thread overview]
Message-ID: <20220902134830.v-5Ew3aGV3ZLBmb_fLp4zyUFLK-cRmkUEksAKPaTOsA@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-39025@inbox.vuxu.org>

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

There is an updated pull request by TinfoilSubmarine against master on the void-packages repository

https://github.com/TinfoilSubmarine/void-packages maint/python3-py7zr
https://github.com/void-linux/void-packages/pull/39025

python3-py7zr: update to 0.20.0.
<!-- 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 [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-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/39025.patch is attached

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

From 7a9b53942b718a6ef41750d908c2a98aca17233d Mon Sep 17 00:00:00 2001
From: Joel Beckmeyer <joel@beckmeyer.us>
Date: Thu, 1 Sep 2022 09:17:38 -0400
Subject: [PATCH 1/5] python3-pybcj: update to 1.0.1.

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

diff --git a/srcpkgs/python3-pybcj/template b/srcpkgs/python3-pybcj/template
index c6cef8f80b03..420b7ce605de 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.2
+version=1.0.1
 revision=1
 wrksrc="pybcj-${version}"
 build_style=python3-module
@@ -11,6 +11,7 @@ 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"
+homepage="https://codeberg.org/miurahr/pybcj"
+changelog="https://codeberg.org/miurahr/pybcj/raw/branch/main/Changelog.rst"
 distfiles="${PYPI_SITE}/p/pybcj/pybcj-${version}.tar.gz"
-checksum=050e7bf780b82b0c6ba4368c4a78953a1cf5922cef50e8b251fb8b87f0483ad7
+checksum=8b682ed08caabfb7c042d4be083e28ddc692afb1deff5567111f8855071b75c3

From cb697cfce82852dba4d494600cc954c7d7a72b27 Mon Sep 17 00:00:00 2001
From: Joel Beckmeyer <joel@beckmeyer.us>
Date: Thu, 1 Sep 2022 09:19:36 -0400
Subject: [PATCH 2/5] python3-pyzstd: update to 0.15.3.

---
 .../patches/support_pytest.patch              | 30 -------------------
 srcpkgs/python3-pyzstd/template               |  4 +--
 2 files changed, 2 insertions(+), 32 deletions(-)
 delete mode 100644 srcpkgs/python3-pyzstd/patches/support_pytest.patch

diff --git a/srcpkgs/python3-pyzstd/patches/support_pytest.patch b/srcpkgs/python3-pyzstd/patches/support_pytest.patch
deleted file mode 100644
index 05ffa75fab5b..000000000000
--- a/srcpkgs/python3-pyzstd/patches/support_pytest.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-From b7ff78fc31ea054339693d6bf835134b8b9fbaa3 Mon Sep 17 00:00:00 2001
-From: Ma Lin <malincns@163.com>
-Date: Tue, 12 Apr 2022 13:00:30 +0800
-Subject: [PATCH] unittests supports pytest
-
-<more-tests>
----
- tests/test_zstd.py | 5 +----
- 1 file changed, 1 insertion(+), 4 deletions(-)
-
-diff --git a/tests/test_zstd.py b/tests/test_zstd.py
-index 263a753..0d254b9 100644
---- a/tests/test_zstd.py
-+++ b/tests/test_zstd.py
-@@ -3231,9 +3231,6 @@ def cb(a,b,c,d):
-         compress_stream(io.BytesIO(b''), io.BytesIO(), callback=cb)
-         decompress_stream(io.BytesIO(b''), io.BytesIO(), callback=cb)
- 
--def test_main():
--    unittest.main()
--
- # uncompressed size 130KB, more than a zstd block.
- # with a frame epilogue, 4 bytes checksum.
- TEST_DAT_130KB = (b'(\xb5/\xfd\xa4\x00\x08\x02\x00\xcc\x87\x03:\xaaYN4pf\xc8\xae\x06b\x02'
-@@ -4419,4 +4416,4 @@ def test_main():
-  b'\xb7\x99\x1b\xce\xc9\t*\x98\x97\xb43z\x01h\x9fu\xf1')
- 
- if __name__ == "__main__":
--    test_main()
-+    unittest.main()
diff --git a/srcpkgs/python3-pyzstd/template b/srcpkgs/python3-pyzstd/template
index c097aeb44a09..758ef737250e 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.2
+version=0.15.3
 revision=1
 wrksrc="pyzstd-${version}"
 build_style=python3-module
@@ -15,7 +15,7 @@ license="BSD-3-Clause"
 homepage="https://github.com/animalize/pyzstd"
 changelog="https://raw.githubusercontent.com/animalize/pyzstd/dev/README.rst"
 distfiles="${PYPI_SITE}/p/pyzstd/pyzstd-${version}.tar.gz"
-checksum=eda9d2874a8f3823eea882125f304620f592693b3af0101c484bfc75726c8c59
+checksum=ac4edab5d3955343e8f7f287e62cd2882907d46bcba4b406a1e9f84aa2887472
 
 post_install() {
 	vlicense LICENSE

From 6a710f7785c372cab85d467885486eba40e25994 Mon Sep 17 00:00:00 2001
From: Joel Beckmeyer <joel@beckmeyer.us>
Date: Thu, 1 Sep 2022 09:22:06 -0400
Subject: [PATCH 3/5] python3-pyppmd: update to 0.18.3.

---
 srcpkgs/python3-pyppmd/template | 8 ++++----
 srcpkgs/python3-pyppmd/update   | 1 +
 2 files changed, 5 insertions(+), 4 deletions(-)
 create mode 100644 srcpkgs/python3-pyppmd/update

diff --git a/srcpkgs/python3-pyppmd/template b/srcpkgs/python3-pyppmd/template
index a80c2a5f0382..649457c535c7 100644
--- a/srcpkgs/python3-pyppmd/template
+++ b/srcpkgs/python3-pyppmd/template
@@ -1,6 +1,6 @@
 # Template file for 'python3-pyppmd'
 pkgname=python3-pyppmd
-version=0.18.2
+version=0.18.3
 revision=1
 wrksrc="pyppmd-${version}"
 build_style=python3-module
@@ -12,7 +12,7 @@ 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"
+homepage="https://codeberg.org/miurahr/pyppmd"
+changelog="https://codeberg.org/miurahr/pyppmd/raw/branch/main/Changelog.rst"
 distfiles="${PYPI_SITE}/p/pyppmd/pyppmd-${version}.tar.gz"
-checksum=732b28ea25afa41a282c986178b29e60ea5ec2e2b67f66997af943f73d4673e0
+checksum=6c74ce28213044e33a595279019e8d71512d5d8188826d106df9083f2b3006c4
diff --git a/srcpkgs/python3-pyppmd/update b/srcpkgs/python3-pyppmd/update
new file mode 100644
index 000000000000..e299d00ea67c
--- /dev/null
+++ b/srcpkgs/python3-pyppmd/update
@@ -0,0 +1 @@
+ignore="*rc*"

From 7800b1bc1cb47664c5a72e9394d5e210531e0050 Mon Sep 17 00:00:00 2001
From: Joel Beckmeyer <joel@beckmeyer.us>
Date: Thu, 1 Sep 2022 10:05:02 -0400
Subject: [PATCH 4/5] New package: python3-inflate64-0.3.0

---
 srcpkgs/python3-inflate64/template | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 srcpkgs/python3-inflate64/template

diff --git a/srcpkgs/python3-inflate64/template b/srcpkgs/python3-inflate64/template
new file mode 100644
index 000000000000..c4baefb6de36
--- /dev/null
+++ b/srcpkgs/python3-inflate64/template
@@ -0,0 +1,17 @@
+# Template file for 'python3-inflate64'
+pkgname=python3-inflate64
+version=0.3.0
+revision=1
+wrksrc="inflate64-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+makedepends="python3-devel"
+depends="python3"
+checkdepends="python3-pytest"
+short_desc="Deflate64 compression/decompression library"
+maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
+license="LGPL-2.1-or-later"
+homepage="https://codeberg.org/miurahr/inflate64"
+changelog="https://codeberg.org/miurahr/inflate64/raw/branch/main/docs/Changelog.rst"
+distfiles="${PYPI_SITE}/i/inflate64/inflate64-${version}.tar.gz"
+checksum=81fb8e690fbcb92e7d3e6769ec4c6fbfabb88aade677f61b2f4c99874538bf64

From 75ab09891dc11a42ad69b9f7b7a3652756b92dc2 Mon Sep 17 00:00:00 2001
From: Joel Beckmeyer <joel@beckmeyer.us>
Date: Thu, 1 Sep 2022 09:39:56 -0400
Subject: [PATCH 5/5] python3-py7zr: update to 0.20.0.

---
 srcpkgs/python3-py7zr/template | 22 ++++++++++++++--------
 1 file changed, 14 insertions(+), 8 deletions(-)

diff --git a/srcpkgs/python3-py7zr/template b/srcpkgs/python3-py7zr/template
index e6e8e05ec41a..0f13d88d158a 100644
--- a/srcpkgs/python3-py7zr/template
+++ b/srcpkgs/python3-py7zr/template
@@ -1,14 +1,20 @@
 # Template file for 'python3-py7zr'
 pkgname=python3-py7zr
-version=0.18.4
+version=0.20.0
 revision=1
 wrksrc="py7zr-${version}"
-build_style=python3-module
-make_check_args="--ignore=tests/test_benchmark.py --noconftest"
-hostmakedepends="python3-setuptools_scm"
-depends="python3-texttable python3-pycryptodomex
- python3-Brotli python3-pyzstd python3-pyppmd python3-pybcj
- python3-multivolumefile python3-zipfile-deflate64"
+build_style=python3-pep517
+# - test_concurrent.py fails on timeout. This test downloads several different
+# 7z archives; likely failing due to slow download or dead links -
+# tests/test_misc.py::test_extract_high_compression_rate fails only in chroot,
+# but passes when run on my system
+make_check_args="--ignore=tests/test_benchmark.py --noconftest
+ --ignore=tests/test_concurrent.py
+ --deselect=tests/test_misc.py::test_extract_high_compression_rate"
+hostmakedepends="python3-setuptools_scm python3-wheel"
+depends="python3-texttable python3-pycryptodomex python3-Brotli python3-psutil
+ python3-pyzstd python3-pyppmd python3-pybcj python3-multivolumefile
+ python3-inflate64"
 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>"
@@ -16,4 +22,4 @@ 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=6986e90ca4ca1f4999d57987a54d891673c9f8befa02c9c6cd8201893a17442c
+checksum=2270f922f8d07bb8a83d28e1c57dd77570aea6bb876ed8eb4879a038c149ce5e

  parent reply	other threads:[~2022-09-02 13:48 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-01 14:29 [PR PATCH] " TinfoilSubmarine
2022-09-02  8:58 ` [PR REVIEW] " classabbyamp
2022-09-02 13:48 ` TinfoilSubmarine [this message]
2022-09-02 15:57 ` [PR PATCH] [Merged]: " paper42

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=20220902134830.v-5Ew3aGV3ZLBmb_fLp4zyUFLK-cRmkUEksAKPaTOsA@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).