Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-portage/cpuid2cpuflags/
Date: Sun, 02 Aug 2020 14:00:33
Message-Id: 1596376798.48b2b6180a0334b3e777fd29de5ca1af3cecff5d.mgorny@gentoo
1 commit: 48b2b6180a0334b3e777fd29de5ca1af3cecff5d
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sun Aug 2 12:30:03 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sun Aug 2 13:59:58 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=48b2b618
7
8 app-portage/cpuid2cpuflags: Remove old
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 app-portage/cpuid2cpuflags/Manifest | 2 --
13 app-portage/cpuid2cpuflags/cpuid2cpuflags-1.ebuild | 39 ----------------------
14 app-portage/cpuid2cpuflags/cpuid2cpuflags-9.ebuild | 28 ----------------
15 3 files changed, 69 deletions(-)
16
17 diff --git a/app-portage/cpuid2cpuflags/Manifest b/app-portage/cpuid2cpuflags/Manifest
18 index 4327a880f66..4b169319a10 100644
19 --- a/app-portage/cpuid2cpuflags/Manifest
20 +++ b/app-portage/cpuid2cpuflags/Manifest
21 @@ -1,4 +1,2 @@
22 DIST cpuid2cpuflags-10.tar.bz2 82756 BLAKE2B 144ccc9ffff9fdafa9d29628963143b3685421c3c96a81ab780d835c7e0d83fdfe02c720744f57f2947c6079af157c2b6d3e61277f5af734fdba08c6fec23b9f SHA512 c34feef1548b9ade349efbdb68880fea303dd9a8d361de017b925688f9b189602cb175e1699dbe7b48f6887f343fafca9ff0ac95b8eb174bf7201c8bb5978c98
23 DIST cpuid2cpuflags-11.tar.bz2 83091 BLAKE2B 2225b6031505597050332d50f4cee69aebb263f9def8043fde64b61e7d06bd2b2ab306eab31701434435a5ede1da974004db3d800a9184011595ed5c16422c79 SHA512 0eeff4e6369eaca6ddb516ff95597c649a7619c1ad79b0d73f51ef9f903db55cb7a49c5ccec478c9a923abfcce63e4ee5b6436f08eb9092b0024c898e508750b
24 -DIST cpuid2cpuflags-9.tar.bz2 82841 BLAKE2B 6f866a29680b53975359c56f54f3ecd8e978fe55297fdfcb84b25f57dc38bb0fb5c2169dde83e29235d13667a43faa11d75fa15e3d8fbef65a86cea2832363c4 SHA512 61a265abfd5b0920e1b3c18d322dceb416a6a353b3d3ef3f01ab1d02aab1b45dd1ec4eed4ccf667eae82c953830f29d22a671dd7d7c2b4d309050033af1fd5b7
25 -DIST cpuinfo2cpuflags-1.tar.gz 1429 BLAKE2B 5126e643e5e2ea0be2418068fbcfbbae1781a0e3ab7903d909d4a5a291cb2e5db132a7a6a5c6db12a757688efca0557e4331a91f64af4b7e47deca415fd05b34 SHA512 68a21cfdb0fc8c6eb5aad5c6702d50dd56c927b2010efea1651dbc6a9657654b770bc5a4055fb11e790066c2c63c9ea29c3e03d91057abe187e7029e6797aede
26
27 diff --git a/app-portage/cpuid2cpuflags/cpuid2cpuflags-1.ebuild b/app-portage/cpuid2cpuflags/cpuid2cpuflags-1.ebuild
28 deleted file mode 100644
29 index 3ca2f491f50..00000000000
30 --- a/app-portage/cpuid2cpuflags/cpuid2cpuflags-1.ebuild
31 +++ /dev/null
32 @@ -1,39 +0,0 @@
33 -# Copyright 1999-2020 Gentoo Authors
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI=5
37 -
38 -PYTHON_COMPAT=( python2_7 )
39 -
40 -inherit python-r1
41 -
42 -MY_PN=cpuinfo2cpuflags
43 -MY_P=${MY_PN}-${PV}
44 -DESCRIPTION="Script to guess CPU_FLAGS_X86 flags from /proc/cpuinfo"
45 -HOMEPAGE="https://github.com/mgorny/cpuid2cpuflags"
46 -SRC_URI="https://github.com/mgorny/cpuid2cpuflags/releases/download/v${PV}/${MY_P}.tar.gz"
47 -
48 -LICENSE="BSD-2"
49 -SLOT="0"
50 -KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
51 -IUSE=""
52 -
53 -RDEPEND=${PYTHON_DEPS}
54 -REQUIRED_USE=${PYTHON_REQUIRED_USE}
55 -
56 -S=${WORKDIR}/${MY_P}
57 -
58 -src_install() {
59 - python_foreach_impl python_newscript "${MY_PN}-x86"{.py,}
60 -}
61 -
62 -pkg_postinst() {
63 - if has_version 'sys-apps/portage' \
64 - && ! has_version "sys-apps/portage[${PYTHON_USEDEP}]"
65 - then
66 - ewarn "Support for matching Python implementations should be enabled"
67 - ewarn "on sys-apps/portage as well. Otherwise, cpuinfo2cpuflags won't"
68 - ewarn "be able to figure out the correct repository location and will"
69 - ewarn "require you to specify it explicitly."
70 - fi
71 -}
72
73 diff --git a/app-portage/cpuid2cpuflags/cpuid2cpuflags-9.ebuild b/app-portage/cpuid2cpuflags/cpuid2cpuflags-9.ebuild
74 deleted file mode 100644
75 index 5914671097e..00000000000
76 --- a/app-portage/cpuid2cpuflags/cpuid2cpuflags-9.ebuild
77 +++ /dev/null
78 @@ -1,28 +0,0 @@
79 -# Copyright 1999-2020 Gentoo Authors
80 -# Distributed under the terms of the GNU General Public License v2
81 -
82 -EAPI=7
83 -
84 -DESCRIPTION="Tool to guess CPU_FLAGS_* flags for the host"
85 -HOMEPAGE="https://github.com/mgorny/cpuid2cpuflags"
86 -SRC_URI="https://github.com/mgorny/cpuid2cpuflags/releases/download/v${PV}/${P}.tar.bz2"
87 -
88 -LICENSE="BSD-2"
89 -SLOT="0"
90 -KEYWORDS="amd64 arm arm64 ppc ppc64 x86 ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
91 -IUSE=""
92 -
93 -pkg_postinst() {
94 - local v
95 - for v in ${REPLACING_VERSIONS}; do
96 - if [[ ${v%-r*} -lt 2 ]]; then
97 - elog 'Please note that the output has changed in v2. The new format is suitable'
98 - elog 'both for Portage and Paludis. To use it, e.g.:'
99 - elog
100 - elog ' $ echo "*/* $(cpuid2cpuflags)" > /etc/portage/package.use/00cpuflags'
101 - elog
102 - elog '(you may need to convert package.use into a directory if you want to use'
103 - elog ' separate file as presented here)'
104 - fi
105 - done
106 -}