[r-cran-v8] 01/01: Initial package

Leopold Palomo-Avellaneda leo at alaxarxa.net
Fri Mar 24 09:48:09 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-v8.

commit 70e1ec51787dac4bbc4cff461f1b21aafe889ead
Author: Leopold Palomo-Avellaneda <leo at alaxarxa.net>
Date:   Fri Mar 24 10:45:53 2017 +0100

    Initial package
---
 debian/changelog                |  5 +++++
 debian/compat                   |  1 +
 debian/control                  | 23 ++++++++++++++++++++++
 debian/copyright                | 42 +++++++++++++++++++++++++++++++++++++++++
 debian/r-cran-v8.docs           |  2 ++
 debian/r-cran-v8.links          |  1 +
 debian/rules                    |  5 +++++
 debian/source/format            |  1 +
 debian/source/lintian-overrides | 11 +++++++++++
 debian/tests/control            | 13 +++++++++++++
 debian/tests/generic            |  7 +++++++
 debian/tests/run-unit-test      | 17 +++++++++++++++++
 debian/tests/vignette           |  7 +++++++
 debian/watch                    |  2 ++
 14 files changed, 137 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..411ca9d
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+r-cran-v8 (1.3-1) UNRELEASED; urgency=medium
+
+  * Initial release (closes: #858441)
+
+ -- Leopold Palomo-Avellaneda <leo at alaxarxa.net>  Tue, 21 Mar 2017 12:17:40 +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..3ae0fe3
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,23 @@
+Source: r-cran-v8
+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-rcpp (>= 0.12), r-cran-jsonlite (>= 1.0), r-cran-curl (>=1.0), libv8-dev (<= 3.15)
+Standards-Version: 3.9.8
+Homepage: https://cran.r-project.org/package=V8
+Vcs-Browser: https://anonscm.debian.org/git/debian-science/packages/r-cran-v8.git
+Vcs-Git: https://anonscm.debian.org/git/debian-science/packages/r-cran-v8.git
+
+Package: r-cran-v8
+Architecture: any
+Depends: ${R:Depends}, ${shlibs:Depends}, ${misc:Depends}, libjs-underscore
+Recommends: ${R:Recommends}
+Suggests: ${R:Suggests}
+Description: Embedded JavaScript Engine for R
+ An R interface to Google's open source JavaScript engine.
+ V8 is written in C++ and implements ECMAScript as specified in ECMA-262,
+ 5th edition. In addition, this package implements typed arrays as
+ specified in ECMA 6 used for high-performance computing and libraries
+ compiled with 'emscripten'.
+
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..af60f6c
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,42 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: V8
+Upstream-Contact: Jeroen Ooms <jeroen at berkeley.edu>
+Source: https://cran.r-project.org/package=V8
+
+Files: *
+Copyright: 2017, Jeroen Ooms
+License: Expat
+Comment: Obtained from here https://cran.r-project.org/web/licenses/MIT
+	 Expat/MIT-style licenses
+
+Files: src/v8_typed_array.cpp
+       src/v8_typed_array.h
+       vignettes/beautify.js
+Copyright: 2011, Dean McNamee <dean at gmail.com>
+           2007-2013, Einar Lielmanis
+License: Expat
+
+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-v8.docs b/debian/r-cran-v8.docs
new file mode 100644
index 0000000..67ce40b
--- /dev/null
+++ b/debian/r-cran-v8.docs
@@ -0,0 +1,2 @@
+debian/tests/run-unit-test
+tests
diff --git a/debian/r-cran-v8.links b/debian/r-cran-v8.links
new file mode 100644
index 0000000..edf769a
--- /dev/null
+++ b/debian/r-cran-v8.links
@@ -0,0 +1 @@
+usr/share/javascript/underscore/underscore.js usr/lib/R/site-library/V8/js/underscore.js
\ No newline at end of file
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..9784851
--- /dev/null
+++ b/debian/source/lintian-overrides
@@ -0,0 +1,11 @@
+# javascript detection mistakes
+r-cran-v8 source: source-contains-prebuilt-javascript-object inst/js/crossfilter.js line length is 9562 characters (>512)
+r-cran-v8 source: source-is-missing inst/js/crossfilter.js line length is 9562 characters (>512)
+#
+#underscore items
+r-cran-v8 source: source-contains-prebuilt-javascript-object inst/js/underscore.js line length is 15371 characters (>512)
+r-cran-v8 source: source-is-missing inst/js/underscore.js line length is 15371 characters (>512)
+r-cran-v8 source: insane-line-length-in-source-file inst/js/underscore.js line length is 15371 characters (>512)
+
+# beauty
+r-cran-v8 source: source-is-missing vignettes/beautify.js line length is 480 characters (>256)
\ No newline at end of file
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..005d908
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,13 @@
+Tests: vignette
+Depends: @, r-cran-knitr
+Restrictions: allow-stderr
+
+Tests: run-unit-test
+Depends: @, r-cran-testthat,
+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..0b5ca63
--- /dev/null
+++ b/debian/tests/run-unit-test
@@ -0,0 +1,17 @@
+#!/bin/sh -e
+
+pkgname=V8
+debname=r-cran-v8
+
+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..e50c757
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=4
+https://cran.r-project.org/src/contrib/V8_([-\d.]*)\.tar\.gz

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



More information about the debian-science-commits mailing list