You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

37 lines
740 B

  1. # Copyright 2020 Gentoo Authors
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=7
  4. PYTHON_COMPAT=( python3_{6,7,8} )
  5. inherit python-r1
  6. MY_PN=${PN/nagios-/}
  7. DESCRIPTION="Nagios/Icinga plugin for checking DANE/TLSA records"
  8. HOMEPAGE="https://github.com/debfx/check_dane"
  9. MY_GITHUB_AUTHOR="debfx"
  10. SRC_URI="https://github.com/${MY_GITHUB_AUTHOR}/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
  11. LICENSE="GPL-3"
  12. SLOT="0"
  13. KEYWORDS="~amd64 ~x86"
  14. IUSE=""
  15. DEPEND=""
  16. RDEPEND="${DEPEND}
  17. >=dev-lang/python-3.4
  18. dev-libs/openssl
  19. dev-python/dnspython
  20. "
  21. BDEPEND=""
  22. S="${WORKDIR}/${MY_PN}-${PV}"
  23. src_install() {
  24. python_scriptinto /usr/lib64/nagios/plugins/
  25. python_foreach_impl python_doscript check_dane
  26. dodoc README.md
  27. }