summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-zope')
-rw-r--r--net-zope/zodb/files/zodb-3.9.3-py24compat.h.patch21
-rw-r--r--net-zope/zodb/zodb-3.9.3.ebuild57
2 files changed, 0 insertions, 78 deletions
diff --git a/net-zope/zodb/files/zodb-3.9.3-py24compat.h.patch b/net-zope/zodb/files/zodb-3.9.3-py24compat.h.patch
deleted file mode 100644
index 34ab029aef22..000000000000
--- a/net-zope/zodb/files/zodb-3.9.3-py24compat.h.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-https://bugs.launchpad.net/zodb/+bug/459889
-
---- setup.py
-+++ setup.py
-@@ -189,6 +189,7 @@
- package_dir = {'': 'src'},
- ext_modules = exts,
- headers = ['src/persistent/cPersistence.h',
-+ 'src/persistent/py24compat.h',
- 'src/persistent/ring.h'],
- license = "ZPL 2.1",
- platforms = ["any"],
---- src/persistent/py24compat.h
-+++ src/persistent/py24compat.h
-@@ -1,5 +1,5 @@
- /* Backport type definitions from Python 2.5's object.h */
--#ifndef PERSISTENT_PY24COMPATH_H
-+#ifndef PERSISTENT_PY24COMPAT_H
- #define PERSISTENT_PY24COMPAT_H
- #if PY_VERSION_HEX < 0x02050000
- typedef int Py_ssize_t;
diff --git a/net-zope/zodb/zodb-3.9.3.ebuild b/net-zope/zodb/zodb-3.9.3.ebuild
deleted file mode 100644
index 138942e38bdc..000000000000
--- a/net-zope/zodb/zodb-3.9.3.ebuild
+++ /dev/null
@@ -1,57 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-zope/zodb/zodb-3.9.3.ebuild,v 1.4 2010/02/08 09:01:24 pva Exp $
-
-EAPI="2"
-SUPPORT_PYTHON_ABIS="1"
-
-inherit eutils distutils
-
-MY_PN="ZODB3"
-MY_P="${MY_PN}-${PV}"
-
-DESCRIPTION="Zope Object DataBase"
-HOMEPAGE="http://pypi.python.org/pypi/ZODB3 http://zope.org/Products/ZODB3 http://wiki.zope.org/ZODB/FrontPage https://launchpad.net/zodb"
-SRC_URI="http://pypi.python.org/packages/source/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
-
-LICENSE="ZPL"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-RDEPEND="net-zope/transaction
- net-zope/zc-lockfile
- net-zope/zconfig
- net-zope/zdaemon
- net-zope/zope-event
- net-zope/zope-interface
- net-zope/zope-proxy
- net-zope/zope-testing"
-DEPEND="${RDEPEND}
- dev-python/setuptools"
-RESTRICT_PYTHON_ABIS="3.*"
-
-S="${WORKDIR}/${MY_P}"
-
-PYTHON_MODNAME="BTrees persistent ZEO ZODB"
-DOCS="doc/* HISTORY.txt README.txt"
-
-src_prepare() {
- distutils_src_prepare
- python_convert_shebangs -r 2 src
- epatch "${FILESDIR}/${P}-py24compat.h.patch"
-}
-
-src_test() {
- testing() {
- PYTHONPATH="$(ls -d build-${PYTHON_ABI}/lib.*)" "$(PYTHON)" setup.py build -b "build-${PYTHON_ABI}" test
- }
- python_execute_function testing
-}
-
-src_install() {
- distutils_src_install
-
- # Don't install sources.
- find "${D}"usr/$(get_libdir)/python*/site-packages -name "*.c" -o -name "*.h" | xargs rm -f
-}