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

Felix Yan felixonmars at archlinux.org
Tue Mar 10 21:43:02 UTC 2020


    Date: Tuesday, March 10, 2020 @ 21:43:01
  Author: felixonmars
Revision: 593961

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   66 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 33 insertions(+), 33 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-03-10 21:42:47 UTC (rev 593960)
+++ PKGBUILD	2020-03-10 21:43:01 UTC (rev 593961)
@@ -1,33 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=python-daiquiri
-pkgver=2.0.0
-pkgrel=1
-pkgdesc='Library to configure Python logging easily'
-arch=('any')
-license=('Apache')
-url='https://github.com/jd/daiquiri'
-depends=('python-json-logger')
-makedepends=('python-pbr')
-checkdepends=('python-testrepository' 'python-testtools' 'python-json-logger' 'python-mock')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/jd/daiquiri/archive/$pkgver.tar.gz")
-sha512sums=('9220a616ede2f0a672fdd715fb9884b8366696b41e15d21cdfbf42b35ccae75b5b0f46009921591e33ba74d05425d3bdc4211726ce3cc975ce28f61ad7ad5c30')
-
-export PBR_VERSION=$pkgver
-
-build() {
-  cd "$srcdir"/daiquiri-$pkgver
-  python setup.py build
-}
-
-check() {
-  cd "$srcdir"/daiquiri-$pkgver
-  python setup.py testr
-}
-
-package() {
-  cd daiquiri-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
-}
-
-# vim:set ts=2 sw=2 et:

Copied: python-daiquiri/repos/community-any/PKGBUILD (from rev 593960, python-daiquiri/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-03-10 21:43:01 UTC (rev 593961)
@@ -0,0 +1,33 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-daiquiri
+pkgver=2.1.0
+pkgrel=1
+pkgdesc='Library to configure Python logging easily'
+arch=('any')
+license=('Apache')
+url='https://github.com/jd/daiquiri'
+depends=('python-json-logger')
+makedepends=('python-setuptools-scm')
+checkdepends=('python-pytest' 'python-mock')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/jd/daiquiri/archive/$pkgver.tar.gz")
+sha512sums=('2597a4961dc939a59cc9ee88f8d219052b4cdf9d90f025eba4462842623fba76dabcb93880fd18b103ba5fbe988060f2d1d8ac97060adff7b05ac8826c36fe56')
+
+export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
+
+build() {
+  cd daiquiri-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd daiquiri-$pkgver
+  python -m pytest
+}
+
+package() {
+  cd daiquiri-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list