summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDennis Fink2025-07-14 14:59:08 +0200
committerDennis Fink2025-07-14 14:59:08 +0200
commit42731192deaaf7265fac89bbe62526c6373e9bf4 (patch)
tree86e4885aac6731e9150e068fc58747bbd20ceb2d
parentfd05c120f5fc0db663c3a9b7a99c0b9c2216cbcb (diff)
downloadpatternutils-42731192deaaf7265fac89bbe62526c6373e9bf4.tar.gz
patternutils-42731192deaaf7265fac89bbe62526c6373e9bf4.zip
Update PKGBUILD
Diffstat (limited to '')
-rw-r--r--PKGBUILD/PKGBUILD17
1 files changed, 7 insertions, 10 deletions
diff --git a/PKGBUILD/PKGBUILD b/PKGBUILD/PKGBUILD
index c4aeba8..c4d66af 100644
--- a/PKGBUILD/PKGBUILD
+++ b/PKGBUILD/PKGBUILD
@@ -1,26 +1,23 @@
# Maintainer: Dennis Fink <dennis.fink@c3l.lu>
pkgname=patternutils
-pkgver=0.0.12
+pkgver=0.0.13
pkgrel=2
pkgdesc="Combine regular expressions with template engines in a powerful matter."
arch=('any')
url="https://projects.metalgamer.eu/patternutils"
license=('GPL3')
-depends=('python' 'python-click' 'python-jinja' 'python-pygments' 'python-feedparser')
-source=('https://download.metalgamer.eu/patternutils/patternutils-0.0.12.tar.gz')
-sha512sums=('2d39fce29eda388436f2c11da1df8016436f0441e1c77c53aa1b7fa863e7862073629ee4dfb7d082abea0b70760c2535554fec0a0bfc6cd8674f688c6f37c771')
-
-prepare() {
- sed -i 's/==/>=/g' "$srcdir/$pkgname-$pkgver/setup.py"
-}
+depends=('python' 'python-click' 'python-jinja' 'python-pygments' 'python-feedparser' 'python-pymediainfo')
+makedepends=(python-build python-installer python-wheel)
+source=('https://download.metalgamer.eu/patternutils/patternutils-0.0.13.tar.gz')
+sha512sums=('b7dd8562a14193bbe04002b0f4073f03a424633ba6effb483fac01c511dcec6fbd092120d9b4b0f728adefe273d21bec4d3cc754ce26c46a5cc06fa1f05b1043')
build() {
cd "$srcdir/$pkgname-$pkgver"
- python setup.py build
+ python -m build --wheel --no-isolation
}
package() {
cd "$srcdir/$pkgname-$pkgver"
- python setup.py install --root="$pkgdir" --optimize=1
+ python -m installer --destdir="$pkgdir" dist/*.whl
}