summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Sachau <tommy@gentoo.org>2008-06-29 11:54:02 +0000
committerThomas Sachau <tommy@gentoo.org>2008-06-29 11:54:02 +0000
commite30c04bbed9815b57fe41666426bf35b925b3e18 (patch)
treed02329515f7cafc3cbc4f09c73c181f302e58eef
parentapp-cdr/cddetect: In gentoo-x86 (diff)
downloadsunrise-e30c04bbed9815b57fe41666426bf35b925b3e18.tar.gz
sunrise-e30c04bbed9815b57fe41666426bf35b925b3e18.tar.bz2
sunrise-e30c04bbed9815b57fe41666426bf35b925b3e18.zip
dev-libs/dbxml: In gentoo-x86
svn path=/sunrise/; revision=6375
-rw-r--r--dev-libs/dbxml/ChangeLog23
-rw-r--r--dev-libs/dbxml/Manifest6
-rw-r--r--dev-libs/dbxml/dbxml-2.3.10-r2.ebuild81
-rw-r--r--dev-libs/dbxml/files/dbxml-pythonfixes.patch81
-rw-r--r--dev-libs/dbxml/metadata.xml5
5 files changed, 0 insertions, 196 deletions
diff --git a/dev-libs/dbxml/ChangeLog b/dev-libs/dbxml/ChangeLog
deleted file mode 100644
index cf1765dff..000000000
--- a/dev-libs/dbxml/ChangeLog
+++ /dev/null
@@ -1,23 +0,0 @@
-# ChangeLog for dev-libs/dbxml
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: $
-
- 15 Dec 2007; Markus Ullmann <jokey@gentoo.org> dbxml-2.3.10-r1,
- dbxml-2.3.10-r2:
- Drop old and whitey
-
- 29 Oct 2007; Markus Ullmann <jokey@gentoo.org> package.mask:
- Add java-testing version, mask to have betelgeuse commenting on it
-
- 03 Apr 2007; Markus Ullmann <jokey@gentoo.org> -dbxml-2.3.10.ebuild,
- dbxml-2.3.10-r1.ebuild:
- Drop old and ebuild fixes
-
- 27 Mar 2007; Chris Carlin (volkris) <carlin@jlab.org>
- +dbxml-2.3.10-r1.ebuild, +files/dbxml-pythonfixes.patch:
- Apply upstream patch and optionally install python module.
-
- 07 Mar 2007; Chris Carlin (volkris) <carlin@jlab.org>
- +dbxml-2.3.10.ebuild, +metadata.xml:
- New Ebuild for bug 24473
-
diff --git a/dev-libs/dbxml/Manifest b/dev-libs/dbxml/Manifest
deleted file mode 100644
index beb6de6cd..000000000
--- a/dev-libs/dbxml/Manifest
+++ /dev/null
@@ -1,6 +0,0 @@
-AUX dbxml-pythonfixes.patch 3220 RMD160 00cdd75081b78547bb9ed15aa802742cf93b2be1 SHA1 e9041386ef3a2496af9affc7ce03d070ade0565b SHA256 f5be05ee44ad4c72e3ac1595175f4fafb46e64eee58d1795460d712d3da32962
-DIST dbxml-2.3.10.tar.gz 32434887 RMD160 6422cba1c893e872dba25fe20f72aba3d03b1502 SHA1 1ac0788cf833885357d50b94fca801b5e18f0a6d SHA256 2db6c33848f364cd698066f85a7a5da8826a751d8e0b63cc10eee7b0aca745cb
-DIST patch.2.3.10.3 2112 RMD160 3f7b37c92e730b576b8939e4f50a193382070910 SHA1 4d8dc7b56c53f53c3b4d66f469e6000e5b4a88d3 SHA256 92f9daa47b538f02da816b8e7f0f05431dcd7115864553cf6b3b4f9c58a4ec80
-EBUILD dbxml-2.3.10-r2.ebuild 2188 RMD160 127bc76ab3ad18603ad28dba00c22548d7fe6845 SHA1 85d0fa681a7c5e90a9b4b65025dfc56c75388db6 SHA256 463c9b1d9d4b65a7f905a7c2aad55c4acacffd4345454da25530524f620efb45
-MISC ChangeLog 782 RMD160 f8ad9da4a7a37f1fa67dbc6b958e1bbe18df78d0 SHA1 595942899140f7ad5d1f10fb31ce581add130962 SHA256 6a739bc32dfcc1abf31bb03bbce148e08aa3a404d625a7f72c03fb9f5df57e3d
-MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
diff --git a/dev-libs/dbxml/dbxml-2.3.10-r2.ebuild b/dev-libs/dbxml/dbxml-2.3.10-r2.ebuild
deleted file mode 100644
index 1bbea8aa6..000000000
--- a/dev-libs/dbxml/dbxml-2.3.10-r2.ebuild
+++ /dev/null
@@ -1,81 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-inherit flag-o-matic db db-use distutils
-
-PATCHVER="2.3.10.3"
-DESCRIPTION="BerkeleyDB XML, a native XML database from the BerkeleyDB team"
-HOMEPAGE="http://www.oracle.com/database/berkeley-db/xml/index.html"
-SRC_URI="http://download-east.oracle.com/berkeley-db/${P}.tar.gz
- http://download-west.oracle.com/berkeley-db/${P}.tar.gz
- http://download-uk.oracle.com/berkeley-db/${P}.tar.gz
- http://www.oracle.com/technology/products/berkeley-db/xml/update/2.3.10/patch.${PATCHVER}"
-
-LICENSE="Apache-1.1"
-SLOT="0"
-KEYWORDS="~x86"
-IUSE="doc python java"
-
-DEPEND=">=sys-libs/db-4.3.28
- ~dev-libs/xerces-c-2.7.0
- >=dev-libs/xqilla-1.0.1
- python? (
- >=dev-lang/python-2.3
- >=dev-python/bsddb3-4.5.0 )"
-RDEPEND="${DEPEND}"
-
-S="${WORKDIR}/${P}/dbxml"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- EPATCH_OPTS="-p2 -d ${S}"
- epatch "${DISTDIR}"/patch.${PATCHVER}
- epatch "${FILESDIR}"/${PN}-pythonfixes.patch
-
- #Tell the configure script where our db version is
- db_version="$(db_findver sys-libs/db)" || die "Couldn't find db"
- db_incpath="$(db_includedir)" || die "Couldn't find db include path"
- sed -i -e "s:db_version=.*:db_version=${db_version}:" dist/configure && \
- sed -i -e "s:GENTOODBINCPATH:${db_incpath}:" src/python/setup.py.in && \
- sed -i -e "s:GENTOODB_CXX:db_cxx-${db_version}:" src/python/setup.py.in || \
- die "Sed failed"
-}
-
-src_compile() {
- cd "${S}"/build_unix
-
- #Needed despite db_version stuff above
- append-flags -I$(db_includedir)
-
- # use_enable doesn't work here due to a different syntax
- if use java; then
- CONF=" --enable-java=yes"
- fi
-
- ECONF_SOURCE=../dist
- econf --with-berkeleydb=/usr --with-xqilla=/usr --with-xerces=/usr ${CONF}|| die "econf failed"
-
- emake -j1 || die "emake failed"
- if use python ; then
- einfo "Compiling python extension"
- cd "${S}"/src/python
- distutils_src_compile
- fi
-}
-
-src_install() {
- cd "${S}"/build_unix
-
- #Install fails with emake
- einstall || die "einstall failed"
- db_src_install_doc
-
- if use python ; then
- einfo "Installing python extension"
- cd "${S}"/src/python
- distutils_src_install
- fi
-}
diff --git a/dev-libs/dbxml/files/dbxml-pythonfixes.patch b/dev-libs/dbxml/files/dbxml-pythonfixes.patch
deleted file mode 100644
index 7b3ba1fec..000000000
--- a/dev-libs/dbxml/files/dbxml-pythonfixes.patch
+++ /dev/null
@@ -1,81 +0,0 @@
-diff -ur dbxml-2.3.10.orig/dbxml/src/python/dbxml_python_wrap.cpp dbxml-2.3.10/dbxml/src/python/dbxml_python_wrap.cpp
---- dbxml-2.3.10.orig/dbxml/src/python/dbxml_python_wrap.cpp 2007-03-22 13:52:10.000000000 -0400
-+++ dbxml-2.3.10/dbxml/src/python/dbxml_python_wrap.cpp 2007-03-22 13:55:27.000000000 -0400
-@@ -2587,6 +2587,13 @@
-
-
- #include "db_cxx.h"
-+
-+//http://forums.oracle.com/forums/thread.jspa?threadID=487788&tstart=0
-+#ifndef DB_READ_UNCOMMITTED
-+#define DB_READ_UNCOMMITTED DB_DIRTY_READ
-+#define DB_READ_COMMITTED DB_DEGREE_2
-+#endif
-+
- #include "dbxml/DbXml.hpp"
- #include <errno.h>
- #include <fstream>
-diff -ur dbxml-2.3.10.orig/dbxml/src/python/setup.py.in dbxml-2.3.10/dbxml/src/python/setup.py.in
---- dbxml-2.3.10.orig/dbxml/src/python/setup.py.in 2007-03-22 13:52:10.000000000 -0400
-+++ dbxml-2.3.10/dbxml/src/python/setup.py.in 2007-03-22 14:00:37.000000000 -0400
-@@ -48,6 +48,7 @@
-
- if os.name == "posix":
- INCLUDES = ["../../include",
-+ "GENTOODBINCPATH",
- os.path.join(db_home, "include")]
-
- LIBDIRS = ["../../build_unix/.libs",
-@@ -56,7 +57,7 @@
- os.path.join(xerces_home, "lib")]
-
-- LIBS = ["dbxml-2",
-- "db_cxx-4",
-+ LIBS = ["dbxml-2.3",
-+ "GENTOODB_CXX",
- "xqilla", "xerces-c"]
-
- DATAFILES = []
-@@ -122,24 +123,24 @@
- "../../../bin/xerces-c_2_7.dll"])]
-
- # Now run with whatever settings we've got
-- setup(name = "dbxml",
-- version = "2.3.10",
-- description = "Berkeley DB XML Python API",
-- long_description = """\
-- This module provides a complete wrapping of the C++ API
-- to the Berkeley DB XML (BDB XML) XML database. BDB
-- XML can be used to store, retrieve, manage, and query (using
-- XQuery) XML documents.""",
-- author = "Oracle",
-- author_email = "berkeleydb-info_us@oracle.com",
-- url = "http://www.oracle.com",
-- py_modules = ["dbxml"],
-- ext_modules = [Extension("_dbxml", ["dbxml_python_wrap.cpp"],
-- include_dirs = INCLUDES,
-- library_dirs = LIBDIRS,
-- libraries = LIBS,
-- )],
-- data_files = DATAFILES)
-+ setup(name = "dbxml",
-+ version = "2.3.10",
-+ description = "Berkeley DB XML Python API",
-+ long_description = """\
-+ This module provides a complete wrapping of the C++ API
-+ to the Berkeley DB XML (BDB XML) XML database. BDB
-+ XML can be used to store, retrieve, manage, and query (using
-+ XQuery) XML documents.""",
-+ author = "Oracle",
-+ author_email = "berkeleydb-info_us@oracle.com",
-+ url = "http://www.oracle.com",
-+ py_modules = ["dbxml"],
-+ ext_modules = [Extension("_dbxml", ["dbxml_python_wrap.cpp"],
-+ include_dirs = INCLUDES,
-+ library_dirs = LIBDIRS,
-+ libraries = LIBS,
-+ )],
-+ data_files = DATAFILES)
-
- else:
- print "I don't know anything about your platform '%s'." % os.name
diff --git a/dev-libs/dbxml/metadata.xml b/dev-libs/dbxml/metadata.xml
deleted file mode 100644
index 7e3286984..000000000
--- a/dev-libs/dbxml/metadata.xml
+++ /dev/null
@@ -1,5 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<herd>maintainer-wanted</herd>
-</pkgmetadata>