Initial release
Sophie Brun
5 years ago
0 | python-cx-oracle (7.1-0kali1) kali-dev; urgency=medium | |
1 | ||
2 | * Initial release | |
3 | * Package Python 2 version for odat | |
4 | ||
5 | -- Sophie Brun <[email protected]> Tue, 19 Feb 2019 17:05:45 +0100 |
0 | Source: python-cx-oracle | |
1 | Section: python | |
2 | Priority: optional | |
3 | Maintainer: Kali Developer <[email protected]> | |
4 | Uploaders: Sophie Brun <[email protected]> | |
5 | Build-Depends: debhelper-compat (= 12), dh-python, python-all-dev, python-setuptools, python3-all-dev, python3-setuptools, python3-sphinx, libodpic-dev | |
6 | Standards-Version: 4.3.0 | |
7 | Homepage: https://oracle.github.io/python-cx_Oracle/index.html | |
8 | Vcs-Browser: http://git.kali.org/gitweb/?p=packages/python-cx-oracle.git;a=summary | |
9 | Vcs-Git: git://git.kali.org/packages/python-cx-oracle.git | |
10 | Testsuite: autopkgtest-pkg-python | |
11 | ||
12 | Package: python-cx-oracle | |
13 | Architecture: any | |
14 | Depends: ${python:Depends}, ${misc:Depends}, ${shlibs:Depends} | |
15 | Suggests: python-cx-oracle-doc | |
16 | Description: Python interface to Oracle Database (Python 2) | |
17 | This package contains a Python extension module that enables access to | |
18 | Oracle Database. It conforms to the Python database API 2.0 specification with | |
19 | a considerable number of additions and a couple of exclusions. | |
20 | . | |
21 | This package installs the library for Python 2. | |
22 | ||
23 | Package: python3-cx-oracle | |
24 | Architecture: any | |
25 | Depends: ${python3:Depends}, ${misc:Depends}, ${shlibs:Depends} | |
26 | Suggests: python-cx-oracle-doc | |
27 | Description: Python interface to Oracle Database (Python 3) | |
28 | This package contains a Python extension module that enables access to | |
29 | Oracle Database. It conforms to the Python database API 2.0 specification with | |
30 | a considerable number of additions and a couple of exclusions. | |
31 | . | |
32 | This package installs the library for Python 3. | |
33 | ||
34 | Package: python-cx-oracle-doc | |
35 | Architecture: all | |
36 | Section: doc | |
37 | Depends: ${sphinxdoc:Depends}, ${misc:Depends} | |
38 | Description: Python interface to Oracle Database (common documentation) | |
39 | This package contains a Python extension module that enables access to | |
40 | Oracle Database. It conforms to the Python database API 2.0 specification with | |
41 | a considerable number of additions and a couple of exclusions. | |
42 | . | |
43 | This is the common documentation package. |
0 | Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ | |
1 | Upstream-Name: python-cx_Oracle | |
2 | Source: https://github.com/oracle/python-cx_Oracle | |
3 | ||
4 | Files: * | |
5 | Copyright: 2016, 2018, Oracle and/or its affiliates | |
6 | 2007-2015, Anthony Tuininga | |
7 | 2001-2007, Computronix (Canada) Ltd., Edmonton, Alberta, Canada | |
8 | License: BSD-3-clause | |
9 | Comment: Computronix is a registered trademark of Computronix (Canada) Ltd. | |
10 | ||
11 | Files: debian/* | |
12 | Copyright: 2019 Sophie Brun <[email protected]> | |
13 | License: BSD-3-clause | |
14 | ||
15 | License: BSD-3-clause | |
16 | All rights reserved. | |
17 | . | |
18 | Redistribution and use in source and binary forms, with or without | |
19 | modification, are permitted provided that the following conditions are met: | |
20 | . | |
21 | 1. Redistributions of source code must retain the above copyright notice, this | |
22 | list of conditions, and the disclaimer that follows. | |
23 | . | |
24 | 2. Redistributions in binary form must reproduce the above copyright notice, | |
25 | this list of conditions, and the following disclaimer in the documentation | |
26 | and/or other materials provided with the distribution. | |
27 | . | |
28 | 3. Neither the names of the copyright holders nor the names of any contributors | |
29 | may be used to endorse or promote products derived from this software | |
30 | without specific prior written permission. | |
31 | . | |
32 | DISCLAIMER: THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | |
33 | *AS IS* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, | |
34 | THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | |
35 | ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY | |
36 | DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES | |
37 | (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | |
38 | LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON | |
39 | ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | |
40 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS | |
41 | SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
0 | Description: Change path to lib odpic | |
1 | We don't have the odpi source code or library in our tarball. It's | |
2 | packaged separately: let's search in the correct directories. | |
3 | Author: Sophie Brun <[email protected]> | |
4 | Last-Update: 2019-02-20 | |
5 | --- | |
6 | This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ | |
7 | --- a/setup.py | |
8 | +++ b/setup.py | |
9 | @@ -77,8 +77,9 @@ depends = ["src/cxoModule.h"] | |
10 | # variables ODPIC_INC_DIR and ODPIC_LIB_DIR are both set, assume these | |
11 | # locations contain a compiled installation of ODPI-C; otherwise, use the | |
12 | # source of ODPI-C found in the odpi subdirectory | |
13 | -dpiIncludeDir = os.environ.get("ODPIC_INC_DIR") | |
14 | -dpiLibDir = os.environ.get("ODPIC_LIB_DIR") | |
15 | +# Change Path | |
16 | +dpiIncludeDir = "/usr/include" | |
17 | +dpiLibDir = "/usr/lib" | |
18 | if dpiIncludeDir and dpiLibDir: | |
19 | dpiSources = [] | |
20 | includeDirs = [dpiIncludeDir] |
0 | Description: Don't use setup to install docs | |
1 | The files are installed in unusual dir /usr/cx_Oracle-doc/ in each module | |
2 | package. Don't install the README in the module package but in the | |
3 | doumentation package. | |
4 | Author: Sophie Brun <[email protected]> | |
5 | Last-Update: 2019-02-20 | |
6 | --- | |
7 | This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ | |
8 | --- a/setup.py | |
9 | +++ b/setup.py | |
10 | @@ -113,7 +113,8 @@ setup( | |
11 | version = BUILD_VERSION, | |
12 | description = "Python interface to Oracle", | |
13 | cmdclass = dict(test = test), | |
14 | - data_files = [ ("cx_Oracle-doc", ["LICENSE.txt", "README.txt"]) ], | |
15 | +# don't install doc files in the module packages | |
16 | +# data_files = [ ("cx_Oracle-doc", ["LICENSE.txt", "README.txt"]) ], | |
17 | long_description = \ | |
18 | "Python interface to Oracle Database conforming to the Python DB " | |
19 | "API 2.0 specification.\n" |
0 | samples/* |
0 | #!/usr/bin/make -f | |
1 | ||
2 | # output every command that modifies files on the build system. | |
3 | #export DH_VERBOSE = 1 | |
4 | ||
5 | export DEB_BUILD_MAINT_OPTIONS = hardening=+all | |
6 | ||
7 | export PYBUILD_NAME=cx-oracle | |
8 | ||
9 | %: | |
10 | dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild | |
11 | ||
12 | ||
13 | override_dh_auto_build: | |
14 | dh_auto_build | |
15 | PYTHONPATH=. http_proxy='127.0.0.1:9' sphinx-build -N -bhtml doc/src/ build/html # HTML generator | |
16 |
0 | 3.0 (quilt) |
0 | extend-diff-ignore = "^[^/]*[.]egg-info/" |