diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-10-21 08:02:07 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-10-21 08:02:07 +0100 |
commit | f1269e587f3d88b85f72a6fbaf727da5d6c9af90 (patch) | |
tree | ec99a8c7cdea447c38d3015894c269b8bc1e95af /sys-apps/pkgcore/pkgcore-9999.ebuild | |
parent | 3518f21ee7106f4268edf4404299dda157795e3c (diff) |
gentoo auto-resync : 21:10:2022 - 08:02:07
Diffstat (limited to 'sys-apps/pkgcore/pkgcore-9999.ebuild')
-rw-r--r-- | sys-apps/pkgcore/pkgcore-9999.ebuild | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sys-apps/pkgcore/pkgcore-9999.ebuild b/sys-apps/pkgcore/pkgcore-9999.ebuild index a54deed756c0..6b4c768d3a2f 100644 --- a/sys-apps/pkgcore/pkgcore-9999.ebuild +++ b/sys-apps/pkgcore/pkgcore-9999.ebuild @@ -40,6 +40,13 @@ BDEPEND=" distutils_enable_tests setup.py +src_prepare() { + # force Gentoo's prefix + sed -e "/INSTALL_PREFIX =/s@= .*\$@= '${EPREFIX}/usr'@" -i setup.py || die + + distutils-r1_src_prepare +} + src_test() { # With PYTHONDONTWRITEBYTECODE=, python will try rebuild all sorts of modules. # https://bugs.gentoo.org/840266 |