Date: Friday, December 2, 2022 @ 22:20:46
Author: arojas
Revision: 1356273
archrelease: copy trunk to community-any
Added:
python-seaborn/repos/community-any/PKGBUILD
(from rev 1356272, python-seaborn/trunk/PKGBUILD)
Deleted:
python-seaborn/repos/community-any/PKGBUILD
----------+
PKGBUILD | 60 ++++++++++++++++++++++++++++++------------------------------
1 file changed, 30 insertions(+), 30 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-12-02 22:20:37 UTC (rev 1356272)
+++ PKGBUILD 2022-12-02 22:20:46 UTC (rev 1356273)
@@ -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.11.2
-pkgrel=3
-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')
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/mwaskom/seaborn/archive/v${pkgver}.tar.gz")
-sha256sums=('693e3877d7608e08201feb6b99a7c9fce06ecaa88acbb8c3e928bdff9feb8515')
-
-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
-}
Copied: python-seaborn/repos/community-any/PKGBUILD (from rev 1356272,
python-seaborn/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-12-02 22:20:46 UTC (rev 1356273)
@@ -0,0 +1,30 @@
+# 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
+}