summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-05-07 07:31:46 +0100
committerSam James <sam@gentoo.org>2022-05-07 08:16:56 +0100
commitde0e5cd60d93c76c320f93747ec4fb0ea61b380b (patch)
tree08d33460f0f71328962fddba86d931dc844c2c8e /sys-libs/libhugetlbfs
parentdev-libs/plasma-wayland-protocols: add 1.7.0 (diff)
downloadgentoo-de0e5cd60d93c76c320f93747ec4fb0ea61b380b.tar.gz
gentoo-de0e5cd60d93c76c320f93747ec4fb0ea61b380b.tar.bz2
gentoo-de0e5cd60d93c76c320f93747ec4fb0ea61b380b.zip
sys-libs/libhugetlbfs: enable py3.10 and disable py3.7
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-libs/libhugetlbfs')
-rw-r--r--sys-libs/libhugetlbfs/libhugetlbfs-2.23.ebuild24
1 files changed, 12 insertions, 12 deletions
diff --git a/sys-libs/libhugetlbfs/libhugetlbfs-2.23.ebuild b/sys-libs/libhugetlbfs/libhugetlbfs-2.23.ebuild
index b20145724f82..f31724207108 100644
--- a/sys-libs/libhugetlbfs/libhugetlbfs-2.23.ebuild
+++ b/sys-libs/libhugetlbfs/libhugetlbfs-2.23.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-PYTHON_COMPAT=( python3_{7,8,9} )
+PYTHON_COMPAT=( python3_{8..10} )
inherit toolchain-funcs python-any-r1
@@ -49,17 +49,6 @@ src_prepare() {
[[ -f version ]] || echo "${PV}" > version
}
-src_compile() {
- tc-export AR
- emake CC="$(tc-getCC)" libs tools
-}
-
-src_install() {
- default
-
- use static-libs || rm -f "${ED}"/usr/$(get_libdir)/*.a
-}
-
src_test_alloc_one() {
hugeadm="${1}"
sign="${2}"
@@ -169,3 +158,14 @@ src_test() {
return ${rc}
}
+
+src_compile() {
+ tc-export AR
+ emake CC="$(tc-getCC)" libs tools
+}
+
+src_install() {
+ default
+
+ use static-libs || rm -f "${ED}"/usr/$(get_libdir)/*.a
+}