Date: Thursday, September 6, 2018 @ 18:20:20 Author: aginiewicz Revision: 377853
archrelease: copy trunk to community-any Added: python-seaborn/repos/community-any/PKGBUILD (from rev 377852, python-seaborn/trunk/PKGBUILD) Deleted: python-seaborn/repos/community-any/PKGBUILD ----------+ PKGBUILD | 108 +++++++++++++++++++++++++++++++------------------------------ 1 file changed, 55 insertions(+), 53 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2018-09-06 18:20:12 UTC (rev 377852) +++ PKGBUILD 2018-09-06 18:20:20 UTC (rev 377853) @@ -1,53 +0,0 @@ -# $Id$ -# Maintainer: Andrzej Giniewicz <ggi...@gmail.com> -# Contributor: Oliver Sherouse <oliver DOT sherouse AT gmail DOT com> - -pkgbase=python-seaborn -pkgname=('python2-seaborn' 'python-seaborn') -pkgver=0.9.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://github.com/mwaskom/seaborn/archive/v${pkgver}.tar.gz") -md5sums=('282d7585de011a5f400ce052aa5afdf4') - -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 -} Copied: python-seaborn/repos/community-any/PKGBUILD (from rev 377852, python-seaborn/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2018-09-06 18:20:20 UTC (rev 377853) @@ -0,0 +1,55 @@ +# $Id$ +# Maintainer: Andrzej Giniewicz <ggi...@gmail.com> +# Contributor: Oliver Sherouse <oliver DOT sherouse AT gmail DOT com> + +pkgbase=python-seaborn +pkgname=('python2-seaborn' 'python-seaborn') +pkgver=0.9.0 +pkgrel=2 +pkgdesc="Statistical data visualization" +arch=('any') +url="http://stanford.edu/~mwaskom/software/seaborn/" +license=('BSD') +makedepends=('python2-setuptools' 'python2-pandas' 'python2-matplotlib' 'python2-scipy' 'python2-beautifulsoup4' + 'python-setuptools' 'python-pandas' 'python-matplotlib' 'python-scipy' 'python-beautifulsoup4') +source=("https://github.com/mwaskom/seaborn/archive/v${pkgver}.tar.gz") +md5sums=('282d7585de011a5f400ce052aa5afdf4') + +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' + 'python2-beautifulsoup4: for getting dataset names') + + 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' + 'python-beautifulsoup4: for getting dataset names') + + cd "$srcdir"/seaborn-${pkgver} + + python setup.py install --skip-build --root="$pkgdir" --optimize=1 + + install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +}