summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukasz Strzygowski <lucass@gentoo.org>2007-03-25 19:37:06 +0000
committerLukasz Strzygowski <lucass@gentoo.org>2007-03-25 19:37:06 +0000
commit0bdf3a9c7297a1900398859ceb4ca1f3b5d0abac (patch)
tree07a545724088985028d281aae29d7ac78b146c21 /dev-python/clientform
parentUse --exec instead of --name in the initscript to make it compatible with bas... (diff)
downloadgentoo-2-0bdf3a9c7297a1900398859ceb4ca1f3b5d0abac.tar.gz
gentoo-2-0bdf3a9c7297a1900398859ceb4ca1f3b5d0abac.tar.bz2
gentoo-2-0bdf3a9c7297a1900398859ceb4ca1f3b5d0abac.zip
Version bump: added examples useflag, keyworded ~amd64, added src_test. Dropped old versions.
(Portage version: 2.1.2.2)
Diffstat (limited to 'dev-python/clientform')
-rw-r--r--dev-python/clientform/ChangeLog10
-rw-r--r--dev-python/clientform/clientform-0.1.17.ebuild21
-rw-r--r--dev-python/clientform/clientform-0.2.6.ebuild (renamed from dev-python/clientform/clientform-0.2.2.ebuild)23
-rw-r--r--dev-python/clientform/files/digest-clientform-0.1.173
-rw-r--r--dev-python/clientform/files/digest-clientform-0.2.23
-rw-r--r--dev-python/clientform/files/digest-clientform-0.2.63
6 files changed, 28 insertions, 35 deletions
diff --git a/dev-python/clientform/ChangeLog b/dev-python/clientform/ChangeLog
index 19eca43a0131..dc2d9e6b509b 100644
--- a/dev-python/clientform/ChangeLog
+++ b/dev-python/clientform/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for dev-python/clientform
# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/clientform/ChangeLog,v 1.15 2007/02/22 00:22:26 peper Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/clientform/ChangeLog,v 1.16 2007/03/25 19:37:05 lucass Exp $
+
+*clientform-0.2.6 (25 Mar 2007)
+
+ 25 Mar 2007; Lukasz Strzygowski <lucass@gentoo.org>
+ -clientform-0.1.17.ebuild, -clientform-0.2.2.ebuild,
+ +clientform-0.2.6.ebuild:
+ Version bump: added examples useflag, keyworded ~amd64, added src_test.
+ Dropped old versions.
22 Feb 2007; Piotr Jaroszyński <peper@gentoo.org> ChangeLog:
Transition to Manifest2.
diff --git a/dev-python/clientform/clientform-0.1.17.ebuild b/dev-python/clientform/clientform-0.1.17.ebuild
deleted file mode 100644
index 09fcf23b0d62..000000000000
--- a/dev-python/clientform/clientform-0.1.17.ebuild
+++ /dev/null
@@ -1,21 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/clientform/clientform-0.1.17.ebuild,v 1.1 2005/02/01 06:11:13 pythonhead Exp $
-
-inherit distutils
-
-MY_P="ClientForm-${PV}"
-S="${WORKDIR}/${MY_P}"
-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="~x86 ~ppc"
-IUSE=""
-DOCS="COPYING README.txt PKG-INFO MANIFEST.in ChangeLog"
-
-src_install() {
- distutils_src_install
- dohtml README.html
-}
diff --git a/dev-python/clientform/clientform-0.2.2.ebuild b/dev-python/clientform/clientform-0.2.6.ebuild
index af6050b0370a..6b96d9079b4b 100644
--- a/dev-python/clientform/clientform-0.2.2.ebuild
+++ b/dev-python/clientform/clientform-0.2.6.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2006 Gentoo Foundation
+# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/clientform/clientform-0.2.2.ebuild,v 1.2 2006/04/01 14:48:59 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/clientform/clientform-0.2.6.ebuild,v 1.1 2007/03/25 19:37:05 lucass Exp $
inherit distutils
@@ -10,18 +10,24 @@ HOMEPAGE="http://wwwsearch.sourceforge.net/ClientForm/"
SRC_URI="http://wwwsearch.sourceforge.net/ClientForm/src/${MY_P}.tar.gz"
LICENSE="BSD"
SLOT="0"
-KEYWORDS="~ia64 ~ppc ~x86"
-IUSE=""
+KEYWORDS="~amd64 ~ia64 ~ppc ~x86"
+IUSE="examples"
S="${WORKDIR}/${MY_P}"
DOCS="*.txt"
src_unpack() {
unpack ${A}
- cd ${S}
+ cd "${S}"
# use distutils instead of setuptools
- sed -e 's/not hasattr(sys, "version_info")/1/' -i setup.py
+ 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() {
@@ -31,5 +37,8 @@ src_install() {
distutils_src_install
- cp -r examples ${D}/usr/share/doc/${PF}
+ if use examples; then
+ insinto /usr/share/doc/${PF}
+ doins -r examples
+ fi
}
diff --git a/dev-python/clientform/files/digest-clientform-0.1.17 b/dev-python/clientform/files/digest-clientform-0.1.17
deleted file mode 100644
index 1b9d8b6148bc..000000000000
--- a/dev-python/clientform/files/digest-clientform-0.1.17
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 0aa01b3ebcdf800d7ec07c86c7e60b38 ClientForm-0.1.17.tar.gz 64062
-RMD160 fdf3455cafd3f271db909a30ef6e138755eeaca1 ClientForm-0.1.17.tar.gz 64062
-SHA256 0ddb40f1038a5dcb5c066a2c6215f57aba4c32faa5d859d7ba154a73073d1e06 ClientForm-0.1.17.tar.gz 64062
diff --git a/dev-python/clientform/files/digest-clientform-0.2.2 b/dev-python/clientform/files/digest-clientform-0.2.2
deleted file mode 100644
index 0afee9045a05..000000000000
--- a/dev-python/clientform/files/digest-clientform-0.2.2
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 2aaff3f85450120b0d3875a221b3cc6e ClientForm-0.2.2.tar.gz 92064
-RMD160 46078ff8a3e0c5fc46ee1eb546133978446e78b4 ClientForm-0.2.2.tar.gz 92064
-SHA256 fff4df66f7d5ec1e6d3284af45bfacb6e051844b064b7bde141c93ea8afea424 ClientForm-0.2.2.tar.gz 92064
diff --git a/dev-python/clientform/files/digest-clientform-0.2.6 b/dev-python/clientform/files/digest-clientform-0.2.6
new file mode 100644
index 000000000000..22130ff6130f
--- /dev/null
+++ b/dev-python/clientform/files/digest-clientform-0.2.6
@@ -0,0 +1,3 @@
+MD5 24173e5aee32027f77f688f9e78eaafa ClientForm-0.2.6.tar.gz 103222
+RMD160 74fd2ee83b3d1082f18b530a22bbf33a102db81a ClientForm-0.2.6.tar.gz 103222
+SHA256 fa0dbb848329dbbb0d9f6d52600a3c088f9dcfe16ac81afcdff9bf3b5cad009d ClientForm-0.2.6.tar.gz 103222