Package Base Details: python-pystray

Git Clone URL: https://aur.archlinux.org/python-pystray.git (read-only, click to copy)
Keywords: python systray
Submitter: nicoulaj
Maintainer: nicoulaj
Last Packager: nicoulaj
Votes: 3
Popularity: 0.93
First Submitted: 2019-03-09 21:46
Last Updated: 2019-12-31 09:19

Latest Comments

kruzah commented on 2020-04-12 18:54

Build appears to fail if python2-pip is not installed; "WARNING: The pip package is not available, falling back to EasyInstall for handling setup_requires/test_requires; this is deprecated and will be removed in a future version." followed by a stack trace for syntax error in setup.py. Installing pip appears to fix the issue.

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