Date: Monday, January 2, 2023 @ 23:00:15
  Author: archange
Revision: 1374071

upgpkg: python-seaborn 0.12.2-1

Modified:
  python-seaborn/trunk/PKGBUILD

----------+
 PKGBUILD |   36 ++++++++++++++++++++----------------
 1 file changed, 20 insertions(+), 16 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2023-01-02 22:56:59 UTC (rev 1374070)
+++ PKGBUILD    2023-01-02 23:00:15 UTC (rev 1374071)
@@ -1,30 +1,34 @@
-# Maintainer: Andrzej Giniewicz <[email protected]>
+# Maintainer: Bruno Pagani <[email protected]>
+# Contributor: Andrzej Giniewicz <[email protected]>
 # Contributor: Oliver Sherouse <oliver DOT sherouse AT gmail DOT com>
 
-# TODO: python-fastcluster is optional dependency (move from AUR)
-
 pkgname=python-seaborn
-pkgver=0.12.1
+pkgver=0.12.2
 pkgrel=1
 pkgdesc="Statistical data visualization"
-arch=('any')
+arch=(any)
 url="https://seaborn.pydata.org/";
-license=('BSD')
-depends=('python-pandas' 'python-matplotlib' 'python-scipy')
-makedepends=('python-build' 'python-installer' 'python-flit-core')
-optdepends=('python-statsmodels: for some advanced statistical plots')
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/mwaskom/seaborn/archive/v${pkgver}.tar.gz";)
-sha256sums=('80ffde0de7539fee159266add2ca9ab922fc9bacc3a4ed3d017077387c102d02')
+license=(BSD)
+depends=(python-pandas python-matplotlib)
+makedepends=(python-build python-installer python-flit-core)
+optdepends=('python-scipy: clustering matrices and some advanced options'
+            'python-statsmodels: advanced regression plots')
+checkdepends=(python-pytest python-scipy python-statsmodels)
+source=(https://github.com/mwaskom/seaborn/archive/v$pkgver/$pkgname-$pkgver.tar.gz)
+sha256sums=('e11b9b136b583bbbb8b692dcd23ec539ea58c0325f7502cd049392352b815788')
 
 build() {
-  cd seaborn-${pkgver}
+  cd seaborn-$pkgver
   python -m build --wheel --no-isolation
 }
 
+check() {
+  cd seaborn-$pkgver
+  pytest -vv --color=yes
+}
+
 package() {
-  cd seaborn-${pkgver}
-
+  cd seaborn-$pkgver
   python -m installer --destdir="$pkgdir" dist/*.whl
-
-  install -Dm644 LICENSE.md "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  install -Dm644 LICENSE.md -t "$pkgdir"/usr/share/licenses/$pkgname/
 }

Reply via email to