diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-08-25 10:45:55 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-08-25 10:45:55 +0100 |
commit | 3cf7c3ef441822c889356fd1812ebf2944a59851 (patch) | |
tree | c513fe68548b40365c1c2ebfe35c58ad431cdd77 /app-portage/cpuid2cpuflags/cpuid2cpuflags-1.ebuild | |
parent | 05b8b0e0af1d72e51a3ee61522941bf7605cd01c (diff) |
gentoo resync : 25.08.2020
Diffstat (limited to 'app-portage/cpuid2cpuflags/cpuid2cpuflags-1.ebuild')
-rw-r--r-- | app-portage/cpuid2cpuflags/cpuid2cpuflags-1.ebuild | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/app-portage/cpuid2cpuflags/cpuid2cpuflags-1.ebuild b/app-portage/cpuid2cpuflags/cpuid2cpuflags-1.ebuild deleted file mode 100644 index 3ca2f491f50c..000000000000 --- a/app-portage/cpuid2cpuflags/cpuid2cpuflags-1.ebuild +++ /dev/null @@ -1,39 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -PYTHON_COMPAT=( python2_7 ) - -inherit python-r1 - -MY_PN=cpuinfo2cpuflags -MY_P=${MY_PN}-${PV} -DESCRIPTION="Script to guess CPU_FLAGS_X86 flags from /proc/cpuinfo" -HOMEPAGE="https://github.com/mgorny/cpuid2cpuflags" -SRC_URI="https://github.com/mgorny/cpuid2cpuflags/releases/download/v${PV}/${MY_P}.tar.gz" - -LICENSE="BSD-2" -SLOT="0" -KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux" -IUSE="" - -RDEPEND=${PYTHON_DEPS} -REQUIRED_USE=${PYTHON_REQUIRED_USE} - -S=${WORKDIR}/${MY_P} - -src_install() { - python_foreach_impl python_newscript "${MY_PN}-x86"{.py,} -} - -pkg_postinst() { - if has_version 'sys-apps/portage' \ - && ! has_version "sys-apps/portage[${PYTHON_USEDEP}]" - then - ewarn "Support for matching Python implementations should be enabled" - ewarn "on sys-apps/portage as well. Otherwise, cpuinfo2cpuflags won't" - ewarn "be able to figure out the correct repository location and will" - ewarn "require you to specify it explicitly." - fi -} |