summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Weidenbaum2016-01-24 20:57:51 -0800
committerAndy Weidenbaum2016-01-24 20:57:51 -0800
commit6144a2ae15730a3f895ad7bc8c02ad6930995110 (patch)
tree7db968ad319eaad8f1a8c7bf1f73f8be2c7e9366
downloadaur-6144a2ae15730a3f895ad7bc8c02ad6930995110.tar.gz
Initial import
-rw-r--r--.SRCINFO18
-rw-r--r--PKGBUILD32
2 files changed, 50 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..9a5ae4a9ca8
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,18 @@
+# Generated by mksrcinfo v8
+# Mon Jan 25 04:57:30 UTC 2016
+pkgbase = python-tinydb
+ pkgdesc = Lightweight document oriented database optimized for your happiness
+ pkgver = 3.1.1
+ pkgrel = 1
+ url = https://github.com/msiemens/tinydb
+ arch = any
+ license = MIT
+ makedepends = python-setuptools
+ depends = python
+ options = !emptydirs
+ source = https://pypi.python.org/packages/source/t/tinydb/tinydb-3.1.1.tar.gz
+ md5sums = fb2c7ec72fe913b7a47a0b5bdbb06aea
+ sha256sums = b704d94b44c5dbc4f4b038f22aa30b4c7398a8d52881767b4e53edeaeab6d3d0
+
+pkgname = python-tinydb
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..255737268d8
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,32 @@
+# Maintainer: Andy Weidenbaum <archbaum@gmail.com>
+
+pkgname=python-tinydb
+pkgver=3.1.1
+pkgrel=1
+pkgdesc="Lightweight document oriented database optimized for your happiness"
+arch=('any')
+depends=('python')
+makedepends=('python-setuptools')
+url="https://github.com/msiemens/tinydb"
+license=('MIT')
+options=(!emptydirs)
+source=(https://pypi.python.org/packages/source/t/${pkgname#python-}/${pkgname#python-}-$pkgver.tar.gz)
+md5sums=('fb2c7ec72fe913b7a47a0b5bdbb06aea')
+sha256sums=('b704d94b44c5dbc4f4b038f22aa30b4c7398a8d52881767b4e53edeaeab6d3d0')
+
+build() {
+ cd "$srcdir/${pkgname#python-}-$pkgver"
+
+ msg2 'Building...'
+ python setup.py build
+}
+
+package() {
+ cd "$srcdir/${pkgname#python-}-$pkgver"
+
+ msg2 'Installing...'
+ python setup.py install --root="$pkgdir" --optimize=1
+
+ msg2 'Cleaning up pkgdir...'
+ rm -rf "$pkgdir/usr/lib/python3.5/site-packages/tests"
+}