Install this version:
emerge -a =dev-python/archspec-0.2.6
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =dev-python/archspec-0.2.6
Or alternatively:
emerge --autounmask-write -a =dev-python/archspec-0.2.6
# Copyright 2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=poetry
PYTHON_COMPAT=( python3_{9..14} )
inherit distutils-r1
DESCRIPTION="A library for detecting, labeling, and reasoning about microarchitectures"
HOMEPAGE="https://github.com/archspec/archspec"
CPUID="5b381ed2af05ad9ead46a136b43c2f7021bd44bb"
SRC_URI="
https://github.com/archspec/archspec/archive/v${PV}.tar.gz -> ${P}.tar.gz
https://github.com/archspec/archspec-json/archive/v${PV}.tar.gz -> ${P}-json.tar.gz
https://github.com/archspec/cpuid/archive/${CPUID}.tar.gz -> ${P}-cpuid.tar.gz"
LICENSE="Apache-2.0 MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
distutils_enable_tests pytest
src_unpack() {
default
mv -u "${PN}-json-${PV}/cpu/" "${S}/${PN}/json" || die
rm -r "${S}/${PN}/vendor/cpuid" || die
mv -u "cpuid-${CPUID}" "${S}/${PN}/vendor/cpuid" || die
}
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | archspec-0.2.6-cpuid.tar.gz | 4270 bytes | https://github.com/archspec/cpuid/archive/5b381ed2af05ad9ead46a136b43c2f7021bd44bb.tar.gz |
| DIST | archspec-0.2.6-json.tar.gz | 25319 bytes | https://github.com/archspec/archspec-json/archive/v0.2.6.tar.gz |
| DIST | archspec-0.2.6.tar.gz | 36475 bytes | https://github.com/archspec/archspec/archive/v0.2.6.tar.gz |