Date: Wednesday, April 19, 2023 @ 04:37:14
Author: grawlinson
Revision: 1447344
archrelease: copy trunk to community-staging-any
Added:
sqlfluff/repos/community-staging-any/PKGBUILD
(from rev 1447343, sqlfluff/trunk/PKGBUILD)
Deleted:
sqlfluff/repos/community-staging-any/PKGBUILD
----------+
PKGBUILD | 172 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 86 insertions(+), 86 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2023-04-19 04:36:29 UTC (rev 1447343)
+++ PKGBUILD 2023-04-19 04:37:14 UTC (rev 1447344)
@@ -1,86 +0,0 @@
-# Maintainer: George Rawlinson <[email protected]>
-# Contributor: Morteza NourelahiAlamdari <[email protected]>
-
-pkgname=sqlfluff
-pkgver=1.4.5
-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'
- 'python-setuptools'
-)
-checkdepends=('python-hypothesis')
-_commit='f3762975a655166a3fac95c8ef757adc30423741'
-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"
-
- # 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 \
- --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-staging-any/PKGBUILD (from rev 1447343,
sqlfluff/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2023-04-19 04:37:14 UTC (rev 1447344)
@@ -0,0 +1,86 @@
+# Maintainer: George Rawlinson <[email protected]>
+# Contributor: Morteza NourelahiAlamdari <[email protected]>
+
+pkgname=sqlfluff
+pkgver=2.0.5
+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'
+ 'python-setuptools'
+)
+checkdepends=('python-hypothesis')
+_commit='24178a589c279220c6605324c446122d15ebc3fb'
+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"
+
+ # 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 \
+ --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
+}