From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 2592D139694 for ; Tue, 25 Apr 2017 17:27:23 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5C217E0D91; Tue, 25 Apr 2017 17:27:20 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 25DE8E0D91 for ; Tue, 25 Apr 2017 17:27:20 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A8A6633BEAE for ; Tue, 25 Apr 2017 17:27:18 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D1D5C7427 for ; Tue, 25 Apr 2017 17:27:16 +0000 (UTC) From: "Tim Harder" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Tim Harder" Message-ID: <1493141210.db774a58f6dfe1ec257ab8c924361b46b0393cf7.radhermit@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/ranger/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-misc/ranger/Manifest app-misc/ranger/ranger-1.9.0_beta5.ebuild app-misc/ranger/ranger-9999.ebuild X-VCS-Directories: app-misc/ranger/ X-VCS-Committer: radhermit X-VCS-Committer-Name: Tim Harder X-VCS-Revision: db774a58f6dfe1ec257ab8c924361b46b0393cf7 X-VCS-Branch: master Date: Tue, 25 Apr 2017 17:27:16 +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: ab091686-9caa-47e5-938f-3b34acb5b1ee X-Archives-Hash: 27d527c05d60c5a93a9d24fa413594a2 commit: db774a58f6dfe1ec257ab8c924361b46b0393cf7 Author: Tim Harder gentoo org> AuthorDate: Tue Apr 25 17:24:06 2017 +0000 Commit: Tim Harder gentoo org> CommitDate: Tue Apr 25 17:26:50 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db774a58 app-misc/ranger: version bump to 1.9.0_beta5 app-misc/ranger/Manifest | 1 + .../{ranger-9999.ebuild => ranger-1.9.0_beta5.ebuild} | 13 ++++++++++++- app-misc/ranger/ranger-9999.ebuild | 6 ++++++ 3 files changed, 19 insertions(+), 1 deletion(-) diff --git a/app-misc/ranger/Manifest b/app-misc/ranger/Manifest index 9b363a36fcd..946c3f8fdf0 100644 --- a/app-misc/ranger/Manifest +++ b/app-misc/ranger/Manifest @@ -1 +1,2 @@ DIST ranger-1.8.1.tar.gz 227415 SHA256 1433f9f9958b104c97d4b23ab77a2ac37d3f98b826437b941052a55c01c721b4 SHA512 40450d4e80017ac62d60ea6de231c10496fec1680f15a14006d3b87aae7f34cb2dbb6b810ced89527a4cba2975dcd6c037217e86fa806a0ba3cd39dc7dee8f04 WHIRLPOOL 29c6613befff82e883b9dcdf04f789338992d79a5cd6dcee46b19c21e80bd61b6de89567794d60c42696a4e7ed599e3606dfa9460558432a10169a2201a4e937 +DIST ranger-1.9.0_beta5.tar.gz 235886 SHA256 d7319511f9014fc2949d563e895a7314d1da0cc2ad2efa370c28a90710345d8f SHA512 728efd93630e9c8bba67f7d567200a0cb21d19d8d1b5dc4ec63a454b1169de9427c1b0477754eea1ce5b0d0ed8e79d964b4804587152e30205c1e5a73f938e0a WHIRLPOOL c753631a6ea689ebb64ee20e64017b026ad975855d843d0e6d80ddec64837edadc5ee3a80feeab4fee0cd32c22da7e5beedf0b125b3dd8d65c79d1ccc7f28abb diff --git a/app-misc/ranger/ranger-9999.ebuild b/app-misc/ranger/ranger-1.9.0_beta5.ebuild similarity index 74% copy from app-misc/ranger/ranger-9999.ebuild copy to app-misc/ranger/ranger-1.9.0_beta5.ebuild index 142a220a036..adb43f4ea25 100644 --- a/app-misc/ranger/ranger-9999.ebuild +++ b/app-misc/ranger/ranger-1.9.0_beta5.ebuild @@ -7,11 +7,14 @@ PYTHON_REQ_USE="ncurses" inherit distutils-r1 +MY_PV=${PV/_beta/b} +MY_P=${PN}-${MY_PV} + if [[ ${PV} == "9999" ]] ; then EGIT_REPO_URI="https://github.com/ranger/ranger.git" inherit git-r3 else - SRC_URI="http://nongnu.org/${PN}/${P}.tar.gz" + SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz" KEYWORDS="~amd64 ~ppc ~x86" fi @@ -19,8 +22,12 @@ DESCRIPTION="A vim-inspired file manager for the console" HOMEPAGE="http://ranger.nongnu.org/" LICENSE="GPL-3" SLOT="0" +IUSE="test" RDEPEND="virtual/pager" +DEPEND="test? ( dev-python/pytest[${PYTHON_USEDEP}] )" + +S=${WORKDIR}/${MY_P} src_prepare() { # use versioned doc path @@ -29,6 +36,10 @@ src_prepare() { distutils-r1_src_prepare } +python_test() { + py.test -v || die "Tests failed under ${EPYTHON}" +} + pkg_postinst() { if [[ -z ${REPLACING_VERSIONS} ]]; then elog "Ranger has many optional dependencies to support enhanced file previews." diff --git a/app-misc/ranger/ranger-9999.ebuild b/app-misc/ranger/ranger-9999.ebuild index 142a220a036..ac8d37af176 100644 --- a/app-misc/ranger/ranger-9999.ebuild +++ b/app-misc/ranger/ranger-9999.ebuild @@ -19,8 +19,10 @@ DESCRIPTION="A vim-inspired file manager for the console" HOMEPAGE="http://ranger.nongnu.org/" LICENSE="GPL-3" SLOT="0" +IUSE="test" RDEPEND="virtual/pager" +DEPEND="test? ( dev-python/pytest[${PYTHON_USEDEP}] )" src_prepare() { # use versioned doc path @@ -29,6 +31,10 @@ src_prepare() { distutils-r1_src_prepare } +python_test() { + py.test -v || die "Tests failed under ${EPYTHON}" +} + pkg_postinst() { if [[ -z ${REPLACING_VERSIONS} ]]; then elog "Ranger has many optional dependencies to support enhanced file previews."