diff options
author | Philipp A | 2022-09-15 12:28:02 +0200 |
---|---|---|
committer | Philipp A | 2022-09-15 12:28:02 +0200 |
commit | abfba73513ec2fd16f468318a05f1b9656e5199e (patch) | |
tree | 41dde601a90f90ec7c1fb0c46b4b448d424bc2fe /PKGBUILD | |
parent | fea9e9ff8cce3afbc527ebe795bc39b3d615190c (diff) | |
download | aur-python-tikzplotlib-git.tar.gz |
deps
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 18 |
1 files changed, 7 insertions, 11 deletions
@@ -1,11 +1,11 @@ # Maintainer: Philipp A. <flying-sheep@web.de> pkgname=python-tikzplotlib-git -pkgver=0.9.16.r2.g1e30229 -pkgrel=3 +pkgver=0.10.1.r2.g450712b +pkgrel=1 pkgdesc="Convert matplotlib figures into TikZ/PGFPlots" -url="https://github.com/nschloe/tikzplotlib" -makedepends=(git python-build) -depends=(python python-matplotlib python-numpy python-pillow) +url="https://github.com/texworld/tikzplotlib" +makedepends=(git python-flit-core python-build python-installer python-wheel) +depends=(python python-matplotlib python-numpy python-pillow python-webcolors) provides=("python-tikzplotlib=$pkgver") conflicts=(python-matplotlib2tikz python-tikzplotlib) replaces=(python-matplotlib2tikz) @@ -21,15 +21,11 @@ pkgver() { build() { cd "$srcdir/tikzplotlib" - python -m build + python -m build --wheel --no-isolation } package() { - local site="$pkgdir/usr/lib/$(readlink /bin/python3)/site-packages" - mkdir -p "$site" - cd "$srcdir/tikzplotlib" - local cleanver="$(git describe --tags --abbrev=0 | sed 's/^v//')" - unzip "dist/tikzplotlib-$cleanver-py3-none-any.whl" -d "$site" + python -m installer --destdir="$pkgdir" dist/*.whl install -Dm644 "LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE" } |