Gentoo Archives: gentoo-commits

From: Conrad Kostecki <conikost@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/smem/
Date: Thu, 01 Jul 2021 21:16:08
Message-Id: 1625174133.12e8d1ac10aab5baf68e508741924f6bc953bdd4.conikost@gentoo
1 commit: 12e8d1ac10aab5baf68e508741924f6bc953bdd4
2 Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jul 1 20:41:43 2021 +0000
4 Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
5 CommitDate: Thu Jul 1 21:15:33 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12e8d1ac
7
8 dev-util/smem: add python3.10 support
9
10 Package-Manager: Portage-3.0.20, Repoman-3.0.3
11 Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
12
13 dev-util/smem/smem-1.5-r1.ebuild | 7 +++----
14 1 file changed, 3 insertions(+), 4 deletions(-)
15
16 diff --git a/dev-util/smem/smem-1.5-r1.ebuild b/dev-util/smem/smem-1.5-r1.ebuild
17 index a31a893131b..539ed4ae1b7 100644
18 --- a/dev-util/smem/smem-1.5-r1.ebuild
19 +++ b/dev-util/smem/smem-1.5-r1.ebuild
20 @@ -1,16 +1,17 @@
21 -# Copyright 2019-2020 Gentoo Authors
22 +# Copyright 2019-2021 Gentoo Authors
23 # Distributed under the terms of the GNU General Public License v2
24
25 EAPI=7
26
27 EGIT_COMMIT="2ab5040d5633"
28 -PYTHON_COMPAT=( python3_{7..9} )
29 +PYTHON_COMPAT=( python3_{8..10} )
30
31 inherit optfeature python-single-r1 toolchain-funcs
32
33 DESCRIPTION="A tool that can give numerous reports on memory usage on Linux systems"
34 HOMEPAGE="https://www.selenic.com/smem/"
35 SRC_URI="https://selenic.com/repo/${PN}/archive/${EGIT_COMMIT}.tar.bz2 -> ${P}.tar.bz2"
36 +S="${WORKDIR}/${PN}-${EGIT_COMMIT}"
37
38 LICENSE="GPL-2+"
39 SLOT="0"
40 @@ -20,8 +21,6 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}"
41 RDEPEND="${PYTHON_DEPS}"
42 BDEPEND="${RDEPEND}"
43
44 -S="${WORKDIR}/${PN}-${EGIT_COMMIT}"
45 -
46 src_compile() {
47 "$(tc-getCC)" ${CFLAGS} ${LDFLAGS} -o smemcap smemcap.c || die
48 }