[arch-commits] Commit in python-structlog/repos (2 files)

Felix Yan felixonmars at archlinux.org
Thu Oct 17 18:21:44 UTC 2019


    Date: Thursday, October 17, 2019 @ 18:21:43
  Author: felixonmars
Revision: 516534

archrelease: copy trunk to community-testing-any

Added:
  python-structlog/repos/community-testing-any/
  python-structlog/repos/community-testing-any/PKGBUILD
    (from rev 516533, python-structlog/trunk/PKGBUILD)

----------+
 PKGBUILD |   30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

Copied: python-structlog/repos/community-testing-any/PKGBUILD (from rev 516533, python-structlog/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD	                        (rev 0)
+++ community-testing-any/PKGBUILD	2019-10-17 18:21:43 UTC (rev 516534)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-structlog
+pkgver=19.2.0
+pkgrel=1
+pkgdesc="Structured Logging for Python"
+url="https://www.structlog.org"
+license=('Apache')
+arch=('any')
+depends=('python-six')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest' 'python-freezegun' 'python-pretend' 'python-simplejson'
+              'python-twisted' 'python-rapidjson' 'python-greenlet')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/hynek/structlog/archive/$pkgver.tar.gz")
+sha512sums=('a000601477c155545ff359b8cd4439508cbc28809aa7216395bf2bc85539da481224aa6f265f801ada0a52e03574957bf384718e6793efe697125bf467ffcd7a')
+
+build() {
+  cd structlog-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd structlog-$pkgver
+  PYTHONPATH="$PWD"/build/lib pytest
+}
+
+package() {
+  cd structlog-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+}



More information about the arch-commits mailing list