commit: bba38927d6208179be5737c7a00649310160e81f
Author: Michał Gasewicz <rozstrojenie.jazni <AT> gmail <DOT> com>
AuthorDate: Tue Dec 15 18:29:55 2020 +0000
Commit: Haelwenn Monnier <contact <AT> hacktivis <DOT> me>
CommitDate: Tue Dec 15 18:38:24 2020 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=bba38927
dev-python/cx-oracle: new package
Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Michał Gasewicz <rozstrojenie.jazni <AT> gmail.com>
dev-python/cx-oracle/Manifest | 1 +
dev-python/cx-oracle/cx-oracle-8.0.1.ebuild | 42 +++++++++++++++++++++++++++++
dev-python/cx-oracle/metadata.xml | 18 +++++++++++++
3 files changed, 61 insertions(+)
diff --git a/dev-python/cx-oracle/Manifest b/dev-python/cx-oracle/Manifest
new file mode 100644
index 00000000..ac617c7f
--- /dev/null
+++ b/dev-python/cx-oracle/Manifest
@@ -0,0 +1 @@
+DIST cx_Oracle-8.0.1.tar.gz 325704 BLAKE2B
523296c4746d86307b141f8bb2f3b5611ff6a9ffae88183d0ac5c477cc6aa298a5f4f16bffacc6fd175c47f7fdf2f20c3a4b8959ae8cc774bf9c31fe5282ec5d
SHA512
57c907f6ee812f6a58af0437acba927c2d9b3c9c06592d02c22fe4766d063807595a0ececa941ccb24d35f74fe1a53d28a7ba6c5acbe35ea997ad413a8fcd2e2
diff --git a/dev-python/cx-oracle/cx-oracle-8.0.1.ebuild
b/dev-python/cx-oracle/cx-oracle-8.0.1.ebuild
new file mode 100644
index 00000000..7426529f
--- /dev/null
+++ b/dev-python/cx-oracle/cx-oracle-8.0.1.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+PYTHON_COMPAT=( python3_{5,6,7,8} )
+
+inherit distutils-r1
+
+MY_PN="cx_Oracle"
+MY_P=${MY_PN}-${PV}
+DESCRIPTION="Python interface to Oracle"
+HOMEPAGE="
+ https://oracle.github.io/python-cx_Oracle/
+ https://pypi.org/project/cx-Oracle/
+"
+SRC_URI="mirror://pypi/${PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz"
+
+LICENSE="Computronix"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="examples"
+
+DEPEND="dev-db/oracle-instantclient"
+RDEPEND="${DEPEND}"
+
+S=${WORKDIR}/${MY_P}
+
+DOCS=( README.txt )
+
+pkg_postinst() {
+ return
+ # no python_mod_optimize
+}
+
+src_install() {
+ distutils-r1_src_install
+ if use examples; then
+ docinto examples
+ dodoc -r samples/. || die
+ fi
+}
diff --git a/dev-python/cx-oracle/metadata.xml
b/dev-python/cx-oracle/metadata.xml
new file mode 100644
index 00000000..2593817a
--- /dev/null
+++ b/dev-python/cx-oracle/metadata.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM 'http://www.gentoo.org/dtd/metadata.dtd'>
+<pkgmetadata>
+ <upstream>
+ <doc>https://cx-oracle.readthedocs.io</doc>
+
<changelog>https://cx-oracle.readthedocs.io/en/latest/release_notes.html#releasenotes</changelog>
+
<bugs-to>https://github.com/oracle/python-cx_Oracle/issues</bugs-to>
+ <remote-id type="github">oracle/python-cx_Oracle</remote-id>
+ </upstream>
+ <maintainer type="person">
+ <email>[email protected]</email>
+ <name>Michał Gasewicz</name>
+ </maintainer>
+ <longdescription>cx_Oracle is a Python extension module that enables
access to Oracle Database.</longdescription>
+ <use>
+ <flag name="examples">Install examples, usually source
code</flag>
+ </use>
+</pkgmetadata>