nbclassic-1.0.0-GCCcore-12.2.0.eb 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. easyblock = 'PythonPackage'
  2. name = 'nbclassic'
  3. version = "1.0.0"
  4. homepage = 'https://jupyter.org/'
  5. description = """NbClassic provides a backwards compatible Jupyter Notebook interface
  6. that you can install side-by-side with the latest versions: That way, you can fearlessly
  7. upgrade without worrying about your classic extensions and customizations breaking."""
  8. toolchain = {'name': 'GCCcore', 'version': '12.2.0'}
  9. builddependencies = [
  10. ('binutils', '2.39'),
  11. ('maturin', '1.1.0'),
  12. ]
  13. dependencies = [
  14. ('Python', '3.10.8'),
  15. ('jupyter-server', '2.7.0'),
  16. ]
  17. sources = [SOURCE_TAR_GZ]
  18. patches = ['nbclassic-1.0.0_fix_setup_version.patch']
  19. checksums = [
  20. {'nbclassic-1.0.0.tar.gz': '0ae11eb2319455d805596bf320336cda9554b41d99ab9a3c31bf8180bffa30e3'},
  21. {'nbclassic-1.0.0_fix_setup_version.patch': 'c26d91ac1d0cea2b361b2619076acdaf5fcd5ff2363d9e5f5e1bd737b4b50736'},
  22. ]
  23. download_dep_fail = True
  24. sanity_pip_check = True
  25. use_pip = True
  26. local_binaries = [
  27. 'jupyter-nbclassic',
  28. 'jupyter-nbclassic-bundlerextension',
  29. 'jupyter-nbclassic-extension',
  30. 'jupyter-nbclassic-serverextension',
  31. ]
  32. sanity_check_paths = {
  33. 'files': ['bin/%s' % x for x in local_binaries],
  34. 'dirs': [],
  35. }
  36. sanity_check_commands = ['jupyter nbclassic --help']
  37. modextrapaths = {
  38. 'JUPYTER_CONFIG_PATH': 'etc/jupyter',
  39. 'JUPYTER_PATH': 'share/jupyter',
  40. }
  41. moduleclass = 'tools'