Compare commits
8 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
853a4defa9 | ||
|
|
c45e24884b | ||
|
|
5413d3ac75 | ||
|
|
b167108df3 | ||
|
|
2b621d5b6d | ||
|
|
f7d114e115 | ||
|
|
b4f66f8614 | ||
|
|
56e28d2ed3 |
16
PKGBUILD
16
PKGBUILD
@@ -3,19 +3,19 @@
|
||||
|
||||
_name=pygls
|
||||
pkgname=python-pygls
|
||||
pkgver=0.11.1
|
||||
pkgver=0.11.3
|
||||
pkgrel=1
|
||||
pkgdesc='Pythonic generic implementation of the Language Server Protocol'
|
||||
arch=('any')
|
||||
url=https://github.com/openlawlibrary/pygls
|
||||
license=('APACHE')
|
||||
depends=('python-pydantic' 'python-typeguard')
|
||||
makedepends=('python-build' 'python-install' 'python-setuptools-scm'
|
||||
makedepends=('python-build' 'python-installer' '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=('4d86fc854e6d6613cd42bf7511e9c6aac947fc8d62ff973a705570b036d969f2')
|
||||
b2sums=('c98e70822a340ecbde924e9a2f237a32bf1f7710fb6ca76e55b0c7631cfd8b2bc14ebf87fb78fe9db1ea87f600388f620c7fb01c37cb7f14a185d6521df62611')
|
||||
|
||||
build() {
|
||||
cd $_name-$pkgver
|
||||
@@ -29,14 +29,12 @@ check() {
|
||||
|
||||
package() {
|
||||
cd $_name-$pkgver
|
||||
export PYTHONHASHSEED=0
|
||||
python -m install --optimize=1 --destdir="$pkgdir" dist/*.whl
|
||||
python -m installer --destdir="$pkgdir" dist/*.whl
|
||||
rm -r "$pkgdir"/usr/lib/site-packages
|
||||
|
||||
# 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
|
||||
}
|
||||
|
||||
# vim:set ts=2 sw=2 et:
|
||||
|
||||
Reference in New Issue
Block a user