commit:     436e8f88a6e1a7e68afc7992adafe21d8d71881c
Author:     Tomas Mozes <hydrapolic <AT> gmail <DOT> com>
AuthorDate: Fri Mar 29 11:21:31 2019 +0000
Commit:     Yixun Lan <dlan <AT> gentoo <DOT> org>
CommitDate: Wed Apr  3 04:55:29 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=436e8f88

app-emulation/xen-pvgrub: bump to 4.12.0

Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Tomáš Mózes <hydrapolic <AT> gmail.com>
Signed-off-by: Yixun Lan <dlan <AT> gentoo.org>

 app-emulation/xen-pvgrub/Manifest                  |  2 +-
 ...-4.12.0_rc5.ebuild => xen-pvgrub-4.12.0.ebuild} | 39 ++++++++++------------
 2 files changed, 19 insertions(+), 22 deletions(-)

diff --git a/app-emulation/xen-pvgrub/Manifest 
b/app-emulation/xen-pvgrub/Manifest
index dddb5629e41..37e7420046d 100644
--- a/app-emulation/xen-pvgrub/Manifest
+++ b/app-emulation/xen-pvgrub/Manifest
@@ -5,5 +5,5 @@ DIST pciutils-2.2.9.tar.bz2 212265 BLAKE2B 
014b664e90c64e7255c9e21fc25a2cc60d57f
 DIST polarssl-1.1.4-gpl.tgz 611340 BLAKE2B 
613da06dda9e4b86db5a4d616a0a0afee98c907c3c6b352eed3d9e500fc5739e62eb4f6fc32ff02579c6a6de9bd49fcd2c8bd8b2d158a5050cbaa82118d61ef0
 SHA512 
88da614e4d3f4409c4fd3bb3e44c7587ba051e3fed4e33d526069a67e8180212e1ea22da984656f50e290049f60ddca65383e5983c0f8884f648d71f698303ad
 DIST xen-4.10.3.tar.gz 24695778 BLAKE2B 
50a9e31fb4cf587eeedb357fc710405a1cd4506174a38eb9b032a0cdd9b7f7343d98624ecb07cf605b1403664c7117cdc8f011290309caa18ca9604b4008b906
 SHA512 
030d23109ce4c0ebf50ade6841d5525a39032bcf8fd0599ccaa9502ff301c1f61f9c5f49233b41a5934a71228958febc1e529a9fc6822ba401a0c18c490ad412
 DIST xen-4.11.1.tar.gz 25152217 BLAKE2B 
a8dfbeb3d490787725c589e1ce82dcbbcd0be7fb4743b38daf3a8704dffda34d1faabb07d74e01d2fab1572ce0b730c21192469317545e8b3edb3fae1130ef8c
 SHA512 
c1655c5decdaed95a2b9a99652318cfc72f6cfdae957cfe60d635f7787e8850f33e8fafc4c4b8d61fb579c9b9d93028a6382903e71808a0418b931e76d72a649
-DIST xen-4.12.0-rc5.tar.gz 26514850 BLAKE2B 
41985dc33175bee8bddc4da0ec3b4da9f8cf3ebe580406011db47a27a8740566c1ace6e906d3385f73fee9b6cd572b0f3292381ac72a696fc15d020eb982ad02
 SHA512 
3d7fb254503c412a3c37782f7c75d093a1d43553dc110338d8dc00df0c6be4c8825cebf7f0519731e49263cef38d07ef48c18f073926d7eaf30abe64b13c52cb
+DIST xen-4.12.0.tar.gz 26949697 BLAKE2B 
9175cc9054e4a2b5c34df89a4efd667f86b4861bef9c3310bf431d041f710a7cb265b4d34a76ab18a17a3121392942d2e5d76c5044eb9b957d4255af889fe69a
 SHA512 
0ce366dcac607c9b592c5e9c0f40652eef743913b246bed4b0c380b8d59ac23a6adcd05befec37fc799a61476f47df76d4911cbf1da6ceb51441c546bf2464de
 DIST zlib-1.2.3.tar.gz 496597 BLAKE2B 
603020b70cd52b83e48bde420b86e2acfd29d69bf7476eecbeeb07d1b8bcab703d2cbd3eab77772990bddb8c268f13594592ce985798d49e2d6ba25104d49f22
 SHA512 
021b958fcd0d346c4ba761bcf0cc40f3522de6186cf5a0a6ea34a70504ce9622b1c2626fce40675bc8282cf5f5ade18473656abc38050f72f5d6480507a2106e

diff --git a/app-emulation/xen-pvgrub/xen-pvgrub-4.12.0_rc5.ebuild 
b/app-emulation/xen-pvgrub/xen-pvgrub-4.12.0.ebuild
similarity index 84%
rename from app-emulation/xen-pvgrub/xen-pvgrub-4.12.0_rc5.ebuild
rename to app-emulation/xen-pvgrub/xen-pvgrub-4.12.0.ebuild
index 7b6c8cecaa9..90600bb0eee 100644
--- a/app-emulation/xen-pvgrub/xen-pvgrub-4.12.0_rc5.ebuild
+++ b/app-emulation/xen-pvgrub/xen-pvgrub-4.12.0.ebuild
@@ -1,12 +1,12 @@
 # Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
 PYTHON_COMPAT=( python2_7 )
 PYTHON_REQ_USE='xml,threads'
 
