vimball-9999.ebuild 658 B

123456789101112131415161718192021222324252627282930
  1. # Copyright 1999-2017 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=5
  4. PYTHON_COMPAT=( python{3_4,3_5,3_6} )
  5. inherit distutils-r1
  6. if [[ ${PV} == *9999 ]] ; then
  7. EGIT_REPO_URI="https://github.com/radhermit/vimball.git"
  8. inherit git-r3
  9. else
  10. KEYWORDS="~amd64 ~x86"
  11. SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
  12. fi
  13. DESCRIPTION="a command-line vimball archive extractor"
  14. HOMEPAGE="https://github.com/radhermit/vimball"
  15. LICENSE="MIT"
  16. SLOT="0"
  17. IUSE="test"
  18. RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
  19. DEPEND="${RDEPEND}
  20. test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
  21. python_test() {
  22. esetup.py test
  23. }