Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 604716 - dev-python/docker-py-2.0.0[doc] - Config file '…/mkdocs.yml' does not exist.
Summary: dev-python/docker-py-2.0.0[doc] - Config file '…/mkdocs.yml' does not exist.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Alex Brandt (RETIRED)
URL: https://github.com/docker/docker-py/c...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-01-05 02:20 UTC by Martin von Gagern
Modified: 2017-01-21 12:29 UTC (History)
2 users (show)

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 Martin von Gagern 2017-01-05 02:20:36 UTC
* python3_4: running distutils-r1_run_phase python_compile_all

Config file '/var/tmp/portage/dev-python/docker-py-2.0.0/work/docker-py-2.0.0/mkdocs.yml' does not exist.
 * ERROR: dev-python/docker-py-2.0.0::gentoo failed (compile phase):
 *   docs failed to build

It seems upstream switched from mkdocs to sphinx in
https://github.com/docker/docker-py/commit/20439186f36c8928f971f792f1d3a0e1e26e
so the ebuild should reflect that, in dependencies and command invocation.
Comment 1 Bernd May 2017-01-06 00:17:05 UTC
I have the same problem. Adjusting the ebuild like so:

*** /root/docker-py-2.0.0.ebuild        2017-01-06 00:59:52.198778947 +0100                                                                                                                                                                                                                                       [1006/7353]
--- docker-py-2.0.0.ebuild      2016-12-15 13:06:27.000000000 +0100
*************** IUSE="doc test"
*** 18,27 ****
  
  DEPEND="
        dev-python/setuptools[${PYTHON_USEDEP}]
!       doc? ( 
!               >=dev-python/recommonmark-0.4.0[${PYTHON_USEDEP}]
!               dev-python/sphinx[${PYTHON_USEDEP}]
!       )
        test? (
                >=dev-python/mock-1.0.1[${PYTHON_USEDEP}]
                >=dev-python/pytest-2.9.1[${PYTHON_USEDEP}]
--- 18,24 ----
  
  DEPEND="
        dev-python/setuptools[${PYTHON_USEDEP}]
!       doc? ( >=dev-python/mkdocs-0.14.0[${PYTHON_USEDEP}] )
        test? (
                >=dev-python/mock-1.0.1[${PYTHON_USEDEP}]
                >=dev-python/pytest-2.9.1[${PYTHON_USEDEP}]
*************** RDEPEND="
*** 41,47 ****
  
  python_compile_all() {
        if use doc; then
!               sphinx-build docs ./_build
        fi
  }
  
--- 38,44 ----
  
  python_compile_all() {
        if use doc; then
!               mkdocs build -d 'mkdocs_site' || die "docs failed to build"
        fi
  }
  
seems to solve that
Comment 2 Manuel Rüger (RETIRED) gentoo-dev 2017-01-21 12:29:28 UTC
This seems to be resolved in docker-py-2.0.1 now