-inherit eutils flag-o-matic multilib python-single-r1 toolchain-funcs
+inherit flag-o-matic multilib python-single-r1 toolchain-funcs
 
 XEN_EXTFILES_URL="http://xenbits.xensource.com/xen-extfiles";
 LIBPCI_URL=ftp://atrey.karlin.mff.cuni.cz/pub/linux/pci
@@ -17,10 +17,8 @@ UPSTREAM_VER=
        
UPSTREAM_PATCHSET_URI="https://dev.gentoo.org/~dlan/distfiles/${P/-pvgrub/}-upstream-patches-${UPSTREAM_VER}.tar.xz
                
https://github.com/hydrapolic/gentoo-dist/raw/master/xen/${P/-pvgrub/}-upstream-patches-${UPSTREAM_VER}.tar.xz";
 
-MY_PV=${PV/_/-}
-
 SRC_URI="
-               
https://downloads.xenproject.org/release/xen/${MY_PV}/xen-${MY_PV}.tar.gz
+               
https://downloads.xenproject.org/release/xen/${PV}/xen-${PV}.tar.gz
                $GRUB_URL/grub-0.97.tar.gz
                $XEN_EXTFILES_URL/zlib-1.2.3.tar.gz
                $LIBPCI_URL/pciutils-2.2.9.tar.bz2
@@ -29,14 +27,13 @@ SRC_URI="
                $XEN_EXTFILES_URL/polarssl-1.1.4-gpl.tgz
                ${UPSTREAM_PATCHSET_URI}"
 
-S="${WORKDIR}/xen-${MY_PV}"
+S="${WORKDIR}/xen-${PV}"
 
 DESCRIPTION="allows to boot Xen domU kernels from a menu.lst laying inside 
guest filesystem"
 HOMEPAGE="https://www.xenproject.org";
 LICENSE="GPL-2"
 SLOT="0"
-#KEYWORDS="~amd64 ~x86"
-KEYWORDS=""
+KEYWORDS="~amd64 ~x86"
 IUSE="custom-cflags"
 
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
@@ -57,21 +54,21 @@ retar-externals() {
        # Purely to unclutter src_prepare
        local set="grub-0.97.tar.gz lwip-1.3.0.tar.gz newlib-1.16.0.tar.gz 
polarssl-1.1.4-gpl.tgz zlib-1.2.3.tar.gz"
 
-       # epatch can't patch in $WORKDIR, requires a sed; Bug #455194. 
Patchable, but sed informative
+       # eapply can't patch in $WORKDIR, requires a sed; Bug #455194. 
Patchable, but sed informative
        sed -e s':AR=${AR-"ar rc"}:AR=${AR-"ar"}:' \
-               -i "${WORKDIR}"/zlib-1.2.3/configure
+               -i "${WORKDIR}"/zlib-1.2.3/configure || die
        sed -e 's:^AR=ar rc:AR=ar:' \
                -e s':$(AR) $@:$(AR) rc $@:' \
-               -i "${WORKDIR}"/zlib-1.2.3/{Makefile,Makefile.in}
+               -i "${WORKDIR}"/zlib-1.2.3/{Makefile,Makefile.in} || die
        einfo "zlib Makefile edited"
 
-       cd "${WORKDIR}"
-       tar czp zlib-1.2.3 -f zlib-1.2.3.tar.gz
-       tar czp grub-0.97 -f grub-0.97.tar.gz
-       tar czp lwip -f lwip-1.3.0.tar.gz
-       tar czp newlib-1.16.0 -f newlib-1.16.0.tar.gz
-       tar czp polarssl-1.1.4 -f polarssl-1.1.4-gpl.tgz
-       mv $set "${S}"/stubdom/
+       cd "${WORKDIR}" || die
+       tar czp zlib-1.2.3 -f zlib-1.2.3.tar.gz || die
+       tar czp grub-0.97 -f grub-0.97.tar.gz || die
+       tar czp lwip -f lwip-1.3.0.tar.gz || die
+       tar czp newlib-1.16.0 -f newlib-1.16.0.tar.gz || die
+       tar czp polarssl-1.1.4 -f polarssl-1.1.4-gpl.tgz || die
+       mv $set "${S}"/stubdom/ || die
        einfo "tarballs moved to source"
 }
 
@@ -82,7 +79,7 @@ src_prepare() {
                EPATCH_SUFFIX="patch" \
                EPATCH_FORCE="yes" \
                EPATCH_OPTS="-p1" \
-                       epatch "${WORKDIR}"/patches-upstream
+                       eapply "${WORKDIR}"/patches-upstream
        fi
 
        # if the user *really* wants to use their own custom-cflags, let them
@@ -102,10 +99,10 @@ src_prepare() {
        cp "${FILESDIR}"/newlib-implicits.patch stubdom || die
 
        # Patch stubdom/Makefile to patch insource newlib & prevent internal 
downloading
-       epatch "${FILESDIR}"/${PN/-pvgrub/}-4.3-externals.patch
+       eapply "${FILESDIR}"/${PN/-pvgrub/}-4.10-externals.patch
 
        # fix jobserver in Makefile
-       epatch "${FILESDIR}"/${PN}-4.8-jserver.patch
+       eapply "${FILESDIR}"/${PN}-4.8-jserver.patch
 
        #Substitute for internal downloading. pciutils copied only due to the 
only .bz2
        cp "${DISTDIR}"/pciutils-2.2.9.tar.bz2 ./stubdom/ || die "pciutils not 
copied to stubdom"

Reply via email to