summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukasz Strzygowski <lucass@gentoo.org>2006-06-02 14:02:56 +0000
committerLukasz Strzygowski <lucass@gentoo.org>2006-06-02 14:02:56 +0000
commita9a1252985c9cb285ad33ee5c0ebbf6ddf65fd4e (patch)
tree067d800db7e87a3e3fdf26737986312a21f2faf1 /dev-python/lxml
parentnagios 2.x ready for public consumption (diff)
downloadgentoo-2-a9a1252985c9cb285ad33ee5c0ebbf6ddf65fd4e.tar.gz
gentoo-2-a9a1252985c9cb285ad33ee5c0ebbf6ddf65fd4e.tar.bz2
gentoo-2-a9a1252985c9cb285ad33ee5c0ebbf6ddf65fd4e.zip
Version bump.
(Portage version: 2.1_rc3-r2)
Diffstat (limited to 'dev-python/lxml')
-rw-r--r--dev-python/lxml/ChangeLog8
-rw-r--r--dev-python/lxml/files/digest-lxml-1.03
-rw-r--r--dev-python/lxml/files/lxml-1.0-distutils.diff19
-rw-r--r--dev-python/lxml/lxml-1.0.ebuild45
4 files changed, 74 insertions, 1 deletions
diff --git a/dev-python/lxml/ChangeLog b/dev-python/lxml/ChangeLog
index 04e96c3a759e..87c04d250c60 100644
--- a/dev-python/lxml/ChangeLog
+++ b/dev-python/lxml/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-python/lxml
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/lxml/ChangeLog,v 1.5 2006/05/19 06:51:34 lucass Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/lxml/ChangeLog,v 1.6 2006/06/02 14:02:56 lucass Exp $
+
+*lxml-1.0 (02 Jun 2006)
+
+ 02 Jun 2006; Lukasz Strzygowski <lucass@gentoo.org>
+ +files/lxml-1.0-distutils.diff, +lxml-1.0.ebuild:
+ Version bump.
*lxml-0.9.2 (19 May 2006)
diff --git a/dev-python/lxml/files/digest-lxml-1.0 b/dev-python/lxml/files/digest-lxml-1.0
new file mode 100644
index 000000000000..939008a0b99e
--- /dev/null
+++ b/dev-python/lxml/files/digest-lxml-1.0
@@ -0,0 +1,3 @@
+MD5 2f1ced6d29eeafea7b82acbac7e787f6 lxml-1.0.tgz 365511
+RMD160 e247b19802e0a20765dcb9cc741fcb7d9f7c8c38 lxml-1.0.tgz 365511
+SHA256 6497850ec2f6b1dd03276ecb370ac2227923f037d7514b60c3b4bfbb556900ca lxml-1.0.tgz 365511
diff --git a/dev-python/lxml/files/lxml-1.0-distutils.diff b/dev-python/lxml/files/lxml-1.0-distutils.diff
new file mode 100644
index 000000000000..bf599dbcedb7
--- /dev/null
+++ b/dev-python/lxml/files/lxml-1.0-distutils.diff
@@ -0,0 +1,19 @@
+--- setup.py.old 2006-06-02 15:30:13.000000000 +0200
++++ setup.py 2006-06-02 15:31:01.000000000 +0200
+@@ -1,14 +1,8 @@
+ import sys, os, os.path, re
+
+ setup_args = {}
+-try:
+- from setuptools import setup
+- from setuptools.extension import Extension
+- # prevent setuptools from making local etree.so copies:
+- setup_args['zip_safe'] = False
+-except ImportError:
+- from distutils.core import setup
+- from distutils.extension import Extension
++from distutils.core import setup
++from distutils.extension import Extension
+
+ # This is called if the '--static' option is passed
+ def setupStaticBuild():
diff --git a/dev-python/lxml/lxml-1.0.ebuild b/dev-python/lxml/lxml-1.0.ebuild
new file mode 100644
index 000000000000..8b141398e48f
--- /dev/null
+++ b/dev-python/lxml/lxml-1.0.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/lxml/lxml-1.0.ebuild,v 1.1 2006/06/02 14:02:56 lucass Exp $
+
+inherit distutils eutils
+
+DESCRIPTION="lxml is a Pythonic binding for the libxml2 and libxslt libraries"
+HOMEPAGE="http://codespeak.net/lxml/"
+SRC_URI="http://codespeak.net/lxml/${P}.tgz"
+
+LICENSE="BSD GPL-2 as-is"
+SLOT="0"
+KEYWORDS="~amd64 ~ia64 ~x86"
+IUSE=""
+
+DEPEND=">=dev-libs/libxml2-2.6.16
+ >=dev-libs/libxslt-1.1.12
+ >=dev-python/pyrex-0.9.3
+ virtual/python"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/${P}-distutils.diff
+}
+
+src_test() {
+ make test
+}
+
+src_install() {
+ distutils_src_install
+
+ dohtml doc/html/*
+
+ dodoc *.txt
+ docinto doc
+ dodoc doc/*.txt
+ docinto doc/licenses
+ dodoc doc/licenses/*
+
+ insinto /usr/share/doc/${PF}
+ doins -r samples
+}
+