node-serialport: update to 9.0.1 13420/head
authorHirokazu MORIKAWA <morikw2@gmail.com>
Fri, 18 Sep 2020 06:59:42 +0000 (15:59 +0900)
committerHirokazu MORIKAWA <morikw2@gmail.com>
Fri, 18 Sep 2020 06:59:42 +0000 (15:59 +0900)
Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
lang/node-serialport/Makefile
lang/node-serialport/patches/001-turn_off_depends.patch

index 1d629731c6f959653f7a6f636dcb42cb2961d20b..ea1acc7f3092b0a9152651373c394e0ab9cd10a1 100644 (file)
@@ -9,12 +9,12 @@ include $(TOPDIR)/rules.mk
 
 PKG_NPM_NAME:=serialport
 PKG_NAME:=node-$(PKG_NPM_NAME)
-PKG_VERSION:=8.0.7
+PKG_VERSION:=9.0.1
 PKG_RELEASE:=1
 
 PKG_SOURCE:=$(PKG_NPM_NAME)-$(PKG_VERSION).tgz
 PKG_SOURCE_URL:=https://registry.npmjs.org/$(PKG_NPM_NAME)/-/
-PKG_HASH:=b70000ad4560dbd7170e657554d6302024a340ae868e1db0fc672aaab2efbd9c
+PKG_HASH:=9f837bc5b64dde03aaf097093a2674789405f436fd367903502d3e2e17fcd4a3
 
 PKG_BUILD_DEPENDS:=node/host
 PKG_USE_MIPS16:=0
@@ -65,7 +65,7 @@ define Package/node-serialport/install
        $(INSTALL_DIR) $(1)/usr/lib/node/$(PKG_NPM_NAME)
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/node_modules/$(PKG_NPM_NAME)/{package.json,LICENSE,*.md} \
                $(1)/usr/lib/node/$(PKG_NPM_NAME)/
-       $(CP) $(PKG_INSTALL_DIR)/usr/lib/node_modules/$(PKG_NPM_NAME)/test.js \
+       $(CP) $(PKG_INSTALL_DIR)/usr/lib/node_modules/$(PKG_NPM_NAME)/*.js \
                $(1)/usr/lib/node/$(PKG_NPM_NAME)/
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/node_modules/$(PKG_NPM_NAME)/{node_modules,lib} \
                $(1)/usr/lib/node/$(PKG_NPM_NAME)/
index 9c4ebf841fce799436d0e977af30812e93364322..1fa6701f0d1f8bdf815e8270399526205e8ee15a 100644 (file)
@@ -3,8 +3,8 @@
 @@ -46,7 +46,6 @@
    ],
    "dependencies": {
-     "@serialport/binding-mock": "^8.0.6",
--    "@serialport/bindings": "^8.0.7",
-     "@serialport/parser-byte-length": "^8.0.6",
-     "@serialport/parser-cctalk": "^8.0.6",
-     "@serialport/parser-delimiter": "^8.0.6",
+     "@serialport/binding-mock": "^9.0.1",
+-    "@serialport/bindings": "^9.0.1",
+     "@serialport/parser-byte-length": "^9.0.1",
+     "@serialport/parser-cctalk": "^9.0.1",
+     "@serialport/parser-delimiter": "^9.0.1",