Mon Mar 21 23:00:33 2022 UTC ()
lang/quickjs: import DESCR from wip/quickjs


(rillig)
diff -r1.1 -r1.2 pkgsrc/lang/quickjs/DESCR
diff -r1.9 -r1.10 pkgsrc/lang/quickjs/Makefile

cvs diff -r1.1 -r1.2 pkgsrc/lang/quickjs/DESCR (expand / switch to unified diff)

--- pkgsrc/lang/quickjs/DESCR 2019/11/14 21:20:04 1.1
+++ pkgsrc/lang/quickjs/DESCR 2022/03/21 23:00:33 1.2
@@ -1,5 +1,26 @@ @@ -1,5 +1,26 @@
1QuickJS is a small and embeddable Javascript engine. It supports the 1QuickJS is a small and embeddable Javascript engine. It supports the
2ES2020 specification including modules, asynchronous generators and 2ES2020 specification including modules, asynchronous generators and
3proxies. It optionally supports mathematical extensions such as big 3proxies.
4integers (BigInt), big floating point numbers (BigFloat) and operator 4
 5It optionally supports mathematical extensions such as big integers
 6(BigInt), big floating point numbers (BigFloat) and operator
5overloading. 7overloading.
 8
 9Main Features:
 10 * Small and easily embeddable: just a few C files, no external
 11 dependency, 190 KiB of x86 code for a simple hello world program.
 12 * Fast interpreter with very low startup time: runs the 56000
 13 tests of the ECMAScript Test Suite in about 100 seconds on a
 14 single core of a desktop PC. The complete life cycle of a runtime
 15 instance completes in less than 300 microseconds.
 16 * Almost complete ES2020 support including modules, asynchronous
 17 generators and full Annex B support (legacy web compatibility).
 18 * Passes 100% of the ECMAScript Test Suite.
 19 * Can compile Javascript sources to executables with no external dependency.
 20 * Garbage collection using reference counting (to reduce memory
 21 usage and have deterministic behavior) with cycle removal.
 22 * Mathematical extensions: BigInt, BigFloat, operator overloading,
 23 bigint mode, math mode.
 24 * Command line interpreter with contextual colorization implemented
 25 in Javascript.
 26 * Small built-in standard library with C library wrappers.

cvs diff -r1.9 -r1.10 pkgsrc/lang/quickjs/Makefile (expand / switch to unified diff)

--- pkgsrc/lang/quickjs/Makefile 2022/01/30 10:55:03 1.9
+++ pkgsrc/lang/quickjs/Makefile 2022/03/21 23:00:33 1.10
@@ -1,20 +1,21 @@ @@ -1,20 +1,21 @@
1# $NetBSD: Makefile,v 1.9 2022/01/30 10:55:03 he Exp $ 1# $NetBSD: Makefile,v 1.10 2022/03/21 23:00:33 rillig Exp $
2 2
3NAME= quickjs 3NAME= quickjs
4QJS_DATE= 2021-03-27 4QJS_DATE= 2021-03-27
5VERSION= ${QJS_DATE:S/-//g} 5VERSION= ${QJS_DATE:S/-//g}
6DISTNAME= ${NAME}-${QJS_DATE} 6DISTNAME= ${NAME}-${QJS_DATE}
7PKGNAME= ${NAME}-${VERSION} 7PKGNAME= ${NAME}-${VERSION}
 8PKGREVISION= 1
8CATEGORIES= lang 9CATEGORIES= lang
9MASTER_SITES= https://bellard.org/quickjs/ 10MASTER_SITES= https://bellard.org/quickjs/
10EXTRACT_SUFX= .tar.xz 11EXTRACT_SUFX= .tar.xz
11 12
12MAINTAINER= pkgsrc-users@NetBSD.org 13MAINTAINER= pkgsrc-users@NetBSD.org
13HOMEPAGE= https://bellard.org/quickjs/ 14HOMEPAGE= https://bellard.org/quickjs/
14COMMENT= Quick JavaScript interpreter 15COMMENT= Quick JavaScript interpreter
15LICENSE= mit 16LICENSE= mit
16 17
17USE_TOOLS+= gmake 18USE_TOOLS+= gmake
18MAKE_FLAGS= prefix=${PREFIX} 19MAKE_FLAGS= prefix=${PREFIX}
19TEST_TARGET= test 20TEST_TARGET= test
20AUTO_MKDIRS= yes 21AUTO_MKDIRS= yes