[arch-commits] Commit in python-lsp-black/repos/community-staging-any (2 files)
Felix Yan
felixonmars at gemini.archlinux.org
Thu Dec 2 21:54:54 UTC 2021
Date: Thursday, December 2, 2021 @ 21:54:54
Author: felixonmars
Revision: 1062754
archrelease: copy trunk to community-staging-any
Added:
python-lsp-black/repos/community-staging-any/PKGBUILD
(from rev 1062753, python-lsp-black/trunk/PKGBUILD)
Deleted:
python-lsp-black/repos/community-staging-any/PKGBUILD
----------+
PKGBUILD | 60 ++++++++++++++++++++++++++++++------------------------------
1 file changed, 30 insertions(+), 30 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-12-02 21:54:50 UTC (rev 1062753)
+++ PKGBUILD 2021-12-02 21:54:54 UTC (rev 1062754)
@@ -1,30 +0,0 @@
-# Maintainer: Bruno Pagani <archange at archlinux.org>
-
-pkgname=python-lsp-black
-pkgver=1.0.0
-pkgrel=3
-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=('76e23e09e342b572c94b42a9d8c3cf10c3a1b1aed9969bd6817cb085e214432e')
-
-build() {
- cd ${pkgname}-${pkgver}
- python setup.py build
-}
-
-check() {
- cd ${pkgname}-${pkgver}
- PYTHONPATH="${PWD}/build/lib" pytest -v --color=yes tests --deselect tests/test_plugin.py::test_entry_point
-}
-
-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-staging-any/PKGBUILD (from rev 1062753, python-lsp-black/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-12-02 21:54:54 UTC (rev 1062754)
@@ -0,0 +1,30 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+
+pkgname=python-lsp-black
+pkgver=1.0.0
+pkgrel=4
+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=('76e23e09e342b572c94b42a9d8c3cf10c3a1b1aed9969bd6817cb085e214432e')
+
+build() {
+ cd ${pkgname}-${pkgver}
+ python setup.py build
+}
+
+check() {
+ cd ${pkgname}-${pkgver}
+ PYTHONPATH="${PWD}/build/lib" pytest -v --color=yes tests --deselect tests/test_plugin.py::test_entry_point
+}
+
+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