Date: Monday, January 2, 2023 @ 23:00:27
  Author: archange
Revision: 1374072

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   64 ++++++++++++++++++++++++++++++++-----------------------------
 1 file changed, 34 insertions(+), 30 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2023-01-02 23:00:15 UTC (rev 1374071)
+++ PKGBUILD    2023-01-02 23:00:27 UTC (rev 1374072)
@@ -1,30 +0,0 @@
-# Maintainer: 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
-pkgrel=1
-pkgdesc="Statistical data visualization"
-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')
-
-build() {
-  cd seaborn-${pkgver}
-  python -m build --wheel --no-isolation
-}
-
-package() {
-  cd seaborn-${pkgver}
-
-  python -m installer --destdir="$pkgdir" dist/*.whl
-
-  install -Dm644 LICENSE.md "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}

Copied: python-seaborn/repos/community-any/PKGBUILD (from rev 1374071, 
python-seaborn/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2023-01-02 23:00:27 UTC (rev 1374072)
@@ -0,0 +1,34 @@
+# Maintainer: Bruno Pagani <[email protected]>
+# Contributor: Andrzej Giniewicz <[email protected]>
+# Contributor: Oliver Sherouse <oliver DOT sherouse AT gmail DOT com>
+
+pkgname=python-seaborn
+pkgver=0.12.2
+pkgrel=1
+pkgdesc="Statistical data visualization"
+arch=(any)
+url="https://seaborn.pydata.org/";
+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
+  python -m build --wheel --no-isolation
+}
+
+check() {
+  cd seaborn-$pkgver
+  pytest -vv --color=yes
+}
+
+package() {
+  cd seaborn-$pkgver
+  python -m installer --destdir="$pkgdir" dist/*.whl
+  install -Dm644 LICENSE.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+}

Reply via email to