mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
0af05b343a
renamed checksums to kdeapps.sums added for all packages the pgp signature for new/removed packages check: https://community.kde.org/Applications/16.12_Release_Notes#Tarballs_that_we_have_split
30 lines
992 B
Bash
30 lines
992 B
Bash
# Maintainer: SaultDon <sault.don gmail>
|
|
_pkgname=pyspatialite
|
|
pkgname=python2-$_pkgname
|
|
pkgver=3.0.1
|
|
pkgrel=1
|
|
pkgdesc="An interface to the SQLite 3.x embedded relational database engine with spatialite extensions."
|
|
arch=('x86_64')
|
|
url="https://pypi.python.org/pypi/pyspatialite"
|
|
license=('ZLIB' 'LIBPNG')
|
|
depends=('python2' 'python2-setuptools' 'libspatialite')
|
|
options=(!emptydirs)
|
|
source=("https://pypi.python.org/packages/source/p/pyspatialite/$_pkgname-$pkgver-alpha-0.tar.gz"
|
|
"setup.cfg")
|
|
sha1sums=('faa7dcb6dc32674e08422de5b8c5a29270e42434'
|
|
'36b62482b11796b720f6c50b6153eb128474e9af')
|
|
|
|
|
|
build() {
|
|
cd $_pkgname-$pkgver-alpha-0
|
|
cp "$srcdir/setup.cfg" .
|
|
python2 setup.py build
|
|
}
|
|
|
|
package_python2-pyspatialite() {
|
|
cd "$srcdir/$_pkgname-$pkgver-alpha-0"
|
|
python2 setup.py install --root="$pkgdir" --optimize=1
|
|
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
|
rm -r "$pkgdir/usr/$_pkgname-doc"
|
|
}
|