[arch-commits] Commit in python-structlog/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Tue Nov 10 04:10:46 UTC 2020
Date: Tuesday, November 10, 2020 @ 04:10:46
Author: foutrelis
Revision: 748538
archrelease: copy trunk to community-staging-any
Added:
python-structlog/repos/community-staging-any/
python-structlog/repos/community-staging-any/PKGBUILD
(from rev 748537, python-structlog/trunk/PKGBUILD)
----------+
PKGBUILD | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
Copied: python-structlog/repos/community-staging-any/PKGBUILD (from rev 748537, python-structlog/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2020-11-10 04:10:46 UTC (rev 748538)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Maintainer: Chih-Hsuan Yen <yan12125 at archlinux.org>
+
+pkgname=python-structlog
+pkgver=20.1.0
+pkgrel=3
+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' 'python-pytest-asyncio')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/hynek/structlog/archive/$pkgver.tar.gz")
+sha512sums=('69c390e3a0ce5356b1d08948e5159e0ecf230222b25bb3cc5e4ba4baa5d4e00c21a8d322ac1064f543d98acce2ed0927677886ecfd4cfd3cf8619191baed85fa')
+
+build() {
+ cd structlog-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd structlog-$pkgver
+ PYTHONPATH="$PWD"/src pytest
+}
+
+package() {
+ cd structlog-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+}
More information about the arch-commits
mailing list