textual-0.37.1.ebuild 867 B

12345678910111213141516171819202122232425262728293031323334
  1. # Copyright 2023 Gentoo Authors
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=8
  4. DISTUTILS_USE_PEP517=poetry
  5. PYTHON_COMPAT=( python3_{9..12} )
  6. inherit distutils-r1
  7. DESCRIPTION="Python framework to build sophisticated UI"
  8. HOMEPAGE="https://pypi.org/project/textual/ https://github.com/Textualize/textual"
  9. SRC_URI="https://github.com/Textualize/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
  10. LICENSE="MIT"
  11. SLOT="0"
  12. KEYWORDS="~amd64"
  13. DEPEND="
  14. >=dev-python/rich-13.3.3
  15. >=dev-python/markdown-it-py-2.1.0
  16. >=dev-python/typing-extensions-4.4.0
  17. >=dev-python/importlib-metadata-4.11.3
  18. "
  19. RDEPEND="${DEPEND}"
  20. BDEPEND=""
  21. distutils_enable_tests pytest
  22. DOCS=( README.md CHANGELOG.md LICENSE CODE_OF_CONDUCT.md CONTRIBUTING.md docs.md docs/ imgs/ questions/ notes/ examples/ )
  23. src_install() {
  24. distutils-r1_src_install
  25. dodoc -r ${DOCS}
  26. }