summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAli Polatel <hawking@gentoo.org>2008-09-25 12:12:19 +0000
committerAli Polatel <hawking@gentoo.org>2008-09-25 12:12:19 +0000
commit9f21d1207f0f330264c9ae3ac68ebe39c7ef4f96 (patch)
tree269ab05a7241a5fbec25369f3836b489a98f27a9 /dev-python/mechanize
parentkeyword ~x86-fbsd (diff)
downloadhistorical-9f21d1207f0f330264c9ae3ac68ebe39c7ef4f96.tar.gz
historical-9f21d1207f0f330264c9ae3ac68ebe39c7ef4f96.tar.bz2
historical-9f21d1207f0f330264c9ae3ac68ebe39c7ef4f96.zip
Version bump.
Package-Manager: portage--svn/cvs/Linux 2.6.26-gentoo x86_64
Diffstat (limited to 'dev-python/mechanize')
-rw-r--r--dev-python/mechanize/ChangeLog9
-rw-r--r--dev-python/mechanize/Manifest14
-rw-r--r--dev-python/mechanize/mechanize-0.1.9.ebuild48
3 files changed, 68 insertions, 3 deletions
diff --git a/dev-python/mechanize/ChangeLog b/dev-python/mechanize/ChangeLog
index 5650645a7bfe..816e861eb346 100644
--- a/dev-python/mechanize/ChangeLog
+++ b/dev-python/mechanize/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-python/mechanize
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/mechanize/ChangeLog,v 1.5 2007/07/01 13:20:05 pylon Exp $
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/mechanize/ChangeLog,v 1.6 2008/09/25 12:12:19 hawking Exp $
+
+*mechanize-0.1.9 (24 Sep 2008)
+
+ 24 Sep 2008; Ali Polatel <hawking@gentoo.org> +mechanize-0.1.9.ebuild:
+ Version bump.
01 Jul 2007; Lars Weiler <pylon@gentoo.org> mechanize-0.1.7b.ebuild:
Keyworded ~ppc; bug #166914.
diff --git a/dev-python/mechanize/Manifest b/dev-python/mechanize/Manifest
index 2d94966f7296..6a8bc083ce42 100644
--- a/dev-python/mechanize/Manifest
+++ b/dev-python/mechanize/Manifest
@@ -1,4 +1,16 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
DIST mechanize-0.1.7b.tar.gz 240993 RMD160 2eb07b217059a0f2e9b55cbd53f9cb67b6cd99fa SHA1 10bd41a31cb90630a69013a626bd47d43b09d6c8 SHA256 e58a2f23e607634c29c0e2067415f365aa448c3400f0d615c0f2fa53c90640c3
+DIST mechanize-0.1.9.tar.gz 248226 RMD160 009298883f7f68f96bf4fc7a9cdd20e6c936f6a8 SHA1 6d34e0ee75d86fc95e87342721d6ad7f00bdbaba SHA256 e7872b25703ba88b286aa0d7da24b2d9e893fb8ff3bc44eeceb572ee5299af0d
EBUILD mechanize-0.1.7b.ebuild 1192 RMD160 eea706f1645cb5b58ab63314116729fa5f45d0e0 SHA1 60960412b6843fad399bcedf1cb44f06bd78cf24 SHA256 5c5dd96b9f57b729aa7143174fe7f81be7663829fb71f8b0f4fa3ab9a72b0a90
-MISC ChangeLog 817 RMD160 376db18f8cd87f50f8ddce72fe4f7a3dff9ddbc1 SHA1 e101ba8b3f369acbbd4b5520b20ef531ddbec246 SHA256 f7f2600319673a2053fb96973a06de7cd710dbc5f75172b2af4074ffc03a8a3c
+EBUILD mechanize-0.1.9.ebuild 1193 RMD160 f067360438c4cf77a2e7c8799fcdba2959370dc0 SHA1 e6e9cf1e8e655c90ab96abca0d4eb2a228bad1aa SHA256 6e429f4af686a2cf1e7132197fd777545bcfe9ef5c4252a411729495cf5e5ed1
+MISC ChangeLog 941 RMD160 1a65ac8e6313e8973a01e378d08110489f835af4 SHA1 fb609fc84885fdfb2757afba4f89e14fbe22fa53 SHA256 c331c2d8c6d4cf1b43f36ee407d6ce704dd4465abf3abbdbd02c3a02d3931c51
MISC metadata.xml 865 RMD160 b3d5d056da330200621178df4ee2253f835acb20 SHA1 4bb79b751e7f3b13be26dd66bb59f7446e023d95 SHA256 a5da515b0a1decde476e67045a53f31c61e5f9ceb61b426ada2aed387f45fdd3
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.9 (GNU/Linux)
+
+iEYEARECAAYFAkjbgC0ACgkQQU4yORhF8iDKXQCdFRJStAJ33+7pLfpDYz58l4t+
+cx8AoKoZLNOVqY9RbelF11/UnUO24EO2
+=56uw
+-----END PGP SIGNATURE-----
diff --git a/dev-python/mechanize/mechanize-0.1.9.ebuild b/dev-python/mechanize/mechanize-0.1.9.ebuild
new file mode 100644
index 000000000000..c977b9cb046f
--- /dev/null
+++ b/dev-python/mechanize/mechanize-0.1.9.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/mechanize/mechanize-0.1.9.ebuild,v 1.1 2008/09/25 12:12:19 hawking Exp $
+
+NEED_PYTHON=2.3
+
+inherit distutils
+
+DESCRIPTION="Stateful programmatic web browsing in Python"
+HOMEPAGE="http://wwwsearch.sourceforge.net/mechanize/"
+SRC_URI="http://wwwsearch.sourceforge.net/${PN}/src/${P}.tar.gz"
+
+LICENSE="|| ( BSD ZPL )"
+SLOT="0"
+KEYWORDS="~amd64 ~ia64 ~ppc ~x86"
+IUSE=""
+
+DEPEND=">=dev-python/clientform-0.2.7"
+RDEPEND="${DEPEND}"
+
+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 in setup.py failed"
+
+ # We don't run coverage tests or functional_tests
+ # which access the network, just doctests and unit tests
+ sed -i \
+ -e '/import coverage/d' \
+ test.py || die "sed in test.py failed"
+}
+
+src_install() {
+ DOCS="0.1-changes.txt"
+ # remove to prevent distutils_src_install from installing it
+ dohtml *.html
+ rm README.html*
+
+ distutils_src_install
+}
+
+src_test() {
+ PYTHONPATH=build/lib/ "${python}" test.py || die "tests failed"
+}