[med-svn] [r-cran-crayon] 06/09: Mass commit latest changes which were not commited to SVN * New upstream version * Convert to dh-r * Canonical homepage for CRAN
Andreas Tille
tille at debian.org
Mon Oct 9 09:50:53 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-crayon.
commit a6cafb7fdcc682acf03a26a8c7edd84162d8908b
Author: Andreas Tille <tille at debian.org>
Date: Mon Oct 9 11:47:18 2017 +0200
Mass commit latest changes which were not commited to SVN
* New upstream version
* Convert to dh-r
* Canonical homepage for CRAN
---
debian/changelog | 8 ++++++++
debian/control | 16 ++++++++--------
debian/copyright | 8 ++++----
debian/rules | 14 ++++++++++++--
4 files changed, 32 insertions(+), 14 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index e46fca2..1fe84c5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+r-cran-crayon (1.3.2-1) unstable; urgency=medium
+
+ * New upstream version
+ * Convert to dh-r
+ * Canonical homepage for CRAN
+
+ -- Andreas Tille <tille at debian.org> Mon, 07 Nov 2016 19:39:54 +0100
+
r-cran-crayon (1.3.1-1) unstable; urgency=medium
* New upstream version
diff --git a/debian/control b/debian/control
index 36fc59f..3e84117 100644
--- a/debian/control
+++ b/debian/control
@@ -1,25 +1,25 @@
Source: r-cran-crayon
Maintainer: Debian Med Packaging Team <debian-med-packaging at lists.alioth.debian.org>
-Uploaders: Andreas Tille <tille at debian.org>,
+Uploaders: Andreas Tille <tille at debian.org>
Section: gnu-r
Priority: optional
Build-Depends: debhelper (>= 9),
- cdbs,
+ dh-r,
r-base-dev,
r-cran-memoise,
r-cran-digest
-Standards-Version: 3.9.6
-Vcs-Browser: http://anonscm.debian.org/viewvc/debian-med/trunk/packages/R/r-cran-crayon/
+Standards-Version: 3.9.8
+Vcs-Browser: https://anonscm.debian.org/viewvc/debian-med/trunk/packages/R/r-cran-crayon/
Vcs-Svn: svn://anonscm.debian.org/debian-med/trunk/packages/R/r-cran-crayon/
-Homepage: http://cran.r-project.org/web/packages/crayon
+Homepage: https://cran.r-project.org/package=crayon
Package: r-cran-crayon
Architecture: any
Depends: ${shlibs:Depends},
${misc:Depends},
- ${R:Depends},
- r-cran-memoise,
- r-cran-digest
+ ${R:Depends}
+Recommends: ${R:Recommends}
+Suggests: ${R:Suggests}
Description: GNU R colored terminal output
Colored terminal output on terminals that support ANSI color and
highlight codes. ANSI color support is automatically detected. Colors
diff --git a/debian/copyright b/debian/copyright
index 5172a08..24938f2 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,16 +1,16 @@
-Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Contact: Gabor Csardi <csardi.gabor at gmail.com>
Upstream-Name: crayon
-Source: http://cran.r-project.org/web/packages/crayon/
+Source: https://cran.r-project.org/package=crayon
Comment: The license is mentioned on the source download page as
link to the license text http://cran.r-project.org/web/licenses/MIT
Files: *
-Copyright: 2014-2015 Gabor Csardi <csardi.gabor at gmail.com>
+Copyright: 2014-2016 Gabor Csardi <csardi.gabor at gmail.com>
License: MIT
Files: debian/*
-Copyright: 2015 Andreas Tille <tille at debian.org>
+Copyright: 2015-2016 Andreas Tille <tille at debian.org>
License: MIT
License: MIT
diff --git a/debian/rules b/debian/rules
index f5a85fc..2a9f630 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,8 +1,18 @@
#!/usr/bin/make -f
-include /usr/share/R/debian/r-cran.mk
+debRreposname := $(shell dpkg-parsechangelog | awk '/^Source:/ {print $$2}' | sed 's/r-\([a-z]\+\)-.*/\1/')
+awkString := "'/^(Package|Bundle):/ {print $$2 }'"
+cranNameOrig := $(shell awk "$(awkString)" DESCRIPTION)
+cranName := $(shell echo "$(cranNameOrig)" | tr 'A-Z' 'a-z')
+package := r-$(debRreposname)-$(cranName)
+debRdir := usr/lib/R/site-library
+debRlib := $(CURDIR)/debian/$(package)/$(debRdir)
-install/$(package)::
+%:
+ dh $@ --buildsystem R
+
+override_dh_install:
+ dh_install
rm -rf debian/$(package)/usr/lib/R/site-library/$(cranName)/LICENSE
mkdir -p debian/$(package)/usr/share/R/site-library/$(cranName)
mv debian/$(package)/usr/lib/R/site-library/$(cranName)/*.png debian/$(package)/usr/share/R/site-library/$(cranName)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/r-cran-crayon.git
More information about the debian-med-commit
mailing list