[arch-commits] Commit in python-logbook/repos/community-x86_64 (PKGBUILD PKGBUILD)

Felix Yan felixonmars at archlinux.org
Sun Oct 14 09:17:07 UTC 2018


    Date: Sunday, October 14, 2018 @ 09:17:06
  Author: felixonmars
Revision: 393404

archrelease: copy trunk to community-x86_64

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

----------+
 PKGBUILD |  113 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 56 insertions(+), 57 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-10-14 09:16:36 UTC (rev 393403)
+++ PKGBUILD	2018-10-14 09:17:06 UTC (rev 393404)
@@ -1,57 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Tomas Schertel<tschertel at gmail.com>
-
-pkgbase=python-logbook
-pkgname=(python-logbook python2-logbook)
-pkgver=1.4.0
-pkgrel=2
-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' 'python-pifpaf')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/mitsuhiko/logbook/archive/$pkgver.tar.gz")
-sha512sums=('3ea969e9e2075e34a915566be906266b408671657e4cecbe47663c28f2212c0522b0f0eb2832fbc4fb906f70c8e53d3cdbe65923dafe53a77545b8126ab539f2')
-
-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-x86_64/PKGBUILD (from rev 393403, python-logbook/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-10-14 09:17:06 UTC (rev 393404)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Tomas Schertel<tschertel at gmail.com>
+
+pkgbase=python-logbook
+pkgname=(python-logbook python2-logbook)
+pkgver=1.4.1
+pkgrel=1
+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=('65c25a427dc932bc659114a65bcd52a42cb5016d706502c780470d89ac95942685a1d3131e6ccbedf7e6296a710ffabe27e2b23823fa723c56f9b26e23f58fa2')
+
+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
+}



More information about the arch-commits mailing list