summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorcaltlgin2020-12-03 09:29:56 +1300
committercaltlgin2020-12-03 09:29:56 +1300
commit7b1149f48e9fa31107bf01b77c393fccb257a6a1 (patch)
treedf3280d39f74450f0722f31bdabb05cd51527e7a
parent5c3cb7d2ef712573172fa15accce8111f44605b4 (diff)
downloadaur-7b1149f48e9fa31107bf01b77c393fccb257a6a1.tar.gz
Python 3.9 rebuild
-rw-r--r--.SRCINFO4
-rw-r--r--.gitignore4
-rw-r--r--PKGBUILD14
3 files changed, 13 insertions, 9 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 8b79f74307a..ab1a2a2b783 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,15 +1,15 @@
pkgbase = python-sqliteschema
pkgdesc = Dump table schema of a SQLite database file
pkgver = 1.0.3
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/thombashi/sqliteschema
arch = any
license = MIT
makedepends = python-setuptools
+ depends = python
depends = python-mbstrdecoder
depends = python-tabledata
depends = python-typepy
- provides = sqliteschema
source = https://files.pythonhosted.org/packages/source/s/sqliteschema/sqliteschema-1.0.3.tar.gz
sha256sums = def3b61c8d1d6cd08238072e1251e94aea243da661c731a46dbc8b64857a4878
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 05e525d8a87..de5dabb3a40 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,16 +1,16 @@
# Maintainer: Caltlgin Stsodaat <contact@fossdaily.xyz>
-_pkgname=sqliteschema
-pkgname=python-${_pkgname}
+_pkgname='sqliteschema'
+pkgname="python-${_pkgname}"
pkgver=1.0.3
-pkgrel=1
+pkgrel=2
pkgdesc='Dump table schema of a SQLite database file'
arch=('any')
url='https://github.com/thombashi/sqliteschema'
+_url_pypi='https://pypi.org/project/sqliteschema'
license=('MIT')
-depends=('python-mbstrdecoder' 'python-tabledata' 'python-typepy')
+depends=('python' 'python-mbstrdecoder' 'python-tabledata' 'python-typepy')
makedepends=('python-setuptools')
-provides=("${_pkgname}")
source=("https://files.pythonhosted.org/packages/source/${_pkgname::1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz")
sha256sums=('def3b61c8d1d6cd08238072e1251e94aea243da661c731a46dbc8b64857a4878')
@@ -22,8 +22,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: