From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id A4C3658974 for ; Mon, 1 Feb 2016 00:49:11 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CB01FE0817; Mon, 1 Feb 2016 00:49:09 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id DC969E080D for ; Mon, 1 Feb 2016 00:49:08 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D69EC340B3F for ; Mon, 1 Feb 2016 00:49:07 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A9AE6BFF for ; Mon, 1 Feb 2016 00:49:06 +0000 (UTC) From: "Ian Delaney" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ian Delaney" Message-ID: <1454287650.7f25a6fe9b39cd9dca1c20e64169eb3a72f26161.idella4@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-video/gaupol/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-video/gaupol/gaupol-0.28.2-r1.ebuild media-video/gaupol/gaupol-0.28.2.ebuild media-video/gaupol/metadata.xml X-VCS-Directories: media-video/gaupol/ X-VCS-Committer: idella4 X-VCS-Committer-Name: Ian Delaney X-VCS-Revision: 7f25a6fe9b39cd9dca1c20e64169eb3a72f26161 X-VCS-Branch: master Date: Mon, 1 Feb 2016 00:49:06 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 9db68a89-2103-47bd-ad94-dc6b01451628 X-Archives-Hash: df95f8491d32d0fa397c792723ecdcd0 commit: 7f25a6fe9b39cd9dca1c20e64169eb3a72f26161 Author: Louis Sautier gmail com> AuthorDate: Sun Jan 31 15:31:51 2016 +0000 Commit: Ian Delaney gentoo org> CommitDate: Mon Feb 1 00:47:30 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f25a6fe media-video/gaupol: add Python 3.5 support, tests, postrm Minor fixes to metadata, add upstream Package-Manager: portage-2.2.27 ...aupol-0.28.2.ebuild => gaupol-0.28.2-r1.ebuild} | 25 +++++++++++++++++----- media-video/gaupol/metadata.xml | 5 ++++- 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 similarity index 71% rename from media-video/gaupol/gaupol-0.28.2.ebuild rename to media-video/gaupol/gaupol-0.28.2-r1.ebuild index 3bca858..723c855 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 1094c57..0c976d9 100644 --- a/media-video/gaupol/metadata.xml +++ b/media-video/gaupol/metadata.xml @@ -5,8 +5,11 @@ media-video@gentoo.org Gentoo Video project - + python@gentoo.org Python + + otsaloma/gaupol +