r35672 - in /packages/R/r-cran-gpclib: ./ trunk/ trunk/debian/ trunk/debian/changelog trunk/debian/compat trunk/debian/control trunk/debian/copyright trunk/debian/get-orig-source trunk/debian/rules trunk/debian/watch

tille at users.alioth.debian.org tille at users.alioth.debian.org
Wed Apr 22 12:35:49 UTC 2009


Author: tille
Date: Wed Apr 22 12:35:48 2009
New Revision: 35672

URL: http://svn.debian.org/wsvn/debian-science/?sc=1&rev=35672
Log:
Inject preliminary packaging for CRAN gpclib; TODO: link against libgpcl-dev

Added:
    packages/R/r-cran-gpclib/
    packages/R/r-cran-gpclib/trunk/
    packages/R/r-cran-gpclib/trunk/debian/
    packages/R/r-cran-gpclib/trunk/debian/changelog
    packages/R/r-cran-gpclib/trunk/debian/compat
    packages/R/r-cran-gpclib/trunk/debian/control
    packages/R/r-cran-gpclib/trunk/debian/copyright
    packages/R/r-cran-gpclib/trunk/debian/get-orig-source
    packages/R/r-cran-gpclib/trunk/debian/rules   (with props)
    packages/R/r-cran-gpclib/trunk/debian/watch

