Compare commits
5 commits
839c012f8a
...
0a52074d89
Author | SHA1 | Date | |
---|---|---|---|
0a52074d89 | |||
4bf931220d | |||
b4e5c47c3c | |||
42a69d5219 | |||
fa7472bcd4 |
4 changed files with 56 additions and 0 deletions
3
.gitmodules
vendored
3
.gitmodules
vendored
|
@ -529,6 +529,9 @@
|
|||
[submodule "sqlcheck"]
|
||||
path = sqlcheck
|
||||
url = ssh://aur@aur.archlinux.org/sqlcheck.git
|
||||
[submodule "sqlfluff"]
|
||||
path = sqlfluff
|
||||
url = ssh://aur@aur.archlinux.org/sqlfluff.git
|
||||
[submodule "standard"]
|
||||
path = standard
|
||||
url = ssh://aur@aur.archlinux.org/standard.git
|
||||
|
|
|
@ -95,6 +95,18 @@ source = "github"
|
|||
github = "sass/dart-sass"
|
||||
use_max_tag = true
|
||||
|
||||
[sqlfluff]
|
||||
source = "github"
|
||||
github = "sqlfluff/sqlfluff"
|
||||
use_max_tag = true
|
||||
prefix = "v"
|
||||
|
||||
[python-oyaml]
|
||||
source = "github"
|
||||
github = "wimglenn/oyaml"
|
||||
use_max_tag = true
|
||||
prefix = "v"
|
||||
|
||||
[elfshaker]
|
||||
source = "github"
|
||||
github = "elfshaker/elfshaker"
|
||||
|
|
40
python-oyaml/PKGBUILD
Normal file
40
python-oyaml/PKGBUILD
Normal file
|
@ -0,0 +1,40 @@
|
|||
# Maintainer: George Rawlinson <grawlinson@archlinux.org>
|
||||
# Contributor: Morteza NourelahiAlamdari <m@0t1.me>
|
||||
# Contributor: Caltlgin Stsodaat <contact@fossdaily.xyz>
|
||||
|
||||
pkgname=python-oyaml
|
||||
_pkgname="${pkgname#python-}"
|
||||
pkgver=1.0
|
||||
pkgrel=3
|
||||
pkgdesc="A drop-in replacement for PyYAML which preserves dict ordering"
|
||||
arch=('any')
|
||||
url="https://github.com/wimglenn/oyaml"
|
||||
license=('MIT')
|
||||
depends=('python' 'python-yaml')
|
||||
makedepends=('python-setuptools')
|
||||
checkdepends=('python-pytest')
|
||||
source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
|
||||
sha512sums=('19bd3dda42b4bb8be2d3ed50b4bd5327eb667f1ab701fe5d7aa07da31aee2b05c09eb31f96087c9f773fd38243edc858f50ddbd79878208f6c9921c4783b1f45')
|
||||
b2sums=('50d8a4199d59b2b0fc129927fefa7444bb1fa25e40f112a74df84035fcf54615bc838d23dff897f2dccff3016a434b82f8c910c53ffc9707c44083336a457e88')
|
||||
|
||||
build() {
|
||||
cd "$_pkgname-$pkgver"
|
||||
python setup.py build
|
||||
}
|
||||
|
||||
check() {
|
||||
cd "$_pkgname-$pkgver"
|
||||
pytest
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$_pkgname-$pkgver"
|
||||
|
||||
python setup.py install --root="$pkgdir" --optimize=1
|
||||
|
||||
# documentation
|
||||
install -vDm644 -t "$pkgdir/usr/share/doc/$pkgname" README.rst
|
||||
|
||||
# license
|
||||
install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
|
||||
}
|
1
sqlfluff
Submodule
1
sqlfluff
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit 1ea2ddbeb84bd6eb47d7127dffaac8a851a4514f
|
Loading…
Reference in a new issue