net-misc/mico: from github fetch gentoo live patch in src_unpack
authorMichael Haubenwallner <haubi@gentoo.org>
Mon, 3 Jun 2019 15:31:28 +0000 (17:31 +0200)
committerMichael Haubenwallner <haubi@gentoo.org>
Mon, 3 Jun 2019 16:11:00 +0000 (18:11 +0200)
Package-Manager: Portage-2.3.62, Repoman-2.3.11
Signed-off-by: Michael Haubenwallner <haubi@gentoo.org>
net-misc/mico/Manifest
net-misc/mico/mico-9999.ebuild

index 99d1e54c460dc228d1b2370552751a7b214c726f..8214f2d9dbd4775820c69aecf58277398127564f 100644 (file)
@@ -1,3 +1,2 @@
 DIST mico-2.3.13-gentoo-patches-20170529.tar.xz 15196 BLAKE2B a25371cc1b7d0ee912aaa694943e9faa87f9c3df1c85186af1ab0d328bfa3138ce82381e1c91c732ae4b4d9d9b394058a1666af3b8547da675948aa556176a26 SHA512 ea7cbf00b33ed5eaacc5418539562645cecefc6f2ee7929d58517f7775fa62ac07a26967cd84570410281930b7a4570302f4edc9a9cc76661a99a5f28bce37cf
 DIST mico-2.3.13.tar.gz 3269814 BLAKE2B cddf6a3d3192625af492b1fa3cf91d4d19d3c8b410de9889cc2e68b6a0db28aef228c1c4e11dc04d4de629d58181dc9e9fd93ddd74537e3362ad5bcd4881750b SHA512 b4c09b5a41e480b8211529776b83e84669e1e91ccba7a0d2d940834f217bc7f3d9ef74101dadc43778c6813b733ccfdae2b00eab2f0993b58193bb9f270e3895
-DIST mico-9999-gentoo.patch 66675 BLAKE2B c403d2e6fe3b3e9a77f7a4d73b6152b73ff3eea76e35e16f705ce8da5935fdc4a0fd4b1136437cac5a0fb0b81f00f0461cba0d45e9cbf0d88f3ffc5faf1e7967 SHA512 2d709b90cc8c8873eca8df94acbb24cf484305dbadc8d913dc58912349677ded633e92faac4944076547cb064329d7a3dfc79a43ce9ff15b238d989f2bdd4a6d
index ba56c4b4614bedf2501b6ca21feb38fbe81f2a6c..45fcd9ba749a1a85d7b870a43aae71e7cd8eca65 100644 (file)
@@ -8,16 +8,15 @@ inherit flag-o-matic toolchain-funcs autotools
 if [[ ${PV} == 9999 ]]; then
        EDARCS_REPOSITORY="http://www.mico.org/mico-darcs-repository"
        inherit darcs
-       SRC_URI="https://github.com/haubi/mico/compare/gentoo.patch -> ${P}-gentoo.patch"
-       PATCHES="${DISTDIR}/${P}-gentoo.patch"
+       SRC_URI=""
 else
        PATCH_VER=20170529
        SRC_URI="
                http://www.mico.org/${P}.tar.gz
                https://dev.gentoo.org/~haubi/distfiles/${P}-gentoo-patches-${PATCH_VER}.tar.xz
        "
-       PATCHES="${WORKDIR}/patches"
 fi
+PATCHES="${WORKDIR}/patches"
 
 DESCRIPTION="A freely available and fully compliant implementation of the CORBA standard"
 HOMEPAGE="http://www.mico.org/"
@@ -45,6 +44,8 @@ BDEPEND="
 
 if [[ ${PV} == 9999 ]]; then
        src_unpack() {
+               mkdir patches || die
+               wget -O patches/gentoo.patch "https://github.com/haubi/mico/compare/gentoo.patch" || die
                darcs_src_unpack
                default
        }