[med-svn] [r-cran-shiny] 01/05: Can't wait until #837056 is solved

Andreas Tille tille at debian.org
Sat Nov 12 08:06:53 UTC 2016


This is an automated email from the git hooks/post-receive script.

tille pushed a commit to branch master
in repository r-cran-shiny.

commit 8a23f7059e42e22f03668552fb9c0d7a971e7011
Author: Andreas Tille <tille at debian.org>
Date:   Sat Nov 12 08:21:22 2016 +0100

    Can't wait until #837056 is solved
---
 debian/README.source                         | 3 ++-
 debian/changelog                             | 2 --
 debian/missing-sources/babel-polyfill.min.js | 4 ++++
 debian/missing-sources/get_babel-polyfill    | 1 +
 debian/rules                                 | 4 +++-
 5 files changed, 10 insertions(+), 4 deletions(-)

diff --git a/debian/README.source b/debian/README.source
index 39c62cd..9c27761 100644
--- a/debian/README.source
+++ b/debian/README.source
@@ -13,6 +13,7 @@ inst/www/shared/highlight/highlight.pack.js
 
 
 There is a script debian/missing-sources/get_babel-polyfill to fetch the
-source of babel-polyfill.min.js.
+source of babel-polyfill.min.js.  Once ITP #837056 is closed the according
+package can be used.
 
  -- Andreas Tille <tille at debian.org>  Tue, 22 Mar 2016 21:32:09 +0100
diff --git a/debian/changelog b/debian/changelog
index ff254b4..8191ece 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,7 +1,5 @@
 r-cran-shiny (0.14.2+dfsg-1) UNRELEASED; urgency=medium
 
-  TODO: wait/help packaging babel-polyfill.js
-     --> https://lists.debian.org/debian-mentors/2016/11/msg00102.html
   * New upstream version
   * Convert to dh-r
   * Canonical homepage for CRAN
diff --git a/debian/missing-sources/babel-polyfill.min.js b/debian/missing-sources/babel-polyfill.min.js
new file mode 100644
index 0000000..d92263b
--- /dev/null
+++ b/debian/missing-sources/babel-polyfill.min.js
@@ -0,0 +1,4 @@
+!function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var c="function"==typeof require&&require;if(!u&&c)return c(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var a=n[o]={exports:{}};t[o][0].call(a.exports,function(n){var r=t[o][1][n];return s(r?r:n)},a,a.exports,e,t,n,r)}return n[o].exports}for(var i="function"==typeof require&&require,o=0;o<r.length;o++)s(r[o]);return s}({1:[function(t,n,r){(function(n){"use strict";function [...]
+return it(jt(this),t,arguments.length>1?arguments[1]:void 0)},forEach:function forEach(t){Q(jt(this),t,arguments.length>1?arguments[1]:void 0)},indexOf:function indexOf(t){return ut(jt(this),t,arguments.length>1?arguments[1]:void 0)},includes:function includes(t){return ot(jt(this),t,arguments.length>1?arguments[1]:void 0)},join:function join(t){return vt.apply(jt(this),arguments)},lastIndexOf:function lastIndexOf(t){return st.apply(jt(this),arguments)},map:function map(t){return Ft(jt(t [...]
+}})},{32:32}],208:[function(t,n,r){var e=t(32),i=t(7),o=Object.isExtensible;e(e.S,"Reflect",{isExtensible:function isExtensible(t){return i(t),!o||o(t)}})},{32:32,7:7}],209:[function(t,n,r){var e=t(32);e(e.S,"Reflect",{ownKeys:t(80)})},{32:32,80:80}],210:[function(t,n,r){var e=t(32),i=t(7),o=Object.preventExtensions;e(e.S,"Reflect",{preventExtensions:function preventExtensions(t){i(t);try{return o&&o(t),!0}catch(t){return!1}}})},{32:32,7:7}],211:[function(t,n,r){var e=t(32),i=t(90);i&&e( [...]
+if(u&&c){if(this.prev<i.catchLoc)return handle(i.catchLoc,!0);if(this.prev<i.finallyLoc)return handle(i.finallyLoc)}else if(u){if(this.prev<i.catchLoc)return handle(i.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return handle(i.finallyLoc)}}}},abrupt:function(t,n){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&e.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("br [...]
diff --git a/debian/missing-sources/get_babel-polyfill b/debian/missing-sources/get_babel-polyfill
index 1070ba2..ef1e384 100755
--- a/debian/missing-sources/get_babel-polyfill
+++ b/debian/missing-sources/get_babel-polyfill
@@ -1,4 +1,5 @@
 #!/bin/sh
 npm install --save-dev babel-polyfill
 mv node_modules/babel-polyfill/dist/polyfill.js babel-polyfill.js
+mv node_modules/babel-polyfill/dist/polyfill.min.js babel-polyfill.min.js
 rm -rf node_modules
diff --git a/debian/rules b/debian/rules
index 03a4325..648051f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -23,4 +23,6 @@ override_dh_install:
 	yui-compressor debian/missing-sources/selectize.js > $(debRlib)/$(cranName)/www/shared/selectize/js/selectize.min.js
 	mkdir -p $(debRlib)/$(cranName)/www/shared/strftime
 	yui-compressor debian/missing-sources/strftime.js > $(debRlib)/$(cranName)/www/shared/strftime/strftime-min.js
-	yui-compressor debian/missing-sources/babel-polyfill.js > $(debRlib)/$(cranName)/www/shared/babel-polyfill.min.js
+	# this fails: yui-compressor debian/missing-sources/babel-polyfill.js > $(debRlib)/$(cranName)/www/shared/babel-polyfill.min.js
+	# see https://lists.debian.org/debian-mentors/2016/11/msg00102.html
+	cp -a debian/missing-sources/babel-polyfill.min.js > $(debRlib)/$(cranName)/www/shared/babel-polyfill.min.js

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/r-cran-shiny.git



More information about the debian-med-commit mailing list