Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
66a44112a1 | ||
|
|
ab0f76e3da | ||
|
|
8b0414ab72 |
9
.SRCINFO
9
.SRCINFO
@@ -1,7 +1,7 @@
|
||||
pkgbase = python-pygls
|
||||
pkgdesc = Pythonic generic implementation of the Language Server Protocol
|
||||
pkgver = 1.3.1
|
||||
pkgrel = 4
|
||||
pkgver = 2.0.0
|
||||
pkgrel = 1
|
||||
url = https://github.com/openlawlibrary/pygls
|
||||
arch = any
|
||||
license = Apache-2.0
|
||||
@@ -10,9 +10,10 @@ pkgbase = python-pygls
|
||||
makedepends = python-build
|
||||
makedepends = python-installer
|
||||
makedepends = python-poetry-core
|
||||
depends = python-attrs
|
||||
depends = python-cattrs
|
||||
depends = python-lsprotocol
|
||||
source = git+https://github.com/openlawlibrary/pygls.git#tag=v1.3.1
|
||||
b2sums = c893198f1004256118acfa1bee3aefb87f98a34f2a634de7263d621e56673312a735e94ab8703135e7e43df21cde0a07946a9187c54878c2dcadd696fb8830e4
|
||||
source = git+https://github.com/openlawlibrary/pygls.git#tag=v2.0.0
|
||||
b2sums = db43d6da778d53ca879bf702a04e0779ec66dd6994987677b38c19b0fd88ccb30f2bfd5a556c50a85bdae879e08c54ab4cf7d92d029d7aff4b270f039ae63290
|
||||
|
||||
pkgname = python-pygls
|
||||
|
||||
12
LICENSE
12
LICENSE
@@ -1,12 +0,0 @@
|
||||
Copyright Arch Linux Contributors
|
||||
|
||||
Permission to use, copy, modify, and/or distribute this software for
|
||||
any purpose with or without fee is hereby granted.
|
||||
|
||||
THE SOFTWARE IS PROVIDED “AS IS” AND THE AUTHOR DISCLAIMS ALL
|
||||
WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES
|
||||
OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE
|
||||
FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY
|
||||
DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN
|
||||
AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
|
||||
OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
@@ -1 +0,0 @@
|
||||
../LICENSE
|
||||
36
PKGBUILD
36
PKGBUILD
@@ -3,17 +3,26 @@
|
||||
|
||||
pkgname=python-pygls
|
||||
_name=${pkgname#python-}
|
||||
pkgver=1.3.1
|
||||
pkgrel=4
|
||||
pkgver=2.0.0
|
||||
pkgrel=1
|
||||
pkgdesc='Pythonic generic implementation of the Language Server Protocol'
|
||||
arch=('any')
|
||||
arch=(any)
|
||||
url=https://github.com/openlawlibrary/pygls
|
||||
license=('Apache-2.0')
|
||||
depends=('python-cattrs' 'python-lsprotocol')
|
||||
makedepends=('git' 'python-build' 'python-installer' 'python-poetry-core')
|
||||
checkdepends=('python-pytest-asyncio')
|
||||
license=(Apache-2.0)
|
||||
depends=(
|
||||
python-attrs
|
||||
python-cattrs
|
||||
python-lsprotocol
|
||||
)
|
||||
makedepends=(
|
||||
git
|
||||
python-build
|
||||
python-installer
|
||||
python-poetry-core
|
||||
)
|
||||
checkdepends=(python-pytest-asyncio)
|
||||
source=("git+$url.git#tag=v$pkgver")
|
||||
b2sums=('c893198f1004256118acfa1bee3aefb87f98a34f2a634de7263d621e56673312a735e94ab8703135e7e43df21cde0a07946a9187c54878c2dcadd696fb8830e4')
|
||||
b2sums=('db43d6da778d53ca879bf702a04e0779ec66dd6994987677b38c19b0fd88ccb30f2bfd5a556c50a85bdae879e08c54ab4cf7d92d029d7aff4b270f039ae63290')
|
||||
|
||||
build() {
|
||||
cd "$_name"
|
||||
@@ -26,12 +35,11 @@ check() {
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$_name"
|
||||
python -m installer --destdir="$pkgdir" dist/*.whl
|
||||
|
||||
# Symlink license file
|
||||
local site_packages=$(python -c "import site; print(site.getsitepackages()[0])")
|
||||
install -d "$pkgdir"/usr/share/licenses/$pkgname
|
||||
ln -s "$site_packages"/"$_name"-$pkgver.dist-info/LICENSE.txt \
|
||||
"$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
|
||||
ln -s "$site_packages"/"$_name"-$pkgver.dist-info/licenses/LICENSE.txt \
|
||||
"$pkgdir"/usr/share/licenses/$pkgname
|
||||
|
||||
cd "$_name"
|
||||
python -m installer --destdir="$pkgdir" dist/*.whl
|
||||
}
|
||||
|
||||
22
REUSE.toml
22
REUSE.toml
@@ -1,22 +0,0 @@
|
||||
version = 1
|
||||
|
||||
[[annotations]]
|
||||
path = [
|
||||
"PKGBUILD",
|
||||
"README.md",
|
||||
"keys/**",
|
||||
".SRCINFO",
|
||||
".nvchecker.toml",
|
||||
"*.install",
|
||||
"*.sysusers",
|
||||
"*.tmpfiles",
|
||||
"*.logrotate",
|
||||
"*.pam",
|
||||
"*.service",
|
||||
"*.socket",
|
||||
"*.timer",
|
||||
"*.desktop",
|
||||
"*.hook",
|
||||
]
|
||||
SPDX-FileCopyrightText = "Arch Linux contributors"
|
||||
SPDX-License-Identifier = "0BSD"
|
||||
Reference in New Issue
Block a user