summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukasz Strzygowski <lucass@gentoo.org>2005-06-01 18:45:56 +0000
committerLukasz Strzygowski <lucass@gentoo.org>2005-06-01 18:45:56 +0000
commit46dfbde0c8c0739dadb3b39e807cc8c8d1d2e6ee (patch)
tree80214d3503b31bae6923267e7134078c5fa49537 /dev-python/lxml
parentVersion bump. (diff)
downloadgentoo-2-46dfbde0c8c0739dadb3b39e807cc8c8d1d2e6ee.tar.gz
gentoo-2-46dfbde0c8c0739dadb3b39e807cc8c8d1d2e6ee.tar.bz2
gentoo-2-46dfbde0c8c0739dadb3b39e807cc8c8d1d2e6ee.zip
Initial commit. Thanks to Henry Bucklow for bug #94623.
(Portage version: 2.0.51.22-r1)
Diffstat (limited to 'dev-python/lxml')
-rw-r--r--dev-python/lxml/ChangeLog10
-rw-r--r--dev-python/lxml/Manifest2
-rw-r--r--dev-python/lxml/files/digest-lxml-0.61
-rw-r--r--dev-python/lxml/lxml-0.6.ebuild51
-rw-r--r--dev-python/lxml/metadata.xml5
5 files changed, 69 insertions, 0 deletions
diff --git a/dev-python/lxml/ChangeLog b/dev-python/lxml/ChangeLog
new file mode 100644
index 000000000000..413fb7fe2c84
--- /dev/null
+++ b/dev-python/lxml/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-python/lxml
+# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/lxml/ChangeLog,v 1.1 2005/06/01 18:45:56 lucass Exp $
+
+*lxml-0.6 (01 Jun 2005)
+
+ 01 Jun 2005; Lukasz Strzygowski <lucass@gentoo.org> +metadata.xml,
+ +lxml-0.6.ebuild:
+ Initial commit. Thanks to Henry Bucklow for bug #94623.
+
diff --git a/dev-python/lxml/Manifest b/dev-python/lxml/Manifest
new file mode 100644
index 000000000000..91c19248ac57
--- /dev/null
+++ b/dev-python/lxml/Manifest
@@ -0,0 +1,2 @@
+MD5 c51c7816bc1a924ed846ff25d7f57e0b lxml-0.6.ebuild 569
+MD5 415567e1fbba918281e869680c0d4b58 files/digest-lxml-0.6 56
diff --git a/dev-python/lxml/files/digest-lxml-0.6 b/dev-python/lxml/files/digest-lxml-0.6
new file mode 100644
index 000000000000..979ead699491
--- /dev/null
+++ b/dev-python/lxml/files/digest-lxml-0.6
@@ -0,0 +1 @@
+MD5 eb7ce7a343fde6cd51d7431fe45fbb9f lxml-0.6.tgz 97409
diff --git a/dev-python/lxml/lxml-0.6.ebuild b/dev-python/lxml/lxml-0.6.ebuild
new file mode 100644
index 000000000000..d16dd39daac1
--- /dev/null
+++ b/dev-python/lxml/lxml-0.6.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/lxml/lxml-0.6.ebuild,v 1.1 2005/06/01 18:45:56 lucass Exp $
+
+inherit distutils
+
+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="~x86"
+IUSE=""
+
+DEPEND=">=dev-libs/libxml2-2.2.16
+ >=dev-libs/libxslt-1.1.12
+ >=dev-python/pyrex-0.9.3
+ virtual/python"
+
+S="${WORKDIR}/${PN}"
+
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ sed -i -e "s/PYTHON=python2.3/PYTHON=${python}/" Makefile
+}
+
+src_test() {
+ make test
+}
+
+src_install() {
+ distutils_src_install
+
+ # setup.py doesn't install all necessary files in tests/.
+ distutils_python_version
+ site_pkgs=${D}/usr/$(get_libdir)/python${PYVER}/site-packages/lxml
+ rm -rf ${site_pkgs}/tests
+ cp -r src/lxml/tests ${site_pkgs}/
+
+ dodoc *.txt
+ docinto doc
+ dodoc doc/*.txt
+ docinto doc/licenses
+ dodoc doc/licenses/*
+
+ cp -r samples ${D}/usr/share/doc/${PF}
+}
+
diff --git a/dev-python/lxml/metadata.xml b/dev-python/lxml/metadata.xml
new file mode 100644
index 000000000000..de483c53568f
--- /dev/null
+++ b/dev-python/lxml/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>python</herd>
+</pkgmetadata>