Daniel M. Capella pushed to branch main at Arch Linux / Packaging / Packages /
notmuch
Commits:
6b18976c by Daniel M. Capella at 2024-04-05T18:32:20-04:00
upgpkg: 0.38.3-2: Rebuild for Python 3.12
- - - - -
2 changed files:
- .SRCINFO
- PKGBUILD
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,13 +1,16 @@
pkgbase = notmuch
pkgver = 0.38.3
- pkgrel = 1
+ pkgrel = 2
url = https://notmuchmail.org/
arch = x86_64
license = GPL3
makedepends = python
+ makedepends = python-build
+ makedepends = python-cffi
+ makedepends = python-installer
makedepends = python-setuptools
makedepends = python-sphinx
- makedepends = python-cffi
+ makedepends = python-wheel
makedepends = doxygen
makedepends = emacs
makedepends = gnupg
=====================================
PKGBUILD
=====================================
@@ -9,11 +9,11 @@
pkgbase=notmuch
pkgname=('notmuch' 'notmuch-vim' 'notmuch-mutt' 'notmuch-runtime')
pkgver=0.38.3
-pkgrel=1
+pkgrel=2
arch=('x86_64')
url="https://notmuchmail.org/"
license=('GPL3')
-makedepends=('python' 'python-setuptools' 'python-sphinx' 'python-cffi'
'doxygen' 'emacs' 'gnupg' 'ruby' 'pkgconfig' 'xapian-core' 'gmime3' 'talloc'
'sfsexp')
+makedepends=('python' 'python-build' 'python-cffi' 'python-installer'
'python-setuptools' 'python-sphinx' 'python-wheel' 'doxygen' 'emacs' 'gnupg'
'ruby' 'pkgconfig' 'xapian-core' 'gmime3' 'talloc' 'sfsexp')
options=(!distcc !makeflags)
source=("https://notmuchmail.org/releases/${pkgname}-${pkgver}.tar.xz"{,.asc})
sha512sums=('247f8b365a75b29df719403bc2c9645eb669a7ee6eb4c1e0047dcf55fea4d66c8dcb4899162b952643aa6148ec6e1538ebe3e7e8408376153165e394084aed19'
@@ -31,10 +31,10 @@ build() {
make ruby-bindings
cd "$srcdir/$pkgbase-$pkgver/bindings/python"
- python setup.py build
+ python -m build --wheel --skip-dependency-check --no-isolation
cd "$srcdir/$pkgbase-$pkgver/bindings/python-cffi"
- python setup.py build
+ python -m build --wheel --skip-dependency-check --no-isolation
}
package_notmuch-runtime(){
@@ -86,10 +86,10 @@ package_notmuch(){
# Install python bindings
cd "$srcdir/$pkgbase-$pkgver/bindings/python"
- python setup.py install --root="$pkgdir" --optimize=1
+ python -m installer --destdir="$pkgdir" dist/*.whl
cd "$srcdir/$pkgbase-$pkgver/bindings/python-cffi"
- python setup.py install --root="$pkgdir" --optimize=1
+ python -m installer --destdir="$pkgdir" dist/*.whl
# Remove mimeinfo.cache (fixes FS#53629).
rm "$pkgdir/usr/share/applications/mimeinfo.cache"
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/notmuch/-/commit/6b18976c30235935ca0a6ea3a6f1531dead59a42
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/notmuch/-/commit/6b18976c30235935ca0a6ea3a6f1531dead59a42
You're receiving this email because of your account on gitlab.archlinux.org.