easyblock = 'PythonPackage' name = 'nbclassic' version = "1.1.0" homepage = 'https://jupyter.org/' description = """NbClassic provides a backwards compatible Jupyter Notebook interface that you can install side-by-side with the latest versions: That way, you can fearlessly upgrade without worrying about your classic extensions and customizations breaking.""" toolchain = {'name': 'GCCcore', 'version': '13.3.0'} builddependencies = [ ('binutils', '2.42'), ('maturin', '1.6.0'), ] dependencies = [ ('Python', '3.12.3'), ('jupyter-server', '2.14.2'), ] sources = [SOURCE_TAR_GZ] #patches = ['nbclassic-1.0.0_fix_setup_version.patch'] checksums = [ {'nbclassic-1.1.0.tar.gz': '77b77ba85f9e988f9bad85df345b514e9e64c7f0e822992ab1df4a78ac64fc1e'}, # {'nbclassic-1.0.0_fix_setup_version.patch': 'c26d91ac1d0cea2b361b2619076acdaf5fcd5ff2363d9e5f5e1bd737b4b50736'}, ] download_dep_fail = True sanity_pip_check = True use_pip = True local_binaries = [ 'jupyter-nbclassic', 'jupyter-nbclassic-bundlerextension', 'jupyter-nbclassic-extension', 'jupyter-nbclassic-serverextension', ] sanity_check_paths = { 'files': ['bin/%s' % x for x in local_binaries], 'dirs': [], } sanity_check_commands = ['jupyter nbclassic --help'] modextrapaths = { 'JUPYTER_CONFIG_PATH': 'etc/jupyter', 'JUPYTER_PATH': 'share/jupyter', } moduleclass = 'tools'