4 Commits

Author SHA1 Message Date
Antonio Rojas
861476e8cf Update to 0.12.1 2022-08-31 17:18:51 +00:00
Antonio Rojas
853a4defa9 Update to 0.11.3 2022-07-02 19:08:16 +00:00
Daniel M. Capella
c45e24884b Do not specify --compile-bytecode installer option
The defaults for --compile-bytecode (0, 1) are equivalent to the --optimize=1 used previously.
2022-02-19 21:47:34 +00:00
Daniel M. Capella
5413d3ac75 Switch to python-installer from python-install 2022-02-16 23:32:21 +00:00

View File

@@ -3,19 +3,19 @@
_name=pygls
pkgname=python-pygls
pkgver=0.11.2
pkgrel=3
pkgver=0.12.1
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=('1ade26fc9cf0d7c0700fa5430e8dc8411b1108d1eb21565adbe480b64f721a84')
b2sums=('3c26a4067c9f55eec9d151eee4dd90ff7c18084ab89999b70c944fdf5b6f1222938db1743524f433eb152d75a4446b024cff85f1d16924938727808844091271')
sha256sums=('3b9da223fd6e7624aed047dec2cbb6ab471c1441d5b48369daad012594c11610')
b2sums=('ccfc747e9b645c5ffafadf7d7b6af25d3f014f3d7cf0888ca896feddca5ea3672af3b33d2aa7042819d4dbef44e1d49230e513ee795a618baa5484e7586c01b5')
build() {
cd $_name-$pkgver
@@ -29,7 +29,8 @@ check() {
package() {
cd $_name-$pkgver
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])")
@@ -37,5 +38,3 @@ package() {
ln -s "$site_packages"/$_name-$pkgver.dist-info/LICENSE.txt \
"$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
}
# vim:set ts=2 sw=2 et: