Date: Monday, November 4, 2019 @ 08:37:17
  Author: felixonmars
Revision: 523780

archrelease: copy trunk to community-staging-any

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

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

Copied: python-seaborn/repos/community-staging-any/PKGBUILD (from rev 523779, 
python-seaborn/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD                              (rev 0)
+++ community-staging-any/PKGBUILD      2019-11-04 08:37:17 UTC (rev 523780)
@@ -0,0 +1,29 @@
+# Maintainer: Andrzej Giniewicz <[email protected]>
+# Contributor: Oliver Sherouse <oliver DOT sherouse AT gmail DOT com>
+
+pkgname='python-seaborn'
+pkgver=0.9.0
+pkgrel=5
+pkgdesc="Statistical data visualization"
+arch=('any')
+url="https://seaborn.pydata.org/";
+license=('BSD')
+depends=('python-pandas' 'python-matplotlib' 'python-scipy')
+makedepends=('python-setuptools')
+optdepends=('python-statsmodels: for some advanced statistical plots'
+             'python-beautifulsoup4: for getting dataset names')
+source=("https://github.com/mwaskom/seaborn/archive/v${pkgver}.tar.gz";)
+sha256sums=('e2910b86f719ceecd09350071cb68e7531d236d087d04515b961363dd7208e6f')
+
+build() {
+  cd "$srcdir"/seaborn-${pkgver}
+  python setup.py build
+}
+
+package() {
+  cd "$srcdir"/seaborn-${pkgver}
+
+  python setup.py install --skip-build --root="$pkgdir" --optimize=1
+
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}

Reply via email to