[arch-commits] Commit in python-sqlparse/repos (2 files)
Evangelos Foutras
foutrelis at gemini.archlinux.org
Tue Nov 30 20:24:54 UTC 2021
Date: Tuesday, November 30, 2021 @ 20:24:54
Author: foutrelis
Revision: 1058230
archrelease: copy trunk to community-staging-any
Added:
python-sqlparse/repos/community-staging-any/
python-sqlparse/repos/community-staging-any/PKGBUILD
(from rev 1058229, python-sqlparse/trunk/PKGBUILD)
----------+
PKGBUILD | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
Copied: python-sqlparse/repos/community-staging-any/PKGBUILD (from rev 1058229, python-sqlparse/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2021-11-30 20:24:54 UTC (rev 1058230)
@@ -0,0 +1,25 @@
+# Maintainer: Morten Linderud <foxboron at archlinux.org>
+# Contributor: Jonathan Kotta <jpkotta AT gmail DOT com>
+
+pkgname=python-sqlparse
+pkgver=0.4.2
+pkgrel=2
+pkgdesc='Non-validating SQL parser for Python'
+arch=('any')
+url=https://github.com/andialbrecht/sqlparse
+license=('BSD')
+depends=('python')
+makedepends=('python-setuptools')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/andialbrecht/sqlparse/archive/$pkgver.tar.gz")
+sha256sums=('8108dd2a7b038cc947320ae5d947e8e3d99bb520d81749d3bd419dabcbdf5ed3')
+
+build() {
+ cd sqlparse-$pkgver
+ python setup.py build
+}
+
+package() {
+ cd sqlparse-$pkgver
+ python setup.py install --prefix=/usr --root="$pkgdir" --skip-build
+ install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
More information about the arch-commits
mailing list