Please port to py3.
ping.
In stardict python is a very optional dependency: it is needed only for a small subset of USE=tools when USE=python is also enabled. No need to hurry.
Created attachment 660024 [details] emerge --info
The =app-text/stardict-3.0.6-r3 was built with python2_7 previously. And, the python2_7 was in PYTHON_SINGLE_TARGET. Now i'm trying to migrate to python3. I set PYTHON_TARGETS="python3_7 python3_8" PYTHON_SINGLE_TARGET="python3_7" to the make.conf and >=app-text/stardict-3.0.6-r3 -gucharmap -htmlparse -powerwordparse -wikiparse -wordnet PYTHON_SINGLE_TARGET: -* to the package.use (switch off all the default use flags). During the build I get the following error. * Package: app-text/stardict-3.0.6-r3 * Repository: gentoo * Maintainer: bircoph@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU xdxfparse * FEATURES: ccache network-sandbox preserve-libs sandbox userpriv usersandbox * No Python implementation selected for the build. Please set * the PYTHON_SINGLE_TARGET variable in your make.conf to one * of the following values: * * python2_7 * ERROR: app-text/stardict-3.0.6-r3::gentoo failed (setup phase): * No supported Python implementation in PYTHON_SINGLE_TARGET. * * Call stack: * ebuild.sh, line 125: Called pkg_setup * ebuild.sh, line 355: Called python-single-r1_pkg_setup * python-single-r1.eclass, line 525: Called python_setup * python-single-r1.eclass, line 515: Called die * The specific snippet of code: * die "No supported Python implementation in PYTHON_SINGLE_TARGET." * * If you need support, post the output of `emerge --info '=app-text/stardict-3.0.6-r3::gentoo'`, * the complete build log and the output of `emerge -pqv '=app-text/stardict-3.0.6-r3::gentoo'`. * The complete build log is located at '/var/tmp/portage/app-text/stardict-3.0.6-r3/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-text/stardict-3.0.6-r3/temp/die.env'. * Working directory: '/var/tmp/portage/app-text/stardict-3.0.6-r3/homedir' * S: '/var/tmp/portage/app-text/stardict-3.0.6-r3/work/stardict-3.0.6' So it's required that python2_7 must be set in PYTHON_SINGLE_TARGET :( emerge info is in attached file.
(In reply to George Tarasov from comment #4) > The =app-text/stardict-3.0.6-r3 was built with python2_7 previously. And, > the python2_7 was in PYTHON_SINGLE_TARGET. Now i'm trying to migrate to > python3. I set > > PYTHON_TARGETS="python3_7 python3_8" > PYTHON_SINGLE_TARGET="python3_7" > > to the make.conf and > > >=app-text/stardict-3.0.6-r3 -gucharmap -htmlparse -powerwordparse -wikiparse -wordnet PYTHON_SINGLE_TARGET: -* > > to the package.use (switch off all the default use flags). > > During the build I get the following error. > > * Package: app-text/stardict-3.0.6-r3 > * Repository: gentoo > * Maintainer: bircoph@gentoo.org > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU > xdxfparse > * FEATURES: ccache network-sandbox preserve-libs sandbox userpriv > usersandbox > * No Python implementation selected for the build. Please set > * the PYTHON_SINGLE_TARGET variable in your make.conf to one > * of the following values: > * > * python2_7 > > * ERROR: app-text/stardict-3.0.6-r3::gentoo failed (setup phase): > * No supported Python implementation in PYTHON_SINGLE_TARGET. > * > * Call stack: > * ebuild.sh, line 125: Called pkg_setup > * ebuild.sh, line 355: Called python-single-r1_pkg_setup > * python-single-r1.eclass, line 525: Called python_setup > * python-single-r1.eclass, line 515: Called die > * The specific snippet of code: > * die "No supported Python implementation in PYTHON_SINGLE_TARGET." > * > * If you need support, post the output of `emerge --info > '=app-text/stardict-3.0.6-r3::gentoo'`, > * the complete build log and the output of `emerge -pqv > '=app-text/stardict-3.0.6-r3::gentoo'`. > * The complete build log is located at > '/var/tmp/portage/app-text/stardict-3.0.6-r3/temp/build.log'. > * The ebuild environment file is located at > '/var/tmp/portage/app-text/stardict-3.0.6-r3/temp/die.env'. > * Working directory: '/var/tmp/portage/app-text/stardict-3.0.6-r3/homedir' > * S: '/var/tmp/portage/app-text/stardict-3.0.6-r3/work/stardict-3.0.6' > > So it's required that python2_7 must be set in PYTHON_SINGLE_TARGET :( > emerge info is in attached file. Just build it with USE="-python": you will have just a few less tools.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68496933adcb964398fd00f85adc8d703266a771 commit 68496933adcb964398fd00f85adc8d703266a771 Author: Michał Górny <mgorny@gentoo.org> AuthorDate: 2020-09-19 07:53:03 +0000 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: 2020-09-19 08:04:41 +0000 app-text/stardict: Eradicate python2 Closes: https://bugs.gentoo.org/735248 Signed-off-by: Michał Górny <mgorny@gentoo.org> ...ict-3.0.6-r3.ebuild => stardict-3.0.6-r4.ebuild} | 21 ++------------------- ....ebuild => stardict-4.0.0_pre20170304-r1.ebuild} | 21 ++------------------- 2 files changed, 4 insertions(+), 38 deletions(-)