[arch-commits] Commit in python-sqlitedict/repos (2 files)

Evangelos Foutras foutrelis at archlinux.org
Tue Nov 10 05:03:12 UTC 2020


    Date: Tuesday, November 10, 2020 @ 05:03:11
  Author: foutrelis
Revision: 749260

archrelease: copy trunk to community-staging-any

Added:
  python-sqlitedict/repos/community-staging-any/
  python-sqlitedict/repos/community-staging-any/PKGBUILD
    (from rev 749258, python-sqlitedict/trunk/PKGBUILD)

----------+
 PKGBUILD |   30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

Copied: python-sqlitedict/repos/community-staging-any/PKGBUILD (from rev 749258, python-sqlitedict/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-10 05:03:11 UTC (rev 749260)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-sqlitedict
+pkgver=1.7.0
+pkgrel=2
+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=('1b2b8ada2566c8e48979b2bca99856331eb9fb7e4e651263272464566961ca7e02a868f4ae1c79459fee0fa3ff4a36580893cc5dbd2f72348f8460e7a97ac97b')
+
+build() {
+  cd sqlitedict-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd sqlitedict-$pkgver
+  mkdir -p tests/db
+  python setup.py nosetests
+}
+
+package() {
+  cd sqlitedict-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+}



More information about the arch-commits mailing list