commit:     bb8ba5849bf1a0b7a2cda4ada8f4bb468a6ae6e1
Author:     Jonathan Davies <jpds <AT> protonmail <DOT> com>
AuthorDate: Thu Mar 18 01:01:12 2021 +0000
Commit:     Jason Zaman <perfinion <AT> gentoo <DOT> org>
CommitDate: Sat Apr  3 04:15:28 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb8ba584

sys-apps/selinux-python: Sync live ebuild.

Signed-off-by: Jonathan Davies <jpds <AT> protonmail.com>
Signed-off-by: Jason Zaman <perfinion <AT> gentoo.org>

 sys-apps/selinux-python/selinux-python-9999.ebuild | 18 +++++-------------
 1 file changed, 5 insertions(+), 13 deletions(-)

diff --git a/sys-apps/selinux-python/selinux-python-9999.ebuild 
b/sys-apps/selinux-python/selinux-python-9999.ebuild
index 59dad86d967..def193bf03d 100644
--- a/sys-apps/selinux-python/selinux-python-9999.ebuild
+++ b/sys-apps/selinux-python/selinux-python-9999.ebuild
@@ -7,13 +7,6 @@ PYTHON_REQ_USE="xml"
 
 inherit python-r1 toolchain-funcs
 
-MY_P="${P//_/-}"
-
-MY_RELEASEDATE="20200710"
-SEPOL_VER="${PV}"
-SELNX_VER="${PV}"
-SEMNG_VER="${PV}"
-
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
 DESCRIPTION="SELinux core utilities"
@@ -22,19 +15,18 @@ HOMEPAGE="https://github.com/SELinuxProject/selinux/wiki";
 if [[ ${PV} == 9999 ]] ; then
        inherit git-r3
        EGIT_REPO_URI="https://github.com/SELinuxProject/selinux.git";
-       S="${WORKDIR}/${MY_P}/${PN#selinux-}"
+       S="${WORKDIR}/${P}/${PN#selinux-}"
 else
-       
SRC_URI="https://github.com/SELinuxProject/selinux/releases/download/${MY_RELEASEDATE}/${MY_P}.tar.gz";
+       
SRC_URI="https://github.com/SELinuxProject/selinux/releases/download/${PV}/${P}.tar.gz";
        KEYWORDS="~amd64 ~arm64 ~mips ~x86"
-       S="${WORKDIR}/${MY_P}"
 fi
 
 LICENSE="GPL-2"
 SLOT="0"
 
-DEPEND=">=sys-libs/libselinux-${SELNX_VER}:=[python]
-       >=sys-libs/libsemanage-${SEMNG_VER}:=[python(+)]
-       >=sys-libs/libsepol-${SEPOL_VER}:=
+DEPEND=">=sys-libs/libselinux-${PV}:=[python]
+       >=sys-libs/libsemanage-${PV}:=[python(+)]
+       >=sys-libs/libsepol-${PV}:=
        >=app-admin/setools-4.2.0[${PYTHON_USEDEP}]
        >=sys-process/audit-1.5.1[python,${PYTHON_USEDEP}]
        ${PYTHON_DEPS}"

Reply via email to