From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 6654E138334 for ; Fri, 19 Jul 2019 18:15:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 78717E07F9; Fri, 19 Jul 2019 18:15:19 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4E7B3E07F9 for ; Fri, 19 Jul 2019 18:15:19 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D3D3F348105 for ; Fri, 19 Jul 2019 18:15:17 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 47134703 for ; Fri, 19 Jul 2019 18:15:15 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1563560054.604c524209a63a0ba0573387289cf49c0d1f05ea.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-portage/cpuid2cpuflags/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-portage/cpuid2cpuflags/Manifest app-portage/cpuid2cpuflags/cpuid2cpuflags-6.ebuild app-portage/cpuid2cpuflags/cpuid2cpuflags-9999.ebuild X-VCS-Directories: app-portage/cpuid2cpuflags/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 604c524209a63a0ba0573387289cf49c0d1f05ea X-VCS-Branch: master Date: Fri, 19 Jul 2019 18:15:15 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: ac84f2ba-868f-4e8c-97dc-924480d51999 X-Archives-Hash: edcd7a5f96e9d6426a17628409f24bd4 commit: 604c524209a63a0ba0573387289cf49c0d1f05ea Author: Michał Górny gentoo org> AuthorDate: Fri Jul 19 18:14:14 2019 +0000 Commit: Michał Górny gentoo org> CommitDate: Fri Jul 19 18:14:14 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=604c5242 app-portage/cpuid2cpuflags: Bump to v6 Signed-off-by: Michał Górny gentoo.org> app-portage/cpuid2cpuflags/Manifest | 1 + app-portage/cpuid2cpuflags/cpuid2cpuflags-6.ebuild | 28 ++++++++++++++++++++++ .../cpuid2cpuflags/cpuid2cpuflags-9999.ebuild | 2 +- 3 files changed, 30 insertions(+), 1 deletion(-) diff --git a/app-portage/cpuid2cpuflags/Manifest b/app-portage/cpuid2cpuflags/Manifest index 03b067f6547..24603e56533 100644 --- a/app-portage/cpuid2cpuflags/Manifest +++ b/app-portage/cpuid2cpuflags/Manifest @@ -1,2 +1,3 @@ DIST cpuid2cpuflags-5.tar.bz2 72050 BLAKE2B e9b7022ae5b7d51c88b5e41d9d7af1175498cb5a1f32876bfb766f785060f501d07ba3a5c346961e742bbf7022121faf3d0d068ec711ee9ed4e67cbdcd72a58a SHA512 41dcd2b974f6bd96867dea15a3839a8d63a3ff600189107ab16a67b5bc77ef421acbedb83f3e3b16ec90ac900d187aa8c44baae6fbdb4988f3bf7caa2d0d19a2 +DIST cpuid2cpuflags-6.tar.bz2 79329 BLAKE2B 3fb1e104a065b020926602e3badcb96c8c3bbcf5ddc708eebdf7754e37bc302b88297471f51a07403eb49b0d688a1c2725b878bcb2a47edb0f491e3608d72b49 SHA512 b7c844667988663ad50430a506055c11263c33bd8821ae8025eea3f719c33101425dcaef3f89afed7f15952d678e4467afe99672eb3135bedc34fe5979f999e0 DIST cpuinfo2cpuflags-1.tar.gz 1429 BLAKE2B 5126e643e5e2ea0be2418068fbcfbbae1781a0e3ab7903d909d4a5a291cb2e5db132a7a6a5c6db12a757688efca0557e4331a91f64af4b7e47deca415fd05b34 SHA512 68a21cfdb0fc8c6eb5aad5c6702d50dd56c927b2010efea1651dbc6a9657654b770bc5a4055fb11e790066c2c63c9ea29c3e03d91057abe187e7029e6797aede diff --git a/app-portage/cpuid2cpuflags/cpuid2cpuflags-6.ebuild b/app-portage/cpuid2cpuflags/cpuid2cpuflags-6.ebuild new file mode 100644 index 00000000000..b4d12bac27b --- /dev/null +++ b/app-portage/cpuid2cpuflags/cpuid2cpuflags-6.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Tool to guess CPU_FLAGS_* 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 +} diff --git a/app-portage/cpuid2cpuflags/cpuid2cpuflags-9999.ebuild b/app-portage/cpuid2cpuflags/cpuid2cpuflags-9999.ebuild index d2155527461..5192dad1280 100644 --- a/app-portage/cpuid2cpuflags/cpuid2cpuflags-9999.ebuild +++ b/app-portage/cpuid2cpuflags/cpuid2cpuflags-9999.ebuild @@ -1,7 +1,7 @@ # Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 EGIT_REPO_URI="https://github.com/mgorny/cpuid2cpuflags" inherit autotools git-r3