[med-svn] [r-cran-lexrankr] 01/05: Inject r-cran-lexrankr

Andreas Tille tille at debian.org
Tue Oct 10 15:23:41 UTC 2017


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

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

commit 761719c62effeff9c4cae2479e20ed0db378bd8f
Author: Andreas Tille <tille at debian.org>
Date:   Tue Apr 4 13:55:32 2017 +0000

    Inject r-cran-lexrankr
---
 debian/changelog           |  5 +++++
 debian/compat              |  1 +
 debian/control             | 37 +++++++++++++++++++++++++++++++++++++
 debian/copyright           | 33 +++++++++++++++++++++++++++++++++
 debian/docs                |  2 ++
 debian/rules               |  5 +++++
 debian/source/format       |  1 +
 debian/tests/control       |  9 +++++++++
 debian/tests/run-unit-test | 17 +++++++++++++++++
 debian/tests/vignette      |  7 +++++++
 debian/upstream/metadata   | 10 ++++++++++
 debian/watch               |  2 ++
 12 files changed, 129 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..b5d94b1
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+r-cran-lexrankr (0.4.0-1) UNRELEASED; urgency=medium
+
+  * Initial release (closes: #xxxxxx)
+
+ -- Andreas Tille <tille at debian.org>  Fri, 31 Mar 2017 09:29:33 +0200
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..31a9f8e
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,37 @@
+Source: r-cran-lexrankr
+Maintainer: Debian Med Packaging Team <debian-med-packaging at lists.alioth.debian.org>
+Uploaders: Andreas Tille <tille at debian.org>
+Section: gnu-r
+Priority: optional
+Build-Depends: debhelper (>= 10),
+               dh-r,
+               r-base-dev,
+               r-cran-dplyr,
+               r-cran-tidyr,
+               r-cran-magrittr,
+               r-cran-stringr,
+               r-cran-igraph,
+               r-cran-tm,
+               r-cran-rcpp,
+               r-cran-snowballc
+Standards-Version: 3.9.8
+Vcs-Browser: https://anonscm.debian.org/viewvc/debian-med/trunk/packages/R/r-cran-lexrankr/trunk/
+Vcs-Svn: svn://anonscm.debian.org/debian-med/trunk/packages/R/r-cran-lexrankr/trunk/
+Homepage: https://cran.r-project.org/package=lexRankr
+
+Package: r-cran-lexrankr
+Architecture: any
+Depends: ${R:Depends},
+         ${shlibs:Depends},
+         ${misc:Depends}
+Recommends: ${R:Recommends}
+Suggests: ${R:Suggests}
+Description: extractive summarization of text with the LexRank algorithm
+ An R implementation of the LexRank algorithm implementing stochastic
+ graph-based method for computing relative importance of textual units
+ for Natural Language Processing. We test the technique on the problem
+ of Text Summarization (TS). Extractive TS relies on the concept of
+ sentence salience to identify the most important sentences in a
+ document or set of documents. Salience is typically defined in terms of
+ the presence of particular important words or in terms of similarity to
+ a centroid pseudo-sentence.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..65d7b18
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,33 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: lexRankr
+Upstream-Contact: Adam Spannbauer <spannbaueradam at gmail.com>
+Source: https://cran.r-project.org/package=lexRankr
+
+Files: *
+Copyright: Adam Spannbauer <spannbaueradam at gmail.com>
+License: MIT
+
+Files: debian/*
+Copyright: 2017 Andreas Tille <tille at debian.org>
+License: MIT
+
+License: MIT
+ 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/docs b/debian/docs
new file mode 100644
index 0000000..67ce40b
--- /dev/null
+++ b/debian/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/tests/control b/debian/tests/control
new file mode 100644
index 0000000..199f084
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,9 @@
+Tests: run-unit-test
+Depends: @, r-cran-testthat,
+Restrictions: allow-stderr
+
+Tests: vignette
+Depends: @
+Restrictions: allow-stderr
+
+
diff --git a/debian/tests/run-unit-test b/debian/tests/run-unit-test
new file mode 100644
index 0000000..c97bea5
--- /dev/null
+++ b/debian/tests/run-unit-test
@@ -0,0 +1,17 @@
+#!/bin/sh -e
+
+pkgname=lexRankr
+debname=r-cran-lexrankr
+
+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/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..5668794
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,10 @@
+Reference:
+  Author: Güneş Erkan and Dragomir R. Radev
+  Title: "LexRank: Graph-based Lexical Centrality as Salience in Text Summarization"
+  Journal: Journal of Artific Intelligence Research
+  Year: 2004
+  Volume: 22
+  Pages: 457-479
+  DOI: 10.1613/jair.1523
+  URL: http://jair.org/papers/paper1523.html
+  eprint: http://jair.org/media/1523/live-1523-2354-jair.pdf
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..6a3024f
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=4
+https://cran.r-project.org/src/contrib/lexRankr_([-\d.]*)\.tar\.gz

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



More information about the debian-med-commit mailing list