Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 806184 - =dev-python/babelfish-9999 fails to emerge because of a missing setup.py upstream
Summary: =dev-python/babelfish-9999 fails to emerge because of a missing setup.py upst...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Sam James
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2021-08-02 13:01 UTC by PhobosK
Modified: 2021-08-11 01:01 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
babelfish-9999.ebuild.patch (babelfish-9999.ebuild.patch,442 bytes, patch)
2021-08-02 13:03 UTC, PhobosK
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description PhobosK 2021-08-02 13:01:58 UTC
Upstream doesn't use setup.py anymore, so the ebuild fails:


 * Messages for package dev-python/babelfish-9999:

 * No setup.py found but pyproject.toml is present.  In order to enable
 * pyproject.toml support in distutils-r1, set:
 *   DISTUTILS_USE_SETUPTOOLS=pyproject.toml
 * ERROR: dev-python/babelfish-9999::gentoo failed (prepare phase):
 *   No setup.py found and DISTUTILS_USE_SETUPTOOLS!=pyproject.toml
 * 
 * Call stack:
 *     ebuild.sh, line  127:  Called src_prepare
 *   environment, line 3453:  Called distutils-r1_src_prepare
 *   environment, line 1424:  Called distutils-r1_python_prepare_all
 *   environment, line 1313:  Called _distutils-r1_handle_pyproject_toml
 *   environment, line  482:  Called die
 * The specific snippet of code:
 *               die "No setup.py found and DISTUTILS_USE_SETUPTOOLS!=pyproject.toml";




I am uploading a patch of the ebuild for the new package handling.
Tested with the current source and works OK incl. the test phase.

Reproducible: Always
Comment 1 PhobosK 2021-08-02 13:03:13 UTC
Created attachment 729699 [details, diff]
babelfish-9999.ebuild.patch

This is the patch for the current babelfish 9999 ebuild
Comment 2 Larry the Git Cow gentoo-dev 2021-08-11 01:01:22 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d6f7f253f085acc1d9832041abfa83c8d046294

commit 8d6f7f253f085acc1d9832041abfa83c8d046294
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-08-11 00:39:50 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-08-11 00:39:58 +0000

    dev-python/babelfish: sync live ebuild to fix build
    
    Closes: https://bugs.gentoo.org/806184
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-python/babelfish/babelfish-9999.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)