blob: a3088c874c3ad2027f4c379f42616d070e7500b0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# Maintainer: Dominik Kozaczko <dominik+aur@kozaczko.info>
pkgname=python-pytest-language-server
_pkgname=${pkgname#python-}
pkgver=0.17.0
pkgrel=3
pkgdesc="A blazingly fast Language Server Protocol (LSP) implementation for pytest."
arch=('any')
url="https://github.com/bellini666/$_pkgname"
license=('MIT')
_archive=("${_pkgname//-/_}-$pkgver")
source=("https://files.pythonhosted.org/packages/source/${_pkgname::1}/${_pkgname}/${_archive}.tar.gz")
sha256sums=("685fc7174d3137b48df53828fe88156f065f680a7177ac34d7dea90702826db7")
conflicts=()
depends=(
'python'
)
makedepends=(
'python-maturin'
'python-build'
'python-installer'
'python-wheel'
'python-setuptools'
)
build() {
cd "$_archive"
python -m build -wn
}
package() {
cd "$_archive"
python -m installer -d "$pkgdir" dist/*.whl
}
|