Date: Saturday, April 8, 2023 @ 06:10:33
  Author: felixonmars
Revision: 1441920

archrelease: copy trunk to community-staging-any

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

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

Copied: python-sqlitedict/repos/community-staging-any/PKGBUILD (from rev 
1441919, python-sqlitedict/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD                              (rev 0)
+++ community-staging-any/PKGBUILD      2023-04-08 06:10:33 UTC (rev 1441920)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan <[email protected]>
+
+pkgname=python-sqlitedict
+pkgver=2.1.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/v$pkgver.tar.gz";)
+sha512sums=('93f4c539c53f92bc320ff654b08f2f24eea886ab28a31ff211094f744674e08bd79e2c3fc3e1489e663030e49bf2aa8cf70d7e030293f830cfb5db08b6bd2853')
+
+build() {
+  cd sqlitedict-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd sqlitedict-$pkgver
+  mkdir -p tests/db
+  nosetests3
+}
+
+package() {
+  cd sqlitedict-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+}

Reply via email to