blob: 5552e43e93d76dd7b7ebcdfbf0dfbbf0fcfe522f (
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
|
# Maintainer: Atte Lautanala <atte@lautana.la>
# Contributor bageljr <bageljr 897 at protonmail dot com>
# PKGBUILD generated by pipman
# Python package author: Lie Ryan <lie.1296@gmail.com>
pkgname=python-pylsp-rope
_name=pylsp_rope
pkgver=0.1.17
pkgrel=1
pkgdesc="Extended refactoring capabilities for Python LSP Server using Rope."
arch=(any)
url="https://github.com/python-rope/pylsp-rope"
license=('MIT')
depends=("python-rope" "python-typing_extensions" "python" "python-lsp-server")
makedepends=("python-pip" "python-build" "python-installer" "python-pytest" "python-wheel" "python-setuptools")
source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz")
b2sums=('75b35a857661db5c2808b07ecc19ab5eb253a52d31f0c24ab29f74fd9ad379901450610530923367dd941ca66fa85d63c20e0c1d31352f9d25afe0fe33e94d22')
build() {
cd $_name-$pkgver
python -m build --wheel --no-isolation
}
package() {
cd $_name-$pkgver
python -m installer --destdir="$pkgdir" dist/*.whl
install -Dm 644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}
check() {
cd $_name-$pkgver
python -m pytest .
}
|