diff options
Diffstat (limited to 'sys-apps/systemd-tmpfiles/systemd-tmpfiles-246.ebuild')
-rw-r--r-- | sys-apps/systemd-tmpfiles/systemd-tmpfiles-246.ebuild | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/sys-apps/systemd-tmpfiles/systemd-tmpfiles-246.ebuild b/sys-apps/systemd-tmpfiles/systemd-tmpfiles-246.ebuild index e4e1196d3663..d243c5691c3b 100644 --- a/sys-apps/systemd-tmpfiles/systemd-tmpfiles-246.ebuild +++ b/sys-apps/systemd-tmpfiles/systemd-tmpfiles-246.ebuild @@ -31,6 +31,7 @@ RDEPEND="${DEPEND} " BDEPEND=" + ${PYTHON_DEPS} app-text/docbook-xml-dtd:4.2 app-text/docbook-xml-dtd:4.5 app-text/docbook-xsl-stylesheets @@ -40,20 +41,24 @@ BDEPEND=" >=sys-apps/coreutils-8.16 sys-devel/m4 virtual/pkgconfig - test? ( ${PYTHON_DEPS} ) " S="${WORKDIR}/systemd-${PV}" pkg_setup() { - use test && python-any-r1_pkg_setup + python-any-r1_pkg_setup } src_prepare() { # musl patchset from: # http://cgit.openembedded.org/openembedded-core/tree/meta/recipes-core/systemd/systemd use elibc_musl && eapply "${WORKDIR}/${P}-musl" + use elibc_musl && eapply "${FILESDIR}/musl-1.2.2.patch" # https://bugs.gentoo.org/766833 default + + # https://bugs.gentoo.org/767403 + python_fix_shebang src/test/*.py + python_fix_shebang tools/*.py } src_configure() { @@ -187,7 +192,6 @@ src_install() { src_test() { # 'meson test' will compile full systemd, but we can still outsmart it - python_fix_shebang src/test/test-systemd-tmpfiles.py "${EPYTHON}" src/test/test-systemd-tmpfiles.py \ "${BUILD_DIR}"/systemd-tmpfiles.standalone || die "${FUNCNAME} failed" } |