[packages/python-ipykernel] - added use_setuptools patch: force use of setuptools to autogenerate pythonegg dependencies; releas
qboosh
qboosh at pld-linux.org
Mon Sep 30 21:41:06 CEST 2019
commit ac19c3bd53cb8eb7a7d157a5574d9fe44e8ee7c3
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Mon Sep 30 21:44:16 2019 +0200
- added use_setuptools patch: force use of setuptools to autogenerate pythonegg dependencies; release 2
python-ipykernel-use_setuptools.patch | 11 +++++++++++
python-ipykernel.spec | 4 +++-
2 files changed, 14 insertions(+), 1 deletion(-)
---
diff --git a/python-ipykernel.spec b/python-ipykernel.spec
index 867b7c2..702fa7a 100644
--- a/python-ipykernel.spec
+++ b/python-ipykernel.spec
@@ -9,12 +9,13 @@ Summary: IPython kernel for Jupyter
Summary(pl.UTF-8): Jądro IPythona dla Jupytera
Name: python-ipykernel
Version: 4.10.1
-Release: 1
+Release: 2
License: BSD
Group: Libraries/Python
#Source0Download: https://pypi.org/simple/ipykernel/
Source0: https://files.pythonhosted.org/packages/source/i/ipykernel/ipykernel-%{version}.tar.gz
# Source0-md5: 23871bb7da2907749cb65a9446c9e637
+Patch0: %{name}-use_setuptools.patch
URL: https://pypi.org/project/ipykernel/
%if %{with python2}
BuildRequires: python-modules >= 1:2.7
@@ -85,6 +86,7 @@ Dokumentacja API modułu Pythona ipykernel.
%prep
%setup -q -n ipykernel-%{version}
+%patch0 -p1
%build
%if %{with python2}
diff --git a/python-ipykernel-use_setuptools.patch b/python-ipykernel-use_setuptools.patch
new file mode 100644
index 0000000..ddbd848
--- /dev/null
+++ b/python-ipykernel-use_setuptools.patch
@@ -0,0 +1,11 @@
+--- ipykernel-4.10.1/setup.py.orig 2019-08-08 23:42:36.000000000 +0200
++++ ipykernel-4.10.1/setup.py 2019-09-30 21:25:15.196203718 +0200
+@@ -76,7 +76,7 @@
+ ],
+ )
+
+-if 'develop' in sys.argv or any(a.startswith('bdist') for a in sys.argv):
++if True:
+ import setuptools
+
+ setuptools_args = {}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-ipykernel.git/commitdiff/ac19c3bd53cb8eb7a7d157a5574d9fe44e8ee7c3
More information about the pld-cvs-commit
mailing list