Balló György pushed to branch main at Arch Linux / Packaging / Packages /
mailnag-goa-plugin
Commits:
6676d59e by Balló György at 2026-08-19T02:44:07+02:00
upgpkg: 2.0.0-8: Use PEP 517 for building, switch to git source, add transivite
deps, specify SPDX license
- - - - -
2 changed files:
- .SRCINFO
- PKGBUILD
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,14 +1,20 @@
pkgbase = mailnag-goa-plugin
pkgdesc = Mailnag GNOME Online Accounts plugin
pkgver = 2.0.0
- pkgrel = 7
+ pkgrel = 8
url = https://github.com/pulb/mailnag-goa-plugin
arch = any
- license = GPL
+ license = GPL-2.0-or-later
+ makedepends = git
+ makedepends = python-build
+ makedepends = python-installer
makedepends = python-setuptools
+ makedepends = python-wheel
depends = gnome-online-accounts
+ depends = libgoa
depends = mailnag
- source =
https://github.com/pulb/mailnag-goa-plugin/archive/v2.0.0/mailnag-goa-plugin-2.0.0.tar.gz
- sha256sums =
8adfbd21d9c42243381856c2d46b1c97ec35c48fad5a0057e7b7e5c54bf7a45c
+ depends = python-gobject
+ source = git+https://github.com/pulb/mailnag-goa-plugin.git#tag=v2.0.0
+ b2sums =
f05f6d821dbb4e7a7ea9db9e372c342b22855116ca3067bc3b9b860a11266c21a874d07a958fbbcb188161b6aa9f571125e689beda1a9d4f9cb75e800e7178e9
pkgname = mailnag-goa-plugin
=====================================
PKGBUILD
=====================================
@@ -3,22 +3,37 @@
pkgname=mailnag-goa-plugin
pkgver=2.0.0
-pkgrel=7
+pkgrel=8
pkgdesc='Mailnag GNOME Online Accounts plugin'
-arch=('any')
+arch=(any)
url='https://github.com/pulb/mailnag-goa-plugin'
-license=('GPL')
-depends=('gnome-online-accounts' 'mailnag')
-makedepends=('python-setuptools')
-source=("https://github.com/pulb/$pkgname/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
-sha256sums=('8adfbd21d9c42243381856c2d46b1c97ec35c48fad5a0057e7b7e5c54bf7a45c')
+license=(GPL-2.0-or-later)
+depends=(
+ gnome-online-accounts
+ libgoa
+ mailnag
+ python-gobject
+)
+makedepends=(
+ git
+ python-build
+ python-installer
+ python-setuptools
+ python-wheel
+)
+source=("git+https://github.com/pulb/mailnag-goa-plugin.git#tag=v$pkgver")
+b2sums=(f05f6d821dbb4e7a7ea9db9e372c342b22855116ca3067bc3b9b860a11266c21a874d07a958fbbcb188161b6aa9f571125e689beda1a9d4f9cb75e800e7178e9)
build() {
- cd $pkgname-$pkgver
- python setup.py build
+ cd $pkgname
+
+ mkdir -p "build/plugins"
+ cp -a goaplugin.py "build/plugins"
+
+ python -m build --wheel --no-isolation
}
package() {
- cd $pkgname-$pkgver
- python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+ cd $pkgname
+ python -m installer --destdir="$pkgdir" dist/*.whl
}
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/mailnag-goa-plugin/-/commit/6676d59e8ceb30882149b1e6fb198731eb15199a
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/mailnag-goa-plugin/-/commit/6676d59e8ceb30882149b1e6fb198731eb15199a
You're receiving this email because of your account on gitlab.archlinux.org.
Manage all notifications: https://gitlab.archlinux.org/-/profile/notifications
| Help: https://gitlab.archlinux.org/help