[arch-commits] Commit in jedi-language-server/repos/community-any (PKGBUILD PKGBUILD)
Daniel M. Capella
polyzen at archlinux.org
Fri Jul 9 19:04:29 UTC 2021
Date: Friday, July 9, 2021 @ 19:04:29
Author: polyzen
Revision: 976297
archrelease: copy trunk to community-any
Added:
jedi-language-server/repos/community-any/PKGBUILD
(from rev 976296, jedi-language-server/trunk/PKGBUILD)
Deleted:
jedi-language-server/repos/community-any/PKGBUILD
----------+
PKGBUILD | 100 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 50 insertions(+), 50 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-07-09 19:04:12 UTC (rev 976296)
+++ PKGBUILD 2021-07-09 19:04:29 UTC (rev 976297)
@@ -1,50 +0,0 @@
-# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
-
-pkgname=jedi-language-server
-pkgver=0.34.0
-pkgrel=1
-pkgdesc='Language server for Jedi'
-arch=('any')
-url=https://github.com/pappasam/jedi-language-server
-license=('MIT')
-depends=('python-docstring-to-markdown' 'python-jedi' 'python-pygls')
-makedepends=('python-build' 'python-install' 'python-poetry')
-checkdepends=('python-jsonrpc-server' 'python-pyhamcrest' 'python-pytest')
-source=("$url/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
-b2sums=('feba92484c9b2c15c65bae97c69c35754a71349c47521941099aad6c69c148132a22a7aa639ee49a17ed9e2903f3b5347fb17b1c2ba6c2f1e8ffd2a51f0bfe23')
-
-prepare() {
- cd $pkgname-$pkgver
- # Remove include list https://github.com/pypa/wheel/issues/92
- sed -i '/include = \["README.md"\]/d' pyproject.toml
-}
-
-build() {
- cd $pkgname-$pkgver
- python -m build --wheel --skip-dependency-check --no-isolation
-}
-
-check() {
- cd $pkgname-$pkgver
- mkdir -p temp
- local site_packages=$(python -c "import site; print(site.getsitepackages()[0])")
- python -m install --optimize=1 --destdir=temp dist/*.whl
- PATH="$PWD/temp/usr/bin:$PATH" PYTHONPATH="$PWD/temp/$site_packages" pytest tests
-}
-
-package() {
- cd $pkgname-$pkgver
- export PYTHONHASHSEED=0
- python -m install --optimize=1 --destdir="$pkgdir" dist/*.whl
-
- # https://github.com/FFY00/python-install/pull/6
- chmod +x "$pkgdir"/usr/bin/*
-
- # Symlink license file
- local site_packages=$(python -c "import site; print(site.getsitepackages()[0])")
- install -d "$pkgdir"/usr/share/licenses/$pkgname
- ln -s $site_packages/${pkgname//-/_}-$pkgver.dist-info/LICENSE \
- "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-# vim:set ts=2 sw=2 et:
Copied: jedi-language-server/repos/community-any/PKGBUILD (from rev 976296, jedi-language-server/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-07-09 19:04:29 UTC (rev 976297)
@@ -0,0 +1,50 @@
+# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
+
+pkgname=jedi-language-server
+pkgver=0.34.1
+pkgrel=1
+pkgdesc='Language server for Jedi'
+arch=('any')
+url=https://github.com/pappasam/jedi-language-server
+license=('MIT')
+depends=('python-docstring-to-markdown' 'python-jedi' 'python-pygls')
+makedepends=('python-build' 'python-install' 'python-poetry')
+checkdepends=('python-jsonrpc-server' 'python-pyhamcrest' 'python-pytest')
+source=("$url/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
+b2sums=('4718d2f7ed78ab3faa32066ec365c19cf6a4f0f8d7702191868db395269c3e7c6ca3b1b96015e325025cf59ead8ed261a22b5eb2f14ed26dcc30f89f50d17d54')
+
+prepare() {
+ cd $pkgname-$pkgver
+ # Remove include list https://github.com/pypa/wheel/issues/92
+ sed -i '/include = \["README.md"\]/d' pyproject.toml
+}
+
+build() {
+ cd $pkgname-$pkgver
+ python -m build --wheel --skip-dependency-check --no-isolation
+}
+
+check() {
+ cd $pkgname-$pkgver
+ mkdir -p temp
+ local site_packages=$(python -c "import site; print(site.getsitepackages()[0])")
+ python -m install --optimize=1 --destdir=temp dist/*.whl
+ PATH="$PWD/temp/usr/bin:$PATH" PYTHONPATH="$PWD/temp/$site_packages" pytest tests
+}
+
+package() {
+ cd $pkgname-$pkgver
+ export PYTHONHASHSEED=0
+ python -m install --optimize=1 --destdir="$pkgdir" dist/*.whl
+
+ # https://github.com/FFY00/python-install/pull/6
+ chmod +x "$pkgdir"/usr/bin/*
+
+ # Symlink license file
+ local site_packages=$(python -c "import site; print(site.getsitepackages()[0])")
+ install -d "$pkgdir"/usr/share/licenses/$pkgname
+ ln -s $site_packages/${pkgname//-/_}-$pkgver.dist-info/LICENSE \
+ "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list