commit:     2f458387411e29c4d0af3228a34c62873c672bba
Author:     Jonathan Davies <jpds <AT> protonmail <DOT> com>
AuthorDate: Thu Mar 18 00:58:17 2021 +0000
Commit:     Jason Zaman <perfinion <AT> gentoo <DOT> org>
CommitDate: Sat Apr  3 04:15:23 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f458387

sys-apps/checkpolicy: Sync live ebuild.

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

 sys-apps/checkpolicy/checkpolicy-9999.ebuild | 15 ++++-----------
 1 file changed, 4 insertions(+), 11 deletions(-)

diff --git a/sys-apps/checkpolicy/checkpolicy-9999.ebuild 
b/sys-apps/checkpolicy/checkpolicy-9999.ebuild
index 90907ec9a0d..f2cee807536 100644
--- a/sys-apps/checkpolicy/checkpolicy-9999.ebuild
+++ b/sys-apps/checkpolicy/checkpolicy-9999.ebuild
@@ -5,34 +5,27 @@ EAPI="7"
 
 inherit toolchain-funcs
 
-MY_P="${P//_/-}"
-MY_RELEASEDATE="20200710"
-
-SEPOL_VER="${PV}"
-SEMNG_VER="${PV}"
-
 DESCRIPTION="SELinux policy compiler"
 HOMEPAGE="http://userspace.selinuxproject.org";
 
 if [[ ${PV} == 9999 ]] ; then
        inherit git-r3
        EGIT_REPO_URI="https://github.com/SELinuxProject/selinux.git";
-       S="${WORKDIR}/${MY_P}/${PN}"
+       S="${WORKDIR}/${P}/${PN}"
 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 ~arm ~arm64 ~mips ~x86"
-       S="${WORKDIR}/${MY_P}"
 fi
 
 LICENSE="GPL-2"
 SLOT="0"
 IUSE="debug"
 
-DEPEND=">=sys-libs/libsepol-${SEPOL_VER}"
+DEPEND=">=sys-libs/libsepol-${PV}"
 BDEPEND="sys-devel/flex
        sys-devel/bison"
 
-RDEPEND=">=sys-libs/libsepol-${SEPOL_VER}"
+RDEPEND=">=sys-libs/libsepol-${PV}"
 
 src_compile() {
        emake \

Reply via email to