1 |
commit: 4f3890effe6f67676377bb348fa7080278df3679 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Mar 28 12:29:39 2020 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Mar 28 12:41:47 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f3890ef |
7 |
|
8 |
dev-python/pmw: Remove redundant versions |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/pmw/pmw-1.3.3-r2.ebuild | 56 -------------------------------------- |
13 |
1 file changed, 56 deletions(-) |
14 |
|
15 |
diff --git a/dev-python/pmw/pmw-1.3.3-r2.ebuild b/dev-python/pmw/pmw-1.3.3-r2.ebuild |
16 |
deleted file mode 100644 |
17 |
index 6fa8fba9905..00000000000 |
18 |
--- a/dev-python/pmw/pmw-1.3.3-r2.ebuild |
19 |
+++ /dev/null |
20 |
@@ -1,56 +0,0 @@ |
21 |
-# Copyright 1999-2020 Gentoo Authors |
22 |
-# Distributed under the terms of the GNU General Public License v2 |
23 |
- |
24 |
-EAPI=5 |
25 |
- |
26 |
-PYTHON_COMPAT=( python2_7 ) |
27 |
-PYTHON_REQ_USE="tk" |
28 |
- |
29 |
-inherit distutils-r1 |
30 |
- |
31 |
-MY_P="Pmw.${PV}" |
32 |
- |
33 |
-DESCRIPTION="Toolkit for building high-level compound widgets in Python using the Tkinter module" |
34 |
-HOMEPAGE="http://pmw.sourceforge.net/" |
35 |
-SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz" |
36 |
- |
37 |
-LICENSE="BSD" |
38 |
-SLOT="py2" |
39 |
-KEYWORDS="~alpha amd64 ia64 ppc sparc x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos" |
40 |
-IUSE="doc examples" |
41 |
- |
42 |
-DEPEND="!dev-python/pmw:0" |
43 |
-RDEPEND="${DEPEND}" |
44 |
- |
45 |
-S="${WORKDIR}/src" |
46 |
- |
47 |
-DOCS="Pmw/README" |
48 |
-# https://sourceforge.net/p/pmw/bugs/39/ |
49 |
-RESTRICT="test" |
50 |
- |
51 |
-PATCHES=( "${FILESDIR}"/${P}-install-no-docs.patch ) |
52 |
- |
53 |
-python_test() { |
54 |
- cd "${BUILD_DIR}/lib/Pmw/Pmw_1_3_3/" || die |
55 |
- PYTHONPATH=PYTHONPATH=tests:../../ |
56 |
- cp tests/{flagup.bmp,earthris.gif} . || die |
57 |
- for test in tests/*_test.py; do |
58 |
- echo "running test "$test |
59 |
- PYTHONPATH=tests:../../ "${PYTHON}" $test || die |
60 |
- done |
61 |
-} |
62 |
- |
63 |
-python_install_all() { |
64 |
- local DIR="Pmw/Pmw_1_3_3" |
65 |
- |
66 |
- if use doc; then |
67 |
- dohtml -a html,gif,py ${DIR}/doc/* |
68 |
- fi |
69 |
- |
70 |
- if use examples; then |
71 |
- insinto /usr/share/doc/${PF}/examples |
72 |
- doins ${DIR}/demos/* |
73 |
- fi |
74 |
- |
75 |
- distutils-r1_python_install_all |
76 |
-} |