commit:     2ebe51ff423e0e21cd6895c059700045e347900b
Author:     Alfred Wingate <parona <AT> protonmail <DOT> com>
AuthorDate: Mon Aug 11 23:56:45 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Aug 12 02:22:05 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ebe51ff

dev-python/gpgmepy: fix installation

Otherwise it will install from the unprepared directory which will be
missing the gpg dir (which is symlinked in make prepare).

Signed-off-by: Alfred Wingate <parona <AT> protonmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/43417
Closes: https://github.com/gentoo/gentoo/pull/43417
Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../gpgmepy/{gpgmepy-2.0.0.ebuild => gpgmepy-2.0.0-r1.ebuild}       | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/dev-python/gpgmepy/gpgmepy-2.0.0.ebuild 
b/dev-python/gpgmepy/gpgmepy-2.0.0-r1.ebuild
similarity index 93%
rename from dev-python/gpgmepy/gpgmepy-2.0.0.ebuild
rename to dev-python/gpgmepy/gpgmepy-2.0.0-r1.ebuild
index 2f0622ec09a8..808ff519cb67 100644
--- a/dev-python/gpgmepy/gpgmepy-2.0.0.ebuild
+++ b/dev-python/gpgmepy/gpgmepy-2.0.0-r1.ebuild
@@ -63,6 +63,12 @@ python_configure() {
        emake -Onone prepare
 }
 
+python_compile() {
+       # otherwise distutils will try to build out of S
+       cd "${BUILD_DIR}" || die
+       distutils-r1_python_compile
+}
+
 python_test() {
        emake -C "${BUILD_DIR}"/tests -Onone check \
                PYTHON=${EPYTHON} \

Reply via email to