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

Bruno Pagani archange at gemini.archlinux.org
Sun Dec 5 12:42:41 UTC 2021


    Date: Sunday, December 5, 2021 @ 12:42:40
  Author: archange
Revision: 1065145

upgpkg: python-colorcet 3.0.0-1

Modified:
  python-colorcet/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-12-05 12:40:33 UTC (rev 1065144)
+++ PKGBUILD	2021-12-05 12:42:40 UTC (rev 1065145)
@@ -2,8 +2,8 @@
 
 _pkg=colorcet
 pkgname=python-${_pkg}
-pkgver=2.0.5
-pkgrel=2
+pkgver=3.0.0
+pkgrel=1
 pkgdesc="Set of useful perceptually uniform colormaps for plotting scientific data"
 arch=(any)
 url="https://colorcet.holoviz.org/"
@@ -10,9 +10,10 @@
 license=(BSD)
 depends=(python-param python-pyct)
 makedepends=(python-setuptools)
+checkdepends=(python-pytest)
 source=(https://github.com/holoviz/colorcet/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
 #source=(https://files.pythonhosted.org/packages/source/${_pkg::1}/${_pkg}/${_pkg}-${pkgver}.tar.gz)
-sha256sums=('dbd9fd99a7a4753f104f272e8b17f5279d8c94fa0bb4d0a4e147f0e44004c670')
+sha256sums=('eac2282cc10af1a8bf07321969972cccde923933e28a6d70a6f6c628c1d05126')
 
 build() {
   cd ${_pkg}-${pkgver}
@@ -19,6 +20,11 @@
   python setup.py build
 }
 
+check() {
+  cd ${_pkg}-${pkgver}
+  pytest --color=yes colorcet
+}
+
 package() {
   cd ${_pkg}-${pkgver}
   python setup.py install --prefix=/usr --root="${pkgdir}" --skip-build --optimize=1



More information about the arch-commits mailing list