Date: Sunday, March 26, 2023 @ 15:37:51 Author: arojas Revision: 1429273
upgpkg: python-lsp-server 1.7.1-3: Support pydocstyle 6.3 Modified: python-lsp-server/trunk/PKGBUILD ----------+ PKGBUILD | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2023-03-26 15:30:00 UTC (rev 1429272) +++ PKGBUILD 2023-03-26 15:37:51 UTC (rev 1429273) @@ -4,7 +4,7 @@ pkgname=python-lsp-server pkgver=1.7.1 -pkgrel=2 +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" @@ -43,19 +43,18 @@ python-appdirs ) source=(https://files.pythonhosted.org/packages/source/${pkgname::1}/${pkgname}/${pkgname}-${pkgver}.tar.gz - ce913f16.patch) + https://github.com/python-lsp/python-lsp-server/commit/40124c6d.patch) sha256sums=('67473bb301f35434b5fa8b21fc5ed5fac27dc8a8446ccec8bae456af52a0aef6' - '05cce14f51081854b33df34a22f0ecf07060c3195412cce49238f36d3cf1b05f') + 'a035a8a4053cc134fb2dd88f9c7ee3a7ebbcf43b439cb72c665d785fd4b0336e') prepare() { cd ${pkgname}-${pkgver} + patch -p1 -i ../40124c6d.patch # Support pydocstyle 6.3 sed 's|autopep8>=1.6.0,<1.7.0|autopep8>=1.6.0|' -i pyproject.toml sed 's|flake8>=5.0.0,<7|flake8>=5.0.0|' -i pyproject.toml sed 's|mccabe>=0.7.0,<0.8.0|mccabe>=0.7.0|' -i pyproject.toml sed 's|pycodestyle>=2.9.0,<2.11.0|pycodestyle>=2.9.0|' -i pyproject.toml sed 's|pyflakes>=2.5.0,<3.1.0|pyflakes>=2.5.0|' -i pyproject.toml - sed 's|pydocstyle>=6.2.0,<6.3.0|pydocstyle|' -i pyproject.toml - patch -Rp1 -i ../ce913f16.patch # Revert pydocstyle bump until package is updated } build() {
