From 35cbaaa3d20e4424dac37b5de4b0d241c2af6ae4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20R=2E=20Sede=C3=B1o?= Date: Fri, 24 Sep 2021 15:11:18 -0400 Subject: [PATCH] xapian_wheel_builder - better metadata * xapian_wheel_builder - better metadata Fixes: #203 --- xapian_wheel_builder.sh | 44 ++++++++++++++++++++++++++++++++++++----- 1 file changed, 39 insertions(+), 5 deletions(-) diff --git a/xapian_wheel_builder.sh b/xapian_wheel_builder.sh index 1b59017..9585106 100755 --- a/xapian_wheel_builder.sh +++ b/xapian_wheel_builder.sh @@ -81,12 +81,15 @@ else "${VE}/bin/pip" install "sphinx<2" fi +BASE_URI="https://oligarchy.co.uk/xapian/" CORE="xapian-core-${VERSION}" BINDINGS="xapian-bindings-${VERSION}" +CORE_URI="${BASE_URI}${VERSION}/${CORE}.tar.xz" +BINDINGS_URI="${BASE_URI}${VERSION}/${BINDINGS}.tar.xz" echo "Downloading source..." -curl -O "https://oligarchy.co.uk/xapian/${VERSION}/${CORE}.tar.xz" -curl -O "https://oligarchy.co.uk/xapian/${VERSION}/${BINDINGS}.tar.xz" +curl -O "${CORE_URI}" +curl -O "${BINDINGS_URI}" echo "Extracting source..." mkdir src @@ -172,7 +175,8 @@ for file in "${prefix}"/bin/xapian-delve*; do done # Prepare the scaffolding for the wheel -cat > "$prefix/setup.py" < "${prefix}/setup.py" < "$prefix/MANIFEST.in" < "${prefix}/MANIFEST.in" < "${prefix}/README" <