[arch-commits] Commit in python-colorcet/repos/community-staging-any (2 files)
Bruno Pagani
archange at gemini.archlinux.org
Sun Dec 5 12:43:06 UTC 2021
Date: Sunday, December 5, 2021 @ 12:43:05
Author: archange
Revision: 1065146
archrelease: copy trunk to community-staging-any
Added:
python-colorcet/repos/community-staging-any/PKGBUILD
(from rev 1065145, python-colorcet/trunk/PKGBUILD)
Deleted:
python-colorcet/repos/community-staging-any/PKGBUILD
----------+
PKGBUILD | 58 ++++++++++++++++++++++++++++++++--------------------------
1 file changed, 32 insertions(+), 26 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-12-05 12:42:40 UTC (rev 1065145)
+++ PKGBUILD 2021-12-05 12:43:05 UTC (rev 1065146)
@@ -1,26 +0,0 @@
-# Maintainer: Bruno Pagani <archange at archlinux.org>
-
-_pkg=colorcet
-pkgname=python-${_pkg}
-pkgver=2.0.5
-pkgrel=2
-pkgdesc="Set of useful perceptually uniform colormaps for plotting scientific data"
-arch=(any)
-url="https://colorcet.holoviz.org/"
-license=(BSD)
-depends=(python-param python-pyct)
-makedepends=(python-setuptools)
-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')
-
-build() {
- cd ${_pkg}-${pkgver}
- python setup.py build
-}
-
-package() {
- cd ${_pkg}-${pkgver}
- python setup.py install --prefix=/usr --root="${pkgdir}" --skip-build --optimize=1
- install -Dm644 LICENSE.txt -t "${pkgdir}"/usr/share/licenses/${pkgname}
-}
Copied: python-colorcet/repos/community-staging-any/PKGBUILD (from rev 1065145, python-colorcet/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-12-05 12:43:05 UTC (rev 1065146)
@@ -0,0 +1,32 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+
+_pkg=colorcet
+pkgname=python-${_pkg}
+pkgver=3.0.0
+pkgrel=1
+pkgdesc="Set of useful perceptually uniform colormaps for plotting scientific data"
+arch=(any)
+url="https://colorcet.holoviz.org/"
+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=('eac2282cc10af1a8bf07321969972cccde923933e28a6d70a6f6c628c1d05126')
+
+build() {
+ cd ${_pkg}-${pkgver}
+ 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
+ install -Dm644 LICENSE.txt -t "${pkgdir}"/usr/share/licenses/${pkgname}
+}
More information about the arch-commits
mailing list