upgpkg: python-pystray 0.19.5-3

add missing deps
This commit is contained in:
2024-03-23 20:00:49 +01:00
parent 99b19aed1a
commit 8797144993
2 changed files with 16 additions and 10 deletions

View File

@ -1,10 +1,11 @@
pkgbase = python-pystray
pkgdesc = Allows to create a system tray icon
pkgver = 0.19.5
pkgrel = 2
pkgrel = 3
url = https://github.com/moses-palmer/pystray
arch = any
license = GPL3
license = GPL-3.0-only
license = LGPL-3.0-only
makedepends = python-build
makedepends = python-installer
makedepends = python-wheel
@ -15,6 +16,9 @@ pkgbase = python-pystray
depends = python-xlib>=0.17
depends = libappindicator-gtk3
depends = python-gobject
depends = gtk3
depends = python
depends = gobject-introspection-runtime
source = python-pystray-0.19.5.tar.gz::https://github.com/moses-palmer/pystray/archive/v0.19.5.tar.gz
b2sums = 34bea3d14cfde7ee7a7d2594da2386265fba34b36f4699b5877ea393dbf7e844fe441a1bda384bb6b3f279a544cba897e04509f7c47d69cb5168793665ae73d4

View File

@ -4,22 +4,24 @@
pkgname=python-pystray
pkgver=0.19.5
pkgrel=2
pkgrel=3
arch=(any)
license=(GPL3)
pkgdesc="Allows to create a system tray icon"
url="https://github.com/moses-palmer/pystray"
depends=(python-six python-pillow 'python-xlib>=0.17' libappindicator-gtk3 python-gobject)
license=(GPL-3.0-only LGPL-3.0-only)
pkgdesc='Allows to create a system tray icon'
url='https://github.com/moses-palmer/pystray'
depends=(python-six python-pillow 'python-xlib>=0.17' libappindicator-gtk3 python-gobject gtk3 python gobject-introspection-runtime)
makedepends=(python-build python-installer python-wheel python-setuptools python-sphinx)
source=("$pkgname-$pkgver.tar.gz::https://github.com/moses-palmer/pystray/archive/v${pkgver}.tar.gz")
source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
b2sums=('34bea3d14cfde7ee7a7d2594da2386265fba34b36f4699b5877ea393dbf7e844fe441a1bda384bb6b3f279a544cba897e04509f7c47d69cb5168793665ae73d4')
build() {
cd "pystray-$pkgver"
cd pystray-$pkgver
python -m build --wheel --no-isolation
}
package_python-pystray() {
cd "pystray-$pkgver"
cd pystray-$pkgver
python -m installer --destdir="$pkgdir" dist/*.whl
}
# vim:set ts=2 sw=2 et: