[arch-commits] Commit in apm/trunk (PKGBUILD fix-tmpdir-warning.patch)

Nicola Squartini tensor5 at archlinux.org
Tue Apr 24 20:20:36 UTC 2018


    Date: Tuesday, April 24, 2018 @ 20:20:35
  Author: tensor5
Revision: 317622

upgpkg: apm 1.19.0-4

Fix os.tmpDir() deprecation warning.

Added:
  apm/trunk/fix-tmpdir-warning.patch
Modified:
  apm/trunk/PKGBUILD

--------------------------+
 PKGBUILD                 |    7 ++++++-
 fix-tmpdir-warning.patch |   11 +++++++++++
 2 files changed, 17 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-04-24 20:03:16 UTC (rev 317621)
+++ PKGBUILD	2018-04-24 20:20:35 UTC (rev 317622)
@@ -3,7 +3,7 @@
 
 pkgname=apm
 pkgver=1.19.0
-pkgrel=3
+pkgrel=4
 pkgdesc='Atom package manager'
 arch=('x86_64')
 url='https://github.com/atom/apm'
@@ -16,11 +16,13 @@
 options=(!emptydirs)
 source=("${pkgname}-${pkgver}.tar.gz::https://github.com/atom/apm/archive/v${pkgver}.tar.gz"
         'apm.js'
+        'fix-tmpdir-warning.patch'
         'no-scripts.patch'
         'python2.patch'
         'use-system-npm.patch')
 sha512sums=('642e7d4bd29455f56ad6e611de9a38954b8a403576620ea3684bc49c2d05f6be89e2ce37efa383cdd050e7ff6b0a6f4a14213f1256e1a6999d3789de0d621afa'
             '7ef40058bb50189729a541f8e74191336f9652f12e70118e8b24c207e42f00c8f548d408759f261d8b0f2f67f7296e38d771694e45570102e28be1e6b9788d6c'
+            '151dc995a42db1cdb4d085f52f6d7d7fedb1af4eb7123b60abdec55e493d45d527d8129f46f5faeda0d7494050649ea11cd6a5f3ccb83c36ad71d5835e6262ad'
             'da2e2c6b336b87371541ef159201f6942c606f7c8b212f1a610a8605bb08ddc97ed1ade7f1c02339c40c40f22d8a7d37b1686fb5c7105a775fa85ff6048162dc'
             '2fedcfc04c03059429c231c5bbd3d5e4b32a30ea9d341c3e27dcbba0deee1e4c8d27d993c59ee96aebf0a0c930b7cc55177e3600c18349dd2b91ebac7bd96632'
             'f07c0bc1d31d8b6d237621cde024ebf538901fd7ea61801a7c50b5be84e2adf9da72eccc68d7bea0d8b0193d750ebde7de30a572f2e286194cb5c4f6f0d2a3f3')
@@ -37,6 +39,9 @@
   rm src/cli.coffee
   install -m755 "${srcdir}"/apm.js bin/apm
 
+  # Fix os.tmpDir() deprecation warning
+  patch -Np1 -i "${srcdir}"/fix-tmpdir-warning.patch
+
   # Use system npm and node-gyp
   patch -Np1 -i "${srcdir}"/use-system-npm.patch
 

Added: fix-tmpdir-warning.patch
===================================================================
--- fix-tmpdir-warning.patch	                        (rev 0)
+++ fix-tmpdir-warning.patch	2018-04-24 20:20:35 UTC (rev 317622)
@@ -0,0 +1,11 @@
+--- a/package.json
++++ b/package.json
+@@ -43,7 +43,7 @@
+     "season": "^6.0.2",
+     "semver": "^5.1.0",
+     "tar": "^2.2.1",
+-    "temp": "~0.7.0",
++    "temp": "~0.8.0",
+     "underscore-plus": "1.x",
+     "wordwrap": "0.0.2",
+     "wrench": "~1.5.1",



More information about the arch-commits mailing list