diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-python/weasyprint | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-python/weasyprint')
-rw-r--r-- | dev-python/weasyprint/Manifest | 5 | ||||
-rw-r--r-- | dev-python/weasyprint/metadata.xml | 12 | ||||
-rw-r--r-- | dev-python/weasyprint/weasyprint-0.29.ebuild | 41 | ||||
-rw-r--r-- | dev-python/weasyprint/weasyprint-0.41.ebuild | 53 |
4 files changed, 111 insertions, 0 deletions
diff --git a/dev-python/weasyprint/Manifest b/dev-python/weasyprint/Manifest new file mode 100644 index 000000000000..42122c361dda --- /dev/null +++ b/dev-python/weasyprint/Manifest @@ -0,0 +1,5 @@ +DIST WeasyPrint-0.29.tar.gz 1418105 BLAKE2B b94f1f0099fcac68aa393758fda23562eae6350e2fb185397cf888735389974f863b6b7025ce349c29e349c91d884320c96b9c7afba2c83e52f6c78ab81e8885 SHA512 3875240b7bed6991372f6a45f82d32f0d2f3add29ab1937001c5559368405737d185aa85871358730989a91ee6b17e62cc21535735c884c47705d0d2d38bb167 +DIST WeasyPrint-0.41.tar.gz 393866 BLAKE2B 895624ee547a9ed91157db6a7a72890a56f270d2ea00a508c42899e42922e51867782b1dff3ab55f98df0a130b727a7db13aaf3553a90c4405b75b6813c95ab9 SHA512 44b2d9e0a186c5767cd01d6e66495241d088908467e0fa28cee114a9c480bfcb4ef393236e9304653603f3917c73c452c05a38286932e0a271946860120d9a1f +EBUILD weasyprint-0.29.ebuild 1199 BLAKE2B b9bcb1ae2a5c13665befba0c6538062336344415ac7d339aa5b62c04479c860edf57fe7fe255bce19c55c82bf2dfb51d56d8e0b8e98ac6852be200d16b6bb2c5 SHA512 4f178b61ead5faaa0be43c9d86eca83add1a4448908a0fdbff459a5e7eb6955fdd7e7fb6eb71deb19c11a77b277fa4ed2f3afa0863335fd89e6ad7d1a36ff681 +EBUILD weasyprint-0.41.ebuild 1468 BLAKE2B 589e6474546b05b2cd38542d2ff1c4415e526d4f5e08f2ea250b7e67e521de2e35a4f89e74a1ba94c7be7512e7c6872c2631aef6c142c86af93484e45043f74f SHA512 cc74288870f66a25436b7d1aa6e78dddf833bd4a8b7dd736096e6e12f31cbdce325ef8002c098233c73f7c14ac13f11dc022cffb7c0bf58bfe130c5cf2613def +MISC metadata.xml 381 BLAKE2B 422f89ba40bf25e47d53fa91f51ed8b12c5f37a7befd16a2cc2d78335b0dc472180c5e46c6bf890e7a30fc7936e672737e931867097e21a781819fd7ee644e94 SHA512 92ccf545a50a97d2f2cf6f85a6986525ea787d6534682b5fbdd1f0395ed7e938c4e341f5897a663b185d2b2755d4123132b8ec36866b44f2615f08d607a14398 diff --git a/dev-python/weasyprint/metadata.xml b/dev-python/weasyprint/metadata.xml new file mode 100644 index 000000000000..7cda8fd941a9 --- /dev/null +++ b/dev-python/weasyprint/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> + <upstream> + <remote-id type="pypi">WeasyPrint</remote-id> + <remote-id type="github">Kozea/WeasyPrint</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/weasyprint/weasyprint-0.29.ebuild b/dev-python/weasyprint/weasyprint-0.29.ebuild new file mode 100644 index 000000000000..737ee058558a --- /dev/null +++ b/dev-python/weasyprint/weasyprint-0.29.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +PYTHON_COMPAT=( python{2_7,3_4,3_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 ~x86" +IUSE="test" + +# Note: specific subslot of pango since it inlines some of pango headers. +RDEPEND="x11-libs/pango:0/0 + >=media-gfx/cairosvg-1.0.7[${PYTHON_USEDEP}] + >=dev-python/html5lib-0.999[${PYTHON_USEDEP}] + dev-python/cffi:=[${PYTHON_USEDEP}] + >=dev-python/lxml-3.0[${PYTHON_USEDEP}] + >=dev-python/cairocffi-0.5[${PYTHON_USEDEP}] + ~dev-python/tinycss-0.3[${PYTHON_USEDEP}] + >=dev-python/cssselect-0.6[${PYTHON_USEDEP}] + >=dev-python/pyphen-0.8[${PYTHON_USEDEP}]" +# x11-libs/gdk-pixbuf # optional dep +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] + test? ( ${RDEPEND} + dev-python/pytest[${PYTHON_USEDEP}] + media-fonts/ahem )" + +S="${WORKDIR}/${MY_P}" + +python_test() { + py.test || die "testsuite failed under ${EPYTHON}" +} diff --git a/dev-python/weasyprint/weasyprint-0.41.ebuild b/dev-python/weasyprint/weasyprint-0.41.ebuild new file mode 100644 index 000000000000..fce99c16ede2 --- /dev/null +++ b/dev-python/weasyprint/weasyprint-0.41.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +PYTHON_COMPAT=( python2_7 python3_{4,5,6} ) + +RESTRICT="test" + +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 ~x86" +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}] + >=dev-python/pdfrw-0.4[${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}" +} |