diff options
author | Jason Zaman <perfinion@gentoo.org> | 2022-04-10 17:34:32 -0700 |
---|---|---|
committer | Jason Zaman <perfinion@gentoo.org> | 2022-04-10 20:43:49 -0700 |
commit | 39c60d47544bc4cdbfec62bbcd7cb990ccb5b54b (patch) | |
tree | 36d4d49c5e3674d84ba71641833cf40bf9dd9890 /sys-apps/selinux-python | |
parent | sys-apps/policycoreutils: update live ebuild (diff) | |
download | gentoo-39c60d47544bc4cdbfec62bbcd7cb990ccb5b54b.tar.gz gentoo-39c60d47544bc4cdbfec62bbcd7cb990ccb5b54b.tar.bz2 gentoo-39c60d47544bc4cdbfec62bbcd7cb990ccb5b54b.zip |
sys-apps/selinux-python: update live ebuild
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Jason Zaman <perfinion@gentoo.org>
Diffstat (limited to 'sys-apps/selinux-python')
-rw-r--r-- | sys-apps/selinux-python/selinux-python-9999.ebuild | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/sys-apps/selinux-python/selinux-python-9999.ebuild b/sys-apps/selinux-python/selinux-python-9999.ebuild index 8e1f90984a8b..4f4a0a3c95d3 100644 --- a/sys-apps/selinux-python/selinux-python-9999.ebuild +++ b/sys-apps/selinux-python/selinux-python-9999.ebuild @@ -1,15 +1,14 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -PYTHON_COMPAT=( python3_{7..9} ) +PYTHON_COMPAT=( python3_{8..10} ) PYTHON_REQ_USE="xml" inherit python-r1 toolchain-funcs -IUSE="test" -RESTRICT="!test? ( test )" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" +MY_PV="${PV//_/-}" +MY_P="${PN}-${MY_PV}" DESCRIPTION="SELinux core utilities" HOMEPAGE="https://github.com/SELinuxProject/selinux/wiki" @@ -19,12 +18,16 @@ if [[ ${PV} == 9999 ]] ; then EGIT_REPO_URI="https://github.com/SELinuxProject/selinux.git" S="${WORKDIR}/${P}/${PN#selinux-}" else - SRC_URI="https://github.com/SELinuxProject/selinux/releases/download/${PV}/${P}.tar.gz" + SRC_URI="https://github.com/SELinuxProject/selinux/releases/download/${MY_PV}/${MY_P}.tar.gz" KEYWORDS="~amd64 ~arm ~arm64 ~mips ~x86" + S="${WORKDIR}/${MY_P}" fi LICENSE="GPL-2" SLOT="0" +IUSE="test" +RESTRICT="!test? ( test )" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" RDEPEND=">=sys-libs/libselinux-${PV}:=[python] >=sys-libs/libsemanage-${PV}:=[python(+)] |