[arch-commits] Commit in python-structlog/repos/community-any (PKGBUILD PKGBUILD)

Chih-Hsuan Yen yan12125 at archlinux.org
Sun Jul 5 16:03:29 UTC 2020


    Date: Sunday, July 5, 2020 @ 16:03:27
  Author: yan12125
Revision: 657890

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-07-05 16:03:08 UTC (rev 657889)
+++ PKGBUILD	2020-07-05 16:03:27 UTC (rev 657890)
@@ -1,30 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=python-structlog
-pkgver=20.1.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' '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"/build/lib pytest
-}
-
-package() {
-  cd structlog-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
-}

Copied: python-structlog/repos/community-any/PKGBUILD (from rev 657889, python-structlog/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-07-05 16:03:27 UTC (rev 657890)
@@ -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=2
+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