Diff pysam-0.23.0 with a pysam-9999
/usr/portage/sci-biology/pysam/pysam-9999.ebuild 2025-07-29 16:22:17.328467726 +0300 | ||
---|---|---|
8 | 8 | |
9 | 9 |
inherit distutils-r1 |
10 | 10 | |
11 |
if [[ ${PV} == *9999 ]]; then |
|
12 |
inherit git-r3 |
|
13 |
EGIT_REPO_URI="https://github.com/pysam-developers/pysam.git" |
|
14 |
else |
|
15 |
SRC_URI="https://github.com/pysam-developers/pysam/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz" |
|
16 |
KEYWORDS="~amd64 ~x86" |
|
17 |
fi |
|
18 | ||
11 | 19 |
DESCRIPTION="Python interface for the SAM/BAM sequence alignment and mapping format" |
12 | 20 |
HOMEPAGE=" |
13 | 21 |
https://github.com/pysam-developers/pysam |
14 | 22 |
https://pypi.org/project/pysam/" |
15 |
SRC_URI="https://github.com/pysam-developers/pysam/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz" |
|
16 | 23 | |
17 | 24 |
LICENSE="MIT" |
18 | 25 |
SLOT="0" |
19 |
KEYWORDS="~amd64 ~x86" |
|
20 | 26 | |
21 |
RDEPEND="=sci-libs/htslib-1.21*:=" |
|
27 |
RDEPEND=">=sci-libs/htslib-1.21" |
|
22 | 28 |
DEPEND="${RDEPEND}" |
23 | 29 |
BDEPEND=" |
24 | 30 |
dev-python/cython[${PYTHON_USEDEP}] |
25 | 31 |
test? ( |
26 |
=sci-biology/bcftools-1.21* |
|
27 |
=sci-biology/samtools-1.21* |
|
32 |
>=sci-biology/bcftools-1.21 |
|
33 |
>=sci-biology/samtools-1.21 |
|
28 | 34 |
)" |
29 | 35 | |
30 | 36 |
distutils_enable_tests pytest |
... | ... | |
38 | 44 |
) |
39 | 45 | |
40 | 46 |
python_prepare_all() { |
41 | ||
42 | 47 |
# unbundle htslib |
43 | 48 |
export HTSLIB_MODE="external" |
44 | 49 |
export HTSLIB_INCLUDE_DIR="${ESYSROOT}"/usr/include |