summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorfl0w12017-09-01 13:59:17 +0200
committerfl0w12017-09-01 13:59:17 +0200
commite855c5855045f6084e0b28af576a8048cbf5064c (patch)
treebd291eb7a8c114d9bdaef04d251565ec51bf348f
downloadaur-e855c5855045f6084e0b28af576a8048cbf5064c.tar.gz
Initial PKGBUILD for python-simplesqlite
-rw-r--r--.SRCINFO21
-rw-r--r--PKGBUILD24
2 files changed, 45 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..11cd3c22e80
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,21 @@
+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.15.0
+ pkgrel = 1
+ url = https://github.com/thombashi/SimpleSQLite
+ arch = any
+ license = MIT
+ makedepends = python-setuptools
+ depends = python
+ depends = python-pathvalidate>=0.16.1
+ depends = python-pytablereader>=0.13.0
+ depends = python-dataproperty
+ depends = python-logbook>=1.1.0
+ depends = python-mbstrdecoder
+ depends = python-six
+ depends = python-typepy>=0.0.20
+ source = https://github.com/thombashi/SimpleSQLite/archive/v00.15.0.tar.gz
+ md5sums = be05735a65f91bf0bb47c2bfcf474dd3
+
+pkgname = python-simplesqlite
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..a30c831e7bf
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,24 @@
+#Maintainer: Florian Wittmann <fl0w1@disroot.org>
+pkgname='python-simplesqlite'
+_module='SimpleSQLite'
+pkgver='0.15.0'
+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.1' 'python-pytablereader>=0.13.0' 'python-dataproperty' 'python-logbook>=1.1.0' 'python-mbstrdecoder' \
+ 'python-six' 'python-typepy>=0.0.20')
+makedepends=('python-setuptools')
+license=('MIT')
+arch=('any')
+source=("https://github.com/thombashi/SimpleSQLite/archive/v0${pkgver}.tar.gz")
+md5sums=('be05735a65f91bf0bb47c2bfcf474dd3')
+
+build() {
+ cd "${srcdir}/${_module}-${pkgver}"
+ python setup.py build
+}
+
+package() {
+ cd "${srcdir}/${_module}-${pkgver}"
+ python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+}