summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Zaman <perfinion@gentoo.org>2018-04-25 20:20:07 +0800
committerJason Zaman <perfinion@gentoo.org>2018-04-26 19:21:55 +0800
commit64d495cd5af46cdd6e0c45841dc33c0683bc8e3c (patch)
tree5e0ca61f818ff690f8e58da75fe048c955af8a84 /sys-apps/selinux-python
parentsys-apps/policycoreutils: update live ebuild (diff)
downloadgentoo-64d495cd5af46cdd6e0c45841dc33c0683bc8e3c.tar.gz
gentoo-64d495cd5af46cdd6e0c45841dc33c0683bc8e3c.tar.bz2
gentoo-64d495cd5af46cdd6e0c45841dc33c0683bc8e3c.zip
sys-apps/selinux-python: update live ebuild
Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'sys-apps/selinux-python')
-rw-r--r--sys-apps/selinux-python/selinux-python-9999.ebuild12
1 files changed, 5 insertions, 7 deletions
diff --git a/sys-apps/selinux-python/selinux-python-9999.ebuild b/sys-apps/selinux-python/selinux-python-9999.ebuild
index c1e6a49cf4c2..abb33eda4e3f 100644
--- a/sys-apps/selinux-python/selinux-python-9999.ebuild
+++ b/sys-apps/selinux-python/selinux-python-9999.ebuild
@@ -9,12 +9,12 @@ inherit python-r1 toolchain-funcs
MY_P="${P//_/-}"
-MY_RELEASEDATE="20170804"
+MY_RELEASEDATE="20180419"
SEPOL_VER="${PV}"
SELNX_VER="${PV}"
SEMNG_VER="${PV}"
-IUSE="audit pam dbus"
+IUSE=""
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
DESCRIPTION="SELinux core utilities"
@@ -26,7 +26,7 @@ if [[ ${PV} == 9999 ]] ; then
S="${WORKDIR}/${MY_P}/${PN#selinux-}"
else
SRC_URI="https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/${MY_RELEASEDATE}/${MY_P}.tar.gz"
- KEYWORDS="~amd64 ~arm ~arm64 ~mips ~x86"
+ KEYWORDS="~amd64 ~arm64 ~mips ~x86"
S="${WORKDIR}/${MY_P}"
fi
@@ -54,7 +54,6 @@ src_compile() {
building() {
emake -C "${BUILD_DIR}" \
CC="$(tc-getCC)" \
- PYLIBVER="${EPYTHON}" \
LIBDIR="\$(PREFIX)/$(get_libdir)"
}
python_foreach_impl building
@@ -65,7 +64,6 @@ src_install() {
emake -C "${BUILD_DIR}" \
DESTDIR="${D}" \
LIBDIR="\$(PREFIX)/$(get_libdir)" \
- LIBSEPOLA="/usr/$(get_libdir)/libsepol.a" \
install
python_optimize
}
@@ -73,10 +71,10 @@ src_install() {
# Set version-specific scripts
for pyscript in audit2allow sepolgen-ifgen sepolicy chcat; do
- python_replicate_script "${ED}/usr/bin/${pyscript}"
+ python_replicate_script "${ED}/usr/bin/${pyscript}"
done
for pyscript in semanage; do
- python_replicate_script "${ED}/usr/sbin/${pyscript}"
+ python_replicate_script "${ED}/usr/sbin/${pyscript}"
done
# Create sepolgen.conf with different devel location definition