summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLouis Sautier <sautier.louis@gmail.com>2016-01-31 16:31:51 +0100
committerIan Delaney <idella4@gentoo.org>2016-02-01 08:47:30 +0800
commit7f25a6fe9b39cd9dca1c20e64169eb3a72f26161 (patch)
tree3ee1c9aa254f1e913d38b2461b5326b75dd1500e /media-video
parentnet-irc/kvirc: Improve dependency on dev-lang/perl. (diff)
downloadgentoo-7f25a6fe9b39cd9dca1c20e64169eb3a72f26161.tar.gz
gentoo-7f25a6fe9b39cd9dca1c20e64169eb3a72f26161.tar.bz2
gentoo-7f25a6fe9b39cd9dca1c20e64169eb3a72f26161.zip
media-video/gaupol: add Python 3.5 support, tests, postrm
Minor fixes to metadata, add upstream Package-Manager: portage-2.2.27
Diffstat (limited to 'media-video')
-rw-r--r--media-video/gaupol/gaupol-0.28.2-r1.ebuild (renamed from media-video/gaupol/gaupol-0.28.2.ebuild)25
-rw-r--r--media-video/gaupol/metadata.xml5
2 files changed, 24 insertions, 6 deletions
diff --git a/media-video/gaupol/gaupol-0.28.2.ebuild b/media-video/gaupol/gaupol-0.28.2-r1.ebuild
index 3bca8584fbee..723c85505504 100644
--- a/media-video/gaupol/gaupol-0.28.2.ebuild
+++ b/media-video/gaupol/gaupol-0.28.2-r1.ebuild
@@ -1,12 +1,12 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
-PYTHON_COMPAT=( python{3_3,3_4} )
+PYTHON_COMPAT=( python{3_3,3_4,3_5} )
-inherit distutils-r1 fdo-mime gnome2-utils versionator
+inherit distutils-r1 fdo-mime gnome2-utils versionator virtualx
MAJOR_MINOR_VERSION="$(get_version_component_range 1-2)"
@@ -17,7 +17,7 @@ SRC_URI="http://download.gna.org/${PN}/${MAJOR_MINOR_VERSION}/${P}.tar.xz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE="spell"
+IUSE="spell test"
RDEPEND="app-text/iso-codes
dev-python/chardet[${PYTHON_USEDEP}]
@@ -29,7 +29,12 @@ RDEPEND="app-text/iso-codes
)"
DEPEND="${RDEPEND}
dev-util/intltool
- sys-devel/gettext"
+ sys-devel/gettext
+ test? (
+ dev-python/pytest[${PYTHON_USEDEP}]
+ dev-python/pytest-runner[${PYTHON_USEDEP}]
+ )
+"
DOCS=( AUTHORS.md NEWS.md TODO.md README.md README.aeidon.md )
@@ -48,3 +53,13 @@ pkg_postinst() {
elog "Aspell/Pspell, Ispell, MySpell, Uspell, Hspell or AppleSpell."
fi
}
+
+python_test() {
+ virtx py.test
+}
+
+pkg_postrm() {
+ fdo-mime_desktop_database_update
+ fdo-mime_mime_database_update
+ gnome2_icon_cache_update
+}
diff --git a/media-video/gaupol/metadata.xml b/media-video/gaupol/metadata.xml
index 1094c579fcd1..0c976d977de0 100644
--- a/media-video/gaupol/metadata.xml
+++ b/media-video/gaupol/metadata.xml
@@ -5,8 +5,11 @@
<email>media-video@gentoo.org</email>
<name>Gentoo Video project</name>
</maintainer>
-<maintainer type="project">
+ <maintainer type="project">
<email>python@gentoo.org</email>
<name>Python</name>
</maintainer>
+ <upstream>
+ <remote-id type="github">otsaloma/gaupol</remote-id>
+ </upstream>
</pkgmetadata>