summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-python/clientform/ChangeLog10
-rw-r--r--dev-python/clientform/clientform-0.2.10.ebuild44
2 files changed, 53 insertions, 1 deletions
diff --git a/dev-python/clientform/ChangeLog b/dev-python/clientform/ChangeLog
index 99abfcc8209a..2a1a7b145caa 100644
--- a/dev-python/clientform/ChangeLog
+++ b/dev-python/clientform/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for dev-python/clientform
# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/clientform/ChangeLog,v 1.22 2008/09/28 12:41:00 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/clientform/ChangeLog,v 1.23 2008/12/07 10:51:32 patrick Exp $
+
+ 07 Dec 2008; Patrick Lauer <patrick@gentoo.org> +clientform-0.2.10.ebuild:
+ Oops. Correcting keywords.
+
+*clientform-0.2.10 (07 Dec 2008)
+
+ 07 Dec 2008; Patrick Lauer <patrick@gentoo.org> +clientform-0.2.10.ebuild:
+ Bump to 0.2.10. Closes #249772
22 Sep 2007; nixnut <nixnut@gentoo.org> clientform-0.2.7.ebuild:
Stable on ppc wrt bug 191489
diff --git a/dev-python/clientform/clientform-0.2.10.ebuild b/dev-python/clientform/clientform-0.2.10.ebuild
new file mode 100644
index 000000000000..cd0893b0db32
--- /dev/null
+++ b/dev-python/clientform/clientform-0.2.10.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/clientform/clientform-0.2.10.ebuild,v 1.1 2008/12/07 10:51:32 patrick Exp $
+
+inherit distutils
+
+MY_P="ClientForm-${PV}"
+DESCRIPTION="Parse, fill out, and return HTML forms on the client side"
+HOMEPAGE="http://wwwsearch.sourceforge.net/ClientForm/"
+SRC_URI="http://wwwsearch.sourceforge.net/ClientForm/src/${MY_P}.tar.gz"
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~ia64 ~ppc ~x86"
+IUSE="examples"
+
+S="${WORKDIR}/${MY_P}"
+DOCS="*.txt"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ # use distutils instead of setuptools
+ sed -i \
+ -e 's/not hasattr(sys, "version_info")/1/' \
+ setup.py || die "sed failed"
+}
+
+src_test() {
+ "${python}" test.py || die "test.py failed"
+}
+
+src_install() {
+ # remove to prevent distutils_src_install from installing it
+ dohtml *.html
+ rm README.html*
+
+ distutils_src_install
+
+ if use examples; then
+ insinto /usr/share/doc/${PF}
+ doins -r examples
+ fi
+}