[r-cran-shinyjs] 01/02: Added initial package

Leopold Palomo-Avellaneda leo at alaxarxa.net
Mon Mar 27 12:54:26 UTC 2017


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

lepalom-guest pushed a commit to branch master
in repository r-cran-shinyjs.

commit a88e761ce760fa309649a267bd91a6c9704a87b3
Author: Leopold Palomo-Avellaneda <leo at alaxarxa.net>
Date:   Mon Mar 27 14:39:38 2017 +0200

    Added initial package
---
 debian/changelog                       |  5 +++++
 debian/compat                          |  1 +
 debian/control                         | 38 ++++++++++++++++++++++++++++++++++
 debian/copyright                       | 35 +++++++++++++++++++++++++++++++
 debian/r-cran-shinyjs-examples.install |  2 ++
 debian/r-cran-shinyjs.docs             |  2 ++
 debian/rules                           |  5 +++++
 debian/source/format                   |  1 +
 debian/source/lintian-overrides        |  5 +++++
 debian/tests/control                   | 13 ++++++++++++
 debian/tests/generic                   |  7 +++++++
 debian/tests/run-unit-test             | 17 +++++++++++++++
 debian/tests/vignette                  |  7 +++++++
 debian/watch                           |  2 ++
 14 files changed, 140 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..ff56385
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+r-cran-shinyjs (0.9-1) UNRELEASED; urgency=medium
+
+  * Initial release (closes: #858443)
+
+ -- Leopold Palomo-Avellaneda <leo at alaxarxa.net>  Wed, 22 Mar 2017 09:58:10 +0100
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..f599e28
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+10
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..6c46123
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,38 @@
+Source: r-cran-shinyjs
+Section: gnu-r
+Priority: optional
+Maintainer: Debian Science Maintainers <debian-science-maintainers at lists.alioth.debian.org>
+Uploaders: Leopold Palomo-Avellaneda <leo at alaxarxa.net>
+Build-Depends: debhelper (>= 10), dh-r, r-base-dev, r-cran-digest (>= 0.6.8), r-cran-htmltools (>= 0.2.6), r-cran-jsonlite, r-cran-shiny (>= 0.11.1), r-cran-miniui (>=  0.1.1)
+Standards-Version: 3.9.8
+Homepage: https://cran.r-project.org/package=shinyjs
+Vcs-Browser: https://anonscm.debian.org/git/debian-science/packages/r-cran-shinyjs.git
+Vcs-Git: https://anonscm.debian.org/git/debian-science/packages/r-cran-shinyjs.git
+
+Package: r-cran-shinyjs
+Architecture: all
+Depends: ${R:Depends}, ${shlibs:Depends}, ${misc:Depends}
+Recommends: ${R:Recommends}
+Suggests: ${R:Suggests}
+Description: Easily Improve the User Experience of Your Shiny Apps in Seconds
+ Perform common useful JavaScript operations in Shiny apps that will
+ greatly improve your apps without having to know any JavaScript. Examples
+ include: hiding an element, disabling an input, resetting an input back to
+ its original value, delaying code execution by a few seconds, and many more
+ useful functions for both the end user and the developer. 'shinyjs' can also
+ be used to easily call your own custom JavaScript functions from R.
+
+Package: r-cran-shinyjs-examples
+Architecture: all
+Depends: ${R:Depends}, ${shlibs:Depends}, ${misc:Depends}
+Recommends: ${R:Recommends}
+Suggests: ${R:Suggests}
+Description: Example for r-cran-shinyjs
+ Perform common useful JavaScript operations in Shiny apps that will
+ greatly improve your apps without having to know any JavaScript. Examples
+ include: hiding an element, disabling an input, resetting an input back to
+ its original value, delaying code execution by a few seconds, and many more
+ useful functions for both the end user and the developer. 'shinyjs' can also
+ be used to easily call your own custom JavaScript functions from R.
+ .
+ This package contains examples.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..618f487
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,35 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: shinyjs
+Upstream-Contact: Dean Attali <daattali at gmail.com>
+Source: https://cran.r-project.org/package=shinyjs
+
+Files: *
+Copyright: Dean Attali [aut, cre]
+License: Expat
+Comment: 
+
+Files: debian/*
+Copyright: 2017 Leopold Palomo-Avellaneda <leo at alaxarxa.net>
+License: Expat
+Comment: Same license as upstream package
+
+License: Expat
+ Permission is hereby granted, free of charge, to any person obtaining
+ a copy of this software and associated documentation files (the
+ "Software"), to deal in the Software without restriction, including
+ without limitation the rights to use, copy, modify, merge, publish,
+ distribute, sublicense, and/or sell copies of the Software, and to
+ permit persons to whom the Software is furnished to do so, subject to
+ the following conditions:
+ .
+ The above copyright notice and this permission notice shall be included
+ in all copies or substantial portions of the Software.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
diff --git a/debian/r-cran-shinyjs-examples.install b/debian/r-cran-shinyjs-examples.install
new file mode 100644
index 0000000..f8d8bde
--- /dev/null
+++ b/debian/r-cran-shinyjs-examples.install
@@ -0,0 +1,2 @@
+usr/lib/R/site-library/shinyjs/examples usr/share/R/shinyjs/examples
+
diff --git a/debian/r-cran-shinyjs.docs b/debian/r-cran-shinyjs.docs
new file mode 100644
index 0000000..67ce40b
--- /dev/null
+++ b/debian/r-cran-shinyjs.docs
@@ -0,0 +1,2 @@
+debian/tests/run-unit-test
+tests
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..529c38a
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,5 @@
+#!/usr/bin/make -f
+
+%:
+	dh $@ --buildsystem R
+
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/source/lintian-overrides b/debian/source/lintian-overrides
new file mode 100644
index 0000000..318ba0b
--- /dev/null
+++ b/debian/source/lintian-overrides
@@ -0,0 +1,5 @@
+# javascript prebuild object
+r-cran-shinyjs source: source-contains-prebuilt-javascript-object inst/www/shared/colourpicker/js/colourpicker.min.js
+r-cran-shinyjs source: insane-line-length-in-source-file inst/www/shared/colourpicker/js/colourpicker.js line length is 10925 characters (>512)
+r-cran-shinyjs source: source-contains-prebuilt-javascript-object inst/www/shared/colourpicker/js/colourpicker.js line length is 10915 characters (>512)
+r-cran-shinyjs source: source-is-missing inst/www/shared/colourpicker/js/colourpicker.js line length is 10915 characters (>512)
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..a12538e
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,13 @@
+Tests: run-unit-test
+Depends: @, r-cran-testthat,
+Restrictions: allow-stderr
+
+Tests: vignette
+Depends: @, r-cran-knitr
+Restrictions: allow-stderr
+
+Tests: generic
+Depends: @, r-cran-testthat,
+Restrictions: allow-stderr
+
+
diff --git a/debian/tests/generic b/debian/tests/generic
new file mode 100644
index 0000000..eb39c8e
--- /dev/null
+++ b/debian/tests/generic
@@ -0,0 +1,7 @@
+#!/bin/sh -e
+
+for testfile in tests/*.R; do
+    echo "BEGIN TEST $testfile"
+    LC_ALL=C R --no-save < $testfile
+done
+
diff --git a/debian/tests/run-unit-test b/debian/tests/run-unit-test
new file mode 100644
index 0000000..b32d2b4
--- /dev/null
+++ b/debian/tests/run-unit-test
@@ -0,0 +1,17 @@
+#!/bin/sh -e
+
+pkgname=shinyjs
+debname=r-cran-shinyjs
+
+if [ "$ADTTMP" = "" ] ; then
+    ADTTMP=`mktemp -d /tmp/${debname}-test.XXXXXX`
+    trap "rm -rf $ADTTMP" 0 INT QUIT ABRT PIPE TERM
+fi
+cd $ADTTMP
+cp -a /usr/share/doc/$debname/tests/* $ADTTMP
+gunzip -r *
+for testfile in *.R; do
+    echo "BEGIN TEST $testfile"
+    LC_ALL=C R --no-save < $testfile
+done
+
diff --git a/debian/tests/vignette b/debian/tests/vignette
new file mode 100644
index 0000000..fdf4c2b
--- /dev/null
+++ b/debian/tests/vignette
@@ -0,0 +1,7 @@
+#!/bin/sh -e
+
+for vignette in $(find vignettes -iname '*.rnw' -or -iname '*.rmd'); do
+    echo "BEGIN VIGNETTE $vignette"
+    LC_ALL=C R CMD Sweave $vignette
+done
+
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..805ddfe
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=4
+https://cran.r-project.org/src/contrib/shinyjs_([-\d.]*)\.tar\.gz

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/r-cran-shinyjs.git



More information about the debian-science-commits mailing list