Date: Wednesday, December 14, 2022 @ 08:13:03
  Author: grawlinson
Revision: 1358996

upgpkg: sqlfluff 1.4.3-1; new upstream release

Modified:
  sqlfluff/trunk/PKGBUILD

----------+
 PKGBUILD |   14 ++++++++++----
 1 file changed, 10 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2022-12-14 08:06:37 UTC (rev 1358995)
+++ PKGBUILD    2022-12-14 08:13:03 UTC (rev 1358996)
@@ -2,7 +2,7 @@
 # Contributor: Morteza NourelahiAlamdari <[email protected]>
 
 pkgname=sqlfluff
-pkgver=1.4.2
+pkgver=1.4.3
 pkgrel=1
 pkgdesc='A dialect-flexible and configurable SQL linter'
 arch=('any')
@@ -34,7 +34,7 @@
   'python-setuptools'
 )
 checkdepends=('python-hypothesis')
-_commit='29faf040f012e123ff434e683c6c355771a9d282'
+_commit='f0c92d584bb23069e3cc9970463c69601640c900'
 
source=("$pkgname::git+https://github.com/sqlfluff/sqlfluff.git#commit=$_commit";)
 b2sums=('SKIP')
 
@@ -56,11 +56,17 @@
 check() {
   cd "$pkgname"
 
+  # install to temporary directory for access to sqlfluff executable
+  python \
+    -m installer \
+    --destdir "$PWD/tmpdir" \
+    dist/*.whl
+  local PATH="$PWD/tmpdir/usr/bin:$PATH"
+
   # 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 \
+    --ignore plugins \
     --deselect 
test/test_testing.py::test_rules__test_helper_has_variable_introspection
 }
 

Reply via email to