diff options
author | Will Handley | 2022-06-07 21:22:11 +0100 |
---|---|---|
committer | Will Handley | 2022-06-07 21:22:11 +0100 |
commit | 91502a9d855ec013e4c727165b0e2a0104539387 (patch) | |
tree | 1d1c0bb80ee5ffd45e367a9514c5b033ddccf7b1 | |
parent | 4ffc256f5e559a6db5c9518b24cb39771faf54b9 (diff) | |
download | aur-91502a9d855ec013e4c727165b0e2a0104539387.tar.gz |
Updated
-rw-r--r-- | .SRCINFO | 7 | ||||
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | PKGBUILD | 20 |
3 files changed, 17 insertions, 11 deletions
@@ -1,14 +1,13 @@ pkgbase = python-texsoup pkgdesc = Python3 package for searching, navigating, and modifying LaTeX documents using BeautifulSoup-esque idioms pkgver = 0.3.1 - pkgrel = 2 + pkgrel = 4 url = https://github.com/alvinwan/TexSoup arch = any license = BSD makedepends = python-setuptools options = !emptydirs - source = https://github.com/alvinwan/TexSoup/archive/0.3.1.tar.gz - sha256sums = 3c093e9634675436ff0cfcc9cd116722577613957b11a6285518f51c39a90784 + source = https://files.pythonhosted.org/packages/source/T/TexSoup/TexSoup-0.3.1.tar.gz + sha256sums = 3f6b2ad0abe3688a6656f544c1ba04d0eb25f423f8c377b7369f9ce061ddb70b pkgname = python-texsoup - diff --git a/.gitignore b/.gitignore index b20752a93bec..58d2cafa3542 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ *.tar.gz +*.tar.zst *.tar.xz pkg/ src/ @@ -1,8 +1,8 @@ # Maintainer: Will Handley <wh260@cam.ac.uk> (aur.archlinux.org/account/wjhandley) -_modulename=texsoup -pkgname=python-$_modulename +pkgname=python-texsoup +_name=TexSoup pkgver=0.3.1 -pkgrel=2 +pkgrel=4 pkgdesc="Python3 package for searching, navigating, and modifying LaTeX documents using BeautifulSoup-esque idioms" arch=(any) url="https://github.com/alvinwan/TexSoup" @@ -16,9 +16,15 @@ replaces=() backup=() options=(!emptydirs) install= -source=("${url}/archive/${pkgver}.tar.gz") -sha256sums=('3c093e9634675436ff0cfcc9cd116722577613957b11a6285518f51c39a90784') +source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz") +sha256sums=(3f6b2ad0abe3688a6656f544c1ba04d0eb25f423f8c377b7369f9ce061ddb70b) +build() { + cd "$srcdir/$_name-$pkgver" + python -m build --wheel --no-isolation +} + package() { - cd "$srcdir/TexSoup-$pkgver/" - python setup.py install --root="$pkgdir/" --optimize=1 + cd "$srcdir/$_name-$pkgver" + python -m installer --destdir="$pkgdir" dist/*.whl } + |