From bba38927d6208179be5737c7a00649310160e81f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Gasewicz?= Date: Tue, 15 Dec 2020 19:29:55 +0100 Subject: [PATCH] dev-python/cx-oracle: new package MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: Michał Gasewicz --- 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(+) create mode 100644 dev-python/cx-oracle/Manifest create mode 100644 dev-python/cx-oracle/cx-oracle-8.0.1.ebuild create mode 100644 dev-python/cx-oracle/metadata.xml diff --git a/dev-python/cx-oracle/Manifest b/dev-python/cx-oracle/Manifest new file mode 100644 index 0000000000..ac617c7f83 --- /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 0000000000..7426529fac --- /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 0000000000..2593817a31 --- /dev/null +++ b/dev-python/cx-oracle/metadata.xml @@ -0,0 +1,18 @@ + + + + + https://cx-oracle.readthedocs.io + https://cx-oracle.readthedocs.io/en/latest/release_notes.html#releasenotes + https://github.com/oracle/python-cx_Oracle/issues + oracle/python-cx_Oracle + + + rozstrojenie.jazni@gmail.com + Michał Gasewicz + + cx_Oracle is a Python extension module that enables access to Oracle Database. + + Install examples, usually source code + +