[arch-commits] Commit in python-lsp-server/repos/community-any (PKGBUILD PKGBUILD)
Date: Friday, July 22, 2022 @ 13:22:10 Author: archange Revision: 1255234 archrelease: copy trunk to community-any Added: python-lsp-server/repos/community-any/PKGBUILD (from rev 1255233, python-lsp-server/trunk/PKGBUILD) Deleted: python-lsp-server/repos/community-any/PKGBUILD --+ PKGBUILD | 134 + 1 file changed, 74 insertions(+), 60 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2022-07-22 13:22:01 UTC (rev 1255233) +++ PKGBUILD2022-07-22 13:22:10 UTC (rev 1255234) @@ -1,60 +0,0 @@ -# Maintainer: Jelle van der Waa -# Maintainer: Bruno Pagani -# Contributor: Platon Pronko - -pkgname=python-lsp-server -pkgver=1.4.1 -pkgrel=1 -pkgdesc="Fork of the python-language-server project, maintained by the Spyder IDE team and the community" -arch=(any) -url="https://github.com/python-lsp/python-lsp-server; -license=(MIT) -depends=(python-jedi python-lsp-jsonrpc python-pluggy python-ujson python-setuptools) -makedepends=(python-build python-installer python-setuptools-scm python-wheel) -checkdepends=( -python-pytest -python-flaky -python-matplotlib -python-mccabe -python-numpy -python-pandas -python-pycodestyle -python-pydocstyle -python-pyflakes -python-pylint -python-pyqt5 -python-rope -autopep8 -flake8 -yapf -) -source=(https://files.pythonhosted.org/packages/source/${pkgname::1}/${pkgname}/${pkgname}-${pkgver}.tar.gz) -sha256sums=('be7f83298af9f0951a93972cafc9db04fd7cf5c05f20812515275f0ba70e342f') - -prepare() { - cd ${pkgname}-${pkgver} - sed 's|autopep8>=1.6.0,<1.7.0|autopep8>=1.6.0|g' -i setup.cfg - sed 's|flake8>=4.0.0,<4.1.0|flake8>=4.0.0|g' -i setup.cfg - sed 's|mccabe>=0.6.0,<0.7.0|mccabe>=0.6.0|g' -i setup.cfg - sed 's|pycodestyle>=2.8.0,<2.9.0|pycodestyle>=2.8.0|g' -i setup.cfg - sed 's|pyflakes>=2.4.0,<2.5.0|pyflakes>=2.4.0|g' -i setup.cfg -} - -build() { - cd ${pkgname}-${pkgver} - python -m build -wn -} - -check() { - cd ${pkgname}-${pkgver} - # Disable coverage - sed -i '/addopts =/d' setup.cfg - sed -i '/--cov/d' setup.cfg - pytest -vv --color=yes -} - -package() { - cd ${pkgname}-${pkgver} - python -m installer -d="${pkgdir}" dist/*.whl - install -Dm644 LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}/ -} Copied: python-lsp-server/repos/community-any/PKGBUILD (from rev 1255233, python-lsp-server/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2022-07-22 13:22:10 UTC (rev 1255234) @@ -0,0 +1,74 @@ +# Maintainer: Jelle van der Waa +# Maintainer: Bruno Pagani +# Contributor: Platon Pronko + +pkgname=python-lsp-server +pkgver=1.5.0 +pkgrel=1 +pkgdesc="Fork of the python-language-server project, maintained by the Spyder IDE team and the community" +arch=(any) +url="https://github.com/python-lsp/python-lsp-server; +license=(MIT) +depends=(python-jedi python-lsp-jsonrpc python-pluggy python-ujson python-setuptools python-websockets) +makedepends=(python-build python-installer python-setuptools-scm python-wheel) +optdepends=( +'python-mccabe: complexity checking' +'python-pycodestyle: linter - style checking' +'python-pydocstyle: linter - docstring style checking' +'python-pyflakes: linter to detect various errors' +'python-pylint: code linting' +'python-rope: for completions and renaming' +'autopep8: code formatting' +'flake8: error checking' +'yapf: code formatting (preferred)' +'python-whatthepatch: required for yapf support' +) +checkdepends=( +python-pytest +python-flaky +python-mccabe +python-pycodestyle +python-pydocstyle +python-pyflakes +python-pylint +python-rope +autopep8 +flake8 +yapf +python-whatthepatch +python-matplotlib +python-numpy +python-pandas +python-pyqt5 +) +source=(https://files.pythonhosted.org/packages/source/${pkgname::1}/${pkgname}/${pkgname}-${pkgver}.tar.gz) +sha256sums=('e5c094c19925022a27c4068f414b2bb653243f8fb0d768e39735289d7a89380d') + +prepare() { + cd ${pkgname}-${pkgver} + sed 's|autopep8>=1.6.0,<1.7.0|autopep8>=1.6.0|' -i pyproject.toml + sed 's|flake8>=4.0.0,<4.1.0|flake8>=4.0.0|' -i pyproject.toml + sed 's|mccabe>=0.6.0,<0.7.0|mccabe>=0.6.0|' -i pyproject.toml + sed 's|pycodestyle>=2.8.0,<2.9.0|pycodestyle>=2.8.0|' -i pyproject.toml + sed 's|pyflakes>=2.4.0,<2.5.0|pyflakes>=2.4.0|' -i pyproject.toml + sed 's|numpy<1.23|numpy|' -i pyproject.toml +} + +build() { + cd ${pkgname}-${pkgver} + python -m build -wn +} + +check() { + cd ${pkgname}-${pkgver} + # Disable coverage + sed -i '/--cov/d' pyproject.toml + # Numpy completions broken with numpy 1.23 + pytest -vv --color=yes -k 'not test_numpy_completions' +} + +package() { + cd ${pkgname}-${pkgver} + python -m installer -d="${pkgdir}" dist/*.whl +
[arch-commits] Commit in python-lsp-server/repos/community-any (PKGBUILD PKGBUILD)
Date: Saturday, April 2, 2022 @ 16:00:14 Author: archange Revision: 1180836 archrelease: copy trunk to community-any Added: python-lsp-server/repos/community-any/PKGBUILD (from rev 1180835, python-lsp-server/trunk/PKGBUILD) Deleted: python-lsp-server/repos/community-any/PKGBUILD --+ PKGBUILD | 120 ++--- 1 file changed, 60 insertions(+), 60 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2022-04-02 15:59:44 UTC (rev 1180835) +++ PKGBUILD2022-04-02 16:00:14 UTC (rev 1180836) @@ -1,60 +0,0 @@ -# Maintainer: Jelle van der Waa -# Maintainer: Bruno Pagani -# Contributor: Platon Pronko - -pkgname=python-lsp-server -pkgver=1.4.0 -pkgrel=1 -pkgdesc="Fork of the python-language-server project, maintained by the Spyder IDE team and the community" -arch=(any) -url="https://github.com/python-lsp/python-lsp-server; -license=(MIT) -depends=(python-jedi python-lsp-jsonrpc python-pluggy python-ujson python-setuptools) -makedepends=(python-build python-installer python-setuptools-scm python-wheel) -checkdepends=( -python-pytest -python-flaky -python-matplotlib -python-mccabe -python-numpy -python-pandas -python-pycodestyle -python-pydocstyle -python-pyflakes -python-pylint -python-pyqt5 -python-rope -autopep8 -flake8 -yapf -) -source=(https://files.pythonhosted.org/packages/source/${pkgname::1}/${pkgname}/${pkgname}-${pkgver}.tar.gz) -sha256sums=('769142c07573f6b66e930cbd7c588b826082550bef6267bb0aec63e7b6260009') - -prepare() { - cd ${pkgname}-${pkgver} - sed 's|autopep8>=1.6.0,<1.7.0|autopep8>=1.6.0|g' -i setup.cfg - sed 's|flake8>=4.0.0,<4.1.0|flake8>=4.0.0|g' -i setup.cfg - sed 's|mccabe>=0.6.0,<0.7.0|mccabe>=0.6.0|g' -i setup.cfg - sed 's|pycodestyle>=2.8.0,<2.9.0|pycodestyle>=2.8.0|g' -i setup.cfg - sed 's|pyflakes>=2.4.0,<2.5.0|pyflakes>=2.4.0|g' -i setup.cfg -} - -build() { - cd ${pkgname}-${pkgver} - python -m build -wn -} - -check() { - cd ${pkgname}-${pkgver} - # Disable coverage - sed -i '/addopts =/d' setup.cfg - sed -i '/--cov/d' setup.cfg - pytest -vv --color=yes -} - -package() { - cd ${pkgname}-${pkgver} - python -m installer -d="${pkgdir}" dist/*.whl - install -Dm644 LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}/ -} Copied: python-lsp-server/repos/community-any/PKGBUILD (from rev 1180835, python-lsp-server/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2022-04-02 16:00:14 UTC (rev 1180836) @@ -0,0 +1,60 @@ +# Maintainer: Jelle van der Waa +# Maintainer: Bruno Pagani +# Contributor: Platon Pronko + +pkgname=python-lsp-server +pkgver=1.4.1 +pkgrel=1 +pkgdesc="Fork of the python-language-server project, maintained by the Spyder IDE team and the community" +arch=(any) +url="https://github.com/python-lsp/python-lsp-server; +license=(MIT) +depends=(python-jedi python-lsp-jsonrpc python-pluggy python-ujson python-setuptools) +makedepends=(python-build python-installer python-setuptools-scm python-wheel) +checkdepends=( +python-pytest +python-flaky +python-matplotlib +python-mccabe +python-numpy +python-pandas +python-pycodestyle +python-pydocstyle +python-pyflakes +python-pylint +python-pyqt5 +python-rope +autopep8 +flake8 +yapf +) +source=(https://files.pythonhosted.org/packages/source/${pkgname::1}/${pkgname}/${pkgname}-${pkgver}.tar.gz) +sha256sums=('be7f83298af9f0951a93972cafc9db04fd7cf5c05f20812515275f0ba70e342f') + +prepare() { + cd ${pkgname}-${pkgver} + sed 's|autopep8>=1.6.0,<1.7.0|autopep8>=1.6.0|g' -i setup.cfg + sed 's|flake8>=4.0.0,<4.1.0|flake8>=4.0.0|g' -i setup.cfg + sed 's|mccabe>=0.6.0,<0.7.0|mccabe>=0.6.0|g' -i setup.cfg + sed 's|pycodestyle>=2.8.0,<2.9.0|pycodestyle>=2.8.0|g' -i setup.cfg + sed 's|pyflakes>=2.4.0,<2.5.0|pyflakes>=2.4.0|g' -i setup.cfg +} + +build() { + cd ${pkgname}-${pkgver} + python -m build -wn +} + +check() { + cd ${pkgname}-${pkgver} + # Disable coverage + sed -i '/addopts =/d' setup.cfg + sed -i '/--cov/d' setup.cfg + pytest -vv --color=yes +} + +package() { + cd ${pkgname}-${pkgver} + python -m installer -d="${pkgdir}" dist/*.whl + install -Dm644 LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}/ +}
[arch-commits] Commit in python-lsp-server/repos/community-any (PKGBUILD PKGBUILD)
Date: Monday, March 21, 2022 @ 00:06:36 Author: archange Revision: 1166363 archrelease: copy trunk to community-any Added: python-lsp-server/repos/community-any/PKGBUILD (from rev 1166362, python-lsp-server/trunk/PKGBUILD) Deleted: python-lsp-server/repos/community-any/PKGBUILD --+ PKGBUILD | 120 ++--- 1 file changed, 60 insertions(+), 60 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2022-03-21 00:06:11 UTC (rev 1166362) +++ PKGBUILD2022-03-21 00:06:36 UTC (rev 1166363) @@ -1,60 +0,0 @@ -# Maintainer: Jelle van der Waa -# Maintainer: Bruno Pagani -# Contributor: Platon Pronko - -pkgname=python-lsp-server -pkgver=1.3.2 -pkgrel=2 -pkgdesc="Fork of the python-language-server project, maintained by the Spyder IDE team and the community" -arch=(any) -url="https://github.com/python-lsp/python-lsp-server; -license=(MIT) -depends=(python-jedi python-lsp-jsonrpc python-pluggy python-ujson python-setuptools) -checkdepends=( -python-pytest -python-flaky -python-matplotlib -python-mccabe -python-numpy -python-pandas -python-pycodestyle -python-pydocstyle -python-pyflakes -python-pylint -python-pyqt5 -python-rope -autopep8 -flake8 -yapf -) -source=(${url}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz -${pkgname}-fix-py3.10.patch::${url}/pull/133.patch) -sha256sums=('c768f5714880b38111516339384bbb0f7328cd1c50090038c915210f3f6b01cb' -'2faa399a1dc34f6956d6d0196cecf5ece53cbff5ec2f2cc8bea8400997f9957e') - -prepare() { - cd ${pkgname}-${pkgver} - sed 's|autopep8>=1.6.0,<1.7.0|autopep8>=1.6.0|g' -i setup.py - sed 's|flake8>=4.0.0,<4.1.0|flake8>=4.0.0|g' -i setup.py - sed 's|mccabe>=0.6.0,<0.7.0|mccabe>=0.6.0|g' -i setup.py - sed 's|pycodestyle>=2.8.0,<2.9.0|pycodestyle>=2.8.0|g' -i setup.py - sed 's|pyflakes>=2.4.0,<2.5.0|pyflakes>=2.4.0|g' -i setup.py - patch -p1 < ../${pkgname}-fix-py3.10.patch -} - -build() { - cd ${pkgname}-${pkgver} - python setup.py build -} - -check() { - cd ${pkgname}-${pkgver} - sed -i '/addopts =$/,$d' setup.cfg - pytest -v --color=yes -} - -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-server/repos/community-any/PKGBUILD (from rev 1166362, python-lsp-server/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2022-03-21 00:06:36 UTC (rev 1166363) @@ -0,0 +1,60 @@ +# Maintainer: Jelle van der Waa +# Maintainer: Bruno Pagani +# Contributor: Platon Pronko + +pkgname=python-lsp-server +pkgver=1.4.0 +pkgrel=1 +pkgdesc="Fork of the python-language-server project, maintained by the Spyder IDE team and the community" +arch=(any) +url="https://github.com/python-lsp/python-lsp-server; +license=(MIT) +depends=(python-jedi python-lsp-jsonrpc python-pluggy python-ujson python-setuptools) +makedepends=(python-build python-installer python-setuptools-scm python-wheel) +checkdepends=( +python-pytest +python-flaky +python-matplotlib +python-mccabe +python-numpy +python-pandas +python-pycodestyle +python-pydocstyle +python-pyflakes +python-pylint +python-pyqt5 +python-rope +autopep8 +flake8 +yapf +) +source=(https://files.pythonhosted.org/packages/source/${pkgname::1}/${pkgname}/${pkgname}-${pkgver}.tar.gz) +sha256sums=('769142c07573f6b66e930cbd7c588b826082550bef6267bb0aec63e7b6260009') + +prepare() { + cd ${pkgname}-${pkgver} + sed 's|autopep8>=1.6.0,<1.7.0|autopep8>=1.6.0|g' -i setup.cfg + sed 's|flake8>=4.0.0,<4.1.0|flake8>=4.0.0|g' -i setup.cfg + sed 's|mccabe>=0.6.0,<0.7.0|mccabe>=0.6.0|g' -i setup.cfg + sed 's|pycodestyle>=2.8.0,<2.9.0|pycodestyle>=2.8.0|g' -i setup.cfg + sed 's|pyflakes>=2.4.0,<2.5.0|pyflakes>=2.4.0|g' -i setup.cfg +} + +build() { + cd ${pkgname}-${pkgver} + python -m build -wn +} + +check() { + cd ${pkgname}-${pkgver} + # Disable coverage + sed -i '/addopts =/d' setup.cfg + sed -i '/--cov/d' setup.cfg + pytest -vv --color=yes +} + +package() { + cd ${pkgname}-${pkgver} + python -m installer -d="${pkgdir}" dist/*.whl + install -Dm644 LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}/ +}
[arch-commits] Commit in python-lsp-server/repos/community-any (PKGBUILD PKGBUILD)
Date: Sunday, December 5, 2021 @ 15:03:29 Author: archange Revision: 1065160 archrelease: copy trunk to community-any Added: python-lsp-server/repos/community-any/PKGBUILD (from rev 1065159, python-lsp-server/trunk/PKGBUILD) Deleted: python-lsp-server/repos/community-any/PKGBUILD --+ PKGBUILD | 114 ++--- 1 file changed, 57 insertions(+), 57 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2021-12-05 15:03:05 UTC (rev 1065159) +++ PKGBUILD2021-12-05 15:03:29 UTC (rev 1065160) @@ -1,57 +0,0 @@ -# Maintainer: Jelle van der Waa -# Maintainer: Bruno Pagani -# Contributor: Platon Pronko - -pkgname=python-lsp-server -pkgver=1.2.4 -pkgrel=3 -pkgdesc="Fork of the python-language-server project, maintained by the Spyder IDE team and the community" -arch=(any) -url="https://github.com/python-lsp/python-lsp-server; -license=(MIT) -depends=(python-jedi python-lsp-jsonrpc python-pluggy python-ujson python-setuptools) -checkdepends=( -python-pytest -python-flaky -python-matplotlib -python-mccabe -python-numpy -python-pandas -python-pycodestyle -python-pydocstyle -python-pyflakes -python-pylint -python-pyqt5 -python-rope -autopep8 -flake8 -yapf -) -source=(${url}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz - ${pkgname}-fix-pylint-2.10.patch::https://github.com/python-lsp/python-lsp-server/commit/e8cf8e5b160f227550574cba480e276a98248d44.patch) -sha256sums=('3e9102808f661df18a54e2ddd97285d4b3c4cbc0af6fed8439a1960617f74674' -'1778835e6926a84cc44c16628463394f4a36a5abd532bba2aa87a133ad4f14fe') - -prepare() { - cd ${pkgname}-${pkgver} - patch -p1 < ../${pkgname}-fix-pylint-2.10.patch - sed 's|flake8>=3.8.0,<4.0.0|flake8>=3.8.0|g' -i setup.py - sed 's|pyflakes>=2.3.0,<2.4.0|pyflakes>=2.3.0|g' -i setup.py -} - -build() { - cd ${pkgname}-${pkgver} - python setup.py build -} - -check() { - cd ${pkgname}-${pkgver} - sed -i '/addopts =$/,$d' setup.cfg - pytest -v --color=yes -} - -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-server/repos/community-any/PKGBUILD (from rev 1065159, python-lsp-server/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2021-12-05 15:03:29 UTC (rev 1065160) @@ -0,0 +1,57 @@ +# Maintainer: Jelle van der Waa +# Maintainer: Bruno Pagani +# Contributor: Platon Pronko + +pkgname=python-lsp-server +pkgver=1.3.2 +pkgrel=1 +pkgdesc="Fork of the python-language-server project, maintained by the Spyder IDE team and the community" +arch=(any) +url="https://github.com/python-lsp/python-lsp-server; +license=(MIT) +depends=(python-jedi python-lsp-jsonrpc python-pluggy python-ujson python-setuptools) +checkdepends=( +python-pytest +python-flaky +python-matplotlib +python-mccabe +python-numpy +python-pandas +python-pycodestyle +python-pydocstyle +python-pyflakes +python-pylint +python-pyqt5 +python-rope +autopep8 +flake8 +yapf +) +source=(${url}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz) +sha256sums=('c768f5714880b38111516339384bbb0f7328cd1c50090038c915210f3f6b01cb') + +prepare() { + cd ${pkgname}-${pkgver} + sed 's|autopep8>=1.6.0,<1.7.0|autopep8>=1.6.0|g' -i setup.py + sed 's|flake8>=4.0.0,<4.1.0|flake8>=4.0.0|g' -i setup.py + sed 's|mccabe>=0.6.0,<0.7.0|mccabe>=0.6.0|g' -i setup.py + sed 's|pycodestyle>=2.8.0,<2.9.0|pycodestyle>=2.8.0|g' -i setup.py + sed 's|pyflakes>=2.4.0,<2.5.0|pyflakes>=2.4.0|g' -i setup.py +} + +build() { + cd ${pkgname}-${pkgver} + python setup.py build +} + +check() { + cd ${pkgname}-${pkgver} + sed -i '/addopts =$/,$d' setup.cfg + pytest -v --color=yes +} + +package() { + cd ${pkgname}-${pkgver} + python setup.py install --root=${pkgdir} --optimize=1 --skip-build + install -Dm644 LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}/ +}
[arch-commits] Commit in python-lsp-server/repos/community-any (PKGBUILD PKGBUILD)
Date: Monday, October 18, 2021 @ 13:31:16 Author: archange Revision: 1030838 archrelease: copy trunk to community-any Added: python-lsp-server/repos/community-any/PKGBUILD (from rev 1030837, python-lsp-server/trunk/PKGBUILD) Deleted: python-lsp-server/repos/community-any/PKGBUILD --+ PKGBUILD | 112 +++-- 1 file changed, 57 insertions(+), 55 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2021-10-18 13:30:49 UTC (rev 1030837) +++ PKGBUILD2021-10-18 13:31:16 UTC (rev 1030838) @@ -1,55 +0,0 @@ -# Maintainer: Jelle van der Waa -# Maintainer: Bruno Pagani -# Contributor: Platon Pronko - -pkgname=python-lsp-server -pkgver=1.2.4 -pkgrel=2 -pkgdesc="Fork of the python-language-server project, maintained by the Spyder IDE team and the community" -arch=(any) -url="https://github.com/python-lsp/python-lsp-server; -license=(MIT) -depends=(python-jedi python-lsp-jsonrpc python-pluggy python-ujson python-setuptools) -checkdepends=( -python-pytest -python-flaky -python-matplotlib -python-mccabe -python-numpy -python-pandas -python-pycodestyle -python-pydocstyle -python-pyflakes -python-pylint -python-pyqt5 -python-rope -autopep8 -flake8 -yapf -) -source=(${url}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz - ${pkgname}-fix-pylint-2.10.patch::https://github.com/python-lsp/python-lsp-server/commit/e8cf8e5b160f227550574cba480e276a98248d44.patch) -sha256sums=('3e9102808f661df18a54e2ddd97285d4b3c4cbc0af6fed8439a1960617f74674' -'1778835e6926a84cc44c16628463394f4a36a5abd532bba2aa87a133ad4f14fe') - -prepare() { - cd ${pkgname}-${pkgver} - patch -p1 < ../${pkgname}-fix-pylint-2.10.patch -} - -build() { - cd ${pkgname}-${pkgver} - python setup.py build -} - -check() { - cd ${pkgname}-${pkgver} - sed -i '/addopts =$/,$d' setup.cfg - pytest -v --color=yes test -} - -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-server/repos/community-any/PKGBUILD (from rev 1030837, python-lsp-server/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2021-10-18 13:31:16 UTC (rev 1030838) @@ -0,0 +1,57 @@ +# Maintainer: Jelle van der Waa +# Maintainer: Bruno Pagani +# Contributor: Platon Pronko + +pkgname=python-lsp-server +pkgver=1.2.4 +pkgrel=3 +pkgdesc="Fork of the python-language-server project, maintained by the Spyder IDE team and the community" +arch=(any) +url="https://github.com/python-lsp/python-lsp-server; +license=(MIT) +depends=(python-jedi python-lsp-jsonrpc python-pluggy python-ujson python-setuptools) +checkdepends=( +python-pytest +python-flaky +python-matplotlib +python-mccabe +python-numpy +python-pandas +python-pycodestyle +python-pydocstyle +python-pyflakes +python-pylint +python-pyqt5 +python-rope +autopep8 +flake8 +yapf +) +source=(${url}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz + ${pkgname}-fix-pylint-2.10.patch::https://github.com/python-lsp/python-lsp-server/commit/e8cf8e5b160f227550574cba480e276a98248d44.patch) +sha256sums=('3e9102808f661df18a54e2ddd97285d4b3c4cbc0af6fed8439a1960617f74674' +'1778835e6926a84cc44c16628463394f4a36a5abd532bba2aa87a133ad4f14fe') + +prepare() { + cd ${pkgname}-${pkgver} + patch -p1 < ../${pkgname}-fix-pylint-2.10.patch + sed 's|flake8>=3.8.0,<4.0.0|flake8>=3.8.0|g' -i setup.py + sed 's|pyflakes>=2.3.0,<2.4.0|pyflakes>=2.3.0|g' -i setup.py +} + +build() { + cd ${pkgname}-${pkgver} + python setup.py build +} + +check() { + cd ${pkgname}-${pkgver} + sed -i '/addopts =$/,$d' setup.cfg + pytest -v --color=yes +} + +package() { + cd ${pkgname}-${pkgver} + python setup.py install --root=${pkgdir} --optimize=1 --skip-build + install -Dm644 LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}/ +}
[arch-commits] Commit in python-lsp-server/repos/community-any (PKGBUILD PKGBUILD)
Date: Sunday, October 17, 2021 @ 14:38:53 Author: archange Revision: 1030735 archrelease: copy trunk to community-any Added: python-lsp-server/repos/community-any/PKGBUILD (from rev 1030734, python-lsp-server/trunk/PKGBUILD) Deleted: python-lsp-server/repos/community-any/PKGBUILD --+ PKGBUILD | 79 ++--- 1 file changed, 55 insertions(+), 24 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2021-10-17 14:38:26 UTC (rev 1030734) +++ PKGBUILD2021-10-17 14:38:53 UTC (rev 1030735) @@ -1,24 +0,0 @@ -# Maintainer: Jelle van der Waa -# Contributor: Platon Pronko - -pkgname=python-lsp-server -pkgver=1.2.4 -pkgrel=1 -pkgdesc="Fork of the python-language-server project, maintained by the Spyder IDE team and the community" -arch=(any) -url="https://github.com/python-lsp/python-lsp-server; -license=(MIT) -depends=(python-jedi python-lsp-jsonrpc python-pluggy python-ujson python-setuptools) -source=($pkgname-$pkgver.tar.gz::https://github.com/python-lsp/python-lsp-server/archive/v${pkgver}.tar.gz) -sha256sums=('3e9102808f661df18a54e2ddd97285d4b3c4cbc0af6fed8439a1960617f74674') - -build() { - cd "${pkgname}-${pkgver}" - python setup.py build -} - -package() { - cd "${pkgname}-${pkgver}" - python setup.py install --root=${pkgdir} --optimize=1 --skip-build - install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" -} Copied: python-lsp-server/repos/community-any/PKGBUILD (from rev 1030734, python-lsp-server/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2021-10-17 14:38:53 UTC (rev 1030735) @@ -0,0 +1,55 @@ +# Maintainer: Jelle van der Waa +# Maintainer: Bruno Pagani +# Contributor: Platon Pronko + +pkgname=python-lsp-server +pkgver=1.2.4 +pkgrel=2 +pkgdesc="Fork of the python-language-server project, maintained by the Spyder IDE team and the community" +arch=(any) +url="https://github.com/python-lsp/python-lsp-server; +license=(MIT) +depends=(python-jedi python-lsp-jsonrpc python-pluggy python-ujson python-setuptools) +checkdepends=( +python-pytest +python-flaky +python-matplotlib +python-mccabe +python-numpy +python-pandas +python-pycodestyle +python-pydocstyle +python-pyflakes +python-pylint +python-pyqt5 +python-rope +autopep8 +flake8 +yapf +) +source=(${url}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz + ${pkgname}-fix-pylint-2.10.patch::https://github.com/python-lsp/python-lsp-server/commit/e8cf8e5b160f227550574cba480e276a98248d44.patch) +sha256sums=('3e9102808f661df18a54e2ddd97285d4b3c4cbc0af6fed8439a1960617f74674' +'1778835e6926a84cc44c16628463394f4a36a5abd532bba2aa87a133ad4f14fe') + +prepare() { + cd ${pkgname}-${pkgver} + patch -p1 < ../${pkgname}-fix-pylint-2.10.patch +} + +build() { + cd ${pkgname}-${pkgver} + python setup.py build +} + +check() { + cd ${pkgname}-${pkgver} + sed -i '/addopts =$/,$d' setup.cfg + pytest -v --color=yes test +} + +package() { + cd ${pkgname}-${pkgver} + python setup.py install --root=${pkgdir} --optimize=1 --skip-build + install -Dm644 LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}/ +}
[arch-commits] Commit in python-lsp-server/repos/community-any (PKGBUILD PKGBUILD)
Date: Saturday, October 16, 2021 @ 21:28:58 Author: jelle Revision: 1030594 archrelease: copy trunk to community-any Added: python-lsp-server/repos/community-any/PKGBUILD (from rev 1030593, python-lsp-server/trunk/PKGBUILD) Deleted: python-lsp-server/repos/community-any/PKGBUILD --+ PKGBUILD | 48 1 file changed, 24 insertions(+), 24 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2021-10-16 21:28:53 UTC (rev 1030593) +++ PKGBUILD2021-10-16 21:28:58 UTC (rev 1030594) @@ -1,24 +0,0 @@ -# Maintainer: Jelle van der Waa -# Contributor: Platon Pronko - -pkgname=python-lsp-server -pkgver=1.2.1 -pkgrel=3 -pkgdesc="Fork of the python-language-server project, maintained by the Spyder IDE team and the community" -arch=(any) -url="https://github.com/python-lsp/python-lsp-server; -license=(MIT) -depends=(python-jedi python-lsp-jsonrpc python-pluggy python-ujson python-setuptools) -source=($pkgname-$pkgver.tar.gz::https://github.com/python-lsp/python-lsp-server/archive/v${pkgver}.tar.gz) -sha256sums=('5408cffb405bef5e74d5a9de4ba6f1f45e5ab1c5d67755824a0beb31dfb489a3') - -build() { - cd "${pkgname}-${pkgver}" - python setup.py build -} - -package() { - cd "${pkgname}-${pkgver}" - python setup.py install --root=${pkgdir} --optimize=1 --skip-build - install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" -} Copied: python-lsp-server/repos/community-any/PKGBUILD (from rev 1030593, python-lsp-server/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2021-10-16 21:28:58 UTC (rev 1030594) @@ -0,0 +1,24 @@ +# Maintainer: Jelle van der Waa +# Contributor: Platon Pronko + +pkgname=python-lsp-server +pkgver=1.2.4 +pkgrel=1 +pkgdesc="Fork of the python-language-server project, maintained by the Spyder IDE team and the community" +arch=(any) +url="https://github.com/python-lsp/python-lsp-server; +license=(MIT) +depends=(python-jedi python-lsp-jsonrpc python-pluggy python-ujson python-setuptools) +source=($pkgname-$pkgver.tar.gz::https://github.com/python-lsp/python-lsp-server/archive/v${pkgver}.tar.gz) +sha256sums=('3e9102808f661df18a54e2ddd97285d4b3c4cbc0af6fed8439a1960617f74674') + +build() { + cd "${pkgname}-${pkgver}" + python setup.py build +} + +package() { + cd "${pkgname}-${pkgver}" + python setup.py install --root=${pkgdir} --optimize=1 --skip-build + install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +}
[arch-commits] Commit in python-lsp-server/repos/community-any (PKGBUILD PKGBUILD)
Date: Sunday, September 12, 2021 @ 09:12:08 Author: jelle Revision: 1014537 archrelease: copy trunk to community-any Added: python-lsp-server/repos/community-any/PKGBUILD (from rev 1014536, python-lsp-server/trunk/PKGBUILD) Deleted: python-lsp-server/repos/community-any/PKGBUILD --+ PKGBUILD | 50 -- 1 file changed, 24 insertions(+), 26 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2021-09-12 09:12:02 UTC (rev 1014536) +++ PKGBUILD2021-09-12 09:12:08 UTC (rev 1014537) @@ -1,26 +0,0 @@ -# Maintainer: Jelle van der Waa -# Contributor: Platon Pronko - -pkgname=python-lsp-server -pkgver=1.2.1 -pkgrel=2 -pkgdesc="Fork of the python-language-server project, maintained by the Spyder IDE team and the community" -arch=(any) -url="https://github.com/python-lsp/python-lsp-server; -license=(MIT) -depends=(python-jedi python-lsp-jsonrpc python-pluggy python-ujson) -makedepends=(python-setuptools) - -source=($pkgname-$pkgver.tar.gz::https://github.com/python-lsp/python-lsp-server/archive/v${pkgver}.tar.gz) -sha256sums=('5408cffb405bef5e74d5a9de4ba6f1f45e5ab1c5d67755824a0beb31dfb489a3') - -build() { - cd "${pkgname}-${pkgver}" - python setup.py build -} - -package() { - cd "${pkgname}-${pkgver}" - python setup.py install --root=${pkgdir} --optimize=1 --skip-build - install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" -} Copied: python-lsp-server/repos/community-any/PKGBUILD (from rev 1014536, python-lsp-server/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2021-09-12 09:12:08 UTC (rev 1014537) @@ -0,0 +1,24 @@ +# Maintainer: Jelle van der Waa +# Contributor: Platon Pronko + +pkgname=python-lsp-server +pkgver=1.2.1 +pkgrel=3 +pkgdesc="Fork of the python-language-server project, maintained by the Spyder IDE team and the community" +arch=(any) +url="https://github.com/python-lsp/python-lsp-server; +license=(MIT) +depends=(python-jedi python-lsp-jsonrpc python-pluggy python-ujson python-setuptools) +source=($pkgname-$pkgver.tar.gz::https://github.com/python-lsp/python-lsp-server/archive/v${pkgver}.tar.gz) +sha256sums=('5408cffb405bef5e74d5a9de4ba6f1f45e5ab1c5d67755824a0beb31dfb489a3') + +build() { + cd "${pkgname}-${pkgver}" + python setup.py build +} + +package() { + cd "${pkgname}-${pkgver}" + python setup.py install --root=${pkgdir} --optimize=1 --skip-build + install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +}