[arch-commits] Commit in python-lsp-black/trunk (PKGBUILD)
Bruno Pagani
archange at gemini.archlinux.org
Sun Dec 5 13:23:00 UTC 2021
Date: Sunday, December 5, 2021 @ 13:23:00
Author: archange
Revision: 1065149
upgpkg: python-lsp-black 1.0.1-1
Modified:
python-lsp-black/trunk/PKGBUILD
----------+
PKGBUILD | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-12-05 13:15:51 UTC (rev 1065148)
+++ PKGBUILD 2021-12-05 13:23:00 UTC (rev 1065149)
@@ -1,8 +1,8 @@
# Maintainer: Bruno Pagani <archange at archlinux.org>
pkgname=python-lsp-black
-pkgver=1.0.0
-pkgrel=4
+pkgver=1.0.1
+pkgrel=1
pkgdesc="python-lsp-server plugin that adds support to black autoformatter, forked from pyls-black"
arch=(any)
url="https://github.com/python-lsp/python-lsp-black"
@@ -11,7 +11,7 @@
makedepends=(python-setuptools)
checkdepends=(python-pytest)
source=(${url}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
-sha256sums=('76e23e09e342b572c94b42a9d8c3cf10c3a1b1aed9969bd6817cb085e214432e')
+sha256sums=('432666772a642e45536af72da39f9437d46662ebca924247ab3776090edc7e22')
build() {
cd ${pkgname}-${pkgver}
@@ -20,7 +20,9 @@
check() {
cd ${pkgname}-${pkgver}
- PYTHONPATH="${PWD}/build/lib" pytest -v --color=yes tests --deselect tests/test_plugin.py::test_entry_point
+ python -m venv --system-site-packages test-env
+ test-env/bin/python setup.py install --skip-build
+ test-env/bin/python -m pytest -v --color=yes tests
}
package() {
More information about the arch-commits
mailing list