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] [WIP] New package: deno-1.4.6
Date: Thu, 22 Oct 2020 12:39:49 +0200	[thread overview]
Message-ID: <20201022103949.VvOxPhBks-UKaia8g-7liyj2K9H_vHDGQ_ASGawy0Is@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: 318 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

[WIP] New package: deno-1.4.6


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: 2667 bytes --]

From d45cd3ea2532df3f2d763badd43136af70976107 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.4.6

---
 srcpkgs/deno/template | 24 ++++++++++++++++++++++++
 srcpkgs/deno/update   |  2 ++
 srcpkgs/gn/template   | 32 ++++++++++++++++++++++++++++++++
 3 files changed, 58 insertions(+)
 create mode 100644 srcpkgs/deno/template
 create mode 100644 srcpkgs/deno/update
 create mode 100644 srcpkgs/gn/template

diff --git a/srcpkgs/deno/template b/srcpkgs/deno/template
new file mode 100644
index 00000000000..a790886bac7
--- /dev/null
+++ b/srcpkgs/deno/template
@@ -0,0 +1,24 @@
+# Template file for 'deno'
+pkgname=deno
+version=1.4.6
+revision=1
+archs="x86_64"
+build_helper="rust"
+hostmakedepends="cargo pkg-config curl unzip python ninja gn clang nodejs
+ 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"
+checksum=802bd22bcb00c1f2331f054b83820dfcdd7f79cc135bcd062d057f35fec9cba4
+
+do_build() {
+	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..ae54fb17f2c
--- /dev/null
+++ b/srcpkgs/gn/template
@@ -0,0 +1,32 @@
+# Template file for 'gn'
+pkgname=gn
+version=0.0.20201022
+revision=1
+_githash=f5f465b52e5df6d4de9fbe67cc79f1914ba4dbfc
+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=@3ef35abf6ff8530e55cd145c7f9498d6e08169d5fea9d9ce4ece29ff4b7fb14a
+
+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-10-22 10:39 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 [this message]
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 ` [PR PATCH] [Updated] New package: deno-1.5.2 shizonic
2020-11-16  9:45 ` 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=20201022103949.VvOxPhBks-UKaia8g-7liyj2K9H_vHDGQ_ASGawy0Is@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).