Name: python-jupyter-builder Version: 1.2.2 Release: %autorelease Summary: Build tools for JupyterLab extensions # jupyter-builder is BSD-3-Clause. # Bundled node-semver is MIT. # --- License breakdown of deps of bundled yarn.js --- # Generated from yarn.js by installing it and inspecting # all its dependencies. # https://github.com/jupyterlab/jupyter-builder/issues/169 # # @arcanis/slice-ansi MIT # @babel/runtime MIT # @chevrotain/types Apache-2.0 # @chevrotain/utils Apache-2.0 # @nodelib/fs.scandir MIT # @nodelib/fs.stat MIT # @nodelib/fs.walk MIT # @sindresorhus/is MIT # @szmarczak/http-timer MIT # @types/cacheable-request MIT # @types/emscripten MIT # @types/http-cache-semantics MIT # @types/keyv MIT # @types/lodash MIT # @types/node MIT # @types/responselike MIT # @types/semver MIT # @types/treeify MIT # @yarnpkg/cli BSD-2-Clause # @yarnpkg/core BSD-2-Clause # @yarnpkg/extensions BSD-2-Clause # @yarnpkg/fslib BSD-2-Clause # @yarnpkg/libzip BSD-2-Clause # @yarnpkg/nm BSD-2-Clause # @yarnpkg/parsers BSD-2-Clause # @yarnpkg/plugin-compat BSD-2-Clause # @yarnpkg/plugin-dlx BSD-2-Clause # @yarnpkg/plugin-essentials BSD-2-Clause # @yarnpkg/plugin-file BSD-2-Clause # @yarnpkg/plugin-git BSD-2-Clause # @yarnpkg/plugin-github BSD-2-Clause # @yarnpkg/plugin-http BSD-2-Clause # @yarnpkg/plugin-init BSD-2-Clause # @yarnpkg/plugin-link BSD-2-Clause # @yarnpkg/plugin-nm BSD-2-Clause # @yarnpkg/plugin-npm BSD-2-Clause # @yarnpkg/plugin-npm-cli BSD-2-Clause # @yarnpkg/plugin-pack BSD-2-Clause # @yarnpkg/plugin-patch BSD-2-Clause # @yarnpkg/plugin-pnp BSD-2-Clause # @yarnpkg/plugin-pnpm BSD-2-Clause # @yarnpkg/plugin-stage BSD-2-Clause # @yarnpkg/pnp BSD-2-Clause # @yarnpkg/shell BSD-2-Clause # @zkochan/cmd-shim BSD-2-Clause # ansi-colors MIT # ansi-regex MIT # ansi-styles MIT # argparse MIT # array-union MIT # base64-js MIT # bl MIT # braces MIT # buffer MIT # cacheable-lookup MIT # cacheable-request MIT # camelcase MIT # chalk MIT # chevrotain Apache-2.0 # chownr ISC # ci-info MIT # clipanion MIT # clone-response MIT # cmd-extension MIT # color-convert MIT # color-name MIT # cross-spawn MIT # decompress-response MIT # defer-to-connect MIT # diff BSD-3-Clause # dir-glob MIT # end-of-stream MIT # enquirer MIT # esprima BSD-2-Clause # fast-glob MIT # fastq ISC # figgy-pudding ISC # fill-range MIT # fs-constants MIT # fs-minipass ISC # get-stream MIT # git-up MIT # git-url-parse MIT # glob-parent ISC # globby MIT # got MIT # graceful-fs ISC # grapheme-splitter MIT # has-flag MIT # http-cache-semantics BSD-2-Clause # http2-wrapper MIT # ieee754 BSD-3-Clause # ignore MIT # inherits ISC # is-extglob MIT # is-glob MIT # is-number MIT # is-ssh MIT # is-windows MIT # isexe ISC # js-yaml MIT # json-buffer MIT # keyv MIT # lodash MIT # lodash-es MIT # lowercase-keys MIT # merge2 MIT # micromatch MIT # mimic-response MIT # minipass ISC # minizlib MIT # mkdirp MIT # nanoclone MIT # normalize-url MIT # once ISC # p-cancelable MIT # p-limit MIT # p-try MIT # parse-path MIT # parse-url MIT # path-key MIT # path-type MIT # picomatch MIT # property-expr MIT # protocols MIT # pump MIT # queue-microtask MIT # quick-lru MIT # readable-stream MIT # regexp-to-ast MIT # resolve-alpn MIT # responselike MIT # reusify MIT # run-parallel MIT # safe-buffer MIT # semver ISC # shebang-command MIT # shebang-regex MIT # slash MIT # sprintf-js BSD-3-Clause # ssri ISC # string_decoder MIT # strip-ansi MIT # supports-color MIT # tar ISC # tar-stream MIT # tinylogic MIT # to-regex-range MIT # toposort MIT # treeify MIT # tslib 0BSD # tunnel MIT # typanion MIT # undici-types MIT # util-deprecate MIT # which ISC # wrappy ISC # yallist ISC # yup MIT License: 0BSD AND Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND ISC AND MIT URL: https://jupyter.org Source: %{pypi_source jupyter_builder} BuildArch: noarch BuildRequires: python3-devel # For tests BuildRequires: toml-cli BuildRequires: python3dist(pytest) %global _description %{expand: Build tools for JupyterLab extensions — extracted from the core JupyterLab codebase to be maintained and used independently.} %description %_description %package -n python3-jupyter-builder Summary: %{summary} # Generated from yarn.js by installing it and inspecting # all its dependencies. # https://github.com/jupyterlab/jupyter-builder/issues/169 Provides: bundled(python3dist(node-semver)) = 0.9.1 Provides: bundled(npm(@arcanis/slice-ansi)) = 1.1.1 Provides: bundled(npm(@babel/runtime)) = 7.29.7 Provides: bundled(npm(@chevrotain/types)) = 9.1.0 Provides: bundled(npm(@chevrotain/utils)) = 9.1.0 Provides: bundled(npm(@nodelib/fs.scandir)) = 2.1.5 Provides: bundled(npm(@nodelib/fs.stat)) = 2.0.5 Provides: bundled(npm(@nodelib/fs.walk)) = 1.2.8 Provides: bundled(npm(@sindresorhus/is)) = 4.6.0 Provides: bundled(npm(@szmarczak/http-timer)) = 4.0.6 Provides: bundled(npm(@yarnpkg/cli)) = 3.5.0 Provides: bundled(npm(@yarnpkg/core)) = 3.7.0 Provides: bundled(npm(@yarnpkg/extensions)) = 1.1.3 Provides: bundled(npm(@yarnpkg/fslib)) = 2.10.4 Provides: bundled(npm(@yarnpkg/libzip)) = 2.3.0 Provides: bundled(npm(@yarnpkg/nm)) = 3.1.1 Provides: bundled(npm(@yarnpkg/parsers)) = 2.6.0 Provides: bundled(npm(@yarnpkg/plugin-compat)) = 3.1.24 Provides: bundled(npm(@yarnpkg/plugin-dlx)) = 3.1.5 Provides: bundled(npm(@yarnpkg/plugin-essentials)) = 3.5.0 Provides: bundled(npm(@yarnpkg/plugin-file)) = 2.3.2 Provides: bundled(npm(@yarnpkg/plugin-git)) = 2.6.8 Provides: bundled(npm(@yarnpkg/plugin-github)) = 2.3.1 Provides: bundled(npm(@yarnpkg/plugin-http)) = 2.2.2 Provides: bundled(npm(@yarnpkg/plugin-init)) = 3.2.1 Provides: bundled(npm(@yarnpkg/plugin-link)) = 2.2.1 Provides: bundled(npm(@yarnpkg/plugin-nm)) = 3.1.6 Provides: bundled(npm(@yarnpkg/plugin-npm)) = 2.7.4 Provides: bundled(npm(@yarnpkg/plugin-npm-cli)) = 3.4.2 Provides: bundled(npm(@yarnpkg/plugin-pack)) = 3.2.0 Provides: bundled(npm(@yarnpkg/plugin-patch)) = 3.2.5 Provides: bundled(npm(@yarnpkg/plugin-pnp)) = 3.2.16 Provides: bundled(npm(@yarnpkg/plugin-pnpm)) = 1.1.3 Provides: bundled(npm(@yarnpkg/plugin-stage)) = 3.1.3 Provides: bundled(npm(@yarnpkg/pnp)) = 3.3.8 Provides: bundled(npm(@yarnpkg/shell)) = 3.3.0 Provides: bundled(npm(@zkochan/cmd-shim)) = 5.4.1 Provides: bundled(npm(ansi-colors)) = 4.1.3 Provides: bundled(npm(ansi-regex)) = 5.0.1 Provides: bundled(npm(ansi-styles)) = 4.3.0 Provides: bundled(npm(argparse)) = 1.0.10 Provides: bundled(npm(array-union)) = 2.1.0 Provides: bundled(npm(base64-js)) = 1.5.1 Provides: bundled(npm(bl)) = 4.1.0 Provides: bundled(npm(braces)) = 3.0.3 Provides: bundled(npm(buffer)) = 5.7.1 Provides: bundled(npm(cacheable-lookup)) = 5.0.4 Provides: bundled(npm(cacheable-request)) = 7.0.4 Provides: bundled(npm(camelcase)) = 5.3.1 Provides: bundled(npm(chalk)) = 3.0.0 Provides: bundled(npm(chevrotain)) = 9.1.0 Provides: bundled(npm(chownr)) = 2.0.0 Provides: bundled(npm(ci-info)) = 3.9.0 Provides: bundled(npm(clipanion)) = 3.2.0-rc.4 Provides: bundled(npm(clone-response)) = 1.0.3 Provides: bundled(npm(cmd-extension)) = 1.0.2 Provides: bundled(npm(color-convert)) = 2.0.1 Provides: bundled(npm(color-name)) = 1.1.4 Provides: bundled(npm(cross-spawn)) = 7.0.3 Provides: bundled(npm(decompress-response)) = 6.0.0 Provides: bundled(npm(defer-to-connect)) = 2.0.1 Provides: bundled(npm(diff)) = 5.2.2 Provides: bundled(npm(dir-glob)) = 3.0.1 Provides: bundled(npm(end-of-stream)) = 1.4.5 Provides: bundled(npm(enquirer)) = 2.4.1 Provides: bundled(npm(esprima)) = 4.0.1 Provides: bundled(npm(fast-glob)) = 3.3.3 Provides: bundled(npm(fastq)) = 1.20.1 Provides: bundled(npm(figgy-pudding)) = 3.5.2 Provides: bundled(npm(fill-range)) = 7.1.1 Provides: bundled(npm(fs-constants)) = 1.0.0 Provides: bundled(npm(fs-minipass)) = 2.1.0 Provides: bundled(npm(get-stream)) = 5.2.0 Provides: bundled(npm(git-up)) = 7.0.0 Provides: bundled(npm(git-url-parse)) = 13.1.1 Provides: bundled(npm(glob-parent)) = 5.1.2 Provides: bundled(npm(globby)) = 11.1.0 Provides: bundled(npm(got)) = 11.8.6 Provides: bundled(npm(graceful-fs)) = 4.2.11 Provides: bundled(npm(grapheme-splitter)) = 1.0.4 Provides: bundled(npm(has-flag)) = 4.0.0 Provides: bundled(npm(http-cache-semantics)) = 4.2.0 Provides: bundled(npm(http2-wrapper)) = 1.0.3 Provides: bundled(npm(ieee754)) = 1.2.1 Provides: bundled(npm(ignore)) = 5.3.2 Provides: bundled(npm(inherits)) = 2.0.4 Provides: bundled(npm(is-extglob)) = 2.1.1 Provides: bundled(npm(is-glob)) = 4.0.3 Provides: bundled(npm(is-number)) = 7.0.0 Provides: bundled(npm(is-ssh)) = 1.4.1 Provides: bundled(npm(is-windows)) = 1.0.2 Provides: bundled(npm(isexe)) = 2.0.0 Provides: bundled(npm(js-yaml)) = 3.15.1 Provides: bundled(npm(json-buffer)) = 3.0.1 Provides: bundled(npm(keyv)) = 4.5.4 Provides: bundled(npm(lodash)) = 4.18.1 Provides: bundled(npm(lodash-es)) = 4.18.1 Provides: bundled(npm(lowercase-keys)) = 2.0.0 Provides: bundled(npm(merge2)) = 1.4.1 Provides: bundled(npm(micromatch)) = 4.0.8 Provides: bundled(npm(mimic-response)) = 1.0.1 Provides: bundled(npm(minipass)) = 5.0.0 Provides: bundled(npm(minizlib)) = 2.1.2 Provides: bundled(npm(mkdirp)) = 1.0.4 Provides: bundled(npm(nanoclone)) = 0.2.1 Provides: bundled(npm(normalize-url)) = 6.1.0 Provides: bundled(npm(once)) = 1.4.0 Provides: bundled(npm(p-cancelable)) = 2.1.1 Provides: bundled(npm(p-limit)) = 2.3.0 Provides: bundled(npm(p-try)) = 2.2.0 Provides: bundled(npm(parse-path)) = 7.1.0 Provides: bundled(npm(parse-url)) = 8.1.0 Provides: bundled(npm(path-key)) = 3.1.1 Provides: bundled(npm(path-type)) = 4.0.0 Provides: bundled(npm(picomatch)) = 2.3.2 Provides: bundled(npm(property-expr)) = 2.0.6 Provides: bundled(npm(protocols)) = 2.0.2 Provides: bundled(npm(pump)) = 3.0.4 Provides: bundled(npm(queue-microtask)) = 1.2.3 Provides: bundled(npm(quick-lru)) = 5.1.1 Provides: bundled(npm(readable-stream)) = 3.6.2 Provides: bundled(npm(regexp-to-ast)) = 0.5.0 Provides: bundled(npm(resolve-alpn)) = 1.2.1 Provides: bundled(npm(responselike)) = 2.0.1 Provides: bundled(npm(reusify)) = 1.1.0 Provides: bundled(npm(run-parallel)) = 1.2.0 Provides: bundled(npm(safe-buffer)) = 5.2.1 Provides: bundled(npm(semver)) = 7.8.5 Provides: bundled(npm(shebang-command)) = 2.0.0 Provides: bundled(npm(shebang-regex)) = 3.0.0 Provides: bundled(npm(slash)) = 3.0.0 Provides: bundled(npm(sprintf-js)) = 1.0.3 Provides: bundled(npm(ssri)) = 6.0.2 Provides: bundled(npm(string_decoder)) = 1.3.0 Provides: bundled(npm(strip-ansi)) = 6.0.1 Provides: bundled(npm(supports-color)) = 7.2.0 Provides: bundled(npm(tar)) = 6.2.1 Provides: bundled(npm(tar-stream)) = 2.2.0 Provides: bundled(npm(tinylogic)) = 1.0.3 Provides: bundled(npm(to-regex-range)) = 5.0.1 Provides: bundled(npm(toposort)) = 2.0.2 Provides: bundled(npm(treeify)) = 1.1.0 Provides: bundled(npm(tslib)) = 1.14.1 Provides: bundled(npm(tunnel)) = 0.0.6 Provides: bundled(npm(typanion)) = 3.14.0 Provides: bundled(npm(util-deprecate)) = 1.0.2 Provides: bundled(npm(which)) = 2.0.2 Provides: bundled(npm(wrappy)) = 1.0.2 Provides: bundled(npm(yallist)) = 4.0.0 Provides: bundled(npm(yup)) = 0.32.11 %description -n python3-jupyter-builder %_description %prep %autosetup -p1 -n jupyter_builder-%{version} # Remove shebang line from yarn.js sed -i '1{/^#!/d}' jupyter_builder/yarn.js # Pytest cannot import copier toml unset --toml-path pyproject.toml tool.pytest.ini_options.filterwarnings %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files -l jupyter_builder %check # Ignored tests require copier which is not packaged yet %pytest --ignore tests/test_tpl.py %files -n python3-jupyter-builder -f %{pyproject_files} %doc README.md CHANGELOG.md %{_bindir}/jupyter-builder %{_bindir}/jlpm %changelog %autochangelog