Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

{tools}[GCCcore/10.2.0] configurable-http-proxy v4.2.1, nodejs v12.19.0, JupyterHub v1.1.0 w/ Python 3.8.6 #11558

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
easyblock = 'Binary'

name = 'configurable-http-proxy'
version = '4.2.1'

homepage = 'https://github.com/jupyterhub/configurable-http-proxy'
description = """HTTP proxy for node.js including a REST API for updating the routing table.
Developed as a part of the Jupyter Hub multi-user server."""

toolchain = {'name': 'GCCcore', 'version': '10.2.0'}

builddependencies = {
('binutils', '2.35'),
}

dependencies = [
('nodejs', '12.19.0'),
]

source_urls = ['https://github.com/jupyterhub/configurable-http-proxy/archive/']
sources = ['%(version)s.tar.gz']
checksums = ['9f95e6893c2b743112b8e591b411a4c109574389253d95a6b5a69109ede53e23']

install_cmd = 'npm install --no-package-lock -g --prefix %(installdir)s %(version)s.tar.gz'

sanity_check_paths = {
'files': ['bin/configurable-http-proxy'],
'dirs': [],
}

sanity_check_commands = ['%(name)s --version']

moduleclass = 'tools'
119 changes: 119 additions & 0 deletions easybuild/easyconfigs/j/JupyterHub/JupyterHub-1.1.0-GCCcore-10.2.0.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,119 @@
easyblock = 'PythonBundle'

name = 'JupyterHub'
version = '1.1.0'

homepage = 'https://jupyter.org'
description = """JupyterHub is a multiuser version of the Jupyter (IPython) notebook designed
for centralized deployments in companies, university classrooms and research labs."""

toolchain = {'name': 'GCCcore', 'version': '10.2.0'}

builddependencies = {
('binutils', '2.35'),
}

dependencies = [
('Python', '3.8.6'),
('IPython', '7.18.1'),
('Mako', '1.1.3'),
('configurable-http-proxy', '4.2.1'),
]

osdependencies = [OS_PKG_OPENSSL_DEV]

use_pip = True

exts_default_options = {'source_urls': [PYPI_SOURCE]}

exts_list = [
('certipy', '0.1.3', {
'checksums': ['695704b7716b033375c9a1324d0d30f27110a28895c40151a90ec07ff1032859'],
}),
('pamela', '1.0.0', {
'checksums': ['65c9389bef7d1bb0b168813b6be21964df32016923aac7515bdf05366acbab6c'],
}),
('SQLAlchemy', '1.3.20', {
'checksums': ['d2f25c7f410338d31666d7ddedfa67570900e248b940d186b48461bd4e5569a1'],
}),
('alembic', '1.4.3', {
'checksums': ['5334f32314fb2a56d86b4c4dd1ae34b08c03cae4cb888bc699942104d66bc245'],
}),
('oauthlib', '3.1.0', {
'checksums': ['bee41cc35fcca6e988463cacc3bcb8a96224f470ca547e697b604cc697b2f889'],
}),
('pyOpenSSL', '19.1.0', {
'modulename': 'OpenSSL',
'checksums': ['9a24494b2602aaf402be5c9e30a0b82d4a5c67528fe8fb475e3f3bc00dd69507'],
}),
('python-json-logger', '2.0.1', {
'modulename': 'pythonjsonlogger',
'checksums': ['f26eea7898db40609563bed0a7ca11af12e2a79858632706d835a0f961b7d398'],
}),
('ruamel.yaml', '0.16.12', {
'checksums': ['076cc0bc34f1966d920a49f18b52b6ad559fbe656a0748e3535cf7b3f29ebf9e'],
}),
('ruamel.yaml.clib', '0.2.2', {
'modulename': False,
'checksums': ['2d24bd98af676f4990c4d715bcdc2a60b19c56a3fb3a763164d2d8ca0e806ba7'],
}),
('python-editor', '1.0.4', {
'modulename': 'editor',
'checksums': ['51fda6bcc5ddbbb7063b2af7509e43bd84bfc32a4ff71349ec7847713882327b'],
}),
('jupyter-telemetry', '0.1.0', {
'source_tmpl': 'jupyter_telemetry-%(version)s.tar.gz',
'checksums': ['445c613ae3df70d255fe3de202f936bba8b77b4055c43207edf22468ac875314'],
}),
('jupyterhub', version, {
'checksums': ['852a70225a03abd631b36a207f3ffdf69326a0db4cef539825fde39ec1b713d7'],
}),
('batchspawner', '1.0.0', {
'sources': [{'download_filename': 'v%(version)s.tar.gz', 'filename': SOURCE_TAR_GZ,
'source_urls': ['https://github.com/jupyterhub/batchspawner/archive/']}],
'checksums': ['207d816480ecb14b6ac19b027d39fcd5aaa993758a3c242d83cd6d3538063f40'],
}),
('jupyterhub-systemdspawner', '0.14', {
'modulename': 'systemdspawner',
'checksums': ['080dd9cd9292266dad35d1efc7aa1af0ed6993d15eadc79bd959d1ee273d1923'],
}),
('jupyterhub-simplespawner', '0.1', {
'modulename': 'simplespawner',
'checksums': ['5fcc295b310dd7a99c0f00226be311121fd99b36a5d127e8685f3ffa29712d0d'],
}),
('ldap3', '2.8.1', {
'checksums': ['37d633e20fa360c302b1263c96fe932d40622d0119f1bddcb829b03462eeeeb7'],
}),
('jupyterhub-ldapauthenticator', '1.3.2', {
'modulename': 'ldapauthenticator',
'checksums': ['758081bbdb28b26313bb18c9d8aa2b8fcdc9162e4d3ab196c626567e64f1ab8b'],
}),
('PyJWT', '1.7.1', {
'modulename': 'jwt',
'checksums': ['8d59a976fb773f3e6a39c85636357c4f0e242707394cadadd9814f5cbaa20e96'],
}),
('jupyterhub-jwtauthenticator-v2', '2.0.2', {
'modulename': 'jwtauthenticator',
'checksums': ['9477a606e34c6ff032ee455ffecaf6e13de5e3bce024a2d720f274b421a390c6'],
}),
('onetimepass', '1.0.1', {
'checksums': ['a569dac076d6e3761cbc55e36952144a637ca1b075c6d509de1c1dbc5e7f6a27'],
}),
('jupyterhub-nativeauthenticator', '0.0.5', {
'modulename': 'nativeauthenticator',
'checksums': ['e71b5c3ed1e3af4e307c7a43dce2fb56d4db161ec4fc59764b422cb696606376'],
}),
]

