py-macs3: add @3.0.3 (#49365)
Co-authored-by: LMS Bioinformatics <bioinformatics@lms.mrc.ac.uk>
This commit is contained in:
parent
d2298e8e99
commit
1cd6f4e28f
@ -16,12 +16,15 @@ class PyHmmlearn(PythonPackage):
|
||||
|
||||
license("BSD-3-Clause")
|
||||
|
||||
version("0.3.3", sha256="1d3c5dc4c5257e0c238dc1fe5387700b8cb987eab808edb3e0c73829f1cc44ec")
|
||||
version("0.3.0", sha256="d13a91ea3695df881465e3d36132d7eef4e84d483f4ba538a4b46e24b5ea100f")
|
||||
|
||||
depends_on("cxx", type="build") # generated
|
||||
|
||||
depends_on("py-setuptools", type="build")
|
||||
depends_on("py-setuptools-scm@3.3:", type="build")
|
||||
depends_on("py-setuptools@62:", when="@0.3.3:", type="build")
|
||||
depends_on("py-setuptools", when="@:0.3.2", type="build")
|
||||
depends_on("py-setuptools-scm@6.2:", when="@0.3.3:", type="build")
|
||||
depends_on("py-setuptools-scm@3.3:", when="@:0.3.2", type="build")
|
||||
depends_on("py-pybind11@2.6:", type="build")
|
||||
|
||||
depends_on("py-numpy@1.10:", type=("build", "run"))
|
||||
|
@ -9,23 +9,37 @@ class PyMacs3(PythonPackage):
|
||||
"""MACS: Model-based Analysis for ChIP-Seq"""
|
||||
|
||||
homepage = "https://github.com/macs3-project/MACS/"
|
||||
pypi = "MACS3/MACS3-3.0.0b3.tar.gz"
|
||||
pypi = "MACS3/macs3-3.0.2.tar.gz"
|
||||
|
||||
maintainers("snehring")
|
||||
|
||||
license("BSD-3-Clause")
|
||||
|
||||
version("3.0.3", sha256="ee1c892901c4010ff9e201b433c0623cbd747a3058300322386a7185623b1684")
|
||||
version("3.0.0b3", sha256="caa794d4cfcd7368447eae15878505315dac44c21546e8fecebb3561e9cee362")
|
||||
|
||||
depends_on("c", type="build") # generated
|
||||
def url_for_version(self, version):
|
||||
if version < Version("3.0.2"):
|
||||
url_fmt = "https://files.pythonhosted.org/packages/b1/88/df5436ec1510d635e7c41f2aee185da35d6d98ccde9bf1ec5a67ad2bbd62/MACS3-{}.tar.gz"
|
||||
return url_fmt.format(version)
|
||||
return super().url_for_version(version)
|
||||
|
||||
depends_on("python@3.9:", type=("build", "run"))
|
||||
depends_on("py-setuptools@68.0:", when="@3.0.2:", type="build")
|
||||
depends_on("py-setuptools@60.0:", when="@:3.0.1", type="build")
|
||||
depends_on("py-cython@3.0", when="@3.0.2:", type=("build", "run"))
|
||||
depends_on("py-cython@0.29:0", when="@:3.0.1", type=("build", "run"))
|
||||
|
||||
depends_on("py-setuptools@60.0:", type="build")
|
||||
depends_on("py-cython@0.29:0", type=("build", "run"))
|
||||
|
||||
depends_on("py-numpy@1.19:", type=("build", "run"))
|
||||
depends_on("py-numpy@1.25:", when="@3.0.3:", type=("build", "run"))
|
||||
depends_on("py-numpy@1.24.2:", when="@3.0.1:3.0.2", type=("build", "run"))
|
||||
depends_on("py-numpy@1.19:", when="@:3.0.0", type=("build", "run"))
|
||||
depends_on("py-scipy@1.12:", when="@3.0.3:", type=("build", "run"))
|
||||
depends_on("py-scipy@1.11.4:", when="@3.0.1:3.0.2", type=("build", "run"))
|
||||
depends_on("py-cykhash@2", type=("build", "run"))
|
||||
depends_on("py-hmmlearn@0.3:", type=("build", "run"))
|
||||
depends_on("py-scikit-learn@1.3:", when="@3.0.2:", type=("build", "run"))
|
||||
depends_on("py-scikit-learn@1.2.1:", when="@3.0.1", type=("build", "run"))
|
||||
depends_on("py-hmmlearn@0.3.2:", when="@3.0.2:", type=("build", "run"))
|
||||
depends_on("py-hmmlearn@0.3:", when="@:3.0.1", type=("build", "run"))
|
||||
|
||||
depends_on("zlib-api")
|
||||
depends_on("c", type="build") # generated
|
||||
|
Loading…
Reference in New Issue
Block a user