All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-selinux][PATCH 01/16] setools: upgrade 4.2.2 -> 4.3.0
@ 2020-04-14  7:41 Yi Zhao
  2020-04-14  7:41 ` [meta-selinux][PATCH 02/16] selinux: upgrade inc files to 3.0 (20191204) Yi Zhao
                   ` (14 more replies)
  0 siblings, 15 replies; 16+ messages in thread
From: Yi Zhao @ 2020-04-14  7:41 UTC (permalink / raw)
  To: joe, yocto

Remove __pycache__ directories when do_install.

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
---
 .../setools/{setools_4.2.2.bb => setools_4.3.0.bb}        | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)
 rename recipes-security/setools/{setools_4.2.2.bb => setools_4.3.0.bb} (78%)

diff --git a/recipes-security/setools/setools_4.2.2.bb b/recipes-security/setools/setools_4.3.0.bb
similarity index 78%
rename from recipes-security/setools/setools_4.2.2.bb
rename to recipes-security/setools/setools_4.3.0.bb
index 6e5a950..ec73f7c 100644
--- a/recipes-security/setools/setools_4.2.2.bb
+++ b/recipes-security/setools/setools_4.3.0.bb
@@ -9,17 +9,17 @@ SECTION = "base"
 LICENSE = "GPLv2 & LGPLv2.1"
 
 S = "${WORKDIR}/git"
-SRC_URI = "git://github.com/SELinuxProject/${BPN}.git;branch=4.2 \
+SRC_URI = "git://github.com/SELinuxProject/${BPN}.git;branch=4.3 \
            file://setools4-fixes-for-cross-compiling.patch \
 "
 
-SRCREV = "15bffa7823b9a999f9d51533785ade18fe44df08"
+SRCREV = "a57ad3cdb669a39f785c4e85d63416a469c8d445"
 
 LIC_FILES_CHKSUM = "file://${S}/COPYING;md5=83a5eb6974c11f30785e90d0eeccf40c \
                     file://${S}/COPYING.GPL;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
                     file://${S}/COPYING.LGPL;md5=4fbd65380cdd255951079008b364516c"
 
-DEPENDS += "bison-native flex-native swig-native python3 python3-cython-native libsepol"
+DEPENDS += "bison-native flex-native swig-native python3 python3-cython-native libsepol libselinux"
 
 RDEPENDS_${PN} += "python3-networkx python3-decorator python3-setuptools \
                    python3-logging python3-json libselinux-python"
@@ -32,4 +32,6 @@ do_install_append() {
 	# Need PyQt5 support, disable gui tools
 	rm -f ${D}${bindir}/apol
 	rm -rf ${D}${libdir}/${PYTHON_DIR}/site-packages/setoolsgui
+	rm -rf ${D}${libdir}/${PYTHON_DIR}/site-packages/setools/__pycache__
+	rm -rf ${D}${libdir}/${PYTHON_DIR}/site-packages/setools/*/__pycache__
 }
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2020-04-14  7:45 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-14  7:41 [meta-selinux][PATCH 01/16] setools: upgrade 4.2.2 -> 4.3.0 Yi Zhao
2020-04-14  7:41 ` [meta-selinux][PATCH 02/16] selinux: upgrade inc files to 3.0 (20191204) Yi Zhao
2020-04-14  7:41 ` [meta-selinux][PATCH 03/16] libsepol: upgrade " Yi Zhao
2020-04-14  7:41 ` [meta-selinux][PATCH 04/16] libselinux: " Yi Zhao
2020-04-14  7:41 ` [meta-selinux][PATCH 05/16] libselinux-python: " Yi Zhao
2020-04-14  7:41 ` [meta-selinux][PATCH 06/16] libsemanage: " Yi Zhao
2020-04-14  7:41 ` [meta-selinux][PATCH 07/16] checkpolicy: " Yi Zhao
2020-04-14  7:41 ` [meta-selinux][PATCH 08/16] secilc: " Yi Zhao
2020-04-14  7:41 ` [meta-selinux][PATCH 09/16] policycoreutils: " Yi Zhao
2020-04-14  7:41 ` [meta-selinux][PATCH 10/16] mcstrans: " Yi Zhao
2020-04-14  7:41 ` [meta-selinux][PATCH 11/16] restorecond: " Yi Zhao
2020-04-14  7:41 ` [meta-selinux][PATCH 12/16] selinux-python: " Yi Zhao
2020-04-14  7:41 ` [meta-selinux][PATCH 13/16] selinux-dbus: " Yi Zhao
2020-04-14  7:41 ` [meta-selinux][PATCH 14/16] selinux-sandbox: " Yi Zhao
2020-04-14  7:41 ` [meta-selinux][PATCH 15/16] selinux-gui: " Yi Zhao
2020-04-14  7:41 ` [meta-selinux][PATCH 16/16] semodule-utils: " Yi Zhao

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.