modextrapaths = {'PYTHONPATH': ['lib/python%(pyshortver)s/site-packages']}

sanity_check_paths = {
'files': ['bin/jupyterhub'],
'dirs': ['lib/python%(pyshortver)s/site-packages/jupyterhub'],
}

sanity_pip_check = True

sanity_check_commands = ['jupyterhub --help']

moduleclass = 'tools'
44 changes: 44 additions & 0 deletions easybuild/easyconfigs/n/nodejs/nodejs-12.19.0-GCCcore-10.2.0.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
easyblock = 'ConfigureMake'

name = 'nodejs'
version = '12.19.0' # LTS on 2020-10-19
local_libversion = '72'

homepage = 'https://nodejs.org'
description = """Node.js is a platform built on Chrome's JavaScript runtime
for easily building fast, scalable network applications. Node.js uses an
event-driven, non-blocking I/O model that makes it lightweight and efficient,
perfect for data-intensive real-time applications that run across distributed devices."""

toolchain = {'name': 'GCCcore', 'version': '10.2.0'}

source_urls = ['http://%(name)s.org/dist/v%(version)s/']
sources = ['node-v%(version)s.tar.gz']
checksums = ['1279e49be60d92cf4c1a48c9d92397db4e9284a100bc47689ce7924686bbddd1']

builddependencies = [
('binutils', '2.35'),
('Python', '3.8.6'),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Apparently nodejs still requires python2 at configure time... Fixed in #11679

]

configopts = [
'--with-intl=none', # Fully disable ICU to avoid issues with the embedded icu-small library
'--shared --with-intl=none', # Build libnode.so in a second run
]

# Link libv8 libs to libnode
postinstallcmds = [
"cd %%(installdir)s/lib; ln -s libnode.%s.%s libnode.%s" % (SHLIB_EXT, local_libversion, SHLIB_EXT),
"cd %%(installdir)s/lib; ln -s libnode.%s.%s libv8.%s" % (SHLIB_EXT, local_libversion, SHLIB_EXT),
"cd %%(installdir)s/lib; ln -s libnode.%s.%s libv8_libbase.%s" % (SHLIB_EXT, local_libversion, SHLIB_EXT),
"cd %%(installdir)s/lib; ln -s libnode.%s.%s libv8_libplatform.%s" % (SHLIB_EXT, local_libversion, SHLIB_EXT),
]

sanity_check_paths = {
'files': ['bin/node', 'bin/npm', 'lib/libnode.%s.%s' % (SHLIB_EXT, local_libversion)],
'dirs': ['lib/node_modules', 'include/node']
}

modextrapaths = {'CPATH': 'include/node'}

moduleclass = 'lang'