[arch-commits] Commit in python-seaborn/repos (community-any community-any/PKGBUILD)

Andrzej Giniewicz aginiewicz at archlinux.org
Tue Mar 22 09:20:42 UTC 2016


    Date: Tuesday, March 22, 2016 @ 10:20:42
  Author: aginiewicz
Revision: 167886

archrelease: copy trunk to community-any

Added:
  python-seaborn/repos/community-any/
  python-seaborn/repos/community-any/PKGBUILD
    (from rev 167885, python-seaborn/trunk/PKGBUILD)

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

Copied: python-seaborn/repos/community-any/PKGBUILD (from rev 167885, python-seaborn/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2016-03-22 09:20:42 UTC (rev 167886)
@@ -0,0 +1,54 @@
+# $Id$
+# Maintainer: Andrzej Giniewicz <gginiu at gmail.com>
+# Contributor: Oliver Sherouse <oliver DOT sherouse AT gmail DOT com>
+
+pkgbase=python-seaborn
+pkgname=('python2-seaborn' 'python-seaborn')
+pkgver=0.7.0
+pkgrel=1
+pkgdesc="Statistical data visualization"
+arch=('any')
+url="http://stanford.edu/~mwaskom/software/seaborn/"
+license=('BSD')
+makedepends=('python2-setuptools' 'python2-pandas' 'python2-matplotlib' 'python2-scipy'
+             'python-setuptools' 'python-pandas' 'python-matplotlib' 'python-scipy')
+
+source=("https://pypi.python.org/packages/source/s/seaborn/seaborn-$pkgver.tar.gz")
+md5sums=('764c030a9db60ec804b9a506d0a38cd2')
+
+prepare() {
+  cd "$srcdir"
+  cp -a seaborn-${pkgver} seaborn-py2-${pkgver}
+}
+
+build() {
+  msg "Building Python2"
+  cd "$srcdir"/seaborn-py2-${pkgver}
+  python2 setup.py build
+
+  msg "Building Python3"
+  cd "$srcdir"/seaborn-${pkgver}
+  python setup.py build
+}
+
+package_python2-seaborn() {
+  depends=('python2-pandas' 'python2-matplotlib' 'python2-scipy')
+  optdepends=('python2-statsmodels: for some advanced statistical plots')
+
+  cd "$srcdir"/seaborn-py2-${pkgver}
+
+  python2 setup.py install --skip-build --root="$pkgdir" --optimize=1
+
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_python-seaborn() {
+  depends=('python-pandas' 'python-matplotlib' 'python-scipy')
+  optdepends=('python-statsmodels: for some advanced statistical plots')
+
+  cd "$srcdir"/seaborn-${pkgver}
+
+  python setup.py install --skip-build --root="$pkgdir" --optimize=1
+
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}



More information about the arch-commits mailing list