From baeb1518057fae74b63569637d7916671b12daa2 Mon Sep 17 00:00:00 2001 From: kbipinkumar Date: Sun, 25 Aug 2024 21:30:11 +0530 Subject: [PATCH] python-isal: fix build for version 1.7.0 --- BioArchLinux/abpoa/relax-cython-dep.patch | 19 +++++++++++++++++++ BioArchLinux/python-isal/PKGBUILD | 14 ++++++++------ 2 files changed, 27 insertions(+), 6 deletions(-) create mode 100644 BioArchLinux/abpoa/relax-cython-dep.patch diff --git a/BioArchLinux/abpoa/relax-cython-dep.patch b/BioArchLinux/abpoa/relax-cython-dep.patch new file mode 100644 index 0000000000..523901d213 --- /dev/null +++ b/BioArchLinux/abpoa/relax-cython-dep.patch @@ -0,0 +1,19 @@ +Description: relax cython dependency to tolerate version 3. + Older versions are no longer available in Debian. + +Author: Étienne Mollier +Forwarded: not-needed +Last-Update: 2024-07-20 +--- +This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ +--- abpoa.orig/setup.py ++++ abpoa/setup.py +@@ -69,7 +69,7 @@ + author_email = "gaoy1@chop.edu", + license = "MIT", + keywords = "multiple-sequence-alignment partial-order-graph-alignment", +- setup_requires=["cython<3"], # see https://github.com/cython/cython/issues/5568 ++ setup_requires=["cython"], # see https://github.com/cython/cython/issues/5568 + # Build instructions + ext_modules = [ + Extension( diff --git a/BioArchLinux/python-isal/PKGBUILD b/BioArchLinux/python-isal/PKGBUILD index 6c0ea1ad94..5abf68191e 100644 --- a/BioArchLinux/python-isal/PKGBUILD +++ b/BioArchLinux/python-isal/PKGBUILD @@ -2,15 +2,16 @@ pkgname=python-isal _module=${pkgname#python-} -pkgver=1.6.1 -pkgrel=2 +pkgver=1.7.0 +pkgrel=1 pkgdesc='Faster zlib and gzip compatible compression and decompression by providing python bindings for the ISA-L library' arch=('x86_64') url="https://github.com/pycompression/python-isal" license=('PSF') - -depends=('python' 'glibc') - +depends=( + 'python' + 'glibc' + ) makedepends=( 'python-build' 'python-installer' @@ -20,10 +21,11 @@ makedepends=( 'python-sphinx' 'python-sphinx_rtd_theme' 'python-sphinx-argparse' + 'python-versioningit' ) options=(!emptydirs) source=("https://files.pythonhosted.org/packages/source/${_module::1}/$_module/$_module-$pkgver.tar.gz") -sha256sums=('7b64b75d260b544beea3f59cb25a6f520c04768818ef4ac316ee9a1f2ebf18f5') +sha256sums=('9eb9457ed27fd0a8a7b403a5f4f9e6c8d1a44c2ca28ecd2f2bf3aed90b0a74bf') build() { cd "$_module-$pkgver"