mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-23 16:49:10 -07:00
dev-python/weasyprint: Clean old up
This commit is contained in:
@@ -1,4 +1,2 @@
|
||||
DIST WeasyPrint-0.29.tar.gz 1418105 BLAKE2B b94f1f0099fcac68aa393758fda23562eae6350e2fb185397cf888735389974f863b6b7025ce349c29e349c91d884320c96b9c7afba2c83e52f6c78ab81e8885 SHA512 3875240b7bed6991372f6a45f82d32f0d2f3add29ab1937001c5559368405737d185aa85871358730989a91ee6b17e62cc21535735c884c47705d0d2d38bb167
|
||||
DIST WeasyPrint-0.39.tar.gz 386613 BLAKE2B 1253b388632ac88ec26b24596544a8086b56169057331e2ffd0c442b2f581570ea5b97a52cf9a6f593039ef3c42c3ee03b1ee21a4ed119ad5953e1816812fdd9 SHA512 668eed8c4f2502b3412166ea8e7b15b838b971b175ac3ec2370097b83557070684fa7bc9c62c3222056294093781649f263aba756091fb87d50ceea339e32e43
|
||||
DIST WeasyPrint-0.40.tar.gz 388586 BLAKE2B daa97f22b8d8fc7c55e506e42c960fd0e5e0c0fc8b3eeca292f2b829dee6479f17d5dbdda0387c9bac5a6ecc5fb1f7317c60d35ff3b662fb55eb4c1fc55c9475 SHA512 9c0d082ed2c35f76fe8ca5d25b5e99a0f96a309b2c4715ca3bd72a3a9a11121d4f5046c4ff55f007ebf0404edb0e4f510e571f42c569778948320be0301b8c4d
|
||||
DIST WeasyPrint-0.41.tar.gz 393866 BLAKE2B 895624ee547a9ed91157db6a7a72890a56f270d2ea00a508c42899e42922e51867782b1dff3ab55f98df0a130b727a7db13aaf3553a90c4405b75b6813c95ab9 SHA512 44b2d9e0a186c5767cd01d6e66495241d088908467e0fa28cee114a9c480bfcb4ef393236e9304653603f3917c73c452c05a38286932e0a271946860120d9a1f
|
||||
|
||||
@@ -1,50 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="6"
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{4,5} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Visual rendering engine for HTML and CSS that can export to PDF"
|
||||
MY_PN="WeasyPrint"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz"
|
||||
HOMEPAGE="http://weasyprint.org https://github.com/Kozea/WeasyPrint"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="jpeg jpeg2k test tiff"
|
||||
|
||||
# Note: specific subslot of pango since it inlines some of pango headers.
|
||||
RDEPEND="
|
||||
x11-libs/cairo
|
||||
x11-libs/gdk-pixbuf[jpeg?,jpeg2k?,tiff?]
|
||||
x11-libs/pango:0/0
|
||||
>=dev-python/cairocffi-0.5[${PYTHON_USEDEP}]
|
||||
>=dev-python/cffi-0.6:=[${PYTHON_USEDEP}]
|
||||
>=dev-python/cssselect-0.6[${PYTHON_USEDEP}]
|
||||
>=dev-python/html5lib-0.999999999[${PYTHON_USEDEP}]
|
||||
>=dev-python/lxml-3.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyphen-0.8[${PYTHON_USEDEP}]
|
||||
>=dev-python/tinycss2-0.5[${PYTHON_USEDEP}]
|
||||
>=media-gfx/cairosvg-1.0.20[${PYTHON_USEDEP}]
|
||||
"
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
${RDEPEND}
|
||||
dev-python/pytest-cov[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-flake8[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-isort[${PYTHON_USEDEP}]
|
||||
dev-python/pytest[${PYTHON_USEDEP}]
|
||||
media-fonts/ahem
|
||||
)
|
||||
"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
python_test() {
|
||||
py.test || die "testsuite failed under ${EPYTHON}"
|
||||
}
|
||||
@@ -1,50 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="6"
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{4,5} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Visual rendering engine for HTML and CSS that can export to PDF"
|
||||
MY_PN="WeasyPrint"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz"
|
||||
HOMEPAGE="http://weasyprint.org https://github.com/Kozea/WeasyPrint"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="jpeg jpeg2k test tiff"
|
||||
|
||||
# Note: specific subslot of pango since it inlines some of pango headers.
|
||||
RDEPEND="
|
||||
x11-libs/cairo
|
||||
x11-libs/gdk-pixbuf[jpeg?,jpeg2k?,tiff?]
|
||||
x11-libs/pango:0/0
|
||||
>=dev-python/cairocffi-0.5[${PYTHON_USEDEP}]
|
||||
>=dev-python/cffi-0.6:=[${PYTHON_USEDEP}]
|
||||
>=dev-python/cssselect2-0.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/html5lib-0.999999999[${PYTHON_USEDEP}]
|
||||
>=dev-python/lxml-3.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyphen-0.8[${PYTHON_USEDEP}]
|
||||
>=dev-python/tinycss2-0.5[${PYTHON_USEDEP}]
|
||||
>=media-gfx/cairosvg-1.0.20[${PYTHON_USEDEP}]
|
||||
"
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
${RDEPEND}
|
||||
dev-python/pytest-cov[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-flake8[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-isort[${PYTHON_USEDEP}]
|
||||
dev-python/pytest[${PYTHON_USEDEP}]
|
||||
media-fonts/ahem
|
||||
)
|
||||
"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
python_test() {
|
||||
py.test || die "testsuite failed under ${EPYTHON}"
|
||||
}
|
||||
Reference in New Issue
Block a user