diff options
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | .gitignore | 2 | ||||
-rw-r--r-- | PKGBUILD | 18 |
3 files changed, 17 insertions, 17 deletions
@@ -1,21 +1,25 @@ pkgbase = python-tikzplotlib-git pkgdesc = Convert matplotlib figures into TikZ/PGFPlots - pkgver = 0.9.16.r2.g1e30229 - pkgrel = 3 - url = https://github.com/nschloe/tikzplotlib + pkgver = 0.10.1.r2.g450712b + pkgrel = 1 + url = https://github.com/texworld/tikzplotlib arch = any license = MIT makedepends = git + makedepends = python-flit-core makedepends = python-build + makedepends = python-installer + makedepends = python-wheel depends = python depends = python-matplotlib depends = python-numpy depends = python-pillow - provides = python-tikzplotlib=0.9.16.r2.g1e30229 + depends = python-webcolors + provides = python-tikzplotlib=0.10.1.r2.g450712b conflicts = python-matplotlib2tikz conflicts = python-tikzplotlib replaces = python-matplotlib2tikz - source = tikzplotlib::git+https://github.com/nschloe/tikzplotlib.git + source = tikzplotlib::git+https://github.com/texworld/tikzplotlib.git sha256sums = SKIP pkgname = python-tikzplotlib-git diff --git a/.gitignore b/.gitignore index bd122a328faf..6e96c4e10c4a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,4 @@ /src/ /pkg/ /tikzplotlib/ -/*.pkg.tar.xz +/*.pkg.* @@ -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" } |