[arch-commits] Commit in python-sqlparse/repos/community-any (PKGBUILD PKGBUILD)

Daurnimator daurnimator at archlinux.org
Tue Aug 13 10:38:31 UTC 2019


    Date: Tuesday, August 13, 2019 @ 10:38:30
  Author: daurnimator
Revision: 499059

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   72 +++++++++++++++++++++++++++++--------------------------------
 1 file changed, 35 insertions(+), 37 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-08-13 10:37:55 UTC (rev 499058)
+++ PKGBUILD	2019-08-13 10:38:30 UTC (rev 499059)
@@ -1,37 +0,0 @@
-# $Id$
-# Maintainer:
-# Contributor: Jonathan Kotta <jpkotta AT gmail DOT com>
-
-pkgname=('python-sqlparse' 'python2-sqlparse')
-pkgver=0.2.4
-pkgrel=2
-pkgdesc='Non-validating SQL parser for Python'
-arch=('any')
-url=https://github.com/andialbrecht/sqlparse
-license=('BSD')
-makedepends=('python-setuptools' 'python2-setuptools')
-#source=("https://pypi.python.org/packages/48/e4/ecd908ef40a9d0e78fc40f3abd2f329dd96b82402fee07f14dbf69948f1b/sqlparse-$pkgver.tar.gz")
-source=("$pkgname-$pkgver.tar.gz::https://github.com/andialbrecht/sqlparse/archive/$pkgver.tar.gz")
-sha256sums=('7087a2bd385c06ac1a5cf343e2e5ea7ce2bb6386849e59ef214e02af68f73fb4')
-
-prepare() {
-  cp -a sqlparse-$pkgver sqlparse2-$pkgver
-}
-
-package_python-sqlparse() {
-  depends=('python')
-
-  cd sqlparse-$pkgver/
-  python setup.py install --prefix=/usr --root="$pkgdir"
-  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_python2-sqlparse() {
-  depends=('python2')
-
-  cd sqlparse2-$pkgver/
-  python2 setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
-  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-
-  mv "$pkgdir"/usr/bin/sqlformat{,2}
-}

Copied: python-sqlparse/repos/community-any/PKGBUILD (from rev 499058, python-sqlparse/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-08-13 10:38:30 UTC (rev 499059)
@@ -0,0 +1,35 @@
+# Maintainer:
+# Contributor: Jonathan Kotta <jpkotta AT gmail DOT com>
+
+pkgname=('python-sqlparse' 'python2-sqlparse')
+pkgver=0.3.0
+pkgrel=1
+pkgdesc='Non-validating SQL parser for Python'
+arch=('any')
+url=https://github.com/andialbrecht/sqlparse
+license=('BSD')
+makedepends=('python-setuptools' 'python2-setuptools')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/andialbrecht/sqlparse/archive/$pkgver.tar.gz")
+sha256sums=('a75fddae009fba1d66786203c9dd3a842aa4415475c466d15484139117108474')
+
+prepare() {
+  cp -a sqlparse-$pkgver sqlparse2-$pkgver
+}
+
+package_python-sqlparse() {
+  depends=('python')
+
+  cd sqlparse-$pkgver/
+  python setup.py install --prefix=/usr --root="$pkgdir"
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_python2-sqlparse() {
+  depends=('python2')
+
+  cd sqlparse2-$pkgver/
+  python2 setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+
+  mv "$pkgdir"/usr/bin/sqlformat{,2}
+}


More information about the arch-commits mailing list