summaryrefslogtreecommitdiff
path: root/dev-python/aiohttp/files/aiohttp-3.8.0-examples.patch
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2021-11-01 12:31:09 +0100
committerMichał Górny <mgorny@gentoo.org>2021-11-01 12:40:39 +0100
commit320b8fba60f8469b023f3291ce56f3491982f1ef (patch)
tree1ebdd81e06c523ef702de80e338862b230bb85f8 /dev-python/aiohttp/files/aiohttp-3.8.0-examples.patch
parent078c97ad243a64be17b92b605f12b31e9059a842 (diff)
downloadgentoo-320b8fba60f8469b023f3291ce56f3491982f1ef.tar.gz
gentoo-320b8fba60f8469b023f3291ce56f3491982f1ef.tar.bz2
gentoo-320b8fba60f8469b023f3291ce56f3491982f1ef.zip
dev-python/aiohttp: Bump to 3.8.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/aiohttp/files/aiohttp-3.8.0-examples.patch')
-rw-r--r--dev-python/aiohttp/files/aiohttp-3.8.0-examples.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/dev-python/aiohttp/files/aiohttp-3.8.0-examples.patch b/dev-python/aiohttp/files/aiohttp-3.8.0-examples.patch
new file mode 100644
index 000000000000..ed3f38f68fe4
--- /dev/null
+++ b/dev-python/aiohttp/files/aiohttp-3.8.0-examples.patch
@@ -0,0 +1,27 @@
+From bc142f906b3e7c63f0b1492fe3eacb7f00e9fb89 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org>
+Date: Mon, 1 Nov 2021 12:37:40 +0100
+Subject: [PATCH] Fix setup.cfg not to install "examples" top-level package
+
+---
+ setup.cfg | 4 ++++
+ 1 file changed, 4 insertions(+)
+
+diff --git a/setup.cfg b/setup.cfg
+index 491df546..fa82b6b4 100644
+--- a/setup.cfg
++++ b/setup.cfg
+@@ -62,6 +62,10 @@ speedups =
+ Brotli
+ cchardet
+
++[options.packages.find]
++exclude =
++ examples
++
+ [options.package_data]
+ # Ref:
+ # https://setuptools.readthedocs.io/en/latest/setuptools.html#options
+--
+2.33.1
+