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 B7F32138200 for ; Thu, 30 Aug 2012 09:56:24 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7DB3AE0329; Thu, 30 Aug 2012 09:54:46 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 3CB6DE0329 for ; Thu, 30 Aug 2012 09:54:46 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A2A9033D901 for ; Thu, 30 Aug 2012 09:54:45 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 15F37E5444 for ; Thu, 30 Aug 2012 09:54:43 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1346320443.d871df50b7ac66c5a2ae66d3350a715222450d10.mgorny@gentoo> Subject: [gentoo-commits] dev/mgorny:master commit in: app-cdr/mirage2iso/ X-VCS-Repository: dev/mgorny X-VCS-Files: app-cdr/mirage2iso/metadata.xml app-cdr/mirage2iso/mirage2iso-9999.ebuild X-VCS-Directories: app-cdr/mirage2iso/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: d871df50b7ac66c5a2ae66d3350a715222450d10 X-VCS-Branch: master Date: Thu, 30 Aug 2012 09:54:43 +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: d41399c9-b9dc-4fcb-886a-7728254c8b9d X-Archives-Hash: 3bb613d82c74c87c0c3b9435b17b4aab commit: d871df50b7ac66c5a2ae66d3350a715222450d10 Author: Michał Górny gentoo org> AuthorDate: Thu Aug 30 09:54:03 2012 +0000 Commit: Michał Górny gentoo org> CommitDate: Thu Aug 30 09:54:03 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=dev/mgorny.git;a=commit;h=d871df50 app-cdr/mirage2iso: Update URIs and sync with release ebuild. (Portage version: 2.2.0_alpha120_p33/git/Linux x86_64, unsigned Manifest commit) --- app-cdr/mirage2iso/metadata.xml | 2 +- app-cdr/mirage2iso/mirage2iso-9999.ebuild | 35 +++++++++++++++++++---------- 2 files changed, 24 insertions(+), 13 deletions(-) diff --git a/app-cdr/mirage2iso/metadata.xml b/app-cdr/mirage2iso/metadata.xml index 69f51a9..96b6be2 100644 --- a/app-cdr/mirage2iso/metadata.xml +++ b/app-cdr/mirage2iso/metadata.xml @@ -14,6 +14,6 @@ mgorny@gentoo.org Michał Górny - https://github.com/mgorny/mirage2iso/issues/ + https://bitbucket.org/mgorny/mirage2iso/issues/ diff --git a/app-cdr/mirage2iso/mirage2iso-9999.ebuild b/app-cdr/mirage2iso/mirage2iso-9999.ebuild index 2ee63d6..d54e981 100644 --- a/app-cdr/mirage2iso/mirage2iso-9999.ebuild +++ b/app-cdr/mirage2iso/mirage2iso-9999.ebuild @@ -6,31 +6,32 @@ EAPI=4 #if LIVE AUTOTOOLS_AUTORECONF=yes -EGIT_REPO_URI="git://github.com/mgorny/${PN}.git - http://github.com/mgorny/${PN}.git" +EGIT_REPO_URI="http://bitbucket.org/mgorny/${PN}.git" inherit git-2 #endif -inherit autotools-utils +inherit autotools-utils versionator + +TESTS_PV=$(get_version_component_range 1-2) DESCRIPTION="CD/DVD image converter using libmirage" -HOMEPAGE="https://github.com/mgorny/mirage2iso/" -SRC_URI="mirror://github/mgorny/${PN}/${P}.tar.bz2" +HOMEPAGE="https://bitbucket.org/mgorny/mirage2iso/" +SRC_URI="mirror://bitbucket/mgorny/${PN}/downloads/${P}.tar.bz2 + test? ( mirror://bitbucket/mgorny/${PN}/downloads/${PN}-${TESTS_PV}-tests.tar.xz )" LICENSE="BSD" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="pinentry" +IUSE="pinentry test" -COMMON_DEPEND="dev-libs/glib:2 - dev-libs/libmirage" +COMMON_DEPEND="dev-libs/libmirage + dev-libs/glib:2 + pinentry? ( dev-libs/libassuan )" DEPEND="${COMMON_DEPEND} - virtual/pkgconfig" + test? ( app-arch/xz-utils )" RDEPEND="${COMMON_DEPEND} - pinentry? ( - app-crypt/pinentry - dev-libs/libassuan )" + pinentry? ( app-crypt/pinentry )" DOCS=( NEWS README ) @@ -48,3 +49,13 @@ src_configure() { autotools-utils_src_configure } + +src_test() { +#if LIVE + autotools-utils_src_test + return ${?} + +#endif + mv "${WORKDIR}"/${PN}-${TESTS_PV}/tests/* tests/ || die + autotools-utils_src_test +}