summaryrefslogtreecommitdiff
path: root/PKGBUILD
diff options
context:
space:
mode:
authorDennis Fink2025-09-28 14:55:33 +0200
committerDennis Fink2025-09-28 14:55:33 +0200
commit8b5ed45bac5ae2966217b3300b8912ed79f66918 (patch)
treecb3c311b68d5d49d8c7c90da85ab57211afa9768 /PKGBUILD
parentc8694bdd3753c90da88338d9f3153192d5babc0a (diff)
parentc7f602eb1015337d4a9ddb9c99afcb7b96efab77 (diff)
downloadpatternutils-8b5ed45bac5ae2966217b3300b8912ed79f66918.tar.gz
patternutils-8b5ed45bac5ae2966217b3300b8912ed79f66918.zip
Merge
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD/PKGBUILD19
1 files changed, 8 insertions, 11 deletions
diff --git a/PKGBUILD/PKGBUILD b/PKGBUILD/PKGBUILD
index 42ca51b..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
-pkgrel=1
+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
}