From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1RJ8lk-0006R6-0m for garchives@archives.gentoo.org; Wed, 26 Oct 2011 19:04:08 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0070C21C2BF; Wed, 26 Oct 2011 19:04:00 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id B75D321C2BF for ; Wed, 26 Oct 2011 19:04:00 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1B5911B4022 for ; Wed, 26 Oct 2011 19:04:00 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id 8946580042 for ; Wed, 26 Oct 2011 19:03:59 +0000 (UTC) From: "Johannes Huber" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Johannes Huber" Message-ID: Subject: [gentoo-commits] proj/kde:master commit in: net-libs/qtweetlib/ X-VCS-Repository: proj/kde X-VCS-Files: net-libs/qtweetlib/qtweetlib-0.3.ebuild net-libs/qtweetlib/qtweetlib-0_p20110524.ebuild net-libs/qtweetlib/qtweetlib-9999.ebuild X-VCS-Directories: net-libs/qtweetlib/ X-VCS-Committer: johu X-VCS-Committer-Name: Johannes Huber X-VCS-Revision: aee059e234558a1957329ef88c3424a754079658 Date: Wed, 26 Oct 2011 19:03:59 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: 967562619ddb6dc17f36a49cc307b073 commit: aee059e234558a1957329ef88c3424a754079658 Author: Johannes Huber gmx de> AuthorDate: Wed Oct 26 19:04:08 2011 +0000 Commit: Johannes Huber gmx de> CommitDate: Wed Oct 26 19:04:21 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/kde.git;a=3Dc= ommit;h=3Daee059e2 [net-libs/qtweetlib] Bump 0.3 Switched back to official repo (Portage version: 2.2.0_alpha71/git/Linux i686, signed Manifest commit wi= th key DF018462) --- ...lib-0_p20110524.ebuild =3D> qtweetlib-0.3.ebuild} | 19 ++++++++++++= ------- net-libs/qtweetlib/qtweetlib-9999.ebuild | 19 ++++++++++++--= ----- 2 files changed, 24 insertions(+), 14 deletions(-) diff --git a/net-libs/qtweetlib/qtweetlib-0_p20110524.ebuild b/net-libs/q= tweetlib/qtweetlib-0.3.ebuild similarity index 55% rename from net-libs/qtweetlib/qtweetlib-0_p20110524.ebuild rename to net-libs/qtweetlib/qtweetlib-0.3.ebuild index 2adea8c..4f7a4e0 100644 --- a/net-libs/qtweetlib/qtweetlib-0_p20110524.ebuild +++ b/net-libs/qtweetlib/qtweetlib-0.3.ebuild @@ -4,16 +4,14 @@ =20 EAPI=3D4 =20 -# use domme's/dschmidt's clone for now, until the CMake support is merge -# back to minimoog's original repository. See also: -# https://github.com/minimoog/QTweetLib/network -#EGIT_REPO_URI=3D"git://github.com/minimoog/QTweetLib.git" +MY_PN=3DQTweetLib + if [[ ${PV} !=3D *9999* ]]; then - SRC_URI=3D"http://dev.gentoo.org/~jmbsvicetto/distfiles/snapshots/${P}.= tar.bz2" + SRC_URI=3D"https://github.com/minimoog/${MY_PN}/tarball/${PV} -> ${P}.t= ar.gz" KEYWORDS=3D"~amd64 ~x86" else GIT_ECLASS=3D"git-2" - EGIT_REPO_URI=3D"git://github.com/dschmidt/QTweetLib.git" + EGIT_REPO_URI=3D"git://github.com/minimoog/QTweetLib.git" KEYWORDS=3D"" fi =20 @@ -32,4 +30,11 @@ DEPEND=3D" " RDEPEND=3D"${DEPEND}" =20 -S=3D"${WORKDIR}"/"${PN}" +src_unpack() { + if [[ ${PV} !=3D *9999* ]]; then + unpack ${A} + mv *-${MY_PN}-* "${S}" + else + git-2_src_unpack + fi +} diff --git a/net-libs/qtweetlib/qtweetlib-9999.ebuild b/net-libs/qtweetli= b/qtweetlib-9999.ebuild index 2adea8c..4f7a4e0 100644 --- a/net-libs/qtweetlib/qtweetlib-9999.ebuild +++ b/net-libs/qtweetlib/qtweetlib-9999.ebuild @@ -4,16 +4,14 @@ =20 EAPI=3D4 =20 -# use domme's/dschmidt's clone for now, until the CMake support is merge -# back to minimoog's original repository. See also: -# https://github.com/minimoog/QTweetLib/network -#EGIT_REPO_URI=3D"git://github.com/minimoog/QTweetLib.git" +MY_PN=3DQTweetLib + if [[ ${PV} !=3D *9999* ]]; then - SRC_URI=3D"http://dev.gentoo.org/~jmbsvicetto/distfiles/snapshots/${P}.= tar.bz2" + SRC_URI=3D"https://github.com/minimoog/${MY_PN}/tarball/${PV} -> ${P}.t= ar.gz" KEYWORDS=3D"~amd64 ~x86" else GIT_ECLASS=3D"git-2" - EGIT_REPO_URI=3D"git://github.com/dschmidt/QTweetLib.git" + EGIT_REPO_URI=3D"git://github.com/minimoog/QTweetLib.git" KEYWORDS=3D"" fi =20 @@ -32,4 +30,11 @@ DEPEND=3D" " RDEPEND=3D"${DEPEND}" =20 -S=3D"${WORKDIR}"/"${PN}" +src_unpack() { + if [[ ${PV} !=3D *9999* ]]; then + unpack ${A} + mv *-${MY_PN}-* "${S}" + else + git-2_src_unpack + fi +}