[med-svn] [r-bioc-protgenerics] 02/02: Initial packaging

Andreas Tille tille at debian.org
Thu Oct 19 20:25:50 UTC 2017


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

tille pushed a commit to branch master
in repository r-bioc-protgenerics.

commit f010cf0b8d8835a5fec3ef257ef085a199260626
Author: Andreas Tille <tille at debian.org>
Date:   Thu Oct 19 22:25:26 2017 +0200

    Initial packaging
---
 debian/changelog           |  5 +++++
 debian/compat              |  1 +
 debian/control             | 22 ++++++++++++++++++++++
 debian/copyright           | 18 ++++++++++++++++++
 debian/docs                |  2 ++
 debian/rules               |  5 +++++
 debian/source/format       |  1 +
 debian/tests/control       |  5 +++++
 debian/tests/run-unit-test | 17 +++++++++++++++++
 debian/watch               |  3 +++
 10 files changed, 79 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..5e55053
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+r-bioc-protgenerics (1.8.0-1) UNRELEASED; urgency=medium
+
+  * Initial release (closes: #xxxxxx)
+
+ -- Andreas Tille <tille at debian.org>  Thu, 19 Oct 2017 22:06:58 +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..dd56320
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,22 @@
+Source: r-bioc-protgenerics
+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
+Standards-Version: 4.1.1
+Vcs-Browser: https://anonscm.debian.org/cgit/debian-med/r-bioc-protgenerics.git
+Vcs-Git: https://anonscm.debian.org/git/debian-med/r-bioc-protgenerics.git
+Homepage: https://bioconductor.org/packages/ProtGenerics/
+
+Package: r-bioc-protgenerics
+Architecture: all
+Depends: ${R:Depends},
+         ${shlibs:Depends},
+         ${misc:Depends}
+Recommends: ${R:Recommends}
+Suggests: ${R:Suggests}
+Description: S4 generic functions for Bioconductor proteomics infrastructure
+ This Bioconductor package provides S4 generic functions needed by
+ Bioconductor proteomics packages.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..0909b6a
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,18 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: ProtGenerics
+Upstream-Contact: Laurent Gatto <lg390 at cam.ac.uk>
+Source: https://bioconductor.org/packages/ProtGenerics/
+
+Files: *
+Copyright: Laurent Gatto <lg390 at cam.ac.uk>
+License: Artistic-2.0
+Comment: 
+
+Files: debian/*
+Copyright: 2017 Andreas Tille <tille at debian.org>
+License: Artistic-2.0
+Comment: Same license as upstream package
+
+License: Artistic-2.0
+  TODO: insert the appropriate license text
+
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..d6849ad
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,5 @@
+Tests: run-unit-test
+Depends: @,
+Restrictions: allow-stderr
+
+
diff --git a/debian/tests/run-unit-test b/debian/tests/run-unit-test
new file mode 100644
index 0000000..52b61c5
--- /dev/null
+++ b/debian/tests/run-unit-test
@@ -0,0 +1,17 @@
+#!/bin/sh -e
+
+pkgname=ProtGenerics
+debname=r-bioc-protgenerics
+
+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..e3b55f7
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=4
+opts=downloadurlmangle=s?^(.*)\.\.?https:$1packages/release/bioc? \
+https://bioconductor.org/packages/release/bioc/html/ProtGenerics.html .*/ProtGenerics_(.*).tar.gz

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



More information about the debian-med-commit mailing list