summaryrefslogtreecommitdiff
path: root/dev-python/lxml
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--dev-python/lxml/Manifest7
-rw-r--r--dev-python/lxml/files/gtk-threading-filename-guessing.patch35
-rw-r--r--dev-python/lxml/files/lxml-2.0.3-no-fake-pyrex.patch15
-rw-r--r--dev-python/lxml/files/parse-gtk-problem.patch45
-rw-r--r--dev-python/lxml/lxml-2.0.2-r1.ebuild57
-rw-r--r--dev-python/lxml/lxml-2.0.5.ebuild57
6 files changed, 0 insertions, 216 deletions
diff --git a/dev-python/lxml/Manifest b/dev-python/lxml/Manifest
deleted file mode 100644
index 5d7f58b..0000000
--- a/dev-python/lxml/Manifest
+++ /dev/null
@@ -1,7 +0,0 @@
-AUX gtk-threading-filename-guessing.patch 1054 RMD160 81d9090a447539beb6644249d5366f4d36ea6009 SHA1 1bc29d5737c6fe03fee3566b507695abec638834 SHA256 8b7d6c847c27948455ec3bb74f998ddc807aa293c1083608880716e555a693a0
-AUX lxml-2.0.3-no-fake-pyrex.patch 442 RMD160 75164b0c95c96219be5bd5df529ee10a93b5545a SHA1 f98119743207a587bb1e3b5ccf8b93aa891c9516 SHA256 06d5e8be49eac6188e5ccb48c27b8307f5ddd3ab465d95f5c5adec756f3ee7ba
-AUX parse-gtk-problem.patch 1698 RMD160 179c0807ec7335e63853fd65981cf6b21884f9e3 SHA1 56918ec6f47ef7da5118d76acb21414615091eef SHA256 d42eac9ed08e0c36fa010b4b9f37904b428a2fe4d5376b44aba38aa95ba76331
-DIST lxml-2.0.2.tgz 2002234 RMD160 c3ed569aee8112dfaca2c7be7309ca51cf23317d SHA1 97fc60896e34b48b6179ecc5ebb68ca96cbf2a4a SHA256 0f1a1f9ad32fbd6a60f985a71b9266996b2b4bb4831ff5945106f8fc7fa11a56
-DIST lxml-2.0.5.tgz 2044547 RMD160 3e12da4a5b8cd559c33db2a3d81b990ef96179d1 SHA1 e04f526aef2538efeb910188ff6e906ad74e98ce SHA256 8f9a29a3f7f77f883c43184f3cf76242048d90daa9245da9f075f89acde212cc
-EBUILD lxml-2.0.2-r1.ebuild 1530 RMD160 aaeec83741ead12ad0be063b1e518640666a74d3 SHA1 192c1599e86a6106d69a163689a42c5e9b370b73 SHA256 f813996fe966e4d01ef24b6486d99a2ac0f32ab1777700d9d7792b4b671154ba
-EBUILD lxml-2.0.5.ebuild 1440 RMD160 5537ffecf3ecf1a14757642692bdce8ed6046daf SHA1 476bcbed9bc2ac782619ebf4d6e2bcbce741037e SHA256 0254a5f305c59257b144f4de6cce9f1d0fa0d292a3c54b515bad567b3ff4645e
diff --git a/dev-python/lxml/files/gtk-threading-filename-guessing.patch b/dev-python/lxml/files/gtk-threading-filename-guessing.patch
deleted file mode 100644
index a48f258..0000000
--- a/dev-python/lxml/files/gtk-threading-filename-guessing.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-=== src/lxml/apihelpers.pxi
-==================================================================
---- src/lxml/apihelpers.pxi (revision 3804)
-+++ src/lxml/apihelpers.pxi (revision 3805)
-@@ -1107,20 +1107,16 @@
- Returns None if not a file object.
- """
- # file instances have a name attribute
-- try:
-- return source.name
-- except AttributeError:
-- pass
-+ filename = getattr3(source, 'name', None)
-+ if filename is not None:
-+ return filename
- # gzip file instances have a filename attribute
-- try:
-- return source.filename
-- except AttributeError:
-- pass
-+ filename = getattr3(source, 'filename', None)
-+ if filename is not None:
-+ return filename
- # urllib2 provides a geturl() method
-- try:
-- geturl = source.geturl
-- except AttributeError:
-- # can't determine filename
-- return None
-- else:
-+ geturl = getattr3(source, 'geturl', None)
-+ if geturl is not None:
- return geturl()
-+ # can't determine filename
-+ return None
diff --git a/dev-python/lxml/files/lxml-2.0.3-no-fake-pyrex.patch b/dev-python/lxml/files/lxml-2.0.3-no-fake-pyrex.patch
deleted file mode 100644
index 9042ae6..0000000
--- a/dev-python/lxml/files/lxml-2.0.3-no-fake-pyrex.patch
+++ /dev/null
@@ -1,15 +0,0 @@
---- setup.py 2008-04-07 15:10:32.989740409 +0300
-+++ setup.py 2008-04-07 15:11:13.897709903 +0300
-@@ -4,10 +4,9 @@
-
- try:
- import Cython
-- # may need to work around setuptools bug by providing a fake Pyrex
-- sys.path.insert(0, os.path.join(os.path.dirname(__file__), "fake_pyrex"))
- except ImportError:
-- pass
-+ print >>sys.stderr, "lxml requires cython-0.9.6.10 or later."
-+ sys.exit(1)
-
- try:
- import pkg_resources
diff --git a/dev-python/lxml/files/parse-gtk-problem.patch b/dev-python/lxml/files/parse-gtk-problem.patch
deleted file mode 100644
index e8aafdf..0000000
--- a/dev-python/lxml/files/parse-gtk-problem.patch
+++ /dev/null
@@ -1,45 +0,0 @@
-=== src/lxml/parser.pxi
-==================================================================
---- src/lxml/parser.pxi (revision 3798)
-+++ src/lxml/parser.pxi (revision 3799)
-@@ -1294,10 +1294,22 @@
-
- cdef _Document _parseDocument(source, _BaseParser parser, base_url):
- cdef _Document doc
-+ if _isString(source):
-+ # parse the file directly from the filesystem
-+ doc = _parseDocumentFromURL(_encodeFilename(source), parser)
-+ # fix base URL if requested
-+ if base_url is not None:
-+ base_url = _encodeFilenameUTF8(base_url)
-+ if doc._c_doc.URL is not NULL:
-+ tree.xmlFree(doc._c_doc.URL)
-+ doc._c_doc.URL = tree.xmlStrdup(_cstr(base_url))
-+ return doc
-+
- if base_url is not None:
- url = base_url
- else:
- url = _getFilenameForFile(source)
-+
- if hasattr(source, 'getvalue') and hasattr(source, 'tell'):
- # StringIO - reading from start?
- if source.tell() == 0:
-@@ -1309,16 +1321,7 @@
- return _parseFilelikeDocument(
- source, _encodeFilenameUTF8(url), parser)
-
-- # Otherwise parse the file directly from the filesystem
-- filename = _encodeFilename(source)
-- doc = _parseDocumentFromURL(filename, parser)
-- # fix base URL if requested
-- if base_url is not None:
-- base_url = _encodeFilenameUTF8(base_url)
-- if doc._c_doc.URL is not NULL:
-- tree.xmlFree(doc._c_doc.URL)
-- doc._c_doc.URL = tree.xmlStrdup(_cstr(base_url))
-- return doc
-+ raise TypeError("cannot parse from '%s'" % python._fqtypename(source))
-
- cdef _Document _parseDocumentFromURL(url, _BaseParser parser):
- cdef xmlDoc* c_doc
diff --git a/dev-python/lxml/lxml-2.0.2-r1.ebuild b/dev-python/lxml/lxml-2.0.2-r1.ebuild
deleted file mode 100644
index 6dc7329..0000000
--- a/dev-python/lxml/lxml-2.0.2-r1.ebuild
+++ /dev/null
@@ -1,57 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/lxml/lxml-2.0.2.ebuild,v 1.2 2008/03/16 23:09:33 jer Exp $
-
-NEED_PYTHON="2.3"
-
-inherit distutils eutils multilib
-
-DESCRIPTION="A Pythonic binding for the libxml2 and libxslt libraries"
-HOMEPAGE="http://codespeak.net/lxml/"
-SRC_URI="http://codespeak.net/lxml/${P}.tgz"
-LICENSE="BSD ElementTree GPL-2 PSF-2.4"
-SLOT="0"
-KEYWORDS="~amd64 ~hppa ~ia64 ~ppc ~x86"
-IUSE="doc examples"
-
-# Note: This version comes with it's own bundled svn version of pyrex
-RDEPEND=">=dev-libs/libxml2-2.6.20
- >=dev-libs/libxslt-1.1.15"
-DEPEND="${RDEPEND}
- >=dev-python/setuptools-0.6_rc5
- >=dev-python/cython-0.9.6.12"
-
-src_compile () {
- rm ${S}/src/lxml/lxml.*.c
- #epatch "${FILESDIR}/parse-gtk-problem.patch"
- epatch "${FILESDIR}/gtk-threading-filename-guessing.patch"
- distutils_src_compile
-}
-
-src_install() {
- distutils_src_install
-
- if use doc; then
- dohtml doc/html/*
- dodoc *.txt
- docinto doc
- dodoc doc/*.txt
- fi
-
- if use examples; then
- insinto /usr/share/doc/${PF}/examples
- doins -r samples/*
- fi
-}
-
-src_test() {
- distutils_python_version
- python setup.py build_ext -i || die "building extensions for test use failed"
- einfo "Running test"
- "${python}" test.py || die "tests failed"
- export PYTHONPATH="${PYTHONPATH}:${S}/src"
- einfo "Running selftest"
- "${python}" selftest.py || die "selftest failed"
- einfo "Running selftest2"
- "${python}" selftest2.py || die "selftest2 failed"
-}
diff --git a/dev-python/lxml/lxml-2.0.5.ebuild b/dev-python/lxml/lxml-2.0.5.ebuild
deleted file mode 100644
index bb9d4c0..0000000
--- a/dev-python/lxml/lxml-2.0.5.ebuild
+++ /dev/null
@@ -1,57 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/lxml/lxml-2.0.3.ebuild,v 1.4 2008/04/08 09:38:57 armin76 Exp $
-
-NEED_PYTHON="2.3"
-
-inherit distutils eutils multilib
-
-DESCRIPTION="A Pythonic binding for the libxml2 and libxslt libraries"
-HOMEPAGE="http://codespeak.net/lxml/"
-SRC_URI="http://codespeak.net/lxml/${P}.tgz"
-LICENSE="BSD ElementTree GPL-2 PSF-2.4"
-SLOT="0"
-KEYWORDS="~amd64 ~hppa ~ia64 ~ppc64 ~x86"
-IUSE="doc examples"
-
-RDEPEND=">=dev-libs/libxml2-2.6.20
- >=dev-libs/libxslt-1.1.15"
-DEPEND="${RDEPEND}
- >=dev-python/cython-0.9.6.10
- >=dev-python/setuptools-0.6_rc5"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- # Use cython instead of own bundled version of pyrex
- epatch "${FILESDIR}/${PN}-2.0.3-no-fake-pyrex.patch"
-}
-
-src_install() {
- distutils_src_install
-
- if use doc; then
- dohtml doc/html/*
- dodoc *.txt
- docinto doc
- dodoc doc/*.txt
- fi
-
- if use examples; then
- insinto /usr/share/doc/${PF}/examples
- doins -r samples/*
- fi
-}
-
-src_test() {
- distutils_python_version
- python setup.py build_ext -i || die "building extensions for test use failed"
- einfo "Running test"
- "${python}" test.py || die "tests failed"
- export PYTHONPATH="${PYTHONPATH}:${S}/src"
- einfo "Running selftest"
- "${python}" selftest.py || die "selftest failed"
- einfo "Running selftest2"
- "${python}" selftest2.py || die "selftest2 failed"
-}