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

Evangelos Foutras foutrelis at archlinux.org
Sun Nov 10 10:32:02 UTC 2019


    Date: Sunday, November 10, 2019 @ 10:32:02
  Author: foutrelis
Revision: 524986

archrelease: copy trunk to community-staging-x86_64

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

----------+
 PKGBUILD |   91 +++++++++++++++++++++++--------------------------------------
 1 file changed, 35 insertions(+), 56 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-11-10 10:31:57 UTC (rev 524985)
+++ PKGBUILD	2019-11-10 10:32:02 UTC (rev 524986)
@@ -1,56 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Tomas Schertel<tschertel at gmail.com>
-
-pkgbase=python-logbook
-pkgname=(python-logbook python2-logbook)
-pkgver=1.5.3
-pkgrel=3
-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')
-makedepends=('python-setuptools' 'python2-setuptools' 'cython' 'cython2' 'python-six' 'python2-six')
-checkdepends=('redis' 'python-pytest' 'python2-pytest' 'python-sqlalchemy' 'python2-sqlalchemy'
-              'python-mock' 'python2-mock' 'python-redis' 'python2-redis' 'python-pyzmq'
-              'python2-pyzmq' 'python-execnet' 'python2-execnet' 'python-jinja' 'python2-jinja'
-              'python-brotli' 'python2-brotli' 'pifpaf')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/mitsuhiko/logbook/archive/$pkgver.tar.gz")
-sha512sums=('c9068324f12a189ced98e2c02753489847fa533ce3a3af07b62c73e9959c2e014d47515d47e756d031639cb220a2c4a9a380cba4cb3ea1b190c50106decba686')
-
-prepare() {
-  cp -a logbook-$pkgver{,-py2}
-}
-
-build() {
-  cd "$srcdir"/logbook-$pkgver
-  cython logbook/_speedups.pyx
-  python setup.py build
-
-  cd "$srcdir"/logbook-$pkgver-py2
-  cython2 logbook/_speedups.pyx
-  python2 setup.py build
-}
-
-check() {
-  cd "$srcdir"/logbook-$pkgver
-  LC_CTYPE=en_US.UTF-8 pifpaf run redis py.test tests
-
-  cd "$srcdir"/logbook-$pkgver-py2
-  LC_CTYPE=en_US.UTF-8 pifpaf run redis py.test2 tests
-}
-
-package_python-logbook() {
-  depends=('python-six')
-
-  cd logbook-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
-  install -Dm664 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_python2-logbook() {
-  depends=('python2-six')
-
-  cd logbook-$pkgver-py2
-  python2 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 524985, python-logbook/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-11-10 10:32:02 UTC (rev 524986)
@@ -0,0 +1,35 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Tomas Schertel<tschertel at gmail.com>
+
+pkgname=python-logbook
+pkgver=1.5.3
+pkgrel=3
+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=("$pkgbase-$pkgver.tar.gz::https://github.com/mitsuhiko/logbook/archive/$pkgver.tar.gz")
+sha512sums=('c9068324f12a189ced98e2c02753489847fa533ce3a3af07b62c73e9959c2e014d47515d47e756d031639cb220a2c4a9a380cba4cb3ea1b190c50106decba686')
+
+build() {
+  cd "$srcdir"/logbook-$pkgver
+  cython logbook/_speedups.pyx
+  python setup.py build
+}
+
+check() {
+  cd "$srcdir"/logbook-$pkgver
+  LC_CTYPE=en_US.UTF-8 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