Diff pysam-0.21.0 with a pysam-9999

/usr/portage/sci-biology/pysam/pysam-9999.ebuild 2023-10-09 14:52:35.024368490 +0300
7 7

  
8 8
inherit distutils-r1
9 9

  
10
if [[ ${PV} == *9999 ]]; then
11
	inherit git-r3
12
	EGIT_REPO_URI="https://github.com/pysam-developers/pysam.git"
13
else
14
	SRC_URI="https://github.com/pysam-developers/pysam/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz"
15
	KEYWORDS="~amd64 ~x86"
16
fi
17

  
10 18
DESCRIPTION="Python interface for the SAM/BAM sequence alignment and mapping format"
11 19
HOMEPAGE="
12 20
	https://github.com/pysam-developers/pysam
13 21
	https://pypi.org/project/pysam/"
14
SRC_URI="https://github.com/pysam-developers/pysam/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz"
15 22

  
16 23
LICENSE="MIT"
17 24
SLOT="0"
18
KEYWORDS="~amd64 ~x86"
19 25

  
20
RDEPEND="=sci-libs/htslib-1.17*:="
26
RDEPEND=">=sci-libs/htslib-1.17"
21 27
DEPEND="${RDEPEND}
22 28
	dev-python/cython[${PYTHON_USEDEP}]
23 29
	dev-python/setuptools[${PYTHON_USEDEP}]"
24 30
BDEPEND="
25 31
	test? (
26
		=sci-biology/bcftools-1.17*
27
		=sci-biology/samtools-1.17*
32
		>=sci-biology/bcftools-1.17
33
		>=sci-biology/samtools-1.17
28 34
	)"
29 35

  
30 36
distutils_enable_tests pytest
31 37

  
32 38
DISTUTILS_IN_SOURCE_BUILD=1
33 39

  
34
PATCHES=(
35
	# backport
36
	# https://github.com/pysam-developers/pysam/commit/17bb13dcfdb56ac238458dcef23fe01893a892e9
37
	"${FILESDIR}"/${P}-cython-3.patch
38
)
39

  
40 40
EPYTEST_DESELECT=(
41 41
	# only work with bundled htslib
42 42
	'tests/tabix_test.py::TestRemoteFileHTTP'
Thank you!