You are not logged in.
I there
I need pyspatialite for the qgis project, in order to make spatialite plugins work. qgis is an open-source GIS (Geographic information system) package available on the AUR, which has a python2-plugin local-user management system. If any of you has experimented any GIS software, like qgis or openjump, you'll have to face the problem of auto-plugin with dependencies outside of plugin management solution. Kind of "Egg or chicken" discussion...
The Question is : Here is my PKGBUILD :
###################################################
_pkgbase=pyspatialite
pkgname=python2-${_pkgbase}
pkgver=3.0.1
pkgrel=1
pkgdesc="a python2 interface to spatialite,a sqlite extend with spatial capabilities"
arch=('any')
url="http://code.google.com/p/pyspatialite/"
license=('custom')
groups=()
depends=('python2' 'libspatialite>=3' 'python2-sphinx')
makedepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=(!emptydirs)
install=
source=(http://pypi.python.org/packages/source/p/pyspatialite/pyspatialite-3.0.1.tar.gz)
md5sums=('28a6ab34b5003772e9468f2712100586')
package() {
cd "$srcdir/$_pkgbase-$pkgver"
python2 setup.py install --root="$pkgdir/" --optimize=1
}
# vim:set ts=2 sw=2 et:
###################################################
It's basically adapted from abs python pattern pakage. I can compile it, but I cannot use it in qgis. I'm not an Archlinux superstar, neither a linux professional programmer. Just an open source user. Any of you folks can tell me if it is a correct python2 package ? Any error in it ?
Thanks
Offline