[arch-commits] Commit in python-daiquiri/trunk (PKGBUILD)

Felix Yan felixonmars at archlinux.org
Tue Mar 10 21:42:49 UTC 2020


    Date: Tuesday, March 10, 2020 @ 21:42:47
  Author: felixonmars
Revision: 593960

upgpkg: python-daiquiri 2.1.0-1

Modified:
  python-daiquiri/trunk/PKGBUILD

----------+
 PKGBUILD |   16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-03-10 21:40:13 UTC (rev 593959)
+++ PKGBUILD	2020-03-10 21:42:47 UTC (rev 593960)
@@ -1,7 +1,7 @@
 # Maintainer: Felix Yan <felixonmars at archlinux.org>
 
 pkgname=python-daiquiri
-pkgver=2.0.0
+pkgver=2.1.0
 pkgrel=1
 pkgdesc='Library to configure Python logging easily'
 arch=('any')
@@ -8,21 +8,21 @@
 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')
+makedepends=('python-setuptools-scm')
+checkdepends=('python-pytest' 'python-mock')
 source=("$pkgname-$pkgver.tar.gz::https://github.com/jd/daiquiri/archive/$pkgver.tar.gz")
-sha512sums=('9220a616ede2f0a672fdd715fb9884b8366696b41e15d21cdfbf42b35ccae75b5b0f46009921591e33ba74d05425d3bdc4211726ce3cc975ce28f61ad7ad5c30')
+sha512sums=('2597a4961dc939a59cc9ee88f8d219052b4cdf9d90f025eba4462842623fba76dabcb93880fd18b103ba5fbe988060f2d1d8ac97060adff7b05ac8826c36fe56')
 
-export PBR_VERSION=$pkgver
+export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
 
 build() {
-  cd "$srcdir"/daiquiri-$pkgver
+  cd daiquiri-$pkgver
   python setup.py build
 }
 
 check() {
-  cd "$srcdir"/daiquiri-$pkgver
-  python setup.py testr
+  cd daiquiri-$pkgver
+  python -m pytest
 }
 
 package() {



More information about the arch-commits mailing list