correct py-bx-python@0.8.8 python dependency (#39766)

* correct python dependency for 0.8.8

* add missing zlib dependency

* restore missing whitespace

* correct versions for 0.9.0, clarify rules for future releases

* Update package.py

* Remove whitespace for black check
This commit is contained in:
Mike Renfro 2023-09-11 16:16:28 -05:00 committed by GitHub
parent 5ac1167250
commit b7b7b2fac4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16,10 +16,14 @@ class PyBxPython(PythonPackage):
version("0.9.0", sha256="fe545c44d2ea74b239d41e9090618aaf6a859d1a1f64b4a21b133cb602dfdb49")
version("0.8.8", sha256="ad0808ab19c007e8beebadc31827e0d7560ac0e935f1100fb8cc93607400bb47")
depends_on("python@3.7:", when="@0.8.13:", type=("build", "run"))
# See https://pypi.org/project/bx-python/(version)/#files for which Python versions
# work with which releases.
depends_on("python@3.7:3.11", when="@=0.9.0", type=("build", "run"))
depends_on("python@3.5:3.8", when="@=0.8.8", type=("build", "run"))
depends_on("py-setuptools", type="build")
depends_on("py-cython", type="build")
depends_on("py-numpy", type=("build", "run"))
depends_on("py-six", when="@:0.8.9", type=("build", "run"))
# py-python-lzo is listed as a dependency in `tox.ini` rather than in `setup.cfg`
depends_on("py-python-lzo@1.14:", type=("build", "run"))
depends_on("zlib", type="link")