ods2md-9999-r2.ebuild 605 B

1234567891011121314151617181920212223242526272829
  1. # Copyright 2021 Gentoo Authors
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=8
  4. inherit git-r3
  5. PYTHON_COMPAT=( python3_{10..12} )
  6. DISTUTILS_USE_PEP517=no
  7. inherit distutils-r1
  8. DESCRIPTION="Convert LibreOffice Spreadsheets (*.ods) into Markdown tables"
  9. HOMEPAGE="https://github.com/kennytm/ods2md"
  10. EGIT_REPO_URI="https://github.com/kennytm/${PN}"
  11. LICENSE="MIT"
  12. SLOT="0"
  13. KEYWORDS="~amd64"
  14. #dev-python/lxml ?
  15. DEPEND=">=dev-python/pyexcel-ezodf-0.3.2"
  16. RDEPEND="${DEPEND}"
  17. BDEPEND=""
  18. DOCS=( README.md )
  19. src_install() {
  20. exeinto "/usr/bin"
  21. newexe ${PN}.py ${PN}
  22. dodoc ${DOCS}
  23. }