Date: Saturday, April 2, 2022 @ 16:09:03 Author: archange Revision: 1180842
archrelease: copy trunk to community-any Added: python-lsp-black/repos/community-any/PKGBUILD (from rev 1180841, 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-02 16:07:37 UTC (rev 1180841) +++ PKGBUILD 2022-04-02 16:09:03 UTC (rev 1180842) @@ -1,32 +0,0 @@ -# Maintainer: Bruno Pagani <archa...@archlinux.org> - -pkgname=python-lsp-black -pkgver=1.1.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=('917981bd5bfb849219971b15a30ee63073c11a319508638e42161a1e72905577') - -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 1180841, python-lsp-black/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-04-02 16:09:03 UTC (rev 1180842) @@ -0,0 +1,32 @@ +# Maintainer: Bruno Pagani <archa...@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}/ +}