summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2021-10-19 12:39:40 -0500
committerWilliam Hubbs <williamh@gentoo.org>2021-10-19 12:40:15 -0500
commit2d1ba039dbf40e3183bb16439ad62e589f9764a9 (patch)
tree05815f3f62bd96f272e36bfbd8e2edb7645833a1 /dev-vcs/python-gitlab/files
parentdev-php/theseer-Autoload: Revbump to fix runtime errors of missing extensions (diff)
downloadgentoo-2d1ba039dbf40e3183bb16439ad62e589f9764a9.tar.gz
gentoo-2d1ba039dbf40e3183bb16439ad62e589f9764a9.tar.bz2
gentoo-2d1ba039dbf40e3183bb16439ad62e589f9764a9.zip
dev-vcs/python-gitlab: 2.10.1 bump
Closes: https://bugs.gentoo.org/818784 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: William Hubbs <williamh@gentoo.org>
Diffstat (limited to 'dev-vcs/python-gitlab/files')
-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
+