busted-2.0_rc11_p0.ebuild 1021 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. # Copyright 1999-2015 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=5
  4. inherit toolchain-funcs
  5. # The below is the upstream version number. The -x suffix should be kept
  6. # in sync with the _px suffix in the ebuild version.
  7. MY_PV="2.0.rc11-0"
  8. DESCRIPTION="Elegant Lua unit testing"
  9. HOMEPAGE="http://olivinelabs.com/busted/"
  10. SRC_URI="https://github.com/Olivine-Labs/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
  11. LICENSE="MIT"
  12. SLOT="0"
  13. KEYWORDS="~amd64"
  14. IUSE=""
  15. COMMON_DEPEND=">=dev-lang/lua-5.1:="
  16. DEPEND="${COMMON_DEPEND}
  17. virtual/pkgconfig"
  18. RDEPEND="${COMMON_DEPEND}
  19. ~dev-lua/lua_cliargs-2.5_p5
  20. >=dev-lua/luafilesystem-1.5.0
  21. >=dev-lua/dkjson-2.1.0
  22. >=dev-lua/say-1.3
  23. >=dev-lua/luassert-1.7.8
  24. >=dev-lua/lua-term-0.1_p1
  25. >=dev-lua/penlight-1.3.2
  26. >=dev-lua/mediator_lua-1.1.1_p0
  27. >=dev-lua/luasocket-2.0.1
  28. "
  29. S="${WORKDIR}/${PN}-${MY_PV}"
  30. src_install() {
  31. dobin bin/busted
  32. insinto "$($(tc-getPKG_CONFIG) --variable INSTALL_LMOD lua)"/${PN}
  33. doins -r busted/*
  34. dodoc *.md
  35. }