[arch-commits] Commit in python-logbook/repos/community-staging-x86_64 (2 files)

Felix Yan felixonmars at gemini.archlinux.org
Wed Dec 1 22:52:21 UTC 2021


    Date: Wednesday, December 1, 2021 @ 22:52:21
  Author: felixonmars
Revision: 1061510

archrelease: copy trunk to community-staging-x86_64

Added:
  python-logbook/repos/community-staging-x86_64/PKGBUILD
    (from rev 1061509, python-logbook/trunk/PKGBUILD)
Deleted:
  python-logbook/repos/community-staging-x86_64/PKGBUILD

----------+
 PKGBUILD |   89 +++++++++++++++++++++++++++++++------------------------------
 1 file changed, 46 insertions(+), 43 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-12-01 22:52:13 UTC (rev 1061509)
+++ PKGBUILD	2021-12-01 22:52:21 UTC (rev 1061510)
@@ -1,43 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Tomas Schertel<tschertel at gmail.com>
-
-pkgname=python-logbook
-pkgver=1.5.3
-pkgrel=9
-pkgdesc="Logging sytem for Python that replaces the standard library’s logging module"
-arch=('x86_64')
-url="https://logbook.readthedocs.io/en/stable/"
-license=('BSD')
-depends=('python-six')
-makedepends=('python-setuptools' 'cython' 'python-six' )
-checkdepends=('redis' 'python-pytest' 'python-sqlalchemy'
-              'python-mock' 'python-redis' 'python-pyzmq'
-              'python-execnet' 'python-jinja' 'python-brotli' 
-              'pifpaf')
-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
-  python setup.py build
-}
-
-check() {
-  cd "$srcdir"/logbook-$pkgver
-  LC_CTYPE=en_US.UTF-8 PYTHONDONTWRITEBYTECODE=1 pifpaf run redis py.test tests
-}
-
-package() {
-  cd logbook-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
-  install -Dm664 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}

Copied: python-logbook/repos/community-staging-x86_64/PKGBUILD (from rev 1061509, python-logbook/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-12-01 22:52:21 UTC (rev 1061510)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Tomas Schertel<tschertel at gmail.com>
+
+pkgname=python-logbook
+pkgver=1.5.3
+pkgrel=10
+pkgdesc="Logging sytem for Python that replaces the standard library’s logging module"
+arch=('x86_64')
+url="https://logbook.readthedocs.io/en/stable/"
+license=('BSD')
+depends=('python-six')
+makedepends=('python-setuptools' 'cython' 'python-six' )
+checkdepends=('redis' 'python-pytest' 'python-sqlalchemy'
+              'python-mock' 'python-redis' 'python-pyzmq'
+              'python-execnet' 'python-jinja' 'python-brotli' 
+              'pifpaf')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/mitsuhiko/logbook/archive/$pkgver.tar.gz"
+        "$pkgname-sqlalchemy-1.4.patch::https://github.com/getlogbook/logbook/pull/316.patch"
+        "python-logbook-1.5.3-reproducibility.patch::https://github.com/getlogbook/logbook/commit/7b51f1adbdfd71180b8da9b1462552db32350b1d.patch")
+sha512sums=('c9068324f12a189ced98e2c02753489847fa533ce3a3af07b62c73e9959c2e014d47515d47e756d031639cb220a2c4a9a380cba4cb3ea1b190c50106decba686'
+            '445b063f84afb18f8d67b85a3ba077bfb020c8f01259d6957cde8559843957fc5a32794a0c6267f1dc274af2a86e9a0ac28ae0524cc5a8efd6d16eeceeda2593'
+            'c8e993de55d95ad7ca5087ab808462abebcd40a836bcdaf797b9febe02844bec15fdfc1f76ddf5ac303caf9dc81ce450fc91a0fd03919ff7e5e7c69005835eb6')
+
+prepare() {
+  cd "$srcdir"/logbook-$pkgver
+  patch -Np1 -i ../$pkgname-sqlalchemy-1.4.patch
+  # 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
+  python setup.py build
+}
+
+check() {
+  cd "$srcdir"/logbook-$pkgver
+  LC_CTYPE=en_US.UTF-8 PYTHONDONTWRITEBYTECODE=1 pifpaf run redis py.test tests
+}
+
+package() {
+  cd logbook-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -Dm664 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}



More information about the arch-commits mailing list