Compare commits
10 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 3ff2c79404 | |||
|
|
66a44112a1 | ||
|
|
ab0f76e3da | ||
|
|
8b0414ab72 | ||
|
|
d00160c35b | ||
|
|
3188da27c9 | ||
|
|
dde4182353 | ||
|
|
d44f34b6c0 | ||
|
|
9fdac19b31 | ||
|
|
c368b9b9b2 |
10
.SRCINFO
10
.SRCINFO
@@ -1,17 +1,19 @@
|
||||
pkgbase = python-pygls
|
||||
pkgdesc = Pythonic generic implementation of the Language Server Protocol
|
||||
pkgver = 1.2.1
|
||||
pkgver = 2.0.0
|
||||
pkgrel = 1
|
||||
url = https://github.com/openlawlibrary/pygls
|
||||
arch = any
|
||||
license = APACHE
|
||||
license = Apache-2.0
|
||||
checkdepends = python-pytest-asyncio
|
||||
makedepends = git
|
||||
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.2.1
|
||||
b2sums = SKIP
|
||||
source = git+https://github.com/openlawlibrary/pygls.git#tag=v2.0.0
|
||||
b2sums = db43d6da778d53ca879bf702a04e0779ec66dd6994987677b38c19b0fd88ccb30f2bfd5a556c50a85bdae879e08c54ab4cf7d92d029d7aff4b270f039ae63290
|
||||
|
||||
pkgname = python-pygls
|
||||
|
||||
4
.nvchecker.toml
Normal file
4
.nvchecker.toml
Normal file
@@ -0,0 +1,4 @@
|
||||
[python-pygls]
|
||||
source = "git"
|
||||
git = "https://github.com/openlawlibrary/pygls.git"
|
||||
prefix = "v"
|
||||
37
PKGBUILD
37
PKGBUILD
@@ -3,17 +3,26 @@
|
||||
|
||||
pkgname=python-pygls
|
||||
_name=${pkgname#python-}
|
||||
pkgver=1.2.1
|
||||
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')
|
||||
depends=('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=('SKIP')
|
||||
b2sums=('db43d6da778d53ca879bf702a04e0779ec66dd6994987677b38c19b0fd88ccb30f2bfd5a556c50a85bdae879e08c54ab4cf7d92d029d7aff4b270f039ae63290')
|
||||
|
||||
build() {
|
||||
cd "$_name"
|
||||
@@ -26,12 +35,14 @@ 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
|
||||
}
|
||||
|
||||
source[0]="$_name.tar.xz"
|
||||
b2sums[0]="SKIP"
|
||||
|
||||
14
_service
Normal file
14
_service
Normal file
@@ -0,0 +1,14 @@
|
||||
<?xml version="1.0"?>
|
||||
<services>
|
||||
<service name="tar_scm">
|
||||
<param name="scm">git</param>
|
||||
<param name="url">https://github.com/openlawlibrary/pygls.git</param>
|
||||
<param name="filename">pygls</param>
|
||||
<param name="revision">refs/tags/v2.0.0</param>
|
||||
<param name="version">_none_</param>
|
||||
</service>
|
||||
<service name="recompress">
|
||||
<param name="file">*.tar</param>
|
||||
<param name="compression">xz</param>
|
||||
</service>
|
||||
</services>
|
||||
Reference in New Issue
Block a user