sys-devel/crossdev: bump up to 20191222
authorSergei Trofimovich <slyfox@gentoo.org>
Sun, 22 Dec 2019 22:36:23 +0000 (22:36 +0000)
committerSergei Trofimovich <slyfox@gentoo.org>
Sun, 22 Dec 2019 22:36:42 +0000 (22:36 +0000)
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@gentoo.org>
sys-devel/crossdev/Manifest
sys-devel/crossdev/crossdev-20191222.ebuild [new file with mode: 0644]

index 525c96327e60216455f2bf60b0c6ef4b9b443175..94e6905f35de2b00d0c94841b40411fb63c96b2e 100644 (file)
@@ -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 (file)
index 0000000..ffbebc2
--- /dev/null
@@ -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
+}