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

Felix Yan felixonmars at gemini.archlinux.org
Tue Nov 30 20:22:57 UTC 2021


    Date: Tuesday, November 30, 2021 @ 20:22:56
  Author: felixonmars
Revision: 1058151

archrelease: copy trunk to community-staging-any

Added:
  python-json-logger/repos/community-staging-any/
  python-json-logger/repos/community-staging-any/PKGBUILD
    (from rev 1058149, python-json-logger/trunk/PKGBUILD)

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

Copied: python-json-logger/repos/community-staging-any/PKGBUILD (from rev 1058149, python-json-logger/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2021-11-30 20:22:56 UTC (rev 1058151)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-json-logger
+pkgver=2.0.2
+pkgrel=2
+pkgdesc='A python library adding a json log formatter'
+arch=('any')
+license=('BSD')
+url='https://github.com/madzak/python-json-logger'
+depends=('python')
+makedepends=('python-setuptools')
+source=("https://github.com/madzak/python-json-logger/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('ccdd88237bd05cb5b005856185ad54160e15bca3126c42484cd556d9fa0ea213bb4cee156bc741c47515f5d09e0e76e8fb61ba3a34fe54199242a54389c4119d')
+
+build() {
+  cd python-json-logger-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd python-json-logger-$pkgver
+  python setup.py test
+}
+
+package() {
+  cd python-json-logger-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list