File "setup.py", line 4, infrom setuptools import setup, find_packages ImportError: No module named setuptools
So I had to adapt the pkgbuild, becoming this (thick letters were changed):
# Contributor: Jeffery MacEachern
pkgname=aarddict
pkgver=0.9.1
pkgrel=1
pkgdesc="Aard Dictionary is a multiplatform dictionary and offline Wikipedia reader."
arch=(any)
url="http://aarddict.org/"
license=(GPL)
depends=('python2' 'python-pyicu' 'python-simplejson' 'hicolor-icon-theme' 'setuptools' 'pyqt')
makedepends=('setuptools')
install=aarddict.install
source=(http://bitbucket.org/itkach/${pkgname}/get/${pkgver}.zip aarddict.install)
md5sums=('41224733330d98b61818391e34311802'
'4d14628e16252af7ddf562ad19e3bcb4')
build() {
cd $srcdir/$pkgname
python2 setup.py install --root=$pkgdir/ --optimize=1 || return 1
}
Install with: makepkg -sci PKGBUILD
No comments:
Post a Comment