1 |
commit: 9e0e937c1ad75ea7fb380fcefc9602d0c53e06c4 |
2 |
Author: Justin Lecher <jlec <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Sep 20 10:10:05 2015 +0000 |
4 |
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Sep 20 10:10:05 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e0e937c |
7 |
|
8 |
dev-python/mechanize: Drop old |
9 |
|
10 |
Package-Manager: portage-2.2.20.1 |
11 |
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org> |
12 |
|
13 |
dev-python/mechanize/mechanize-0.2.5.ebuild | 40 ----------------------------- |
14 |
1 file changed, 40 deletions(-) |
15 |
|
16 |
diff --git a/dev-python/mechanize/mechanize-0.2.5.ebuild b/dev-python/mechanize/mechanize-0.2.5.ebuild |
17 |
deleted file mode 100644 |
18 |
index 639cc2f..0000000 |
19 |
--- a/dev-python/mechanize/mechanize-0.2.5.ebuild |
20 |
+++ /dev/null |
21 |
@@ -1,40 +0,0 @@ |
22 |
-# Copyright 1999-2011 Gentoo Foundation |
23 |
-# Distributed under the terms of the GNU General Public License v2 |
24 |
-# $Id$ |
25 |
- |
26 |
-EAPI="3" |
27 |
-PYTHON_DEPEND="2" |
28 |
-SUPPORT_PYTHON_ABIS="1" |
29 |
-RESTRICT_PYTHON_ABIS="3.*" |
30 |
- |
31 |
-inherit distutils eutils |
32 |
- |
33 |
-DESCRIPTION="Stateful programmatic web browsing in Python" |
34 |
-HOMEPAGE="http://wwwsearch.sourceforge.net/mechanize/ https://pypi.python.org/pypi/mechanize" |
35 |
-SRC_URI="http://wwwsearch.sourceforge.net/${PN}/src/${P}.tar.gz" |
36 |
- |
37 |
-LICENSE="|| ( BSD ZPL )" |
38 |
-SLOT="0" |
39 |
-KEYWORDS="~alpha amd64 ~ia64 ppc ~sparc x86 ~amd64-linux ~ia64-linux ~x86-linux ~x86-macos" |
40 |
-IUSE="" |
41 |
- |
42 |
-DEPEND="dev-python/setuptools" |
43 |
-RDEPEND="" |
44 |
- |
45 |
-DOCS="docs/*.txt" |
46 |
- |
47 |
-src_test() { |
48 |
- testing() { |
49 |
- # Ignore warnings (https://github.com/jjlee/mechanize/issues/issue/13). |
50 |
- PYTHONPATH="build-${PYTHON_ABI}/lib" "$(PYTHON)" -W ignore test.py |
51 |
- } |
52 |
- python_execute_function testing |
53 |
-} |
54 |
- |
55 |
-src_install() { |
56 |
- distutils_src_install |
57 |
- |
58 |
- # Fix some paths. |
59 |
- sed -e "s:../styles/:styles/:g" -i docs/html/* || die "sed failed" |
60 |
- dohtml -r docs/html/ docs/styles || die "dohtml failed" |
61 |
-} |