logo

overlay

My own overlay for experimentations, use with caution, no support is provided git clone https://hacktivis.me/git/overlay.git

mkdocs-1.1.ebuild (1063B)


  1. # Copyright 1999-2020 Gentoo Authors
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=6
  4. PYTHON_COMPAT=( python3_6 python3_7 )
  5. inherit distutils-r1
  6. DESCRIPTION="Project documentation with Markdown."
  7. HOMEPAGE="https://www.mkdocs.org"
  8. SRC_URI="https://github.com/mkdocs/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
  9. LICENSE="BSD"
  10. SLOT="0"
  11. KEYWORDS="~amd64"
  12. IUSE="test"
  13. RESTRICT="!test? ( test )"
  14. CDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
  15. DEPEND="
  16. ${CDEPEND}
  17. test? (
  18. dev-python/mock[${PYTHON_USEDEP}]
  19. dev-python/nose[${PYTHON_USEDEP}]
  20. )
  21. "
  22. RDEPEND="
  23. ${CDEPEND}
  24. >=dev-python/click-3.3[${PYTHON_USEDEP}]
  25. >=dev-python/jinja-2.7.1[${PYTHON_USEDEP}]
  26. >=dev-python/livereload-2.5.1[${PYTHON_USEDEP}]
  27. >=dev-python/markdown-2.3.1[${PYTHON_USEDEP}]
  28. >=dev-python/mkdocs-bootstrap-0.1.1[${PYTHON_USEDEP}]
  29. >=dev-python/mkdocs-bootswatch-0.1.0[${PYTHON_USEDEP}]
  30. >=dev-python/pyyaml-3.10[${PYTHON_USEDEP}]
  31. >=www-servers/tornado-5.0[${PYTHON_USEDEP}]
  32. "
  33. python_test() {
  34. nosetests mkdocs/tests || die "tests failed under ${EPYTHON}"
  35. }