summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authoriarspider <iarspider@gmail.com>2021-12-09 23:54:29 +0100
committerGitHub <noreply@github.com>2021-12-09 16:54:29 -0600
commit75154318af9b5741c3fef9e30748d0616b5338e6 (patch)
tree6ee09b787f62c621c3c48bb5a09c3c139df2ba7d /var
parent74f4c73c24da3c35a21cc6a0029e1638e356f544 (diff)
downloadspack-75154318af9b5741c3fef9e30748d0616b5338e6.tar.gz
spack-75154318af9b5741c3fef9e30748d0616b5338e6.tar.bz2
spack-75154318af9b5741c3fef9e30748d0616b5338e6.tar.xz
spack-75154318af9b5741c3fef9e30748d0616b5338e6.zip
New package: py-cx-oracle (#27884)
* New package: py-cx-oracle * Add dependencies from pyproject.toml * Update var/spack/repos/builtin/packages/py-cx-oracle/package.py Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com> * Update package.py Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-cx-oracle/package.py20
1 files changed, 20 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-cx-oracle/package.py b/var/spack/repos/builtin/packages/py-cx-oracle/package.py
new file mode 100644
index 0000000000..8c47892fea
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-cx-oracle/package.py
@@ -0,0 +1,20 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class PyCxOracle(PythonPackage):
+ """Python interface to Oracle"""
+
+ homepage = "https://oracle.github.io/python-cx_Oracle"
+ pypi = "cx_Oracle/cx_Oracle-8.3.0.tar.gz"
+
+ version('8.3.0', sha256='3b2d215af4441463c97ea469b9cc307460739f89fdfa8ea222ea3518f1a424d9')
+
+ depends_on('python@3.6:', type=('build', 'run'))
+ depends_on('oracle-instant-client', type='run')
+ depends_on('py-setuptools@40.6.0:', type='build')
+ depends_on('py-wheel', type='build')