SF.net SVN: gar:[25762] csw/mgar/pkg
cgrzemba at users.sourceforge.net
cgrzemba at users.sourceforge.net
Tue Jun 7 12:31:27 CEST 2016
Revision: 25762
http://sourceforge.net/p/gar/code/25762
Author: cgrzemba
Date: 2016-06-07 10:31:27 +0000 (Tue, 07 Jun 2016)
Log Message:
-----------
cx_Oracle/trunk: update version 5.2.1
Added Paths:
-----------
csw/mgar/pkg/cx_Oracle/
csw/mgar/pkg/cx_Oracle/branches/
csw/mgar/pkg/cx_Oracle/tag/
csw/mgar/pkg/cx_Oracle/trunk/
csw/mgar/pkg/cx_Oracle/trunk/Makefile
csw/mgar/pkg/cx_Oracle/trunk/files/
csw/mgar/pkg/cx_Oracle/trunk/files/LICENSE.txt
Added: csw/mgar/pkg/cx_Oracle/trunk/Makefile
===================================================================
--- csw/mgar/pkg/cx_Oracle/trunk/Makefile (rev 0)
+++ csw/mgar/pkg/cx_Oracle/trunk/Makefile 2016-06-07 10:31:27 UTC (rev 25762)
@@ -0,0 +1,54 @@
+# Copyright 2009 OpenCSW
+# Distributed under the terms of the GNU General Public License v2
+# $Id: Makefile 16916 2012-01-26 13:25:13Z dmichelsen $
+
+NAME = cx_oracle
+VERSION = 5.2.1
+CATEGORIES = python
+GARTYPE = v2
+
+DESCRIPTION = A Python db API conforming module for Oracle database access
+define BLURB
+ cx_Oracle is a Python extension module that allows access to Oracle databases
+ and conforms to the Python database API specification. This module is
+ currently built against Oracle 9.2.0, 10.2.0 and 11.1.0. For more information
+ on the database API specification, see here. Use the provided setup.py to
+ build and install the module which makes use of the DistUtils module made
+ available in Python 2.0 and up.
+endef
+
+LICENSE = LICENSE.txt
+
+SPKG_SOURCEURL = http://cx-oracle.sourceforge.net/
+CATALOGNAME = py_cx_oracle
+# MASTER_SITES = $(SF_MIRRORS)
+MASTER_SITES = https://bitbucket.org/anthony_tuininga/$(NAME)/get/
+# DL_NAME = cx_Oracle
+# DISTNAME = $(DL_NAME)-$(VERSION)
+DISTFILES += $(VERSION).tar.bz2
+DISTFILES += $(LICENSE)
+
+
+BUILD_DEP_PKGS += CSWpython-dev
+
+RUNTIME_DEP_PKGS_CSWpy-cx-oracle += CSWlibpython2-7-1-0
+RUNTIME_DEP_PKGS_CSWpy-cx-oracle += CSWlibpython2-6-1-0
+RUNTIME_DEP_PKGS_CSWpy-cx-oracle += CSWlibgcc-s1
+# only a .so file
+CHECKPKG_OVERRIDES_CSWpy-cx-oracle += python-package-missing-py-files
+CHECKPKG_OVERRIDES_CSWpy-cx-oracle += soname-not-found|libclntsh.so.11.1|is|needed|by|opt/csw/lib/python2.7/site-packages/cx_Oracle.so
+CHECKPKG_OVERRIDES_CSWpy-cx-oracle += soname-not-found|libclntsh.so.11.1|is|needed|by|opt/csw/lib/python2.6/site-packages/cx_Oracle.so
+
+TEST_SCRIPTS =
+
+CONFIGURE_ARGS = $(DIRPATHS)
+
+# need closed src bins
+ORACLE_HOME ?= /opt/oracle/product/11.2.0/client32/
+export ORACLE_HOME
+
+include gar/category.mk
+
+post-extract-modulated:
+ cd $(WORKDIR) && [ ! -d *cx* ] || mv *cx* $(DISTNAME)
+ $(MAKECOOKIE)
Added: csw/mgar/pkg/cx_Oracle/trunk/files/LICENSE.txt
===================================================================
--- csw/mgar/pkg/cx_Oracle/trunk/files/LICENSE.txt (rev 0)
+++ csw/mgar/pkg/cx_Oracle/trunk/files/LICENSE.txt 2016-06-07 10:31:27 UTC (rev 25762)
@@ -0,0 +1,17 @@
+License
+
+LICENSE AGREEMENT FOR CX_ORACLE
+
+Copyright B) 2007-2015, Anthony Tuininga. All rights reserved.
+
+Copyright B) 2001-2007, Computronix (Canada) Ltd., Edmonton, Alberta, Canada. All rights reserved.
+
+Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
+
+ Redistributions of source code must retain the above copyright notice, this list of conditions, and the disclaimer that follows.
+ Redistributions in binary form must reproduce the above copyright notice, this list of conditions, and the following disclaimer in the documentation and/or other materials provided with the distribution.
+ Neither the names of the copyright holders nor the names of any contributors may be used to endorse or promote products derived from this software without specific prior written permission.
+
+DISCLAIMER: THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS *AS IS* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+Computronix B. is a registered trademark of Computronix (Canada) Ltd.
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the devel
mailing list