|
1 # |
|
2 # CDDL HEADER START |
|
3 # |
|
4 # The contents of this file are subject to the terms of the |
|
5 # Common Development and Distribution License (the "License"). |
|
6 # You may not use this file except in compliance with the License. |
|
7 # |
|
8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE |
|
9 # or http://www.opensolaris.org/os/licensing. |
|
10 # See the License for the specific language governing permissions |
|
11 # and limitations under the License. |
|
12 # |
|
13 # When distributing Covered Code, include this CDDL HEADER in each |
|
14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE. |
|
15 # If applicable, add the following below this CDDL HEADER, with the |
|
16 # fields enclosed by brackets "[]" replaced with your own identifying |
|
17 # information: Portions Copyright [yyyy] [name of copyright owner] |
|
18 # |
|
19 # CDDL HEADER END |
|
20 |
|
21 # |
|
22 # Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved. |
|
23 # |
|
24 |
|
25 include ../../../make-rules/shared-macros.mk |
|
26 |
|
27 COMPONENT_NAME= cx_Oracle |
|
28 COMPONENT_VERSION= 5.2 |
|
29 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) |
|
30 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz |
|
31 COMPONENT_ARCHIVE_HASH= \ |
|
32 sha256:c580d5e7fa9748326dbae22f5832401f229ddda5354ec17120d9b28893925bbb |
|
33 COMPONENT_ARCHIVE_URL= $(call pypi_url) |
|
34 COMPONENT_PROJECT_URL= http://cx-oracle.sourceforge.net/ |
|
35 COMPONENT_BUGDB= python-mod/cx_oracle |
|
36 |
|
37 TPNO= 23247 |
|
38 |
|
39 # Specifying PYTHON2_VERSIONS so that we don't get the 2.6 |
|
40 # version built as well. It's an oversight in setup.py.mk |
|
41 # that isn't worth fixing since 2.6 is going away very soon. |
|
42 PYTHON2_VERSIONS= 2.7 |
|
43 PYTHON_VERSIONS= 2.7 $(PYTHON3_VERSIONS) |
|
44 |
|
45 include $(WS_MAKE_RULES)/prep.mk |
|
46 include $(WS_MAKE_RULES)/ips.mk |
|
47 include $(WS_MAKE_RULES)/setup.py.mk |
|
48 |
|
49 # common targets |
|
50 |
|
51 build: $(BUILD_32_and_64) |
|
52 |
|
53 install: $(INSTALL_32_and_64) |
|
54 |
|
55 # We do not run automated tests of this package because doing |
|
56 # requires access to a captive Oracle database instance. |
|
57 test: $(NO_TESTS) |
|
58 |
|
59 system-test: $(NO_TESTS) |
|
60 |
|
61 REQUIRED_PACKAGES += database/oracle/instantclient |
|
62 REQUIRED_PACKAGES += developer/oracle/instantclient/sdk |
|
63 REQUIRED_PACKAGES += system/library |