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

Felix Yan felixonmars at archlinux.org
Thu Nov 12 19:07:36 UTC 2020


    Date: Thursday, November 12, 2020 @ 19:07:36
  Author: felixonmars
Revision: 753346

archrelease: copy trunk to community-staging-any

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

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

Copied: python-colorcet/repos/community-staging-any/PKGBUILD (from rev 753345, python-colorcet/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-12 19:07:36 UTC (rev 753346)
@@ -0,0 +1,25 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+
+_pkg=colorcet
+pkgname=python-${_pkg}
+pkgver=2.0.2
+pkgrel=3
+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://files.pythonhosted.org/packages/source/${_pkg::1}/${_pkg}/${_pkg}-${pkgver}.tar.gz)
+sha256sums=('514813790a74b578c3eaff76b2102274c2ba8b0239c9504586df685223007dee')
+
+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}
+}



More information about the arch-commits mailing list