[r-cran-recipes] 02/02: Initial packaging
Andreas Tille
tille at debian.org
Sun Oct 22 19:15:30 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-recipes.
commit 6f84f9837dbe24a87b3cc22b72916dc695c6e599
Author: Andreas Tille <tille at debian.org>
Date: Sun Oct 22 21:14:55 2017 +0200
Initial packaging
---
debian/changelog | 14 ++++++++++++++
debian/compat | 1 +
debian/control | 41 +++++++++++++++++++++++++++++++++++++++++
debian/copyright | 26 ++++++++++++++++++++++++++
debian/docs | 2 ++
debian/rules | 5 +++++
debian/source/format | 1 +
debian/tests/control | 5 +++++
debian/tests/run-unit-test | 17 +++++++++++++++++
debian/watch | 2 ++
10 files changed, 114 insertions(+)
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..527163c
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,14 @@
+r-cran-recipes (0.1.0-1) UNRELEASED; urgency=medium
+
+ * Initial release (closes: #xxxxxx)
+ TODO:
+ r-cran-ipred,
+ r-cran-dimred,
+ r-cran-ddalpha,
+ r-cran-purrr (#878406),
+ r-cran-gower,
+ r-cran-rcpproll,
+ r-cran-tidyselect (#878407)
+
+
+ -- Andreas Tille <tille at debian.org> Sun, 22 Oct 2017 20:52:53 +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..3c7230d
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,41 @@
+Source: r-cran-recipes
+Maintainer: Debian Science Maintainers <debian-science-maintainers 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-tibble,
+ r-cran-lubridate,
+ r-cran-timedate,
+ r-cran-rlang,
+ r-cran-magrittr,
+
+ r-cran-ipred,
+ r-cran-dimred,
+ r-cran-ddalpha,
+ r-cran-purrr,
+ r-cran-gower,
+ r-cran-rcpproll,
+ r-cran-tidyselect
+Standards-Version: 4.1.1
+Vcs-Browser: https://anonscm.debian.org/cgit/debian-science/packages/r-cran-recipes.git
+Vcs-Git: https://anonscm.debian.org/git/debian-science/packages/r-cran-recipes.git
+Homepage: https://cran.r-project.org/package=recipes
+
+Package: r-cran-recipes
+Architecture: all
+Depends: ${R:Depends},
+ ${shlibs:Depends},
+ ${misc:Depends}
+Recommends: ${R:Recommends}
+Suggests: ${R:Suggests}
+Description: Preprocessing Tools to Create Design Matrices
+ An extensible framework to create and preprocess
+ design matrices. Recipes consist of one or more data manipulation
+ and analysis "steps". Statistical parameters for the steps can
+ be estimated from an initial data set and then applied to
+ other data sets. The resulting design matrices can then be used
+ as inputs into statistical or machine learning models.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..681122c
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,26 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: recipes
+Upstream-Contact: Max Kuhn <max at rstudio.com>
+Source: https://cran.r-project.org/package=recipes
+
+Files: *
+Copyright: 2016-2017 Max Kuhn, Hadley Wickham, RStudio
+License: GPL-2
+
+Files: debian/*
+Copyright: 2017 Andreas Tille <tille at debian.org>
+License: GPL-2
+
+License: GPL-2
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+ .
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+ .
+ On Debian systems you can find the full text of the GNU General Public
+ License at /usr/share/common-licenses/GPL-2.
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..a62fb6e
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,5 @@
+Tests: run-unit-test
+Depends: @, r-cran-testthat,
+Restrictions: allow-stderr
+
+
diff --git a/debian/tests/run-unit-test b/debian/tests/run-unit-test
new file mode 100644
index 0000000..fc0e36c
--- /dev/null
+++ b/debian/tests/run-unit-test
@@ -0,0 +1,17 @@
+#!/bin/sh -e
+
+pkgname=recipes
+debname=r-cran-recipes
+
+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/watch b/debian/watch
new file mode 100644
index 0000000..28078ca
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=4
+https://cran.r-project.org/src/contrib/recipes_([-\d.]*)\.tar\.gz
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/r-cran-recipes.git
More information about the debian-science-commits
mailing list