upgpkg: python-pystray 0.19.5-2
switched to PEP 517
This commit is contained in:
@@ -1,13 +1,15 @@
|
|||||||
pkgbase = python-pystray
|
pkgbase = python-pystray
|
||||||
pkgdesc = Allows to create a system tray icon
|
pkgdesc = Allows to create a system tray icon
|
||||||
pkgver = 0.19.5
|
pkgver = 0.19.5
|
||||||
pkgrel = 1
|
pkgrel = 2
|
||||||
url = https://github.com/moses-palmer/pystray
|
url = https://github.com/moses-palmer/pystray
|
||||||
arch = any
|
arch = any
|
||||||
license = GPL3
|
license = GPL3
|
||||||
makedepends = python-setuptools
|
makedepends = python-build
|
||||||
makedepends = python-pip
|
makedepends = python-installer
|
||||||
makedepends = python-wheel
|
makedepends = python-wheel
|
||||||
|
makedepends = python-setuptools
|
||||||
|
makedepends = python-sphinx
|
||||||
depends = python-six
|
depends = python-six
|
||||||
depends = python-pillow
|
depends = python-pillow
|
||||||
depends = python-xlib>=0.17
|
depends = python-xlib>=0.17
|
||||||
|
@@ -4,22 +4,22 @@
|
|||||||
|
|
||||||
pkgname="python-pystray"
|
pkgname="python-pystray"
|
||||||
pkgver=0.19.5
|
pkgver=0.19.5
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
arch=(any)
|
arch=(any)
|
||||||
license=(GPL3)
|
license=(GPL3)
|
||||||
pkgdesc="Allows to create a system tray icon"
|
pkgdesc="Allows to create a system tray icon"
|
||||||
url="https://github.com/moses-palmer/pystray"
|
url="https://github.com/moses-palmer/pystray"
|
||||||
depends=(python-six python-pillow 'python-xlib>=0.17' libappindicator-gtk3 python-gobject)
|
depends=(python-six python-pillow 'python-xlib>=0.17' libappindicator-gtk3 python-gobject)
|
||||||
makedepends=(python-setuptools python-pip python-wheel)
|
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::https://github.com/moses-palmer/pystray/archive/v${pkgver}.tar.gz")
|
||||||
b2sums=('34bea3d14cfde7ee7a7d2594da2386265fba34b36f4699b5877ea393dbf7e844fe441a1bda384bb6b3f279a544cba897e04509f7c47d69cb5168793665ae73d4')
|
b2sums=('34bea3d14cfde7ee7a7d2594da2386265fba34b36f4699b5877ea393dbf7e844fe441a1bda384bb6b3f279a544cba897e04509f7c47d69cb5168793665ae73d4')
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "pystray-$pkgver"
|
cd "pystray-$pkgver"
|
||||||
python setup.py build
|
python -m build --wheel --no-isolation
|
||||||
}
|
}
|
||||||
|
|
||||||
package_python-pystray() {
|
package_python-pystray() {
|
||||||
cd "pystray-$pkgver"
|
cd "pystray-$pkgver"
|
||||||
python setup.py install --root="$pkgdir" --optimize=1
|
python -m installer --destdir="$pkgdir" dist/*.whl
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user