#Previous packager: Dimitris Jemos <djemos~at~slackel~dot~gr>

pkgname=python-apsw
pkgver=3.13.0r1
pkgrel=1dj
source=("https://github.com/rogerbinns/apsw/releases/download/3.13.0-r1/apsw-3.13.0-r1.zip" 'LICENSE')
docs=("README" "LICENSE" "Changelog" "DEPENDS" "docs")
url=https://code.google.com/p/apsw/

slackdesc=\
(
 #|-----handy-ruler------------------------------------------------------|
"python-apsw (python wrapper for SQLite)"
"APSW is a Python wrapper for the SQLite embedded relational database"
"engine. In contrast to other wrappers such as pysqlite it focuses on"
"being a minimal layer over SQLite attempting just to translate the"
"complete SQLite API into Python."
"The documentation has a section on the differences between APSW and"
"pysqlite. APSW supports CPython 2.3 onwards and CPython 3.1 onwards."
""
"HomePage: https://code.google.com/p/apsw/"

)

build() {
    cd $SRC/apsw-${pkgver//r1/-r1}

	python setup.py install --root=$PKG || exit 1 
	install -D -m644 $SRC/LICENSE $PKG/usr/share/licenses/$pkgname/LICENSE
}
