commit: 12e8d1ac10aab5baf68e508741924f6bc953bdd4
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Thu Jul 1 20:41:43 2021 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Thu Jul 1 21:15:33 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12e8d1ac
dev-util/smem: add python3.10 support
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
dev-util/smem/smem-1.5-r1.ebuild | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/dev-util/smem/smem-1.5-r1.ebuild b/dev-util/smem/smem-1.5-r1.ebuild
index a31a893131b..539ed4ae1b7 100644
--- a/dev-util/smem/smem-1.5-r1.ebuild
+++ b/dev-util/smem/smem-1.5-r1.ebuild
@@ -1,16 +1,17 @@
-# Copyright 2019-2020 Gentoo Authors
+# Copyright 2019-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
EGIT_COMMIT="2ab5040d5633"
-PYTHON_COMPAT=( python3_{7..9} )
+PYTHON_COMPAT=( python3_{8..10} )
inherit optfeature python-single-r1 toolchain-funcs
DESCRIPTION="A tool that can give numerous reports on memory usage on Linux
systems"
HOMEPAGE="https://www.selenic.com/smem/"
SRC_URI="https://selenic.com/repo/${PN}/archive/${EGIT_COMMIT}.tar.bz2 ->
${P}.tar.bz2"
+S="${WORKDIR}/${PN}-${EGIT_COMMIT}"
LICENSE="GPL-2+"
SLOT="0"
@@ -20,8 +21,6 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}"
RDEPEND="${PYTHON_DEPS}"
BDEPEND="${RDEPEND}"
-S="${WORKDIR}/${PN}-${EGIT_COMMIT}"
-
src_compile() {
"$(tc-getCC)" ${CFLAGS} ${LDFLAGS} -o smemcap smemcap.c || die
}