summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD4
2 files changed, 5 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 089c50a2b6e..278dcbae149 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,11 +1,12 @@
pkgbase = python-cx-oracle
pkgdesc = Python interface to Oracle Database conforming to the Python DB API 2.0 specification
pkgver = 8.1.0
- pkgrel = 1
+ pkgrel = 4
url = https://oracle.github.io/python-cx_Oracle
arch = x86_64
license = BSD
makedepends = python-setuptools
+ depends = oracle-instantclient-basic
depends = python
source = cx_Oracle-8.1.0.tar.gz::https://files.pythonhosted.org/packages/source/c/cx_Oracle/cx_Oracle-8.1.0.tar.gz
sha512sums = 21dbaec1facfa38c82cd8bba788953ada098bfcdfddd29c4c6278d3c757b5b64b547a2e8e39fc998eec826f8447f07d6d48649c8dc8edc7c7244e9113d4345cc
diff --git a/PKGBUILD b/PKGBUILD
index b7e509eb722..8d1b6851afe 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,12 +3,13 @@
pkgname=python-cx-oracle
_name=cx_Oracle
pkgver=8.1.0
-pkgrel=1
+pkgrel=4
pkgdesc='Python interface to Oracle Database conforming to the Python DB API 2.0 specification'
arch=('x86_64')
url='https://oracle.github.io/python-cx_Oracle'
license=('BSD')
depends=(
+ oracle-instantclient-basic
python
)
makedepends=(
@@ -28,5 +29,6 @@ package() {
cd "${srcdir}/${_name}-${pkgver}"
python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
install -Dm644 "LICENSE.txt" -t "${pkgdir}/usr/share/licenses/${pkgname}"
+ rm -rfv "${pkgname}/usr/cx_Oracle-doc"
}
# vim:set ts=2 sw=2 et: