summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2019-03-04 02:19:51 -0600
committerTim Harder <radhermit@gentoo.org>2019-03-04 02:28:09 -0600
commit2c9421910e24dcdb7bf42899d5e70482bde38f75 (patch)
treeb6ab3bf00fe1550991adf59683458ecc45d17195 /dev-python/cairocffi/files
parentdev-python/xcffib: version bump to 0.7.0 (diff)
downloadgentoo-2c9421910e24dcdb7bf42899d5e70482bde38f75.tar.gz
gentoo-2c9421910e24dcdb7bf42899d5e70482bde38f75.tar.bz2
gentoo-2c9421910e24dcdb7bf42899d5e70482bde38f75.zip
dev-python/cairocffi: version bump to 1.0.2
Signed-off-by: Tim Harder <radhermit@gentoo.org>
Diffstat (limited to 'dev-python/cairocffi/files')
-rw-r--r--dev-python/cairocffi/files/cairocffi-0.8.0-tests.patch2
-rw-r--r--dev-python/cairocffi/files/cairocffi-1.0.2-test-deps.patch41
2 files changed, 43 insertions, 0 deletions
diff --git a/dev-python/cairocffi/files/cairocffi-0.8.0-tests.patch b/dev-python/cairocffi/files/cairocffi-0.8.0-tests.patch
index 04839fd08efd..88ee2b0a0d5d 100644
--- a/dev-python/cairocffi/files/cairocffi-0.8.0-tests.patch
+++ b/dev-python/cairocffi/files/cairocffi-0.8.0-tests.patch
@@ -1,3 +1,5 @@
+Skip tests which interact with the root window due to permission failures.
+
--- cairocffi-0.8.0/cairocffi/test_xcb.py
+++ cairocffi-0.8.0/cairocffi/test_xcb.py
@@ -118,14 +118,14 @@
diff --git a/dev-python/cairocffi/files/cairocffi-1.0.2-test-deps.patch b/dev-python/cairocffi/files/cairocffi-1.0.2-test-deps.patch
new file mode 100644
index 000000000000..d6da32523d79
--- /dev/null
+++ b/dev-python/cairocffi/files/cairocffi-1.0.2-test-deps.patch
@@ -0,0 +1,41 @@
+Remove unnecessary test deps.
+
+--- cairocffi-1.0.2/setup.cfg
++++ cairocffi-1.0.2/setup.cfg
+@@ -36,16 +36,10 @@
+ packages = find:
+ setup_requires =
+ cffi >= 1.1.0
+- pytest-runner
+ setuptools
+ install_requires =
+ cffi >= 1.1.0
+ setuptools >= 39.2.0
+-tests_require =
+- pytest-cov
+- pytest-flake8
+- pytest-isort
+- pytest-runner
+ python_requires = >= 3.5
+
+ [options.package_data]
+@@ -58,11 +52,6 @@
+ doc =
+ sphinx
+ sphinx_rtd_theme
+-test =
+- pytest-runner
+- pytest-cov
+- pytest-flake8
+- pytest-isort
+ xcb =
+ xcffib >= 0.3.2
+
+@@ -74,7 +63,6 @@
+ test = pytest
+
+ [tool:pytest]
+-addopts = --flake8 --isort
+ norecursedirs = build dist .cache .eggs .git
+
+ [flake8]