Github messages for voidlinux
 help / color / mirror / Atom feed
From: shizonic <shizonic@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: deno-1.5.2
Date: Mon, 16 Nov 2020 10:34:28 +0100	[thread overview]
Message-ID: <20201116093428.YaI5aNAN-OF5Mzyz6OsFYBMiPs0pe4unXgzjJSbm2_Q@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-25436@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 312 bytes --]

There is an updated pull request by shizonic against master on the void-packages repository

https://github.com/shizonic/void-packages deno
https://github.com/void-linux/void-packages/pull/25436

New package: deno-1.5.2


A patch file from https://github.com/void-linux/void-packages/pull/25436.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-deno-25436.patch --]
[-- Type: text/x-diff, Size: 3715 bytes --]

From 2238146ee4fa87f6a585769626ea02b90c8202ab Mon Sep 17 00:00:00 2001
From: Toby Merz <realtiaz@gmail.com>
Date: Thu, 8 Oct 2020 09:38:07 +0200
Subject: [PATCH] New package: deno-1.5.2

---
 srcpkgs/deno/patches/rusty_v8.patch | 11 +++++++++
 srcpkgs/deno/template               | 38 +++++++++++++++++++++++++++++
 srcpkgs/deno/update                 |  2 ++
 srcpkgs/gn/template                 | 32 ++++++++++++++++++++++++
 4 files changed, 83 insertions(+)
 create mode 100644 srcpkgs/deno/patches/rusty_v8.patch
 create mode 100644 srcpkgs/deno/template
 create mode 100644 srcpkgs/deno/update
 create mode 100644 srcpkgs/gn/template

