[arch-commits] Commit in python-py7zr/trunk (2 files)

Antonio Rojas arojas at gemini.archlinux.org
Mon Nov 1 20:43:47 UTC 2021


    Date: Monday, November 1, 2021 @ 20:43:47
  Author: arojas
Revision: 1035268

Update to 0.16.2

Modified:
  python-py7zr/trunk/PKGBUILD
Deleted:
  python-py7zr/trunk/0001-setup.cfg-remove-build-time-dependency-on-things-unr.patch

-----------------------------------------------------------------+
 0001-setup.cfg-remove-build-time-dependency-on-things-unr.patch |   36 ----------
 PKGBUILD                                                        |   26 +------
 2 files changed, 6 insertions(+), 56 deletions(-)

Deleted: 0001-setup.cfg-remove-build-time-dependency-on-things-unr.patch
===================================================================
--- 0001-setup.cfg-remove-build-time-dependency-on-things-unr.patch	2021-11-01 20:37:51 UTC (rev 1035267)
+++ 0001-setup.cfg-remove-build-time-dependency-on-things-unr.patch	2021-11-01 20:43:47 UTC (rev 1035268)
@@ -1,36 +0,0 @@
-From 60518925be620adfbd523c16521b0a1ca8a1aaad Mon Sep 17 00:00:00 2001
-From: Eli Schwartz <eschwartz at archlinux.org>
-Date: Tue, 19 Jan 2021 18:59:59 -0500
-Subject: [PATCH] setup.cfg: remove build-time dependency on things unrelated
- to building
-
-pep517 is a command-line tool used by developers interested in building
-any package, it does not need to be listed as a requirement which
-python -m pep517.build installs into the isolated build environment.
-
-wheel is used optionally by setuptools to run bdist_wheel and is
-required by the pep517 build backend... but this is only needed if
-you're using pyproject.toml's build-system.requires, so this is a
-duplicate line.
-
-[patch regenerated against PyPI tarball with funky added whitespace]
----
- setup.cfg | 2 --
- 1 file changed, 2 deletions(-)
-
-diff --git a/setup.cfg b/setup.cfg
-index d8436cc..615630d 100644
---- a/setup.cfg
-+++ b/setup.cfg
-@@ -41,8 +41,6 @@ install_requires =
- setup_requires = 
- 	setuptools-scm>=3.5.0
- 	setuptools>=42.0
--	wheel
--	pep517
- packages = py7zr
- 
- [options.entry_points]
--- 
-2.30.0
-

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-11-01 20:37:51 UTC (rev 1035267)
+++ PKGBUILD	2021-11-01 20:43:47 UTC (rev 1035268)
@@ -2,34 +2,20 @@
 
 _pkgname=py7zr
 pkgname=python-py7zr
-pkgver=0.11.3
+pkgver=0.16.2
 pkgrel=1
 pkgdesc="Pure python 7-zip library"
 arch=('any')
 url="https://github.com/miurahr/${_pkgname}"
 license=('LGPL')
-depends=('python-pycryptodome' 'python-texttable')
+depends=('python-pycryptodomex' 'python-texttable' 'python-multivolumefile' 'python-pyppmd' 'python-pyzstd' 'python-brotlicffi')
 optdepends=('python-zstandard: zstd compression')
 makedepends=('python-setuptools-scm')
-checkdepends=('python-pytest-timeout' 'python-zstandard' 'pyannotate' 'p7zip')
-source=("https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz"
-        "0001-setup.cfg-remove-build-time-dependency-on-things-unr.patch")
-sha256sums=('f9e872f02daf9be64ef35a0d69f5467a3ccbd028df0863ee39a2fbab5f80cc52'
-            'eb6e1b95bb2fe56889337bc3fb2ee788bfe7eb7849667bd2c193c7a9a8158908')
-b2sums=('7306fffb1f1422e9a1a6d475fa37217dda8a0e8af2e14ebfeddbfae5a98d117b2e61e6fa4d5e254623c839f48911a9b14b1bd32b294e9ac1a5b7ab18305950fb'
-        'c8043f2631d783c1c4e8797fe12f517b06c1468860a32d2964b7f1e12d76728f3317f3ea76f380fe11a3c2dade52e95e492be107b537430a9ffb24b439f70ccd')
+checkdepends=('python-pytest-benchmark' 'python-pytest-timeout' 'pyannotate' 'p7zip' 'python-py-cpuinfo')
+source=("https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz")
+sha256sums=('e741f0271ebb12551e4a4b57bf01fca226e7136ff301d15c083cd262f8c4a0d6')
+b2sums=('75b74735155b93bbaf835c44a607b8c7b321b8663b873007f7197685d4acdc34328430358eb0f8a9902a48d0c27aeb07a0f6edaef1ddd30d48ed2b4316d4e007')
 
-prepare() {
-    cd "${srcdir}"/${_pkgname}-${pkgver}
-
-    # thou shalt not force coverage reports on innocent unittest users
-    sed -i '/^addopts/d' tox.ini
-
-    # don't download unneeded setup_requires from PyPI
-    # https://github.com/miurahr/py7zr/pull/286
-    patch -p1 -i ../0001-setup.cfg-remove-build-time-dependency-on-things-unr.patch
-}
-
 build(){
     cd "${srcdir}"/${_pkgname}-${pkgver}
 



More information about the arch-commits mailing list