Date: Thursday, March 14, 2019 @ 08:14:18
  Author: aginiewicz
Revision: 440943

upgpkg: python-seaborn 0.9.0-4

python-seaborn: drop python 2 support

Modified:
  python-seaborn/trunk/PKGBUILD

----------+
 PKGBUILD |   41 ++++++++---------------------------------
 1 file changed, 8 insertions(+), 33 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2019-03-14 07:40:21 UTC (rev 440942)
+++ PKGBUILD    2019-03-14 08:14:18 UTC (rev 440943)
@@ -1,51 +1,26 @@
 # Maintainer: Andrzej Giniewicz <ggi...@gmail.com>
 # Contributor: Oliver Sherouse <oliver DOT sherouse AT gmail DOT com>
 
-pkgbase=python-seaborn
-pkgname=('python2-seaborn' 'python-seaborn')
+pkgname='python-seaborn'
 pkgver=0.9.0
-pkgrel=3
+pkgrel=4
 pkgdesc="Statistical data visualization"
 arch=('any')
 url="https://seaborn.pydata.org/";
 license=('BSD')
-makedepends=('python2-setuptools' 'python2-pandas' 'python2-matplotlib' 
'python2-scipy' 'python2-beautifulsoup4'
-             'python-setuptools' 'python-pandas' 'python-matplotlib' 
'python-scipy' 'python-beautifulsoup4')
+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";)
-sha1sums=('490781eda5d8ff18020aac87b5f9af0d4088c71c')
+sha256sums=('e2910b86f719ceecd09350071cb68e7531d236d087d04515b961363dd7208e6f')
 
-prepare() {
-  cd "$srcdir"
-  cp -a seaborn-${pkgver} seaborn-py2-${pkgver}
-}
-
 build() {
-  # "Building Python2"
-  cd "$srcdir"/seaborn-py2-${pkgver}
-  python2 setup.py build
-
-  # "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')
-
+package() {
   cd "$srcdir"/seaborn-${pkgver}
 
   python setup.py install --skip-build --root="$pkgdir" --optimize=1

Reply via email to