Gentoo Archives: gentoo-commits

From: Ian Delaney <idella4@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-video/gaupol/
Date: Mon, 01 Feb 2016 00:49:11
Message-Id: 1454287650.7f25a6fe9b39cd9dca1c20e64169eb3a72f26161.idella4@gentoo
1 commit: 7f25a6fe9b39cd9dca1c20e64169eb3a72f26161
2 Author: Louis Sautier <sautier.louis <AT> gmail <DOT> com>
3 AuthorDate: Sun Jan 31 15:31:51 2016 +0000
4 Commit: Ian Delaney <idella4 <AT> gentoo <DOT> org>
5 CommitDate: Mon Feb 1 00:47:30 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f25a6fe
7
8 media-video/gaupol: add Python 3.5 support, tests, postrm
9
10 Minor fixes to metadata, add upstream
11
12 Package-Manager: portage-2.2.27
13
14 ...aupol-0.28.2.ebuild => gaupol-0.28.2-r1.ebuild} | 25 +++++++++++++++++-----
15 media-video/gaupol/metadata.xml | 5 ++++-
16 2 files changed, 24 insertions(+), 6 deletions(-)
17
18 diff --git a/media-video/gaupol/gaupol-0.28.2.ebuild b/media-video/gaupol/gaupol-0.28.2-r1.ebuild
19 similarity index 71%
20 rename from media-video/gaupol/gaupol-0.28.2.ebuild
21 rename to media-video/gaupol/gaupol-0.28.2-r1.ebuild
22 index 3bca858..723c855 100644
23 --- a/media-video/gaupol/gaupol-0.28.2.ebuild
24 +++ b/media-video/gaupol/gaupol-0.28.2-r1.ebuild
25 @@ -1,12 +1,12 @@
26 -# Copyright 1999-2015 Gentoo Foundation
27 +# Copyright 1999-2016 Gentoo Foundation
28 # Distributed under the terms of the GNU General Public License v2
29 # $Id$
30
31 EAPI=5
32
33 -PYTHON_COMPAT=( python{3_3,3_4} )
34 +PYTHON_COMPAT=( python{3_3,3_4,3_5} )
35
36 -inherit distutils-r1 fdo-mime gnome2-utils versionator
37 +inherit distutils-r1 fdo-mime gnome2-utils versionator virtualx
38
39 MAJOR_MINOR_VERSION="$(get_version_component_range 1-2)"
40
41 @@ -17,7 +17,7 @@ SRC_URI="http://download.gna.org/${PN}/${MAJOR_MINOR_VERSION}/${P}.tar.xz"
42 LICENSE="GPL-2"
43 SLOT="0"
44 KEYWORDS="~amd64 ~x86"
45 -IUSE="spell"
46 +IUSE="spell test"
47
48 RDEPEND="app-text/iso-codes
49 dev-python/chardet[${PYTHON_USEDEP}]
50 @@ -29,7 +29,12 @@ RDEPEND="app-text/iso-codes
51 )"
52 DEPEND="${RDEPEND}
53 dev-util/intltool
54 - sys-devel/gettext"
55 + sys-devel/gettext
56 + test? (
57 + dev-python/pytest[${PYTHON_USEDEP}]
58 + dev-python/pytest-runner[${PYTHON_USEDEP}]
59 + )
60 +"
61
62 DOCS=( AUTHORS.md NEWS.md TODO.md README.md README.aeidon.md )
63
64 @@ -48,3 +53,13 @@ pkg_postinst() {
65 elog "Aspell/Pspell, Ispell, MySpell, Uspell, Hspell or AppleSpell."
66 fi
67 }
68 +
69 +python_test() {
70 + virtx py.test
71 +}
72 +
73 +pkg_postrm() {
74 + fdo-mime_desktop_database_update
75 + fdo-mime_mime_database_update
76 + gnome2_icon_cache_update
77 +}
78
79 diff --git a/media-video/gaupol/metadata.xml b/media-video/gaupol/metadata.xml
80 index 1094c57..0c976d9 100644
81 --- a/media-video/gaupol/metadata.xml
82 +++ b/media-video/gaupol/metadata.xml
83 @@ -5,8 +5,11 @@
84 <email>media-video@g.o</email>
85 <name>Gentoo Video project</name>
86 </maintainer>
87 -<maintainer type="project">
88 + <maintainer type="project">
89 <email>python@g.o</email>
90 <name>Python</name>
91 </maintainer>
92 + <upstream>
93 + <remote-id type="github">otsaloma/gaupol</remote-id>
94 + </upstream>
95 </pkgmetadata>