[arch-commits] Commit in python-logbook/trunk (PKGBUILD)

Jonas Witschel diabonas at archlinux.org
Mon Oct 19 10:33:54 UTC 2020


    Date: Monday, October 19, 2020 @ 10:33:53
  Author: diabonas
Revision: 726978

upgpkg: python-logbook 1.5.3-5: add reproducibility patch

Upstream has not seen any activity in a year, so at least make requirements.txt
reproducible in the Arch package. Also fix the naming of the source tarball,
which got broken by the removal of the split Python 2 package.

Modified:
  python-logbook/trunk/PKGBUILD

----------+
 PKGBUILD |   14 +++++++++++---
 1 file changed, 11 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-10-19 10:28:35 UTC (rev 726977)
+++ PKGBUILD	2020-10-19 10:33:53 UTC (rev 726978)
@@ -3,7 +3,7 @@
 
 pkgname=python-logbook
 pkgver=1.5.3
-pkgrel=4
+pkgrel=5
 pkgdesc="Logging sytem for Python that replaces the standard library’s logging module"
 arch=('x86_64')
 url="https://logbook.readthedocs.io/en/stable/"
@@ -14,9 +14,17 @@
               'python-mock' 'python-redis' 'python-pyzmq'
               'python-execnet' 'python-jinja' 'python-brotli' 
               'pifpaf')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/mitsuhiko/logbook/archive/$pkgver.tar.gz")
-sha512sums=('c9068324f12a189ced98e2c02753489847fa533ce3a3af07b62c73e9959c2e014d47515d47e756d031639cb220a2c4a9a380cba4cb3ea1b190c50106decba686')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/mitsuhiko/logbook/archive/$pkgver.tar.gz"
+        "python-logbook-1.5.3-reproducibility.patch::https://github.com/getlogbook/logbook/commit/7b51f1adbdfd71180b8da9b1462552db32350b1d.patch")
+sha512sums=('c9068324f12a189ced98e2c02753489847fa533ce3a3af07b62c73e9959c2e014d47515d47e756d031639cb220a2c4a9a380cba4cb3ea1b190c50106decba686'
+            'c8e993de55d95ad7ca5087ab808462abebcd40a836bcdaf797b9febe02844bec15fdfc1f76ddf5ac303caf9dc81ce450fc91a0fd03919ff7e5e7c69005835eb6')
 
+prepare() {
+  cd "$srcdir"/logbook-$pkgver
+  # Make ordering of requires.txt reproducible (https://github.com/getlogbook/logbook/pull/313)
+  patch -Np1 -i "$srcdir/python-logbook-1.5.3-reproducibility.patch"
+}
+
 build() {
   cd "$srcdir"/logbook-$pkgver
   cython logbook/_speedups.pyx



More information about the arch-commits mailing list