Added: packages/R/r-cran-gpclib/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/debian-science/packages/R/r-cran-gpclib/trunk/debian/changelog?rev=35672&op=file
==============================================================================
--- packages/R/r-cran-gpclib/trunk/debian/changelog (added)
+++ packages/R/r-cran-gpclib/trunk/debian/changelog Wed Apr 22 12:35:48 2009
@@ -1,0 +1,5 @@
+r-cran-gpclib (1.4.3-1) UNRELEASED; urgency=low
+
+  * Initial release (Closes: #).
+
+ -- Andreas Tille <tille at debian.org>  Wed, 22 Apr 2009 13:41:52 +0200

Added: packages/R/r-cran-gpclib/trunk/debian/compat
URL: http://svn.debian.org/wsvn/debian-science/packages/R/r-cran-gpclib/trunk/debian/compat?rev=35672&op=file
==============================================================================
--- packages/R/r-cran-gpclib/trunk/debian/compat (added)
+++ packages/R/r-cran-gpclib/trunk/debian/compat Wed Apr 22 12:35:48 2009
@@ -1,0 +1,1 @@
+7

Added: packages/R/r-cran-gpclib/trunk/debian/control
URL: http://svn.debian.org/wsvn/debian-science/packages/R/r-cran-gpclib/trunk/debian/control?rev=35672&op=file
==============================================================================
--- packages/R/r-cran-gpclib/trunk/debian/control (added)
+++ packages/R/r-cran-gpclib/trunk/debian/control Wed Apr 22 12:35:48 2009
@@ -1,0 +1,22 @@
+Source: r-cran-gpclib
+Section: non-free/gnu-r
+Priority: optional
+Maintainer: Debian Science Team <debian-science-maintainers at lists.alioth.debian.org>
+Uploaders: Andreas Tille <tille at debian.org>
+DM-Upload-Allowed: yes
+Build-Depends: debhelper (>= 7.0), cdbs, r-base-dev
+Standards-Version: 3.8.1
+Homepage: http://cran.r-project.org/web/packages/gpclib/
+Vcs-Browser: http://svn.debian.org/wsvn/debian-science/packages/R/r-cran-gpclib/trunk/?rev=0&sc=0
+Vcs-Svn: svn://svn.debian.org/svn/debian-science/packages/R/r-cran-gpclib/trunk/
+
+Package: r-cran-gpclib
+Architecture: any
+Depends: ${misc:Depends}, ${shlibs:Depends}, r-base-core
+Description: GNU R General Polygon Clipping Library
+ General polygon clipping routines for R based on Alan Murta's C library.
+ This package is used in Spatial Point Pattern analysis, model-fitting and
+ simulation as it is done for instance in the package r-cran-spatstat.
+ .
+ Note: there is a package libgpcl0 / libgpcl-dev which should be used
+ to link instead of the copy of this code inside this package.

Added: packages/R/r-cran-gpclib/trunk/debian/copyright
URL: http://svn.debian.org/wsvn/debian-science/packages/R/r-cran-gpclib/trunk/debian/copyright?rev=35672&op=file
==============================================================================
--- packages/R/r-cran-gpclib/trunk/debian/copyright (added)
+++ packages/R/r-cran-gpclib/trunk/debian/copyright Wed Apr 22 12:35:48 2009
@@ -1,0 +1,37 @@
+Format-Specification: http://wiki.debian.org/Proposals/CopyrightFormat
+Upstream-Name: gpclib
+Upstream-Maintainer: Roger D. Peng <rpeng at jhsph.edu>
+Upstream-Source: http://cran.r-project.org/web/packages/gpclib/
+X-Debianized-By: Andreas Tille <tille at debian.org>
+X-Packaged-Date: Wed, 22 Apr 2009 13:41:52 +0200
+
+Files: debian/*
+Copyright: 2009 Andreas Tille <tille at debian.org>
+License: GPL2+
+
+Files: src/Rgpc.c
+Copyright: (C) 2003 Roger D. Peng <rpeng at jhsph.edu>, Duncan Murdoch;
+ No explicite license statement.  Assume the same as the copy of
+ libgpc.
+
+Files: src/gpc.[ch]
+Copyright: (C) 1997-2004, Advanced Interfaces Group, University of Manchester,
+ Alan Murta <gpc at cs.man.ac.uk>
+ .
+ GPC library by Alan Murta
+ .
+ This software is free for non-commercial use. It may be copied,
+ modified, and redistributed provided that this copyright notice
+ is preserved on all copies. The intellectual property rights of
+ the algorithms used reside with the University of Manchester
+ Advanced Interfaces Group.
+ .
+ You may not use this software, in whole or in part, in support
+ of any commercial product without the express consent of the
+ author.
+ .
+ There is no warranty or other guarantee of fitness of this
+ software for any purpose. It is provided solely "as is".
+X-Comment: Debian just contains the same source in the package gpcl
+ and finally the package should be linked against the packaged
+ version.

Added: packages/R/r-cran-gpclib/trunk/debian/get-orig-source
URL: http://svn.debian.org/wsvn/debian-science/packages/R/r-cran-gpclib/trunk/debian/get-orig-source?rev=35672&op=file
==============================================================================
--- packages/R/r-cran-gpclib/trunk/debian/get-orig-source (added)
+++ packages/R/r-cran-gpclib/trunk/debian/get-orig-source Wed Apr 22 12:35:48 2009
@@ -1,0 +1,7 @@
+#!/bin/sh
+PKG=`dpkg-parsechangelog | awk '/^Source/ { print $2 }'`
+RENAME=`uscan --verbose --force-download | \
+   grep "Newest version on remote site is .* local version is .*" | \
+   head -n 1 | \
+   sed "s?Newest .* \([-0-9.]\+\),.* \([0-9.]\+\)?mv ../${PKG}_\1.orig.tar.gz ../${PKG}_\2.orig.tar.gz?"`
+$RENAME

Added: packages/R/r-cran-gpclib/trunk/debian/rules
URL: http://svn.debian.org/wsvn/debian-science/packages/R/r-cran-gpclib/trunk/debian/rules?rev=35672&op=file
==============================================================================
--- packages/R/r-cran-gpclib/trunk/debian/rules (added)
+++ packages/R/r-cran-gpclib/trunk/debian/rules Wed Apr 22 12:35:48 2009
@@ -1,0 +1,9 @@
+#!/usr/bin/make -f
+# 							-*- makefile -*-
+# debian/rules file for the Debian/GNU Linux r-cran-gpclib package
+# Copyright 2009 by Andreas Tille <tille at debian.org>
+
+include /usr/share/R/debian/r-cran.mk
+
+get-orig-source:
+	. debian/get-orig-source

Propchange: packages/R/r-cran-gpclib/trunk/debian/rules
------------------------------------------------------------------------------
    svn:executable = *

Added: packages/R/r-cran-gpclib/trunk/debian/watch
URL: http://svn.debian.org/wsvn/debian-science/packages/R/r-cran-gpclib/trunk/debian/watch?rev=35672&op=file
==============================================================================
--- packages/R/r-cran-gpclib/trunk/debian/watch (added)
+++ packages/R/r-cran-gpclib/trunk/debian/watch Wed Apr 22 12:35:48 2009
@@ -1,0 +1,6 @@
+version=3
+# Same effect as dversionmangle, but we have to rename the orig.tar.gz
+# anyway and it is easier to write a get-origsource script this way
+# opts="uversionmangle=s/([\d.]+)-(\d)/$1.$2/"
+opts="dversionmangle=s/([\d.]+)\.(\d)/$1-$2/" \
+http://cran.r-project.org/src/contrib/gpclib_([-\d.]*)\.tar\.gz




More information about the debian-science-commits mailing list