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

Felix Yan felixonmars at archlinux.org
Mon Nov 9 15:42:24 UTC 2020


    Date: Monday, November 9, 2020 @ 15:42:24
  Author: felixonmars
Revision: 747099

archrelease: copy trunk to community-staging-any

Added:
  python-cycler/repos/community-staging-any/
  python-cycler/repos/community-staging-any/PKGBUILD
    (from rev 747098, python-cycler/trunk/PKGBUILD)

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

Copied: python-cycler/repos/community-staging-any/PKGBUILD (from rev 747098, python-cycler/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-09 15:42:24 UTC (rev 747099)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-cycler
+pkgver=0.10.0
+pkgrel=7
+pkgdesc="Composable style cycles"
+arch=('any')
+license=('BSD')
+url="https://github.com/matplotlib/cycler"
+depends=('python-six')
+makedepends=('python-setuptools')
+checkdepends=('python-nose' 'python-coverage')
+source=("https://github.com/matplotlib/cycler/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('685231d455dfdde70eb71415dfe561e07c34579d7b31ef7197f4c1441301635b387fec903d610b35406b619264f4c0cc616562de8f02b8192414c29274b63c01')
+
+build() {
+  cd cycler-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd cycler-$pkgver
+  python run_tests.py
+}
+
+package() {
+  cd cycler-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}



More information about the arch-commits mailing list