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

Felix Yan felixonmars at gemini.archlinux.org
Thu Mar 17 21:12:54 UTC 2022


    Date: Thursday, March 17, 2022 @ 21:12:54
  Author: felixonmars
Revision: 1157106

upgpkg: python-cycler 0.11.0-1

Modified:
  python-cycler/trunk/PKGBUILD

----------+
 PKGBUILD |   12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-03-17 21:12:50 UTC (rev 1157105)
+++ PKGBUILD	2022-03-17 21:12:54 UTC (rev 1157106)
@@ -1,8 +1,8 @@
 # Maintainer: Felix Yan <felixonmars at archlinux.org>
 
 pkgname=python-cycler
-pkgver=0.10.0
-pkgrel=10
+pkgver=0.11.0
+pkgrel=1
 pkgdesc="Composable style cycles"
 arch=('any')
 license=('BSD')
@@ -9,9 +9,9 @@
 url="https://github.com/matplotlib/cycler"
 depends=('python-six')
 makedepends=('python-setuptools')
-checkdepends=('python-nose' 'python-coverage')
+checkdepends=('python-pytest')
 source=("https://github.com/matplotlib/cycler/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
-sha512sums=('685231d455dfdde70eb71415dfe561e07c34579d7b31ef7197f4c1441301635b387fec903d610b35406b619264f4c0cc616562de8f02b8192414c29274b63c01')
+sha512sums=('cdf91b861d20710b3d77ad105e54668fafa4be69e566d6a09683c638a35aa423b542a141ca0bbffd7a6cd30c8e2a629d578be88648ab9f38a0c43405f2f39613')
 
 build() {
   cd cycler-$pkgver
@@ -20,11 +20,11 @@
 
 check() {
   cd cycler-$pkgver
-  python run_tests.py
+  pytest
 }
 
 package() {
   cd cycler-$pkgver
   python setup.py install --root="$pkgdir" --optimize=1
-  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
 }



More information about the arch-commits mailing list