[arch-commits] Commit in python-sqlparse/repos (2 files)

Felix Yan felixonmars at archlinux.org
Mon Nov 9 16:00:17 UTC 2020


    Date: Monday, November 9, 2020 @ 16:00:17
  Author: felixonmars
Revision: 747295

archrelease: copy trunk to community-staging-any

Added:
  python-sqlparse/repos/community-staging-any/
  python-sqlparse/repos/community-staging-any/PKGBUILD
    (from rev 747293, python-sqlparse/trunk/PKGBUILD)

----------+
 PKGBUILD |   25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

Copied: python-sqlparse/repos/community-staging-any/PKGBUILD (from rev 747293, python-sqlparse/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-09 16:00:17 UTC (rev 747295)
@@ -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.1
+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=('f75cdec98a4cc8296890279d744e1ae8618bb14dbad77e3d0637f0d7bb5d6535')
+
+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