[arch-commits] Commit in python-colorcet/repos/community-any (PKGBUILD PKGBUILD)
Bruno Pagani
archange at archlinux.org
Wed Oct 2 17:32:39 UTC 2019
Date: Wednesday, October 2, 2019 @ 17:32:38
Author: archange
Revision: 512446
archrelease: copy trunk to community-any
Added:
python-colorcet/repos/community-any/PKGBUILD
(from rev 512445, python-colorcet/trunk/PKGBUILD)
Deleted:
python-colorcet/repos/community-any/PKGBUILD
----------+
PKGBUILD | 88 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 44 insertions(+), 44 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-10-02 17:32:25 UTC (rev 512445)
+++ PKGBUILD 2019-10-02 17:32:38 UTC (rev 512446)
@@ -1,44 +0,0 @@
-# Maintainer: Bruno Pagani <archange at archlinux.org>
-
-_pkg=colorcet
-pkgbase=python-${_pkg,,}
-pkgname=("python-${_pkg,,}" "python2-${_pkg,,}")
-pkgver=2.0.1
-pkgrel=1
-pkgdesc="Set of useful perceptually uniform colormaps for plotting scientific data"
-arch=(any)
-url="https://colorcet.pyviz.org/"
-license=(BSD)
-makedepends=(python-setuptools python-param python-pyct python2-setuptools python2-param python2-pyct)
-source=("https://files.pythonhosted.org/packages/source/c/${_pkg}/${_pkg}-${pkgver}.tar.gz")
-sha256sums=('ab1d16aba97f54af190631c7777c356b04b53de549672ff6b01c66d716eddff3')
-
-prepare() {
- cp -a ${_pkg}-${pkgver}{,-py2}
-}
-
-build() {
- cd ${_pkg}-${pkgver}
- python setup.py build
-
- cd ../${_pkg}-${pkgver}-py2
- python2 setup.py build
-}
-
-package_python-colorcet() {
- depends=(python-param python-pyct)
- 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}
-}
-
-package_python2-colorcet() {
- depends=(python2-param python2-pyct)
- cd ${_pkg}-${pkgver}-py2
- python2 setup.py install --prefix=/usr --root="${pkgdir}" --skip-build --optimize=1
-
- mv "${pkgdir}"/usr/bin/colorcet{,2}
-
- install -Dm644 LICENSE.txt -t "${pkgdir}"/usr/share/licenses/${pkgname}
-}
Copied: python-colorcet/repos/community-any/PKGBUILD (from rev 512445, python-colorcet/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-10-02 17:32:38 UTC (rev 512446)
@@ -0,0 +1,44 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+
+_pkg=colorcet
+pkgbase=python-${_pkg,,}
+pkgname=("python-${_pkg,,}" "python2-${_pkg,,}")
+pkgver=2.0.2
+pkgrel=1
+pkgdesc="Set of useful perceptually uniform colormaps for plotting scientific data"
+arch=(any)
+url="https://colorcet.pyviz.org/"
+license=(BSD)
+makedepends=(python-setuptools python-param python-pyct python2-setuptools python2-param python2-pyct)
+source=("https://files.pythonhosted.org/packages/source/c/${_pkg}/${_pkg}-${pkgver}.tar.gz")
+sha256sums=('514813790a74b578c3eaff76b2102274c2ba8b0239c9504586df685223007dee')
+
+prepare() {
+ cp -a ${_pkg}-${pkgver}{,-py2}
+}
+
+build() {
+ cd ${_pkg}-${pkgver}
+ python setup.py build
+
+ cd ../${_pkg}-${pkgver}-py2
+ python2 setup.py build
+}
+
+package_python-colorcet() {
+ depends=(python-param python-pyct)
+ 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}
+}
+
+package_python2-colorcet() {
+ depends=(python2-param python2-pyct)
+ cd ${_pkg}-${pkgver}-py2
+ python2 setup.py install --prefix=/usr --root="${pkgdir}" --skip-build --optimize=1
+
+ mv "${pkgdir}"/usr/bin/colorcet{,2}
+
+ install -Dm644 LICENSE.txt -t "${pkgdir}"/usr/share/licenses/${pkgname}
+}
More information about the arch-commits
mailing list