bumpversion-0.5.3.ebuild 812 B

123456789101112131415161718192021222324252627282930313233343536
  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{2_7,3_4,3_5} pypy )
  5. inherit distutils-r1
  6. DESCRIPTION="Version-bump your software with a single command"
  7. HOMEPAGE="https://pypi.python.org/pypi/bumpversion https://github.com/peritus/bumpversion"
  8. SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
  9. SLOT="0"
  10. LICENSE="MIT"
  11. KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
  12. IUSE="test"
  13. RDEPEND=""
  14. DEPEND="${RDEPEND}
  15. dev-python/setuptools[${PYTHON_USEDEP}]
  16. test? (
  17. dev-python/configparser[$(python_gen_usedep "python2*" pypy)]
  18. dev-python/mock[${PYTHON_USEDEP}]
  19. dev-python/pytest[${PYTHON_USEDEP}]
  20. )
  21. "
  22. # Not included
  23. # https://github.com/peritus/bumpversion/issues/108
  24. RESTRICT=test
  25. python_test() {
  26. py.test || die
  27. }