Date: Tuesday, September 18, 2018 @ 10:25:15 Author: felixonmars Revision: 383026
addpkg: python-sqlitedict 1.6.0-1 Added: python-sqlitedict/ python-sqlitedict/repos/ python-sqlitedict/trunk/ python-sqlitedict/trunk/PKGBUILD ----------+ PKGBUILD | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) Added: python-sqlitedict/trunk/PKGBUILD =================================================================== --- python-sqlitedict/trunk/PKGBUILD (rev 0) +++ python-sqlitedict/trunk/PKGBUILD 2018-09-18 10:25:15 UTC (rev 383026) @@ -0,0 +1,29 @@ +# Maintainer: Felix Yan <[email protected]> + +pkgname=python-sqlitedict +pkgver=1.6.0 +pkgrel=1 +pkgdesc="Persistent dict in Python, backed up by sqlite3 and pickle, multithread-safe" +url="https://github.com/RaRe-Technologies/sqlitedict" +license=('Apache') +arch=('any') +depends=('python') +makedepends=('python-setuptools') +checkdepends=('python-nose') +source=("$pkgname-$pkgver.tar.gz::https://github.com/RaRe-Technologies/sqlitedict/archive/$pkgver.tar.gz") +sha512sums=('3cbac61d2cc8e4608be7a5b872648d42ecdc84fdfa2b5cfcccf1d8f554f1fa0b54991c3e582f410b3ca475f71a367466c714b27c9491f8dc002a22da5fc7c611') + +build() { + cd sqlitedict-$pkgver + python setup.py build +} + +check() { + cd sqlitedict-$pkgver + python setup.py nosetests +} + +package() { + cd sqlitedict-$pkgver + python setup.py install --root="$pkgdir" --optimize=1 +}
