summaryrefslogtreecommitdiff
path: root/dev-vcs/python-gitlab/files/python-gitlab-2.10.1-do-not-package-tests.patch
diff options
context:
space:
mode:
Diffstat (limited to 'dev-vcs/python-gitlab/files/python-gitlab-2.10.1-do-not-package-tests.patch')
-rw-r--r--dev-vcs/python-gitlab/files/python-gitlab-2.10.1-do-not-package-tests.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/dev-vcs/python-gitlab/files/python-gitlab-2.10.1-do-not-package-tests.patch b/dev-vcs/python-gitlab/files/python-gitlab-2.10.1-do-not-package-tests.patch
new file mode 100644
index 000000000000..f1f0c6ca8d3d
--- /dev/null
+++ b/dev-vcs/python-gitlab/files/python-gitlab-2.10.1-do-not-package-tests.patch
@@ -0,0 +1,25 @@
+From 969dccc084e833331fcd26c2a12ddaf448575ab4 Mon Sep 17 00:00:00 2001
+From: Nejc Habjan <hab.nejc@gmail.com>
+Date: Fri, 3 Sep 2021 00:28:18 +0200
+Subject: [PATCH] fix(build): do not package tests in wheel
+
+---
+ setup.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/setup.py b/setup.py
+index 6a05a72..589f9a4 100644
+--- a/setup.py
++++ b/setup.py
+@@ -24,7 +24,7 @@ setup(
+ author_email="gauvain@pocentek.net",
+ license="LGPLv3",
+ url="https://github.com/python-gitlab/python-gitlab",
+- packages=find_packages(),
++ packages=find_packages(exclude=["tests*"]),
+ install_requires=["requests>=2.25.0", "requests-toolbelt>=0.9.1"],
+ package_data={
+ "gitlab": ["py.typed"],
+--
+2.32.0
+