From 8ca47b2755b8964bd680ec7288c19f2f9abd21cd Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Fri, 9 Dec 2011 13:11:48 -0500 Subject: [PATCH] Move Hooke source from Mercurial to Git Also: * update to `git-2` eclass and EAPI 4. * add ~amd64 keyword, now that I'm testing Hooke on an AMD C-60. --- sci-physics/hooke/ChangeLog | 10 ++++++++++ sci-physics/hooke/Manifest | 4 ++-- sci-physics/hooke/hooke-9999.ebuild | 12 ++++++------ 3 files changed, 18 insertions(+), 8 deletions(-) diff --git a/sci-physics/hooke/ChangeLog b/sci-physics/hooke/ChangeLog index b869e60..df0ec85 100644 --- a/sci-physics/hooke/ChangeLog +++ b/sci-physics/hooke/ChangeLog @@ -3,6 +3,16 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: $ +*hooke-9999 (09 Dec 2011) + 09 Dec 2011; W. Trevor King ChangeLog, hooke-9999.ebuild : + Move source from Mercurial to Git (Google Code, where Hooke is + hosted, supports Git since 25 Jul 2011). Also update to `git-2` + eclass and EAPI 4. + +*hooke-9999 (02 Dec 2011) + 02 Dec 2011; W. Trevor King ChangeLog, hooke-9999.ebuild : + Add ~amd64 keyword, now that I'm testing Hooke on an AMD C-60. + *hooke-9999 (09 Mar 2010) 09 Mar 2010; W. Trevor King ChangeLog, hooke-9999.ebuild : Add PyYAML runtime dependency (forgotten in earlier ebuilds). diff --git a/sci-physics/hooke/Manifest b/sci-physics/hooke/Manifest index 61443f6..04df004 100644 --- a/sci-physics/hooke/Manifest +++ b/sci-physics/hooke/Manifest @@ -1,4 +1,4 @@ AUX hooke-9999.cfg 517 RMD160 6c7014b76bf0669972d555adc29742f8ca90939e SHA1 8b4aeaf01d640c9a8e3ce670f2103d8f88624638 SHA256 0ba496b57c42c108b2df784bbcd6db108695e0fb189b94d927962fbf4185b9a5 -EBUILD hooke-9999.ebuild 1635 RMD160 13db199b39b7c900b07a949b8535ec147c3c79e1 SHA1 d8ccc038737c4cdd95d9bcdb1437c0bae4af4fc7 SHA256 0bc213db3c59163e4dfe9f10c0adebaf1d62813cfa5ae7bb6da1fa8d55997474 -MISC ChangeLog 1162 RMD160 a23bc166a372339d80ac3e8263a2e7b44fc6a70a SHA1 8ad56636f967e34a1424b5b1889f1350287e5aee SHA256 cededdf05ea9d7668cfc3cbe73e32cc3448e2d554146ea96a7866eae20ba3db0 +EBUILD hooke-9999.ebuild 1639 RMD160 e0eca423b42db478e0d64ed4f92954968f5cb80a SHA1 7b192a2f051d98b76dd7d4e00df0e73a7a8c43df SHA256 902e5bff81e23bde1f14854ff5d3a7b66d289a84d879bfa40a42d4b30cd0fd21 +MISC ChangeLog 1594 RMD160 cd3d2657d07929c1fb8165d5ad84bc799099d51a SHA1 1033360f0b8e55f92832e92f145e1e668f0e96d8 SHA256 cdc91d5a2fae38af851a710be96c427e9591a2e69a01a4059636dafd92924ad7 MISC metadata.xml 310 RMD160 1568615d45618d4e162f7c4fb583d126347ea803 SHA1 a4a8bd0e07eb2ea484db1df5f38d8a4440cd1a62 SHA256 48dccd47092ba73ed46427ea9db7071fc1fde9753398b0f9c7d8b40a530e6416 diff --git a/sci-physics/hooke/hooke-9999.ebuild b/sci-physics/hooke/hooke-9999.ebuild index 11ef36e..b74893f 100644 --- a/sci-physics/hooke/hooke-9999.ebuild +++ b/sci-physics/hooke/hooke-9999.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: $ -EAPI="3" +EAPI="4" PYTHON_DEPEND="2:2.6" SUPPORT_PYTHON_ABIS="1" RESTRICT_PYTHON_ABIS="3.*" @@ -10,9 +10,9 @@ RESTRICT_PYTHON_ABIS="3.*" inherit eutils distutils scons-utils if [[ ${PV} == "9999" ]] ; then - inherit mercurial - EHG_REPO_URI="http://www.physics.drexel.edu/~wking/code/hg/hooke" - EHG_REVISION="wtk" + inherit git-2 + EGIT_BRANCH="wtk" + EGIT_REPO_URI="http://www.physics.drexel.edu/~wking/code/git/${PN}.git" SRC_URI="" else SRC_URI="http://code.google.com/p/hooke/downloads/detail?name=${P}.tar.gz" @@ -23,7 +23,7 @@ HOMEPAGE="http://code.google.com/p/hooke/" LICENSE="LGPL-3" SLOT="0" -KEYWORDS="~x86" +KEYWORDS="~x86 ~amd64" IUSE="doc test X" RDEPEND="dev-python/matplotlib @@ -43,7 +43,7 @@ DEPEND="${RDEPEND} src_unpack() { if [[ ${PV} == "9999" ]] ; then - mercurial_src_unpack + git-2_src_unpack else unpack ${A} fi -- 2.26.2