Mercurial > p > roundup > code
changeset 7405:6a64ed24696d
Try to use 1.4.20 version of xapian
It uses setuptools and not distutils like 1.4.18 that is being
retrived by looking at the installed xapian libs. I hope 1.4.X is
compatible across patch releases.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Thu, 25 May 2023 14:13:12 -0400 |
| parents | 1642a7b501df |
| children | 8bc4246480bf |
| files | .github/workflows/ci-test.yml |
| diffstat | 1 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/.github/workflows/ci-test.yml Thu May 25 13:56:03 2023 -0400 +++ b/.github/workflows/ci-test.yml Thu May 25 14:13:12 2023 -0400 @@ -169,7 +169,11 @@ # older python and newest on newer. if [[ $PYTHON_VERSION == "2."* ]]; then pip install sphinx==1.8.5; fi if [[ $PYTHON_VERSION == '3.'* ]] ; then pip install sphinx; fi - XAPIAN_VER=$(dpkg -l libxapian-dev | tail -n 1 | awk '{print $3}' | cut -d '-' -f 1); echo $XAPIAN_VER + if [[ $PYTHON_VERSION == '3.12'* ]] ; then \ + XAPIAN_VER=1.4.20; \ + else + XAPIAN_VER=$(dpkg -l libxapian-dev | tail -n 1 | awk '{print $3}' | cut -d '-' -f 1); echo $XAPIAN_VER; \ + fi cd /tmp curl -s -O https://oligarchy.co.uk/xapian/$XAPIAN_VER/xapian-bindings-$XAPIAN_VER.tar.xz tar -Jxvf xapian-bindings-$XAPIAN_VER.tar.xz
