Accepting request 1206506 from devel:languages:javascript
OBS-URL: https://build.opensuse.org/request/show/1206506 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/deno?expand=0&rev=48
This commit is contained in:
commit
df80cad86f
10
_service
10
_service
@ -13,16 +13,22 @@
|
||||
<service name="tar_scm" mode="manual">
|
||||
<param name="scm">git</param>
|
||||
<param name="url">https://github.com/denoland/deno</param>
|
||||
<param name="revision">c7cba4eda73e000baa6bfbce6a156f9974edee36</param>
|
||||
<param name="version">2.0.0~rc10</param>
|
||||
<!-- param name="versionformat">@PARENT_TAG@+git@TAG_OFFSET@</param -->
|
||||
<param name="versionformat">@PARENT_TAG@</param>
|
||||
<param name="revision">v2.0.0</param>
|
||||
<param name="versionrewrite-pattern">v(.*)</param>
|
||||
<param name="versionrewrite-replacement">\1</param>
|
||||
<param name="changesgenerate">enable</param>
|
||||
</service>
|
||||
<service name="tar" mode="manual"/>
|
||||
<service name="recompress" mode="manual">
|
||||
<param name="file">deno-2.0.0*.tar</param>
|
||||
<param name="compression">zst</param>
|
||||
</service>
|
||||
<service mode="manual" name="set_version"/>
|
||||
<service name="cargo_vendor" mode="manual">
|
||||
<param name="srcdir">deno</param>
|
||||
<param name="update">false</param>
|
||||
</service>
|
||||
</services>
|
||||
|
||||
|
4
_servicedata
Normal file
4
_servicedata
Normal file
@ -0,0 +1,4 @@
|
||||
<servicedata>
|
||||
<service name="tar_scm">
|
||||
<param name="url">https://github.com/denoland/deno</param>
|
||||
<param name="changesrevision">a62c7e036ab6851c0293f407ead635a7331445b7</param></service></servicedata>
|
3
deno-2.0.0.tar.zst
Normal file
3
deno-2.0.0.tar.zst
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:6f3c7b52193ebea48ced0d5d35d534c50e3587798a52283344e313bf9cf4106e
|
||||
size 106727617
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:2d86a702a9b58a0dfd4c05aedb53c592c70149b949fcaf2b252ce5f4003a81df
|
||||
size 106781187
|
44
deno.changes
44
deno.changes
@ -1,3 +1,47 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 9 09:46:54 UTC 2024 - Soc Virnyl Estela <obs@uncomfyhalomacro.pl>
|
||||
|
||||
- update to version v2.0.0:
|
||||
* fix: use tree-sitter for deno_doc
|
||||
* fix: disable same-origin.html WPT
|
||||
* refactor: remove usage of full_range
|
||||
* fix(ext/node): internal buffer length in readSync
|
||||
* fix(console): missing cause property on non-error objects
|
||||
* fix(lsp): exclude missing import quick fixes with bad resolutions
|
||||
* feat(lsp): add a message when someone runs 'deno lsp' manually
|
||||
* fix(ext/webstorage): make `getOwnPropertyDescriptor` with symbol return `undefined`
|
||||
* feat(ext/crypto): X448 support
|
||||
* refactor: improve node permission checks
|
||||
* chore: enable lock_deno_json_package_json_deps
|
||||
* fix(node): fix worker_threads issues blocking Angular support
|
||||
* tests: enable package_json_node_modules_none
|
||||
* fix(install): surface package.json dependency errors
|
||||
* Revert "feat: warn when using --allow-run with no allow list"
|
||||
* tests: enable specs::run::package_json::invalid_value
|
||||
* fix(npm): root package has peer dependency on itself
|
||||
* fix(task): use current executable for deno even when not named deno
|
||||
* chore: show expectation diff for wpt tests
|
||||
* fix: don't prompt when using `Deno.permissions.request` with `--no-prompt`
|
||||
* chore: remove custom `bench` profile
|
||||
* fix(ext/crypto): fix identity test for x25519 derive bits
|
||||
* feat(permissions): allow importing from cdn.jsdelivr.net by default
|
||||
* perf: Use -O3 for sui in release builds
|
||||
* fix: enable `Win32_Security` feature in `windows-sys`
|
||||
* fix(install): store tags associated with package in node_modules dir
|
||||
* chore: disable flaky uv_test.js for now
|
||||
* fix(install): compare versions directly to decide whether to create a child node_modules dir for a workspace member
|
||||
* feat(byonm): support `deno run npm:<package>` when package is not in package.json
|
||||
* fix(node): implement libuv APIs needed to support `npm:sqlite3`
|
||||
* Revert "fix(urlpattern): fallback to empty string for undefined group values"
|
||||
* fix(workspace): handle when config has members when specified via --config
|
||||
* fix(no-slow-types): better `override` handling
|
||||
* perf(ext/node): reduce some allocations in require
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 7 23:26:04 UTC 2024 - Soc Virnyl Estela <obs@uncomfyhalomacro.pl>
|
||||
|
||||
- Add bash, fish, and zsh completion subpackages
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 3 13:21:53 UTC 2024 - Soc Virnyl Estela <obs@uncomfyhalomacro.pl>
|
||||
|
||||
|
@ -1,5 +1,4 @@
|
||||
name: deno
|
||||
version: 2.0.0~rc10
|
||||
mtime: 1706983689
|
||||
commit: c7cba4eda73e000baa6bfbce6a156f9974edee36
|
||||
|
||||
version: 2.0.0
|
||||
mtime: 1728465847
|
||||
commit: a62c7e036ab6851c0293f407ead635a7331445b7
|
||||
|
61
deno.spec
61
deno.spec
@ -19,7 +19,7 @@
|
||||
|
||||
|
||||
Name: deno
|
||||
Version: 2.0.0~rc10
|
||||
Version: 2.0.0
|
||||
Release: 0
|
||||
Summary: A secure JavaScript and TypeScript runtime
|
||||
License: MIT
|
||||
@ -32,7 +32,7 @@ BuildRequires: clang
|
||||
# needed by `libz-ng-sys` after 1.36.1
|
||||
# see: https://build.opensuse.org/package/show/devel:languages:javascript/deno#comment-1808174
|
||||
BuildRequires: cmake
|
||||
BuildRequires: cargo >= 1.68.0
|
||||
BuildRequires: cargo >= 1.80
|
||||
BuildRequires: gn
|
||||
BuildRequires: lld
|
||||
BuildRequires: llvm
|
||||
@ -54,6 +54,39 @@ ExclusiveArch: x86_64 aarch64 ppc64 ppc64le s390x
|
||||
Patch10: deno-disable-lto.patch
|
||||
%endif
|
||||
|
||||
%package fish-completion
|
||||
Summary: Fish Completion for %{name}
|
||||
Group: System/Shells
|
||||
Supplements: (%{name} and fish)
|
||||
Requires: %{name}
|
||||
Requires: fish
|
||||
BuildArch: noarch
|
||||
|
||||
%description fish-completion
|
||||
Fish command-line completion support for %{name}.
|
||||
|
||||
%package zsh-completion
|
||||
Summary: Zsh Completion for %{name}
|
||||
Group: System/Shells
|
||||
Supplements: (%{name} and zsh)
|
||||
Requires: %{name}
|
||||
Requires: zsh
|
||||
BuildArch: noarch
|
||||
|
||||
%description zsh-completion
|
||||
Zsh command-line completion support for %{name}.
|
||||
|
||||
%package bash-completion
|
||||
Summary: Bash Completion for %{name}
|
||||
Group: System/Shells
|
||||
Supplements: (%{name} and bash-completion)
|
||||
Requires: %{name}
|
||||
Requires: bash-completion
|
||||
BuildArch: noarch
|
||||
|
||||
%description bash-completion
|
||||
Bash command-line completion support for %{name}.
|
||||
|
||||
%description
|
||||
A JavaScript and TypeScript platform built on V8
|
||||
|
||||
@ -87,8 +120,17 @@ export GN_ARGS="clang_version=${CLANG_VERSION} use_lld=true enable_nacl = false
|
||||
%install
|
||||
# place deno cli manually (cannot cargo install)
|
||||
mkdir -p %{buildroot}%{_bindir}
|
||||
export PATH="%{buildroot}%{_bindir}:${PATH}"
|
||||
mkdir -p %{buildroot}%{_datadir}/bash-completion/completions
|
||||
mkdir -p %{buildroot}%{_datadir}/fish/vendor_completions.d
|
||||
mkdir -p %{buildroot}%{_datadir}/zsh/site-functions
|
||||
|
||||
cp target/release/deno %{buildroot}%{_bindir}
|
||||
|
||||
deno completions bash > %{buildroot}%{_datadir}/bash-completion/completions/%{name}
|
||||
deno completions fish > %{buildroot}%{_datadir}/fish/vendor_completions.d/%{name}.fish
|
||||
deno completions zsh > %{buildroot}%{_datadir}/zsh/site-functions/_%{name}
|
||||
|
||||
%check
|
||||
export PATH="${PATH}:%{buildroot}%{_bindir}"
|
||||
deno run tests/testdata/run/002_hello.ts
|
||||
@ -98,4 +140,19 @@ deno run tests/testdata/run/002_hello.ts
|
||||
%doc README.md
|
||||
%{_bindir}/%{name}
|
||||
|
||||
%files bash-completion
|
||||
%dir %{_datadir}/bash-completion
|
||||
%dir %{_datadir}/bash-completion/completions
|
||||
%{_datadir}/bash-completion/completions/%{name}
|
||||
|
||||
%files fish-completion
|
||||
%dir %{_datadir}/fish
|
||||
%dir %{_datadir}/fish/vendor_completions.d
|
||||
%{_datadir}/fish/vendor_completions.d/%{name}.fish
|
||||
|
||||
%files zsh-completion
|
||||
%dir %{_datadir}/zsh
|
||||
%dir %{_datadir}/zsh/site-functions
|
||||
%{_datadir}/zsh/site-functions/_%{name}
|
||||
|
||||
%changelog
|
||||
|
@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:49a469b5988c25f1d652499c31c103288f4332a19fdd2665e311416bb48de756
|
||||
size 97310468
|
||||
oid sha256:4b715210c248a0c7d7056b0495fcec545d34c249b41d76936457f804eec39261
|
||||
size 95107232
|
||||
|
Loading…
x
Reference in New Issue
Block a user