summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorRiccardo Berto2019-05-16 11:42:19 +0200
committerRiccardo Berto2019-05-16 11:42:19 +0200
commit5d812bf29554e93ccd3168da761a1b00ee1ad6f9 (patch)
tree6f049d65380d534632fc5eedab19484e2cc9e258
parent7b4c3bb5eaa804a9ef9894f97f92cea5fdd28e1d (diff)
downloadaur-5d812bf29554e93ccd3168da761a1b00ee1ad6f9.tar.gz
upgpkg: python-dataset 1.1.2-1
upstream release upgpkg: python-flask-limiter 1.0.1-1 upstream release upgpkg: python-normality 1.0.0-1 upstream release upgpkg: python-tinydb 3.13.0-1 upstream release
-rw-r--r--.SRCINFO10
-rw-r--r--PKGBUILD34
2 files changed, 19 insertions, 25 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 02132c3ac5f..891c403e6db 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,15 +1,15 @@
pkgbase = python-tinydb
- pkgdesc = Lightweight document oriented database optimized for your happiness
- pkgver = 3.11.1
+ pkgdesc = TinyDB is a tiny, document oriented database optimized for your happiness :)
+ pkgver = 3.13.0
pkgrel = 1
url = https://github.com/msiemens/tinydb
arch = any
license = MIT
makedepends = python-setuptools
depends = python
- options = !emptydirs
- source = https://github.com/msiemens/tinydb/archive/v3.11.1.tar.gz
- sha256sums = SKIP
+ source = https://files.pythonhosted.org/packages/source/t/tinydb/tinydb-3.13.0.tar.gz
+ sha256sums = a05c4c81e6e867c4f8a2e51c5236d0d897019aa5e9296f5947455b0bdd3c519d
pkgname = python-tinydb
+ depends = python
diff --git a/PKGBUILD b/PKGBUILD
index b35d08d631a..7248aee1100 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,30 +1,24 @@
-# Maintainer: Riccardo Berto <riccardobrt at gmail>
-# previous: Andy Weidenbaum <archbaum@gmail.com>
-
-pkgname=python-tinydb
-pkgver=3.11.1
+pkgbase='python-tinydb'
+pkgname=('python-tinydb')
+_module='tinydb'
+pkgver='3.13.0'
pkgrel=1
-pkgdesc="Lightweight document oriented database optimized for your happiness"
-arch=('any')
+pkgdesc="TinyDB is a tiny, document oriented database optimized for your happiness :)"
+url="https://github.com/msiemens/tinydb"
depends=('python')
makedepends=('python-setuptools')
-url="https://github.com/msiemens/tinydb"
license=('MIT')
-options=(!emptydirs)
-source=($url/archive/v$pkgver.tar.gz)
-sha256sums=('SKIP')
+arch=('any')
+source=("https://files.pythonhosted.org/packages/source/${_module::1}/$_module/$_module-$pkgver.tar.gz")
+sha256sums=('a05c4c81e6e867c4f8a2e51c5236d0d897019aa5e9296f5947455b0bdd3c519d')
build() {
- cd "$srcdir/${pkgname#python-}-$pkgver"
-
- msg2 'Building...'
- python setup.py build
+ cd "${srcdir}/${_module}-${pkgver}"
+ python setup.py build
}
package() {
- cd "$srcdir/${pkgname#python-}-$pkgver"
-
- msg2 'Installing...'
- python setup.py install --root="$pkgdir" --optimize=1
-
+ depends+=()
+ cd "${srcdir}/${_module}-${pkgver}"
+ python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
}