Skip to content

Commit

Permalink
python-language-server: unbundle vendored versioneer
Browse files Browse the repository at this point in the history
The bundled version is outdated and incompatible with Python 3.12.
  • Loading branch information
mmuetzel committed Nov 6, 2024
1 parent 25759c8 commit 8899c07
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions mingw-w64-python-language-server/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,23 @@ _realname=language-server
pkgbase=mingw-w64-python-${_realname}
pkgname=("${MINGW_PACKAGE_PREFIX}-python-${_realname}")
pkgver=0.36.2
pkgrel=4
pkgrel=5
pkgdesc="An implementation of the Language Server Protocol for Python (mingw-w64)"
arch=('any')
mingw_arch=('mingw64' 'ucrt64' 'clang64' 'clangarm64')
msys2_references=(
'pypi: python-language-server'
)
url="https://github.com/palantir/python-language-server"
license=('MIT')
license=('spdx:MIT')
depends=("${MINGW_PACKAGE_PREFIX}-python"
"${MINGW_PACKAGE_PREFIX}-python-future"
"${MINGW_PACKAGE_PREFIX}-python-jedi"
"${MINGW_PACKAGE_PREFIX}-python-jsonrpc-server"
"${MINGW_PACKAGE_PREFIX}-python-pluggy"
"${MINGW_PACKAGE_PREFIX}-python-ujson")
makedepends=("${MINGW_PACKAGE_PREFIX}-python-setuptools")
makedepends=("${MINGW_PACKAGE_PREFIX}-python-setuptools"
"${MINGW_PACKAGE_PREFIX}-python-versioneer")
checkdepends=("${MINGW_PACKAGE_PREFIX}-python-coverage"
"${MINGW_PACKAGE_PREFIX}-python-pytest"
"${MINGW_PACKAGE_PREFIX}-python-pytest-cov"
Expand All @@ -44,6 +45,8 @@ prepare() {

patch -p1 -i "${srcdir}/001-python-language-server-0.36.2-fix-versioneer.patch"
patch -p1 -i "${srcdir}/002-python-language-server-0.36.2-fix-setup.patch"

rm -rf "versioneer.py" | true
}

build() {
Expand Down

0 comments on commit 8899c07

Please sign in to comment.