16 Commits

Author SHA1 Message Date
Daniel M. Capella
024d737d4a upgpkg: 1.0.2-1 2023-05-16 18:46:10 +00:00
Felix Yan
6d95e55328 rebuild with python 3.11 2023-04-08 04:10:26 +00:00
Daniel M. Capella
c081da1169 Apply patch for typeguard 3 support
Thanks to @felixonmars
2023-03-16 20:37:15 +00:00
Daniel M. Capella
4ba337456f upgpkg: 1.0.1-1 2023-02-16 17:11:40 +00:00
Daniel M. Capella
aed1e0fe47 upgpkg: 1.0.0-1 2022-12-27 22:48:07 +00:00
Daniel M. Capella
3790946e38 upgpkg: 0.13.1-1 2022-12-17 00:55:37 +00:00
Antonio Rojas
4411908402 Update to 0.13.0 2022-11-22 22:56:08 +00:00
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
Felix Yan
b167108df3 Python 3.10 rebuild 2021-12-02 21:38:24 +00:00
Felix Yan
2b621d5b6d Python 3.10 rebuild 2021-12-01 00:37:26 +00:00
Daniel M. Capella
f7d114e115 Use venv when tests need to import built project
python-setuptools-scm is the only package I hit a wall with:
> ==> Starting check()...
> running install
> running bdist_egg
> bdist_egg is forbidden, please update to setuptools>=45 which uses pip
2021-11-07 13:53:47 +00:00
Evangelos Foutras
b4f66f8614 Remove PYTHONHASHSEED workaround now set by pacman 2021-09-07 02:35:30 +00:00
Daniel M. Capella
56e28d2ed3 upgpkg: 0.11.2-1 2021-07-23 16:17:59 +00:00

View File

@@ -3,19 +3,24 @@
_name=pygls
pkgname=python-pygls
pkgver=0.11.1
pkgver=1.0.2
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'
depends=('python-lsprotocol' 'python-typeguard')
makedepends=('python-build' 'python-installer' 'python-setuptools-scm'
'python-toml' 'python-wheel')
checkdepends=('python-mock' 'python-pytest' 'python-pytest-asyncio')
checkdepends=('python-pytest' 'python-pytest-asyncio')
source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz")
sha256sums=('cb30ccf1eee14760ce1b7167a9d39df9e72368ec7a61accdd6bf0b9c73ea0319')
b2sums=('eba67cbcb7ac46784dc1c70f01e0b35d5ff2ce20fe51a0feb9d4be635576000f97c8b3bfd2bb2b38cf1c88cc9e77a3e998b805b5824ce7c2478c11f4c04af885')
sha256sums=('888ed63d1f650b4fc64d603d73d37545386ec533c0caac921aed80f80ea946a4')
b2sums=('0274f5033c8a482ee82afd57944f3bb1e59230fb46654c8f3d5a039f3481b0ede368b6bca373915af78ecec1a79fad50d3b14cb8db5340086ac2c9acf9a6b87f')
prepare() {
cd $_name-$pkgver
sed -i 's/typeguard>=3,<4/typeguard>=3/' setup.cfg
}
build() {
cd $_name-$pkgver
@@ -29,14 +34,11 @@ check() {
package() {
cd $_name-$pkgver
export PYTHONHASHSEED=0
python -m install --optimize=1 --destdir="$pkgdir" dist/*.whl
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 \
ln -s "$site_packages"/$_name-$pkgver.dist-info/LICENSE.txt \
"$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
}
# vim:set ts=2 sw=2 et: