summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-python/amara/ChangeLog3
-rw-r--r--dev-python/amara/Manifest16
-rw-r--r--dev-python/amara/amara-1.2.0.1.ebuild24
3 files changed, 25 insertions, 18 deletions
diff --git a/dev-python/amara/ChangeLog b/dev-python/amara/ChangeLog
index 8556a3ab0..cb647f6e9 100644
--- a/dev-python/amara/ChangeLog
+++ b/dev-python/amara/ChangeLog
@@ -2,6 +2,9 @@
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 06 Feb 2007; Tiziano Müller <dev-zero@gentoo.org> amara-1.2.0.1.ebuild:
+ Fixed various stuff.
+
09 Jan 2007; Markus Ullmann <jokey@gentoo.org> amara-1.2.0.1.ebuild:
DOCS are global
diff --git a/dev-python/amara/Manifest b/dev-python/amara/Manifest
index 2cb8535a5..e5002d2bc 100644
--- a/dev-python/amara/Manifest
+++ b/dev-python/amara/Manifest
@@ -1,12 +1,12 @@
DIST Amara-1.2.0.1.tar.bz2 99079 RMD160 dcfa184577fad4fc1bfc151c5e2e16ed5e9a46c5 SHA1 2477b44f64325422abef162da5eb169fd8908059 SHA256 01c5f37069181b3e6487878e4ccf8fa3890a2db86200ca98e11194735708b02e
-EBUILD amara-1.2.0.1.ebuild 977 RMD160 e4398871cdc74b2605b0a58fd41cfc626ff951a2 SHA1 f0ce8be1697031f12a27c029d40f92e11d6856c1 SHA256 509eb60e4afa9a1f2edf26c7a38a329925eac585c60f4d4f788a8c740e638d5c
-MD5 5bc2734c12fc6870a7241711f521ccc0 amara-1.2.0.1.ebuild 977
-RMD160 e4398871cdc74b2605b0a58fd41cfc626ff951a2 amara-1.2.0.1.ebuild 977
-SHA256 509eb60e4afa9a1f2edf26c7a38a329925eac585c60f4d4f788a8c740e638d5c amara-1.2.0.1.ebuild 977
-MISC ChangeLog 570 RMD160 fb132a4d79cf89e72580d33ea23d518c61355ff5 SHA1 dd85ec40db2dd84181460247e164d634a353c544 SHA256 d675d78e32fb6ceb7fa4d3479fd1b34588e6fbe51eeefd26084a9421ebeb8de7
-MD5 9216ebbe4b804419d7242abc9d66b75c ChangeLog 570
-RMD160 fb132a4d79cf89e72580d33ea23d518c61355ff5 ChangeLog 570
-SHA256 d675d78e32fb6ceb7fa4d3479fd1b34588e6fbe51eeefd26084a9421ebeb8de7 ChangeLog 570
+EBUILD amara-1.2.0.1.ebuild 1020 RMD160 c4146411f96425d52b2a22812654130a2a4fea7c SHA1 e435e64b1ce626538606ff3c834aa7d74693a0ed SHA256 77eab7a522f411301d34c7f3bf14536b23f75d6ca721d35336c04b624692b4e1
+MD5 a2929508d5eaefdd6283a7b2ee824af7 amara-1.2.0.1.ebuild 1020
+RMD160 c4146411f96425d52b2a22812654130a2a4fea7c amara-1.2.0.1.ebuild 1020
+SHA256 77eab7a522f411301d34c7f3bf14536b23f75d6ca721d35336c04b624692b4e1 amara-1.2.0.1.ebuild 1020
+MISC ChangeLog 669 RMD160 42d24aad6fcac59bcfa7ff7676905ba8f494fedf SHA1 c43612f50a62e027618f03d00f1e84a8f6cd214a SHA256 f5f46f703a2a5911bc326bfe25f3db4b5ecc3598d97399d5073e16b94d5b619e
+MD5 87f90133dd447b46a57584048c23e193 ChangeLog 669
+RMD160 42d24aad6fcac59bcfa7ff7676905ba8f494fedf ChangeLog 669
+SHA256 f5f46f703a2a5911bc326bfe25f3db4b5ecc3598d97399d5073e16b94d5b619e ChangeLog 669
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
MD5 1e678929a9fec6632e227bdf2262e9a1 metadata.xml 170
RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 metadata.xml 170
diff --git a/dev-python/amara/amara-1.2.0.1.ebuild b/dev-python/amara/amara-1.2.0.1.ebuild
index f99bd651d..a8ae110ea 100644
--- a/dev-python/amara/amara-1.2.0.1.ebuild
+++ b/dev-python/amara/amara-1.2.0.1.ebuild
@@ -2,10 +2,13 @@
# Distributed under the terms of the GNU General Public License v2
# $Header: $
+NEED_PYTHON=2.4
+
inherit distutils multilib
MY_PN=Amara
MY_P=${MY_PN}-${PV}
+
DESCRIPTION="Python tools for XML processing."
HOMEPAGE="http://uche.ogbuji.net/uche.ogbuji.net/tech/4suite/amara/"
SRC_URI="http://cheeseshop.python.org/packages/source/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.bz2"
@@ -18,26 +21,27 @@ IUSE="doc examples"
RDEPEND=">=dev-python/4suite-1.0.2
dev-python/python-dateutil"
DEPEND="${RDEPEND}
- doc? ( dev-python/epydoc )"
+ dev-python/setuptools
+ doc? ( dev-python/epydoc )"
S=${WORKDIR}/${MY_P}
-DOCS="ACKNOWLEDGEMENTS CHANGES README TODO docs/quickref.txt"
+src_compile() {
+ distutils_src_compile
+ if use doc ; then
+ einfo "Generating docs as requested..."
+ PYTHONPATH=./build/lib/ epydoc amara || die "generating docs failed"
+ fi
+}
src_install() {
+ DOCS="ACKNOWLEDGEMENTS CHANGES docs/quickref.txt"
distutils_src_install
- dohtml manual.html
-
if use examples; then
insinto /usr/share/doc/${PF}/examples
doins -r demo/*
fi
- if use doc; then
- distutils_python_version
- export PYTHONPATH="${PYTHONPATH}:${D}/usr/$(get_libdir)/python${PYVER}/site-packages"
- epydoc amara
- dohtml -r html/*
- fi
+ use doc && dohtml -r html/*
}