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.

28 lines
655 B

  1. # Copyright 1999-2021 Gentoo Authors
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=7
  4. PYTHON_COMPAT=( python3_{8..10} )
  5. inherit distutils-r1
  6. # upstream doesn't do tags much
  7. EGIT_COMMIT=220b1d16442eb4b6fafed338ee3b61f698a01e63
  8. DESCRIPTION="A configurable HTML Minifier with safety features"
  9. HOMEPAGE="https://github.com/mankyd/htmlmin"
  10. SRC_URI="
  11. https://github.com/mankyd/htmlmin/archive/${EGIT_COMMIT}.tar.gz
  12. -> ${P}.gh.tar.gz"
  13. S=${WORKDIR}/${PN}-${EGIT_COMMIT}
  14. LICENSE="BSD"
  15. SLOT="0"
  16. KEYWORDS="amd64 x86"
  17. distutils_enable_tests setup.py
  18. src_prepare() {
  19. sed '/prune/d' -i MANIFEST.in || die
  20. distutils-r1_src_prepare
  21. }