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

sys-apps/secilc: Sync live ebuild.

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

 sys-apps/secilc/secilc-9999.ebuild | 12 +++---------
 1 file changed, 3 insertions(+), 9 deletions(-)

diff --git a/sys-apps/secilc/secilc-9999.ebuild 
b/sys-apps/secilc/secilc-9999.ebuild
index 0642e837b99..c7694587c83 100644
--- a/sys-apps/secilc/secilc-9999.ebuild
+++ b/sys-apps/secilc/secilc-9999.ebuild
@@ -4,28 +4,22 @@
 EAPI="7"
 inherit toolchain-funcs
 
-MY_P="${P//_/-}"
-MY_RELEASEDATE="20200710"
-
-SEPOL_VER="${PV}"
-
 DESCRIPTION="SELinux Common Intermediate Language (CIL) Compiler"
 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}"
+       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 ~x86"
-       S="${WORKDIR}/${MY_P}"
 fi
 
 LICENSE="GPL-2"
 SLOT="0"
 
-DEPEND=">=sys-libs/libsepol-${SEPOL_VER}"
+DEPEND=">=sys-libs/libsepol-${PV}"
 RDEPEND="${DEPEND}"
 BDEPEND="app-text/xmlto"
 

Reply via email to