- added use_setuptools patch: force use of setuptools to autogenerate pythonegg depen...
authorJakub Bogusz <qboosh@pld-linux.org>
Mon, 30 Sep 2019 19:44:16 +0000 (21:44 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Mon, 30 Sep 2019 19:44:16 +0000 (21:44 +0200)
python-ipykernel-use_setuptools.patch [new file with mode: 0644]
python-ipykernel.spec

diff --git a/python-ipykernel-use_setuptools.patch b/python-ipykernel-use_setuptools.patch
new file mode 100644 (file)
index 0000000..ddbd848
--- /dev/null
@@ -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 = {}
index 867b7c20c7a99c6e1290295af68eaa31be5ac194..702fa7a937c4bfdb6058bb4440f4e9a2ac2f311b 100644 (file)
@@ -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}
This page took 0.112161 seconds and 4 git commands to generate.