python3-jupyter_console: revert to using tarball from pypi
This reverts #23446 and instead patches setup.py to use setuptools instead of distutils which automatically generates the necessary jupyter-console script.
This commit is contained in:
parent
18a4aadd79
commit
fc0132f0d5
2 changed files with 14 additions and 4 deletions
11
srcpkgs/python3-jupyter_console/patches/setuptools.diff
Normal file
11
srcpkgs/python3-jupyter_console/patches/setuptools.diff
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
--- setup.py
|
||||||
|
+++ setup.py
|
||||||
|
@@ -51,7 +51,7 @@
|
||||||
|
import os
|
||||||
|
from glob import glob
|
||||||
|
|
||||||
|
-from distutils.core import setup
|
||||||
|
+from setuptools import setup
|
||||||
|
|
||||||
|
pjoin = os.path.join
|
||||||
|
here = os.path.abspath(os.path.dirname(__file__))
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'python3-jupyter_console'
|
# Template file for 'python3-jupyter_console'
|
||||||
pkgname=python3-jupyter_console
|
pkgname=python3-jupyter_console
|
||||||
version=6.1.0
|
version=6.1.0
|
||||||
revision=2
|
revision=3
|
||||||
archs=noarch
|
archs=noarch
|
||||||
wrksrc="jupyter_console-${version}"
|
wrksrc="jupyter_console-${version}"
|
||||||
build_style=python3-module
|
build_style=python3-module
|
||||||
|
@ -13,9 +13,8 @@ short_desc="Jupyter terminal console (Python3)"
|
||||||
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
||||||
license="BSD-3-Clause"
|
license="BSD-3-Clause"
|
||||||
homepage="https://github.com/jupyter/jupyter_console"
|
homepage="https://github.com/jupyter/jupyter_console"
|
||||||
# pypi release of jupyter_console v6.1.0 does not include scripts dir
|
distfiles="${PYPI_SITE}/j/jupyter_console/jupyter_console-${version}.tar.gz"
|
||||||
distfiles="${homepage}/archive/${version}.tar.gz"
|
checksum=6f6ead433b0534909df789ea64f0a14cdf9b6b2360757756f08182be4b9e431b
|
||||||
checksum=838c95c99ce52978e1660e7a30dd933dede158e2f4da1bc5fad1a8fad44570b7
|
|
||||||
# alternatives will be a conflict
|
# alternatives will be a conflict
|
||||||
conflicts="python-jupyter_console<=6.0.0_2"
|
conflicts="python-jupyter_console<=6.0.0_2"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue