Package Details: python-pystray 0.15.0-1

Git Clone URL: https://aur.archlinux.org/python-pystray.git (read-only, click to copy)
Package Base: python-pystray
Description: Provides systray integration.
Upstream URL: https://github.com/moses-palmer/pystray
Keywords: python systray
Licenses: GPL
Submitter: nicoulaj
Maintainer: nicoulaj
Last Packager: nicoulaj
Votes: 2
Popularity: 0.46
First Submitted: 2019-03-09 21:46
Last Updated: 2019-12-31 09:19

Latest Comments

yochananmarqos commented on 2019-12-18 20:49

python-sphinx / python2-sphinx is not required, it's only for building documentation.

yochananmarqos commented on 2019-09-23 22:24

This does not build as dependencies are missing. See the setup.py for details.

You should have a build() array.

You should add the dependencies separately for each package:

prepare() {
  cp -a ${_pkgname}-${pkgver}{,-py2}
}

build() {
  cd "$_pkgname-$pkgver"
  python setup.py build

  cd .. && cd "$_pkgname-$pkgver-py2"
  python2 setup.py build
}

package_python-${_pkgname}() {
  depends=('python-pillow' 'python-xlib')

  cd ${_pkgname}-$pkgver
  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
}

package_python2-${_pkgname}() {
  depends=('python2-pillow' 'python2-xlib')

  cd ${_pkgname}-$pkgver-py2
  python2 setup.py install --root="$pkgdir" --optimize=1 --skip-build