diff --git a/srcpkgs/deno/patches/rusty_v8.patch b/srcpkgs/deno/patches/rusty_v8.patch
new file mode 100644
index 00000000000..a32cb05f823
--- /dev/null
+++ b/srcpkgs/deno/patches/rusty_v8.patch
@@ -0,0 +1,11 @@
+--- Cargo.lock	2020-10-10 12:30:55.000000000 +0200
++++ -	2020-10-22 17:12:50.248150438 +0200
+@@ -1920,8 +1920,6 @@
+ [[package]]
+ name = "rusty_v8"
+ version = "0.11.0"
+-source = "registry+https://github.com/rust-lang/crates.io-index"
+-checksum = "8c11463988ec37b3f8cb84e4c2fe8f63058c46e07348b6d1d27b114a2b981304"
+ dependencies = [
+  "bitflags",
+  "cargo_gn",
diff --git a/srcpkgs/deno/template b/srcpkgs/deno/template
new file mode 100644
index 00000000000..52cd4a50333
--- /dev/null
+++ b/srcpkgs/deno/template
@@ -0,0 +1,38 @@
+# Template file for 'deno'
+pkgname=deno
+version=1.5.2
+revision=1
+build_helper="rust"
+hostmakedepends="cargo pkg-config curl unzip python ninja gn clang nodejs
+ lld llvm gobject-introspection"
+depends="libglib-devel"
+short_desc="Simple, modern and secure runtime for JavaScript and TypeScript"
+maintainer="shizonic <realtiaz@gmail.com>"
+license="MIT"
+homepage="https://deno.land"
+distfiles="https://github.com/denoland/deno/archive/v${version}.tar.gz
+ https://void.johnnynator.dev/distfiles/rusty_v8-0.11.0.tar.gz"
+checksum="5ceac4652c065ae4b3e90f620137e45fb5db8bbc66aadced877a121f5b019455
+ c4045d5a3e7f95f6faa323639a3289f7c543385c10a9015f73dfe97fc7d6ca7c"
+
+post_extract() {
+	mv ../rusty_v8-0.11.0 rusty-void
+	cat >>Cargo.toml <<-'_EOF'
+
+	[patch.crates-io]
+	rusty_v8 = { path = 'rusty-void' }
+	_EOF
+}
+
+do_build() {
+	CLANG_BASE_PATH=/usr \
+	NINJA=/usr/bin/ninja \
+	GN=/usr/bin/gn \
+	V8_FROM_SOURCE=1 \
+	cargo build --release --locked --target ${RUST_TARGET} -vv
+}
+
+do_install() {
+	vbin target/${RUST_TARGET}/release/deno
+	vlicense LICENSE
+}
diff --git a/srcpkgs/deno/update b/srcpkgs/deno/update
new file mode 100644
index 00000000000..8741fea29c2
--- /dev/null
+++ b/srcpkgs/deno/update
@@ -0,0 +1,2 @@
+site="https://github.com/denoland/deno/releases"
+pattern="\bv\K(\d+\.\d+\.\d+)\b"
diff --git a/srcpkgs/gn/template b/srcpkgs/gn/template
new file mode 100644
index 00000000000..155a81ae0e2
--- /dev/null
+++ b/srcpkgs/gn/template
@@ -0,0 +1,32 @@
+# Template file for 'gn'
+pkgname=gn
+version=0.0.20201022
+revision=1
+_githash=6f13aaac
+create_wrksrc=yes
+hostmakedepends="python3 ninja"
+short_desc="Meta-build system that generates build files for Ninja"
+maintainer="shizonic <realtiaz@gmail.com>"
+license="BSD-3-Clause"
+homepage="https://gn.googlesource.com/gn/"
+distfiles="https://gn.googlesource.com/gn/+archive/${_githash}.tar.gz"
+checksum=@80d9da7d58252fa49089386c943d8e3c493a4e314309dbf5e7b7585bfb484fa8
+
+post_extract() {
+	printf '#define LAST_COMMIT_POSITION "%s"\n' "$version" >src/gn/last_commit_position.h
+	printf '#define LAST_COMMIT_POSITION_NUM 0\n' >>src/gn/last_commit_position.h
+}
+
+do_build() {
+	./build/gen.py --no-last-commit-position
+	ninja -C out
+}
+
+do_check() {
+	./out/gn_unittests
+}
+
+do_install() {
+	vbin out/gn
+	vlicense LICENSE
+}

  parent reply	other threads:[~2020-11-16  9:34 UTC|newest]

Thread overview: 71+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-08  7:39 [PR PATCH] New package: deno-1.4.4 shizonic
2020-10-08  7:59 ` [PR PATCH] [Updated] " shizonic
2020-10-08 18:51 ` [PR REVIEW] WIP: " Chocimier
2020-10-08 18:52 ` Chocimier
2020-10-09 13:58 ` shizonic
2020-10-09 13:58 ` [PR REVIEW] " shizonic
2020-10-09 14:12 ` [PR PATCH] [Updated] " shizonic
2020-10-09 14:39 ` shizonic
2020-10-09 14:45 ` [PR PATCH] [Updated] [WIP] New package: deno-1.4.5 shizonic
2020-10-09 15:08 ` shizonic
2020-10-13  9:39 ` shizonic
2020-10-13  9:39 ` shizonic
2020-10-13  9:40 ` shizonic
2020-10-13  9:41 ` [PR PATCH] [Updated] [WIP] New package: deno-1.4.6 shizonic
2020-10-13 13:51 ` shizonic
2020-10-13 14:08 ` shizonic
2020-10-14 12:00 ` shizonic
2020-10-14 12:42 ` shizonic
2020-10-14 14:14 ` shizonic
2020-10-14 19:13 ` Chocimier
2020-10-14 19:25 ` shizonic
2020-10-14 19:26 ` shizonic
2020-10-14 19:37 ` ericonr
2020-10-14 19:38 ` ericonr
2020-10-14 19:46 ` shizonic
2020-10-18  8:52 ` [PR PATCH] [Updated] " shizonic
2020-10-18  8:57 ` shizonic
2020-10-19 11:33 ` [PR PATCH] [Updated] " shizonic
2020-10-22 10:34 ` shizonic
2020-10-22 10:39 ` shizonic
2020-10-22 12:23 ` shizonic
2020-10-22 12:26 ` shizonic
2020-10-22 13:51 ` [PR PATCH] [Updated] " shizonic
2020-10-22 15:15 ` Johnnynator
2020-10-22 15:27 ` shizonic
2020-10-22 19:06 ` shizonic
2020-10-22 20:45 ` Johnnynator
2020-10-22 20:50 ` shizonic
2020-10-24  8:15 ` [PR PATCH] [Updated] " shizonic
2020-11-15  5:21 ` smorimoto
2020-11-15  5:41 ` shizonic
2020-11-16  4:17 ` smorimoto
2020-11-16  9:10 ` [PR PATCH] [Updated] " shizonic
2020-11-16  9:34 ` shizonic [this message]
2020-11-16  9:45 ` [PR PATCH] [Updated] New package: deno-1.5.2 shizonic
2020-11-16 12:30 ` q66
2020-11-18  6:47 ` [PR PATCH] [Updated] " shizonic
2020-11-18  7:05 ` [PR PATCH] [Updated] New package: deno-1.5.3 shizonic
2020-11-18  7:30 ` shizonic
2020-11-18  8:26 ` smorimoto
2020-11-18  8:29 ` smorimoto
2020-11-18  9:04 ` shizonic
2020-11-18  9:06 ` [PR PATCH] [Updated] " shizonic
2020-11-18 10:22 ` shizonic
2020-11-18 21:14 ` shizonic
2020-11-20  3:57 ` smorimoto
2020-11-20  4:06 ` shizonic
2020-11-20  5:39 ` smorimoto
2020-11-20  6:31 ` shizonic
2020-11-22 13:05 ` shizonic
2020-11-22 13:06 ` shizonic
2020-11-22 14:50 ` q66
2020-11-22 14:55 ` smorimoto
2020-11-22 15:04 ` q66
2020-11-22 16:16 ` shizonic
2021-05-31  3:43 ` kawaiiamber
2021-05-31  4:07 ` kawaiiamber
2021-05-31 15:55 ` Chocimier
2022-04-20  2:15 ` github-actions
2022-05-04  2:15 ` [PR PATCH] [Closed]: " github-actions
2023-04-10  4:11 ` astralchan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20201116093428.YaI5aNAN-OF5Mzyz6OsFYBMiPs0pe4unXgzjJSbm2_Q@z \
    --to=shizonic@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).