commit:     909fca4c4df3bdb3e6e3c45b7828c19b253c65bb
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Dec  2 08:34:46 2017 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Dec  2 09:36:42 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=909fca4c

app-portage/cpuid2cpuflags: Bump to v5

 app-portage/cpuid2cpuflags/Manifest                |  1 +
 app-portage/cpuid2cpuflags/cpuid2cpuflags-5.ebuild | 28 ++++++++++++++++++++++
 2 files changed, 29 insertions(+)

diff --git a/app-portage/cpuid2cpuflags/Manifest 
b/app-portage/cpuid2cpuflags/Manifest
index 807d1075238..bc12592bf01 100644
--- a/app-portage/cpuid2cpuflags/Manifest
+++ b/app-portage/cpuid2cpuflags/Manifest
@@ -1,2 +1,3 @@
 DIST cpuid2cpuflags-4.tar.bz2 71216 SHA256 
e8d911d06852ffa860ad175235f78aa8beb009ecb26d1809cd6c3fd253dbba4a SHA512 
0f8a078a605687af9be0152d530dabfa7636827005747a5cce399103eec34f96216b4417e06472821aceecdca737a6ee106b63f056f221d6f2a3050bc3a03f6b
 WHIRLPOOL 
e887c998d0b5b4ffa9956c76f3853d4d695acc6eafaa4e94484ce3c895399a78e98eb91fb918a7df5e2cc07c6e28ea100725bf0b28af23cd082f6e719a62b74b
+DIST cpuid2cpuflags-5.tar.bz2 72050 BLAKE2B 
e9b7022ae5b7d51c88b5e41d9d7af1175498cb5a1f32876bfb766f785060f501d07ba3a5c346961e742bbf7022121faf3d0d068ec711ee9ed4e67cbdcd72a58a
 SHA512 
41dcd2b974f6bd96867dea15a3839a8d63a3ff600189107ab16a67b5bc77ef421acbedb83f3e3b16ec90ac900d187aa8c44baae6fbdb4988f3bf7caa2d0d19a2
 DIST cpuinfo2cpuflags-1.tar.gz 1429 SHA256 
aaa4b80568936acc4b2798f62254a5170328c862cadc70b22cd10e4e6716bbcc SHA512 
68a21cfdb0fc8c6eb5aad5c6702d50dd56c927b2010efea1651dbc6a9657654b770bc5a4055fb11e790066c2c63c9ea29c3e03d91057abe187e7029e6797aede
 WHIRLPOOL 
57c66d7eddbf6245735f037980a3d7a685dbccc11bba7e7dd0e1290a77960f17cdb81f161c012abc0eec213b951709df8d7677f0034d5b083bc6f45be1386ad8

diff --git a/app-portage/cpuid2cpuflags/cpuid2cpuflags-5.ebuild 
b/app-portage/cpuid2cpuflags/cpuid2cpuflags-5.ebuild
new file mode 100644
index 00000000000..318806faa56
--- /dev/null
+++ b/app-portage/cpuid2cpuflags/cpuid2cpuflags-5.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="Tool to guess CPU_FLAGS_X86 flags for the host"
+HOMEPAGE="https://github.com/mgorny/cpuid2cpuflags";
+SRC_URI="https://github.com/mgorny/cpuid2cpuflags/releases/download/v${PV}/${P}.tar.bz2";
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-fbsd ~x86-fbsd ~x64-macos ~x86-macos 
~x64-solaris ~x86-solaris"
+IUSE=""
+
+pkg_postinst() {
+       local v
+       for v in ${REPLACING_VERSIONS}; do
+               if [[ ${v%-r*} -lt 2 ]]; then
+                       elog 'Please note that the output has changed in v2. 
The new format is suitable'
+                       elog 'both for Portage and Paludis. To use it, e.g.:'
+                       elog
+                       elog '  $ echo "*/* $(cpuid2cpuflags)" > 
/etc/portage/package.use/00cpuflags'
+                       elog
+                       elog '(you may need to convert package.use into a 
directory if you want to use'
+                       elog ' separate file as presented here)'
+               fi
+       done
+}

Reply via email to