Accepting request 1220553 from devel:languages:javascript

OBS-URL: https://build.opensuse.org/request/show/1220553
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/deno?expand=0&rev=53
This commit is contained in:
Ana Guerrero 2024-11-04 21:42:41 +00:00 committed by Git OBS Bridge
commit 4dc2051bc5
6 changed files with 21 additions and 9 deletions

View File

@ -13,15 +13,16 @@
<param name="versionrewrite-replacement">\1</param> <param name="versionrewrite-replacement">\1</param>
<param name="changesgenerate">enable</param> <param name="changesgenerate">enable</param>
</service> </service>
<service name="cargo_vendor" mode="manual"> <service name="cargo_vendor_home_registry" mode="manual">
<param name="srcdir">deno</param>
<param name="update">false</param> <param name="update">false</param>
<param name="src">deno</param>
</service> </service>
<service mode="manual" name="set_version"/> <service mode="manual" name="set_version"/>
<service name="roast" mode="manual"> <service name="roast" mode="manual">
<param name="target">deno</param> <param name="target">deno</param>
<param name="outfile">deno-2.0.4.tar.zst</param> <param name="outfile">deno-2.0.4.tar.zst</param>
<param name="preserve-root">true</param> <param name="preserve-root">true</param>
<param name="reproducible">true</param>
</service> </service>
</services> </services>

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1 version https://git-lfs.github.com/spec/v1
oid sha256:03fb184fc3eabe2ad9602965d7164e30006b43ff4fa18f3f4c82131ac81c7551 oid sha256:cf2c468363b19df96af9813f4328cdd407c09ee7b2f2ebc9d3c5a07e7309dd2a
size 98935036 size 333996917

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Sun Nov 3 08:22:47 UTC 2024 - Soc Virnyl Estela <uncomfyhalomacro@opensuse.org>
- Experiement with vendoring cargo home registry.
-------------------------------------------------------------------
Sat Nov 2 12:48:07 UTC 2024 - Soc Virnyl Estela <uncomfyhalomacro@opensuse.org>
- Make source and vendor tarballs reproducible.
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Oct 31 17:03:47 UTC 2024 - Soc Virnyl Estela <uncomfyhalomacro@opensuse.org> Thu Oct 31 17:03:47 UTC 2024 - Soc Virnyl Estela <uncomfyhalomacro@opensuse.org>

View File

@ -27,7 +27,7 @@ License: MIT
Group: Productivity/Other Group: Productivity/Other
URL: https://github.com/denoland/deno URL: https://github.com/denoland/deno
Source0: %{name}-%{version}.tar.zst Source0: %{name}-%{version}.tar.zst
Source1: vendor.tar.zst Source1: registry.tar.zst
BuildRequires: cargo-packaging BuildRequires: cargo-packaging
BuildRequires: clang BuildRequires: clang
# needed by `libz-ng-sys` after 1.36.1 # needed by `libz-ng-sys` after 1.36.1
@ -103,9 +103,10 @@ updated with the --reload flag.
unlink $PWD/rusty_v8 || true unlink $PWD/rusty_v8 || true
ln -sf %{_libdir}/crates/rusty_v8 $PWD/rusty_v8 ln -sf %{_libdir}/crates/rusty_v8 $PWD/rusty_v8
echo -e "\n[patch.crates-io]\nv8 = { path = './rusty_v8' }" >> Cargo.toml echo -e "\n[patch.crates-io]\nv8 = { path = './rusty_v8' }" >> Cargo.toml
%{__cargo} update --offline export CARGO_HOME=$PWD/.cargo
%build %build
export CARGO_HOME=$PWD/.cargo
# Ensure that the clang version matches. This command came from Archlinux. Thanks. # Ensure that the clang version matches. This command came from Archlinux. Thanks.
export CLANG_VERSION=$(clang --version | grep -m1 version | sed 's/.* \([0-9]\+\).*/\1/') export CLANG_VERSION=$(clang --version | grep -m1 version | sed 's/.* \([0-9]\+\).*/\1/')
export V8_FROM_SOURCE=1 export V8_FROM_SOURCE=1

3
registry.tar.zst Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6589197fb1387d898fdafe72fc2af2469cd85fd3b0a5e93fda337950f64d29a3
size 140515832

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:fcbafc3603876ae8b4154273471eeb2d6c7ce0c3fe95474eb1e4d679a6b1a97a
size 94804359