commit:     c78e1daac0af88ccf33bade04aa3b077205ea6dd
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 22 22:36:23 2019 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sun Dec 22 22:36:42 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c78e1daa

sys-devel/crossdev: bump up to 20191222

3 user-visible changes:
- refuse to install crossdev on all CHOST ABIs, not just default (bug #500338)
- drop Sony Playstation 2 aliases (ee, dvp, iop)
- drop mingw32 reference

Reported-by: Chris Slycord
Closes: https://bugs.gentoo.org/500338
Package-Manager: Portage-2.3.82, Repoman-2.3.20
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>

 sys-devel/crossdev/Manifest                 |  1 +
 sys-devel/crossdev/crossdev-20191222.ebuild | 36 +++++++++++++++++++++++++++++
 2 files changed, 37 insertions(+)

diff --git a/sys-devel/crossdev/Manifest b/sys-devel/crossdev/Manifest
index 525c96327e6..94e6905f35d 100644
--- a/sys-devel/crossdev/Manifest
+++ b/sys-devel/crossdev/Manifest
@@ -1 +1,2 @@
 DIST crossdev-20191014.tar.xz 27240 BLAKE2B 
06a76250490c333d03d0227e0505c4cf1125426bc51fddfe1c87700b289a150596318d60e1ba92d9a104a55e23edd9a603edd7887cdcecfe23f9e5c3a759b02a
 SHA512 
82317f0db3f8e3ebe69e5d132d2f248795416f481161a67bf09cccbf82a95b79656a64c476c97c1e31e4dfac1bac6c89b159afae5f0516d08f320cab6cfdbbab
+DIST crossdev-20191222.tar.xz 27320 BLAKE2B 
375e0ccb7bfd5c5c365b9c874a7dbf75207843b68dbe6d4cf9da07b36efb7b3bb1e6c84f85268fea6c71d6afc1e284f9bd1dcfeca5536d0947f8d3a3f5344ca9
 SHA512 
ad32f2231663f312b2b35bdea81c9ddac584d13f9affd496f36cbed072a97e6f80deb3436dcbea184621a4bd86bb25d52fb0434208226a3d743f0f664cd91fd0

diff --git a/sys-devel/crossdev/crossdev-20191222.ebuild 
b/sys-devel/crossdev/crossdev-20191222.ebuild
new file mode 100644
index 00000000000..ffbebc2cf82
--- /dev/null
+++ b/sys-devel/crossdev/crossdev-20191222.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+if [[ ${PV} == "99999999" ]] ; then
+       inherit git-r3
+       EGIT_REPO_URI="git://anongit.gentoo.org/proj/crossdev.git"
+else
+       SRC_URI="mirror://gentoo/${P}.tar.xz
+               https://dev.gentoo.org/~slyfox/distfiles/${P}.tar.xz";
+       KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sh ~sparc ~x86"
+fi
+
+DESCRIPTION="Gentoo Cross-toolchain generator"
+HOMEPAGE="https://www.gentoo.org/";
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE=""
+
+RDEPEND="
+       >=sys-apps/portage-2.1
+       >=app-portage/portage-utils-0.55
+       app-shells/bash
+       sys-apps/gentoo-functions
+"
+DEPEND="app-arch/xz-utils"
+
+src_install() {
+       default
+
+       if [[ "${PV}" == "99999999" ]] ; then
+               sed -i "s:@CDEVPV@:${EGIT_VERSION}:" "${ED}"/usr/bin/crossdev 
|| die
+       fi
+}

Reply via email to