[arch-commits] Commit in python-lsp-black/repos/community-any (PKGBUILD PKGBUILD)
Bruno Pagani
archange at gemini.archlinux.org
Sat Apr 16 19:41:34 UTC 2022
Date: Saturday, April 16, 2022 @ 19:41:34
Author: archange
Revision: 1186726
archrelease: copy trunk to community-any
Added:
python-lsp-black/repos/community-any/PKGBUILD
(from rev 1186725, python-lsp-black/trunk/PKGBUILD)
Deleted:
python-lsp-black/repos/community-any/PKGBUILD
----------+
PKGBUILD | 64 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 32 insertions(+), 32 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-04-16 19:41:09 UTC (rev 1186725)
+++ PKGBUILD 2022-04-16 19:41:34 UTC (rev 1186726)
@@ -1,32 +0,0 @@
-# Maintainer: Bruno Pagani <archange at archlinux.org>
-
-pkgname=python-lsp-black
-pkgver=1.2.0
-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"
-license=(MIT)
-depends=(python-black python-lsp-server python-toml)
-makedepends=(python-setuptools)
-checkdepends=(python-pytest)
-source=(${url}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
-sha256sums=('2eac50f70397d1abea33f7ba53122d41cf2b50633132648243775bd03b3d76c6')
-
-build() {
- cd ${pkgname}-${pkgver}
- python setup.py build
-}
-
-check() {
- cd ${pkgname}-${pkgver}
- python -m venv --system-site-packages test-env
- test-env/bin/python setup.py install --skip-build
- test-env/bin/python -m pytest -vv --color=yes tests
-}
-
-package() {
- cd ${pkgname}-${pkgver}
- python setup.py install --root=${pkgdir} --optimize=1 --skip-build
- install -Dm644 LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}/
-}
Copied: python-lsp-black/repos/community-any/PKGBUILD (from rev 1186725, python-lsp-black/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-04-16 19:41:34 UTC (rev 1186726)
@@ -0,0 +1,32 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+
+pkgname=python-lsp-black
+pkgver=1.2.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"
+license=(MIT)
+depends=(python-black python-lsp-server python-toml)
+makedepends=(python-setuptools)
+checkdepends=(python-pytest)
+source=(${url}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
+sha256sums=('1df12c5d3f6407040dd0020a918ed98b20c1ba68720e662f7c8044ed15f87186')
+
+build() {
+ cd ${pkgname}-${pkgver}
+ python setup.py build
+}
+
+check() {
+ cd ${pkgname}-${pkgver}
+ python -m venv --system-site-packages test-env
+ test-env/bin/python setup.py install --skip-build
+ test-env/bin/python -m pytest -vv --color=yes tests
+}
+
+package() {
+ cd ${pkgname}-${pkgver}
+ python setup.py install --root=${pkgdir} --optimize=1 --skip-build
+ install -Dm644 LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}/
+}
More information about the arch-commits
mailing list