* [gentoo-commits] repo/gentoo:master commit in: dev-python/weasyprint/, dev-python/weasyprint/files/
@ 2018-11-17 3:49 Virgil Dupras
0 siblings, 0 replies; 2+ messages in thread
From: Virgil Dupras @ 2018-11-17 3:49 UTC (permalink / raw
To: gentoo-commits
commit: 36e7b4d748af2a9b371def36eabbdffa34abf02a
Author: Virgil Dupras <vdupras <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 17 03:44:44 2018 +0000
Commit: Virgil Dupras <vdupras <AT> gentoo <DOT> org>
CommitDate: Sat Nov 17 03:44:44 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=36e7b4d7
dev-python/weasyprint: bump to v43
Also, re-enable tests.
Signed-off-by: Virgil Dupras <vdupras <AT> gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
dev-python/weasyprint/Manifest | 1 +
.../files/weasyprint-43-skip-failing-test.patch | 13 ++++++
.../files/weasyprint-43-skip-useless-deps.patch | 30 +++++++++++++
dev-python/weasyprint/weasyprint-43.ebuild | 52 ++++++++++++++++++++++
4 files changed, 96 insertions(+)
diff --git a/dev-python/weasyprint/Manifest b/dev-python/weasyprint/Manifest
index 74acb12aef8..cd3063c8e10 100644
--- a/dev-python/weasyprint/Manifest
+++ b/dev-python/weasyprint/Manifest
@@ -1,2 +1,3 @@
DIST WeasyPrint-0.29.tar.gz 1418105 BLAKE2B b94f1f0099fcac68aa393758fda23562eae6350e2fb185397cf888735389974f863b6b7025ce349c29e349c91d884320c96b9c7afba2c83e52f6c78ab81e8885 SHA512 3875240b7bed6991372f6a45f82d32f0d2f3add29ab1937001c5559368405737d185aa85871358730989a91ee6b17e62cc21535735c884c47705d0d2d38bb167
DIST WeasyPrint-0.41.tar.gz 393866 BLAKE2B 895624ee547a9ed91157db6a7a72890a56f270d2ea00a508c42899e42922e51867782b1dff3ab55f98df0a130b727a7db13aaf3553a90c4405b75b6813c95ab9 SHA512 44b2d9e0a186c5767cd01d6e66495241d088908467e0fa28cee114a9c480bfcb4ef393236e9304653603f3917c73c452c05a38286932e0a271946860120d9a1f
+DIST WeasyPrint-43.tar.gz 315365 BLAKE2B af643f6a6d09d09d89802dd3823e43e9f05873738b14e4f853a324850ffc12902cb791c3f187f6b550dded40669d376cf3d2e4d7d83e9747e87795a4d57e9014 SHA512 fc4c4decb298d4f9caf244433566c9b675b23db2508093d8c43c6e361119c5fe8298213075f550bebc72fe4156cfc516f04c8d7a2c6215fcd5add14360821f40
diff --git a/dev-python/weasyprint/files/weasyprint-43-skip-failing-test.patch b/dev-python/weasyprint/files/weasyprint-43-skip-failing-test.patch
new file mode 100644
index 00000000000..f49635fc847
--- /dev/null
+++ b/dev-python/weasyprint/files/weasyprint-43-skip-failing-test.patch
@@ -0,0 +1,13 @@
+diff --git a/weasyprint/tests/test_layout/test_flex.py b/weasyprint/tests/test_layout/test_flex.py
+index 890df3e8..77c6bbf5 100644
+--- a/weasyprint/tests/test_layout/test_flex.py
++++ b/weasyprint/tests/test_layout/test_flex.py
+@@ -189,7 +189,7 @@ def test_flex_row_wrap_reverse():
+
+
+ @assert_no_logs
+-def test_flex_column_wrap_reverse():
++def xtest_flex_column_wrap_reverse():
+ page, = render_pages('''
+ <article style="display: flex; flex-flow: column wrap-reverse;
+ height: 50px">
diff --git a/dev-python/weasyprint/files/weasyprint-43-skip-useless-deps.patch b/dev-python/weasyprint/files/weasyprint-43-skip-useless-deps.patch
new file mode 100644
index 00000000000..1229f0bed26
--- /dev/null
+++ b/dev-python/weasyprint/files/weasyprint-43-skip-useless-deps.patch
@@ -0,0 +1,30 @@
+--- a/setup.cfg
++++ b/setup.cfg
+@@ -34,7 +34,6 @@
+ [options]
+ packages = find:
+ zip_safe = false
+-setup_requires = pytest-runner
+ install_requires =
+ cffi>=0.6
+ html5lib>=0.999999999
+@@ -43,11 +42,6 @@
+ cssselect2>=0.1
+ CairoSVG>=1.0.20
+ Pyphen>=0.8
+-tests_require =
+- pytest-runner
+- pytest-cov
+- pytest-flake8
+- pytest-isort
+
+ [options.entry_points]
+ console-scripts = weasyprint = weasyprint.__main__:main
+@@ -72,7 +72,6 @@
+ test = pytest
+
+ [tool:pytest]
+-addopts = --flake8 --isort
+ norecursedirs = build dist .cache .eggs .git
+
+ [coverage:run]
diff --git a/dev-python/weasyprint/weasyprint-43.ebuild b/dev-python/weasyprint/weasyprint-43.ebuild
new file mode 100644
index 00000000000..d18200b1057
--- /dev/null
+++ b/dev-python/weasyprint/weasyprint-43.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+PYTHON_COMPAT=( python3_{4,5,6} )
+
+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-1.15.4
+ x11-libs/gdk-pixbuf[jpeg?,jpeg2k?,tiff?]
+ x11-libs/pango:0/0
+ >=dev-python/cairocffi-0.9[${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[${PYTHON_USEDEP}]
+ media-fonts/ahem
+ )
+"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-43-skip-useless-deps.patch"
+ "${FILESDIR}/${PN}-43-skip-failing-test.patch"
+)
+
+S="${WORKDIR}/${MY_P}"
+
+python_test() {
+ pytest -vv || die "testsuite failed under ${EPYTHON}"
+}
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/weasyprint/, dev-python/weasyprint/files/
@ 2020-03-23 12:09 Aaron W. Swenson
0 siblings, 0 replies; 2+ messages in thread
From: Aaron W. Swenson @ 2020-03-23 12:09 UTC (permalink / raw
To: gentoo-commits
commit: 28d1a492801116f099a827ce77d02abcc2f108ae
Author: Aaron W. Swenson <titanofold <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 23 12:08:34 2020 +0000
Commit: Aaron W. Swenson <titanofold <AT> gentoo <DOT> org>
CommitDate: Mon Mar 23 12:08:56 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=28d1a492
dev-python/weasyprint: Cleanup old
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Aaron W. Swenson <titanofold <AT> gentoo.org>
dev-python/weasyprint/Manifest | 2 -
.../files/weasyprint-43-skip-failing-test.patch | 13 ------
.../files/weasyprint-43-skip-useless-deps.patch | 30 ------------
dev-python/weasyprint/weasyprint-0.41.ebuild | 50 --------------------
dev-python/weasyprint/weasyprint-43.ebuild | 53 ----------------------
5 files changed, 148 deletions(-)
diff --git a/dev-python/weasyprint/Manifest b/dev-python/weasyprint/Manifest
index 60185928ff3..5b354afe8b6 100644
--- a/dev-python/weasyprint/Manifest
+++ b/dev-python/weasyprint/Manifest
@@ -1,3 +1 @@
-DIST WeasyPrint-0.41.tar.gz 393866 BLAKE2B 895624ee547a9ed91157db6a7a72890a56f270d2ea00a508c42899e42922e51867782b1dff3ab55f98df0a130b727a7db13aaf3553a90c4405b75b6813c95ab9 SHA512 44b2d9e0a186c5767cd01d6e66495241d088908467e0fa28cee114a9c480bfcb4ef393236e9304653603f3917c73c452c05a38286932e0a271946860120d9a1f
-DIST WeasyPrint-43.tar.gz 315365 BLAKE2B af643f6a6d09d09d89802dd3823e43e9f05873738b14e4f853a324850ffc12902cb791c3f187f6b550dded40669d376cf3d2e4d7d83e9747e87795a4d57e9014 SHA512 fc4c4decb298d4f9caf244433566c9b675b23db2508093d8c43c6e361119c5fe8298213075f550bebc72fe4156cfc516f04c8d7a2c6215fcd5add14360821f40
DIST WeasyPrint-51.tar.gz 308411 BLAKE2B f88f9e1abc09986d51d92d8a153c71242cadc8ce6b8ac99a08d86746677d40a86affe3c56dd3e3e6a0eb2fc915f77036271f049f6ccc644d508be51d01d97b7c SHA512 631038bece7ac0c15c6a668a7d06137e4bccc049eb80484a153ca9c4a996256de8647428b21ed1d0c1607af3893c747a1956a3d3f012b30105ba4f8613a96fcd
diff --git a/dev-python/weasyprint/files/weasyprint-43-skip-failing-test.patch b/dev-python/weasyprint/files/weasyprint-43-skip-failing-test.patch
deleted file mode 100644
index f49635fc847..00000000000
--- a/dev-python/weasyprint/files/weasyprint-43-skip-failing-test.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff --git a/weasyprint/tests/test_layout/test_flex.py b/weasyprint/tests/test_layout/test_flex.py
-index 890df3e8..77c6bbf5 100644
---- a/weasyprint/tests/test_layout/test_flex.py
-+++ b/weasyprint/tests/test_layout/test_flex.py
-@@ -189,7 +189,7 @@ def test_flex_row_wrap_reverse():
-
-
- @assert_no_logs
--def test_flex_column_wrap_reverse():
-+def xtest_flex_column_wrap_reverse():
- page, = render_pages('''
- <article style="display: flex; flex-flow: column wrap-reverse;
- height: 50px">
diff --git a/dev-python/weasyprint/files/weasyprint-43-skip-useless-deps.patch b/dev-python/weasyprint/files/weasyprint-43-skip-useless-deps.patch
deleted file mode 100644
index 1229f0bed26..00000000000
--- a/dev-python/weasyprint/files/weasyprint-43-skip-useless-deps.patch
+++ /dev/null
@@ -1,30 +0,0 @@
---- a/setup.cfg
-+++ b/setup.cfg
-@@ -34,7 +34,6 @@
- [options]
- packages = find:
- zip_safe = false
--setup_requires = pytest-runner
- install_requires =
- cffi>=0.6
- html5lib>=0.999999999
-@@ -43,11 +42,6 @@
- cssselect2>=0.1
- CairoSVG>=1.0.20
- Pyphen>=0.8
--tests_require =
-- pytest-runner
-- pytest-cov
-- pytest-flake8
-- pytest-isort
-
- [options.entry_points]
- console-scripts = weasyprint = weasyprint.__main__:main
-@@ -72,7 +72,6 @@
- test = pytest
-
- [tool:pytest]
--addopts = --flake8 --isort
- norecursedirs = build dist .cache .eggs .git
-
- [coverage:run]
diff --git a/dev-python/weasyprint/weasyprint-0.41.ebuild b/dev-python/weasyprint/weasyprint-0.41.ebuild
deleted file mode 100644
index 18d60ad1e73..00000000000
--- a/dev-python/weasyprint/weasyprint-0.41.ebuild
+++ /dev/null
@@ -1,50 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="6"
-
-PYTHON_COMPAT=( python3_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="https://weasyprint.org https://github.com/Kozea/WeasyPrint"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="jpeg test tiff"
-
-# Note: specific subslot of pango since it inlines some of pango headers.
-RDEPEND="
- x11-libs/cairo
- x11-libs/gdk-pixbuf[jpeg?,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[${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-43.ebuild b/dev-python/weasyprint/weasyprint-43.ebuild
deleted file mode 100644
index d50684ae43a..00000000000
--- a/dev-python/weasyprint/weasyprint-43.ebuild
+++ /dev/null
@@ -1,53 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="7"
-
-PYTHON_COMPAT=( python3_6 )
-
-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="https://weasyprint.org https://github.com/Kozea/WeasyPrint"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="jpeg test tiff"
-RESTRICT="!test? ( test )"
-
-# Note: specific subslot of pango since it inlines some of pango headers.
-RDEPEND="
- >=x11-libs/cairo-1.15.4
- x11-libs/gdk-pixbuf[jpeg?,tiff?]
- x11-libs/pango:0/0
- >=dev-python/cairocffi-0.9[${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[${PYTHON_USEDEP}]
- media-fonts/ahem
- )
-"
-
-PATCHES=(
- "${FILESDIR}/${PN}-43-skip-useless-deps.patch"
- "${FILESDIR}/${PN}-43-skip-failing-test.patch"
-)
-
-S="${WORKDIR}/${MY_P}"
-
-python_test() {
- pytest -vv || die "testsuite failed under ${EPYTHON}"
-}
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-03-23 15:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-03-23 12:09 [gentoo-commits] repo/gentoo:master commit in: dev-python/weasyprint/, dev-python/weasyprint/files/ Aaron W. Swenson
-- strict thread matches above, loose matches on Subject: below --
2018-11-17 3:49 Virgil Dupras
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox