summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorcaltlgin2020-07-31 12:43:49 +1200
committercaltlgin2020-07-31 12:43:49 +1200
commit08dbb5dae992230f6d5b074e5a885203c5c00eeb (patch)
tree0673d46adf03df398f5debf83cbb69a82520691b
parente95722c614af69a912ae79e84e076cb4804f5e5e (diff)
downloadaur-08dbb5dae992230f6d5b074e5a885203c5c00eeb.tar.gz
Update to v1.1.2
-rw-r--r--.SRCINFO20
-rw-r--r--PKGBUILD36
2 files changed, 31 insertions, 25 deletions
diff --git a/.SRCINFO b/.SRCINFO
index c61958f5b49..102ef2b4718 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,22 +1,20 @@
pkgbase = python-simplesqlite
- pkgdesc = SimpleSQLite is a Python library to simplify SQLite database operations: table creation, data insertion and get data as other data formats.
- pkgver = 0.19.0
+ pkgdesc = Simplify SQLite database operations
+ pkgver = 1.1.2
pkgrel = 1
url = https://github.com/thombashi/SimpleSQLite
arch = any
license = MIT
makedepends = python-setuptools
- depends = python
- depends = python-pathvalidate>=0.16.2
- depends = python-pytablereader>=0.15.0
depends = python-dataproperty
- depends = python-logbook>=1.1.0
depends = python-mbstrdecoder
- depends = python-six
- depends = python-typepy>=0.0.20
- depends = python-tabledata>=0.0.5
- source = https://github.com/thombashi/SimpleSQLite/archive/v0.19.0.tar.gz
- md5sums = 8b76de3f90ab8419c355dcbd92711bcf
+ depends = python-pathvalidate
+ depends = python-sqliteschema
+ depends = python-tabledata
+ depends = python-typepy
+ provides = simplesqlite
+ source = https://files.pythonhosted.org/packages/source/S/SimpleSQLite/SimpleSQLite-1.1.2.tar.gz
+ sha256sums = e8fe541efefb0c68601250ba609e40cc53430ac9afb2741c1eac084caf910b5f
pkgname = python-simplesqlite
diff --git a/PKGBUILD b/PKGBUILD
index 3fe76255adc..dedd3dbdd51 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,22 +1,30 @@
-pkgname='python-simplesqlite'
-_module='SimpleSQLite'
-pkgver='0.19.0'
+# Maintainer: Caltlgin Stsodaat <contact@fossdaily.xyz>
+# Contributor: Florian Wittmann
+
+_pkgname=SimpleSQLite
+pkgname=python-${_pkgname,,}
+pkgver=1.1.2
pkgrel=1
-pkgdesc="SimpleSQLite is a Python library to simplify SQLite database operations: table creation, data insertion and get data as other data formats."
-url="https://github.com/thombashi/SimpleSQLite"
-depends=('python' 'python-pathvalidate>=0.16.2' 'python-pytablereader>=0.15.0' 'python-dataproperty' 'python-logbook>=1.1.0' 'python-mbstrdecoder' 'python-six' 'python-typepy>=0.0.20' 'python-tabledata>=0.0.5')
-makedepends=('python-setuptools')
-license=('MIT')
+pkgdesc='Simplify SQLite database operations'
arch=('any')
-source=("https://github.com/thombashi/SimpleSQLite/archive/v${pkgver}.tar.gz")
-md5sums=('8b76de3f90ab8419c355dcbd92711bcf')
+url='https://github.com/thombashi/SimpleSQLite'
+license=('MIT')
+depends=('python-dataproperty' 'python-mbstrdecoder' 'python-pathvalidate' 'python-sqliteschema' 'python-tabledata' 'python-typepy')
+makedepends=('python-setuptools')
+provides=("${_pkgname,,}")
+source=("https://files.pythonhosted.org/packages/source/${_pkgname::1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz")
+sha256sums=('e8fe541efefb0c68601250ba609e40cc53430ac9afb2741c1eac084caf910b5f')
build() {
- cd "${srcdir}/${_module}-${pkgver}"
- python setup.py build
+ cd "${_pkgname}-${pkgver}"
+ python setup.py build
}
package() {
- cd "${srcdir}/${_module}-${pkgver}"
- python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+ cd "${_pkgname}-${pkgver}"
+ python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+ install -Dm644 'README.rst' "${pkgdir}/usr/share/doc/${_pkgname,,}/README.rst"
+ install -Dm644 'LICENSE' "${pkgdir}/usr/share/licenses/${_pkgname,,}/LICENSE"
}
+
+# vim: ts=2 sw=2 et: