node-serialport: update to 9.0.4 14354/head
authorHirokazu MORIKAWA <morikw2@gmail.com>
Mon, 28 Dec 2020 04:33:28 +0000 (13:33 +0900)
committerHirokazu MORIKAWA <morikw2@gmail.com>
Mon, 28 Dec 2020 04:33:28 +0000 (13:33 +0900)
Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
lang/node-serialport/Makefile
lang/node-serialport/patches/000-remove_depends.patch [new file with mode: 0644]
lang/node-serialport/patches/001-turn_off_depends.patch [deleted file]

index 5d3542665880a29530f8aeaf453a9b4fb57b8120..7988b08652822825cb66efd8c2d6a04e61071891 100644 (file)
@@ -9,12 +9,12 @@ include $(TOPDIR)/rules.mk
 
 PKG_NPM_NAME:=serialport
 PKG_NAME:=node-$(PKG_NPM_NAME)
-PKG_VERSION:=9.0.2
+PKG_VERSION:=9.0.4
 PKG_RELEASE:=1
 
 PKG_SOURCE:=$(PKG_NPM_NAME)-$(PKG_VERSION).tgz
 PKG_SOURCE_URL:=https://registry.npmjs.org/$(PKG_NPM_NAME)/-/
-PKG_HASH:=5f4cef3ec85accc8ad3d2ba75654fca4270e4a00d01729c4c4bcb895a3fdb5d6
+PKG_HASH:=e19fe993ad16ae0e03fc42e24cfe4babf8fd90f8358e1885d5e216277dda1086
 
 PKG_BUILD_DEPENDS:=node/host
 PKG_USE_MIPS16:=0
@@ -56,7 +56,7 @@ define Build/Compile
        npm_config_prefix=$(PKG_INSTALL_DIR)/usr/ \
        npm_config_cache=$(TMP_DIR)/npm-cache-$(TMPNPM) \
        npm_config_tmp=$(TMP_DIR)/npm-tmp-$(TMPNPM) \
-       npm install -g --build-from-source $(PKG_BUILD_DIR)
+       npm install -g $(PKG_BUILD_DIR)
        rm -rf $(TMP_DIR)/npm-tmp-$(TMPNPM)
        rm -rf $(TMP_DIR)/npm-cache-$(TMPNPM)
 endef
diff --git a/lang/node-serialport/patches/000-remove_depends.patch b/lang/node-serialport/patches/000-remove_depends.patch
new file mode 100644 (file)
index 0000000..063d041
--- /dev/null
@@ -0,0 +1,10 @@
+--- a/package.json
++++ b/package.json
+@@ -46,7 +46,6 @@
+   ],
+   "dependencies": {
+     "@serialport/binding-mock": "^9.0.2",
+-    "@serialport/bindings": "^9.0.4",
+     "@serialport/parser-byte-length": "^9.0.1",
+     "@serialport/parser-cctalk": "^9.0.1",
+     "@serialport/parser-delimiter": "^9.0.1",
diff --git a/lang/node-serialport/patches/001-turn_off_depends.patch b/lang/node-serialport/patches/001-turn_off_depends.patch
deleted file mode 100644 (file)
index bb6ace6..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
---- a/package.json
-+++ b/package.json
-@@ -46,7 +46,6 @@
-   ],
-   "dependencies": {
-     "@serialport/binding-mock": "^9.0.2",
--    "@serialport/bindings": "^9.0.2",
-     "@serialport/parser-byte-length": "^9.0.1",
-     "@serialport/parser-cctalk": "^9.0.1",
-     "@serialport/parser-delimiter": "^9.0.1",