summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO4
-rw-r--r--.gitignore4
-rw-r--r--PKGBUILD20
3 files changed, 19 insertions, 9 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 4c7c202542b..dfa7bfe1855 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,18 +1,18 @@
pkgbase = python-simplesqlite
pkgdesc = Simplify SQLite database operations
pkgver = 1.1.3
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/thombashi/SimpleSQLite
arch = any
license = MIT
makedepends = python-setuptools
+ depends = python
depends = python-dataproperty
depends = python-mbstrdecoder
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.3.tar.gz
sha256sums = e4f3613b04bc304a2f41294367c628ed00f27ca5d8eceb3f1a9d674f4b483b95
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..05c6d4d4c97
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+*
+!.gitignore
+!.SRCINFO
+!PKGBUILD
diff --git a/PKGBUILD b/PKGBUILD
index ccb5956347c..5935417fec8 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,17 +1,23 @@
# Maintainer: Caltlgin Stsodaat <contact@fossdaily.xyz>
# Contributor: Florian Wittmann
-_pkgname=SimpleSQLite
-pkgname=python-${_pkgname,,}
+_pkgname='SimpleSQLite'
+pkgname="python-${_pkgname,,}"
pkgver=1.1.3
-pkgrel=1
+pkgrel=2
pkgdesc='Simplify SQLite database operations'
arch=('any')
url='https://github.com/thombashi/SimpleSQLite'
+_url_pypi='https://pypi.org/project/SimpleSQLite'
license=('MIT')
-depends=('python-dataproperty' 'python-mbstrdecoder' 'python-pathvalidate' 'python-sqliteschema' 'python-tabledata' 'python-typepy')
+depends=('python'
+ '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=('e4f3613b04bc304a2f41294367c628ed00f27ca5d8eceb3f1a9d674f4b483b95')
@@ -23,8 +29,8 @@ build() {
package() {
cd "${_pkgname}-${pkgver}"
python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
- install -Dm644 -t "${pkgdir}/usr/share/doc/${_pkgname,,}" 'README.rst'
- install -Dm644 -t "${pkgdir}/usr/share/licenses/${_pkgname,,}" 'LICENSE'
+ install -Dvm644 'README.rst' -t "${pkgdir}/usr/share/doc/${pkgname}"
+ install -Dvm644 'LICENSE' -t "${pkgdir}/usr/share/licenses/${pkgname}"
}
# vim: ts=2 sw=2 et: