Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 639272 - dev-python/xlrd should depend on dev-python/setuptools
Summary: dev-python/xlrd should depend on dev-python/setuptools
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-11-30 09:47 UTC by hsk17
Modified: 2019-05-08 14:02 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description hsk17 2017-11-30 09:47:19 UTC
dev-python/xlrd seems to require setuptools to build, my "emerge -u world" after the default python target switch to 3.5 failed with an error in that sense.

please add
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
to the xlrd ebuilds.
Comment 1 hsk17 2018-07-25 06:58:48 UTC
problem persists.  "emerge -u world" aborted after default python target switch to 3.6.

*PLEASE*, add 
  DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
to xlrd ebuilds

error output follows:

creating /u2/tmp/portage/dev-python/xlrd-1.0.0/work/xlrd-1.0.0-python2_7/scripts
copying and adjusting scripts/runxlrd.py -> /u2/tmp/portage/dev-python/xlrd-1.0.0/work/xlrd-1.0.0-python2_7/scripts
changing mode of /u2/tmp/portage/dev-python/xlrd-1.0.0/work/xlrd-1.0.0-python2_7/scripts/runxlrd.py from 644 to 755
 * python3_6: running distutils-r1_run_phase distutils-r1_python_compile
python3.6 setup.py build
Traceback (most recent call last):
  File "setup.py", line 4, in <module>
    from setuptools import setup
ModuleNotFoundError: No module named 'setuptools'
 * ERROR: dev-python/xlrd-1.0.0::gentoo failed (compile phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line  124:  Called src_compile
 *   environment, line 2598:  Called distutils-r1_src_compile
 *   environment, line  801:  Called _distutils-r1_run_foreach_impl 'distutils-r1_python_compile'
 *   environment, line  321:  Called python_foreach_impl 'distutils-r1_run_phase' 'distutils-r1_python_compile'
 *   environment, line 2142:  Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile'
 *   environment, line 1515:  Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile'
 *   environment, line 1513:  Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'distutils-r1_python_compile'
 *   environment, line  524:  Called distutils-r1_run_phase 'distutils-r1_python_compile'
 *   environment, line  792:  Called distutils-r1_python_compile
 *   environment, line  667:  Called esetup.py 'build'
 *   environment, line 1060:  Called die
 * The specific snippet of code:
 *       "${@}" || die "${die_args[@]}";
 *
Comment 2 Larry the Git Cow gentoo-dev 2019-05-08 14:02:17 UTC
The bug has been closed via the following commit(s):

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

commit f636a06361dc416be5ec0a921fc12be2a0652c8f
Author:     Virgil Dupras <vdupras@gentoo.org>
AuthorDate: 2019-05-08 14:01:51 +0000
Commit:     Virgil Dupras <vdupras@gentoo.org>
CommitDate: 2019-05-08 14:01:51 +0000

    dev-python/xlrd: bump to 1.2.0
    
    Closes: https://bugs.gentoo.org/639272
    Signed-off-by: Virgil Dupras <vdupras@gentoo.org>
    Package-Manager: Portage-2.3.62, Repoman-2.3.11

 dev-python/xlrd/Manifest                                 | 2 +-
 dev-python/xlrd/{xlrd-1.0.0.ebuild => xlrd-1.2.0.ebuild} | 2 ++
 2 files changed, 3 insertions(+), 1 deletion(-)