[arch-commits] Commit in (4 files)

Andrzej Giniewicz aginiewicz at archlinux.org
Tue Mar 22 09:18:56 UTC 2016


    Date: Tuesday, March 22, 2016 @ 10:18:56
  Author: aginiewicz
Revision: 167884

python-seaborn: moving from AUR

Added:
  python-seaborn/
  python-seaborn/repos/
  python-seaborn/trunk/
  python-seaborn/trunk/PKGBUILD

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

Added: python-seaborn/trunk/PKGBUILD
===================================================================
--- python-seaborn/trunk/PKGBUILD	                        (rev 0)
+++ python-seaborn/trunk/PKGBUILD	2016-03-22 09:18:56 UTC (rev 167884)
@@ -0,0 +1,53 @@
+# $Id$
+# Maintainer: Andrzej Giniewicz <gginiu at gmail.com>
+
+pkgbase=python-seaborn
+pkgname=('python2-seaborn' 'python-seaborn')
+pkgver=0.7.0
+pkgrel=0
+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
+}


Property changes on: python-seaborn/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property



More information about the arch-commits mailing list