Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2b621d5b6d | ||
|
|
f7d114e115 | ||
|
|
b4f66f8614 | ||
|
|
56e28d2ed3 |
11
PKGBUILD
11
PKGBUILD
@@ -3,8 +3,8 @@
|
||||
|
||||
_name=pygls
|
||||
pkgname=python-pygls
|
||||
pkgver=0.11.1
|
||||
pkgrel=1
|
||||
pkgver=0.11.2
|
||||
pkgrel=2
|
||||
pkgdesc='Pythonic generic implementation of the Language Server Protocol'
|
||||
arch=('any')
|
||||
url=https://github.com/openlawlibrary/pygls
|
||||
@@ -14,8 +14,8 @@ makedepends=('python-build' 'python-install' 'python-setuptools-scm'
|
||||
'python-toml' 'python-wheel')
|
||||
checkdepends=('python-mock' 'python-pytest' 'python-pytest-asyncio')
|
||||
source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz")
|
||||
sha256sums=('cb30ccf1eee14760ce1b7167a9d39df9e72368ec7a61accdd6bf0b9c73ea0319')
|
||||
b2sums=('eba67cbcb7ac46784dc1c70f01e0b35d5ff2ce20fe51a0feb9d4be635576000f97c8b3bfd2bb2b38cf1c88cc9e77a3e998b805b5824ce7c2478c11f4c04af885')
|
||||
sha256sums=('1ade26fc9cf0d7c0700fa5430e8dc8411b1108d1eb21565adbe480b64f721a84')
|
||||
b2sums=('3c26a4067c9f55eec9d151eee4dd90ff7c18084ab89999b70c944fdf5b6f1222938db1743524f433eb152d75a4446b024cff85f1d16924938727808844091271')
|
||||
|
||||
build() {
|
||||
cd $_name-$pkgver
|
||||
@@ -29,13 +29,12 @@ check() {
|
||||
|
||||
package() {
|
||||
cd $_name-$pkgver
|
||||
export PYTHONHASHSEED=0
|
||||
python -m install --optimize=1 --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 \
|
||||
ln -s "$site_packages"/$_name-$pkgver.dist-info/LICENSE.txt \
|
||||
"$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user