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

George Rawlinson grawlinson at gemini.archlinux.org
Tue Mar 8 22:03:18 UTC 2022


    Date: Tuesday, March 8, 2022 @ 22:03:17
  Author: grawlinson
Revision: 1145614

archrelease: copy trunk to community-any

Added:
  sqlfluff/repos/community-any/PKGBUILD
    (from rev 1145613, sqlfluff/trunk/PKGBUILD)
Deleted:
  sqlfluff/repos/community-any/PKGBUILD

----------+
 PKGBUILD |  158 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 79 insertions(+), 79 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-03-08 22:02:21 UTC (rev 1145613)
+++ PKGBUILD	2022-03-08 22:03:17 UTC (rev 1145614)
@@ -1,79 +0,0 @@
-# Maintainer: George Rawlinson <grawlinson at archlinux.org>
-# Contributor: Morteza NourelahiAlamdari <m at 0t1.me>
-
-pkgname=sqlfluff
-pkgver=0.10.1
-pkgrel=2
-pkgdesc="A dialect-flexible and configurable SQL linter"
-arch=('any')
-url="https://www.sqlfluff.com"
-license=('MIT')
-depends=(
-  'python'
-  'python-appdirs'
-  'python-cached-property'
-  'python-chardet'
-  'python-click'
-  'python-colorama'
-  'python-diff-cover'
-  'python-jinja'
-  'python-oyaml'
-  'python-pathspec'
-  'python-pytest'
-  'python-regex'
-  'python-tblib'
-  'python-toml'
-  'python-tqdm'
-  'python-typing_extensions'
-)
-makedepends=(
-  'git'
-  'python-build'
-  'python-wheel'
-  'python-installer'
-)
-checkdepends=('python-hypothesis')
-_commit='73a66ff5172580e6c4bc61f1facb3d366db4e0d9' # 0.10.1
-source=("$pkgname::git+https://github.com/sqlfluff/sqlfluff.git#commit=$_commit")
-b2sums=('SKIP')
-
-pkgver() {
-  cd "$pkgname"
-
-  git describe --tags | sed 's/^v//'
-}
-
-build() {
-  cd "$pkgname"
-
-  python \
-    -m build \
-    --wheel \
-    --no-isolation
-}
-
-check() {
-  cd "$pkgname"
-
-  # skip failing tests for now
-  PYTHONPATH="$PWD/src:$PYTHONPATH" pytest \
-    --ignore test/core/plugin_test.py \
-    --ignore plugins/sqlfluff-templater-dbt \
-    --ignore plugins/sqlfluff-plugin-example \
-    --deselect test/test_testing.py::test_rules__test_helper_has_variable_introspection
-}
-
-package() {
-  cd "$pkgname"
-
-  python \
-    -m installer \
-    --destdir "$pkgdir" \
-    dist/*.whl
-
-  # documentation
-  install -vDm644 -t "$pkgdir/usr/share/doc/$pkgname" README.md
-
-  # license
-  install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE.md
-}

Copied: sqlfluff/repos/community-any/PKGBUILD (from rev 1145613, sqlfluff/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-03-08 22:03:17 UTC (rev 1145614)
@@ -0,0 +1,79 @@
+# Maintainer: George Rawlinson <grawlinson at archlinux.org>
+# Contributor: Morteza NourelahiAlamdari <m at 0t1.me>
+
+pkgname=sqlfluff
+pkgver=0.11.0
+pkgrel=1
+pkgdesc="A dialect-flexible and configurable SQL linter"
+arch=('any')
+url="https://www.sqlfluff.com"
+license=('MIT')
+depends=(
+  'python'
+  'python-appdirs'
+  'python-cached-property'
+  'python-chardet'
+  'python-click'
+  'python-colorama'
+  'python-diff-cover'
+  'python-jinja'
+  'python-oyaml'
+  'python-pathspec'
+  'python-pytest'
+  'python-regex'
+  'python-tblib'
+  'python-toml'
+  'python-tqdm'
+  'python-typing_extensions'
+)
+makedepends=(
+  'git'
+  'python-build'
+  'python-wheel'
+  'python-installer'
+)
+checkdepends=('python-hypothesis')
+_commit='e12a81c2a0cccebeead35493a61a1414cd722661' # 0.11.0
+source=("$pkgname::git+https://github.com/sqlfluff/sqlfluff.git#commit=$_commit")
+b2sums=('SKIP')
+
+pkgver() {
+  cd "$pkgname"
+
+  git describe --tags | sed 's/^v//'
+}
+
+build() {
+  cd "$pkgname"
+
+  python \
+    -m build \
+    --wheel \
+    --no-isolation
+}
+
+check() {
+  cd "$pkgname"
+
+  # skip failing tests for now
+  PYTHONPATH="$PWD/src:$PYTHONPATH" pytest \
+    --ignore test/core/plugin_test.py \
+    --ignore plugins/sqlfluff-templater-dbt \
+    --ignore plugins/sqlfluff-plugin-example \
+    --deselect test/test_testing.py::test_rules__test_helper_has_variable_introspection
+}
+
+package() {
+  cd "$pkgname"
+
+  python \
+    -m installer \
+    --destdir "$pkgdir" \
+    dist/*.whl
+
+  # documentation
+  install -vDm644 -t "$pkgdir/usr/share/doc/$pkgname" README.md
+
+  # license
+  install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE.md
+}



More information about the arch-commits mailing list