diff options
author | v <39996356+vhewes@users.noreply.github.com> | 2024-11-11 09:10:09 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-11 07:10:09 -0800 |
commit | 33dd894eff169b78103fb7bb5e2b6ebe62cd3916 (patch) | |
tree | 0c1c1606ba81da0bd5e4d3a53c1a7bfee67066a8 /var | |
parent | f458392c1b223d628bffe1ce72d7a86118f3fc75 (diff) | |
download | spack-33dd894eff169b78103fb7bb5e2b6ebe62cd3916.tar.gz spack-33dd894eff169b78103fb7bb5e2b6ebe62cd3916.tar.bz2 spack-33dd894eff169b78103fb7bb5e2b6ebe62cd3916.tar.xz spack-33dd894eff169b78103fb7bb5e2b6ebe62cd3916.zip |
py-oracledb: add v1.4.2, v2.3.0, v2.4.1 (#47313)
the py-oracledb package only has a single outdated version available in its recipe. this PR adds a much broader range of versions and their corresponding checksums.
* add more versions of py-oracledb
* update py-oracledb recipe
* add py-cython version dependencies
* tweak py-cython version dependencies
* remove older versions of py-oracledb
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/py-oracledb/package.py | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/var/spack/repos/builtin/packages/py-oracledb/package.py b/var/spack/repos/builtin/packages/py-oracledb/package.py index 3e50ac8da0..2e690e36be 100644 --- a/var/spack/repos/builtin/packages/py-oracledb/package.py +++ b/var/spack/repos/builtin/packages/py-oracledb/package.py @@ -12,17 +12,23 @@ class PyOracledb(PythonPackage): Python programs to access Oracle Database.""" homepage = "https://oracle.github.io/python-oracledb/" - pypi = "oracledb/oracledb-1.2.2.tar.gz" + pypi = "oracledb/oracledb-1.4.2.tar.gz" license("Apache-2.0") - version("1.2.2", sha256="dd9f63084e44642b484a46b2fcfb4fc921f39facf494a1bab00628fa6409f4fc") + version("2.4.1", sha256="bd5976bef0e466e0f9d1b9f6531fb5b8171dc8534717ccb04b26e680b6c7571d") + version("2.3.0", sha256="b9b0c4ec280b10063e6789bed23ddc2435ae98569ebe64e0b9a270780b9103d5") + version("1.4.2", sha256="e28ed9046f2735dc2dd5bbcdf3667f284e384e0ec7eed3eeb3798fa8a7d47e36") - depends_on("c", type="build") # generated + depends_on("python@3.8:3.13", when="@2.4:") + depends_on("python@3.8:3.12", when="@2.0:2.3") + depends_on("python@3.8:3.11", when="@:1.4") + + depends_on("c", type="build") depends_on("py-setuptools@40.6.0:", type="build") depends_on("py-cryptography@3.2.1:", type=("build", "run")) - depends_on("py-cython", type="build") + depends_on("py-cython@3:", type="build") depends_on("python@3.6:", type=("build", "run")) depends_on("oracle-instant-client", type="run", when="impl=thick") |