cairosvg-1.0.ebuild 692 B

123456789101112131415161718192021222324252627282930
  1. # Copyright 1999-2015 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=5
  4. PYTHON_COMPAT=( python2_7 )
  5. inherit distutils-r1
  6. MY_PN="CairoSVG"
  7. MY_P="${MY_PN}-${PV}"
  8. DESCRIPTION="A simple cairo based SVG converter with support for PDF, PostScript and PNG formats"
  9. HOMEPAGE="http://cairosvg.org/"
  10. SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
  11. LICENSE="LGPL-3"
  12. SLOT="0"
  13. KEYWORDS="~amd64 ~x86"
  14. RDEPEND="dev-python/lxml[${PYTHON_USEDEP}]
  15. dev-python/pycairo[${PYTHON_USEDEP}]
  16. dev-python/tinycss[${PYTHON_USEDEP}]
  17. dev-python/cssselect[${PYTHON_USEDEP}]"
  18. DEPEND="${RDEPEND}"
  19. S="${WORKDIR}/${MY_P}"
  20. DOCS=( NEWS.rst README.rst TODO.rst )