[DRE-commits] r5140 - in trunk/libdataobjects-postgres-ruby: . debian debian/source

Deepak Tripathi deepak-guest at alioth.debian.org
Fri Apr 30 10:51:59 UTC 2010


Author: deepak-guest
Date: 2010-04-30 10:51:58 +0000 (Fri, 30 Apr 2010)
New Revision: 5140

Added:
   trunk/libdataobjects-postgres-ruby/debian/
   trunk/libdataobjects-postgres-ruby/debian/README.Debian-Source
   trunk/libdataobjects-postgres-ruby/debian/changelog
   trunk/libdataobjects-postgres-ruby/debian/compat
   trunk/libdataobjects-postgres-ruby/debian/control
   trunk/libdataobjects-postgres-ruby/debian/copyright
   trunk/libdataobjects-postgres-ruby/debian/libdataobjects-postgres-ruby1.8.dirs
   trunk/libdataobjects-postgres-ruby/debian/libdataobjects-postgres-ruby1.9.debhelper.log
   trunk/libdataobjects-postgres-ruby/debian/repack.sh
   trunk/libdataobjects-postgres-ruby/debian/rules
   trunk/libdataobjects-postgres-ruby/debian/source/
   trunk/libdataobjects-postgres-ruby/debian/source/format
   trunk/libdataobjects-postgres-ruby/debian/watch
Log:
[svn-inject] Applying Debian modifications to trunk


Property changes on: trunk/libdataobjects-postgres-ruby/debian
___________________________________________________________________
Added: mergeWithUpstream
   + 1

Added: trunk/libdataobjects-postgres-ruby/debian/README.Debian-Source
===================================================================
--- trunk/libdataobjects-postgres-ruby/debian/README.Debian-Source	                        (rev 0)
+++ trunk/libdataobjects-postgres-ruby/debian/README.Debian-Source	2010-04-30 10:51:58 UTC (rev 5140)
@@ -0,0 +1,6 @@
+ Upstream does not provide tarball. Therefore the repack.sh file
+ runs to produce the orig.tar.gz.
+
+ -- Deepak Tripathi <apenguinlinux at gmail.com> Tue, 30 Apr 2010 05:28:10 +0000
+
+ 

Added: trunk/libdataobjects-postgres-ruby/debian/changelog
===================================================================
--- trunk/libdataobjects-postgres-ruby/debian/changelog	                        (rev 0)
+++ trunk/libdataobjects-postgres-ruby/debian/changelog	2010-04-30 10:51:58 UTC (rev 5140)
@@ -0,0 +1,35 @@
+libdataobjects-postgres-ruby (0.10.0-1) UNRELEASED; urgency=low
+
+  * New upstream release.
+  * Taking over from Sebestien.
+  * Keeping under pkg-ruby-extras group.
+  * Added Homepage and Vcs-* entry
+  		+ Changes in debian/control
+  * Bumped standard version
+  * Update debian/copyright
+  * Changed debian/rules to cdbs
+  * Added debian/source/format
+  * Modified debian/watch for .gem
+  * Added README.Debian-source and repack.sh
+  
+ -- Deepak Tripathi <apenguinlinux at gmail.com>  Tue, 30 Apr 2010 05:28:10 +0000
+
+libdataobjects-postgres-ruby (0.9.11-1) unstable; urgency=low
+
+  * New upstream release.
+  * Added debian watch/file.
+  * Conform to latest policy.
+
+ -- Sebastien Delafond <seb at debian.org>  Wed, 19 Aug 2009 11:49:38 +0200
+
+libdataobjects-postgres-ruby (0.2.4-2) unstable; urgency=low
+  
+  * Depend on libdataobjects-ruby.
+
+ -- Sebastien Delafond <seb at debian.org>  Mon, 12 May 2008 15:21:57 -0700
+
+libdataobjects-postgres-ruby (0.2.4-1) unstable; urgency=low
+
+  * Initial Release.
+
+ -- Sebastien Delafond <seb at debian.org>  Mon, 12 May 2008 14:57:06 -0700

Added: trunk/libdataobjects-postgres-ruby/debian/compat
===================================================================
--- trunk/libdataobjects-postgres-ruby/debian/compat	                        (rev 0)
+++ trunk/libdataobjects-postgres-ruby/debian/compat	2010-04-30 10:51:58 UTC (rev 5140)
@@ -0,0 +1 @@
+6

Added: trunk/libdataobjects-postgres-ruby/debian/control
===================================================================
--- trunk/libdataobjects-postgres-ruby/debian/control	                        (rev 0)
+++ trunk/libdataobjects-postgres-ruby/debian/control	2010-04-30 10:51:58 UTC (rev 5140)
@@ -0,0 +1,43 @@
+Source: libdataobjects-postgres-ruby
+Section: ruby
+Priority: optional
+Maintainer: Deepak Tripathi <apenguinlinux at gmail.com>
+Uploaders: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.alioth.debian.org>
+Build-Depends: debhelper (>= 7), cdbs, ruby1.8-dev, ruby1.9.1-dev, libsetup-ruby1.8, ruby-pkg-tools (>= 0.17), libpq-dev
+Standards-Version: 3.8.4
+Homepage: http://rubyforge.org/projects/dorb 
+Vcs-Browser: http://svn.debian.org/viewsvn/pkg-ruby-extras/trunk/libdataobjects-postgres-ruby/
+Vcs-Svn: svn://svn.debian.org/svn/pkg-ruby-extras/trunk/libdataobjects-postgres-ruby
+
+
+Package: libdataobjects-postgres-ruby1.8
+Architecture: any
+Depends: libdataobjects-ruby1.8, ${shlibs:Depends}, ${misc:Depends}
+Description: Postgres adapter for libdataobjects-ruby1.8
+ The purpose of DO.rb is to rewrite existing Ruby database drivers to
+ conform to a single interface. At present, PostgreSQL, MySQL, and
+ SQLite adapters are available (as separate packages).
+ .
+ This is the PostgreSQL adapter.
+
+Package: libdataobjects-postgres-ruby1.9.1
+Architecture: any
+Depends: libdataobjects-ruby1.8, ${shlibs:Depends}, ${misc:Depends}
+Description: Postgres adapter for libdataobjects-ruby1.9.1
+ The purpose of DO.rb is to rewrite existing Ruby database drivers to
+ conform to a single interface. At present, PostgreSQL, MySQL, and
+ SQLite adapters are available (as separate packages).
+ .
+ This is the package for ruby 1.9.1.
+ 
+Package: libdataobjects-postgres-ruby
+Architecture: any
+Depends: libdataobjects-postgres-ruby1.8, ${shlibs:Depends}, ${misc:Depends}
+Description: Postgres adapter for libdataobjects-ruby1.8
+ The purpose of DO.rb is to rewrite existing Ruby database drivers to
+ conform to a single interface. At present, PostgreSQL, MySQL, and
+ SQLite adapters are available (as separate packages).
+ .
+  metapackage for libdataobjects-postgres-ruby1.8
+ This package provide documentation and depends on the package 
+ containing the actual library for the default Ruby version.

Added: trunk/libdataobjects-postgres-ruby/debian/copyright
===================================================================
--- trunk/libdataobjects-postgres-ruby/debian/copyright	                        (rev 0)
+++ trunk/libdataobjects-postgres-ruby/debian/copyright	2010-04-30 10:51:58 UTC (rev 5140)
@@ -0,0 +1,31 @@
+This work was packaged for Debian by:
+
+  Deepak Tripathi <apenguinlinux at gmail.com> on Tue, 30 Apr 2010 05:28:10 +0000
+
+It was downloaded from <URL:http://rubyforge.org/projects/dorb>
+
+Upstream Authors: Copyright (c) 2007, 2008, 2009 Yehuda Katz, Dirkjan Bussink
+
+
+Copyright:
+
+  Copyright (c) 2007, 2008, 2009 Yehuda Katz, Dirkjan Bussink
+ 
+  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.

Added: trunk/libdataobjects-postgres-ruby/debian/libdataobjects-postgres-ruby1.8.dirs
===================================================================
--- trunk/libdataobjects-postgres-ruby/debian/libdataobjects-postgres-ruby1.8.dirs	                        (rev 0)
+++ trunk/libdataobjects-postgres-ruby/debian/libdataobjects-postgres-ruby1.8.dirs	2010-04-30 10:51:58 UTC (rev 5140)
@@ -0,0 +1 @@
+usr/lib/ruby/1.8

Added: trunk/libdataobjects-postgres-ruby/debian/libdataobjects-postgres-ruby1.9.debhelper.log
===================================================================
--- trunk/libdataobjects-postgres-ruby/debian/libdataobjects-postgres-ruby1.9.debhelper.log	                        (rev 0)
+++ trunk/libdataobjects-postgres-ruby/debian/libdataobjects-postgres-ruby1.9.debhelper.log	2010-04-30 10:51:58 UTC (rev 5140)
@@ -0,0 +1,2 @@
+dh_installdirs
+dh_installdirs

Added: trunk/libdataobjects-postgres-ruby/debian/repack.sh
===================================================================
--- trunk/libdataobjects-postgres-ruby/debian/repack.sh	                        (rev 0)
+++ trunk/libdataobjects-postgres-ruby/debian/repack.sh	2010-04-30 10:51:58 UTC (rev 5140)
@@ -0,0 +1,44 @@
+#!/bin/sh
+# Repackage upstream source to exclude non-distributable files
+# should be called as "repack.sh --upstream-source <ver> <downloaded file>
+# (for example, via uscan)
+
+set -e
+set -u
+
+VER="$2"
+FILE="$3"
+PKG=`dpkg-parsechangelog|grep ^Source:|sed 's/^Source: //'`
+
+REPACK_DIR="$PKG-$VER.orig" 
+NEWPACK_DIR="$PKG"_"$VER.orig.tar.gz" 
+
+echo -e "\nRepackaging $FILE\n"
+
+DIR=`mktemp -d ./tmpRepackXXXXXX`
+trap "rm -rf \"$DIR\"" QUIT INT EXIT
+
+# Create an extra directory to cope with rootless tarballs
+UP_BASE="$DIR/unpack"
+mkdir "$UP_BASE"
+gem unpack "$FILE" --target "$UP_BASE"
+
+
+if [ `ls -1 "$UP_BASE" | wc -l` -eq 1 ]; then
+# Tarball does contain a root directory
+UP_BASE="$UP_BASE/`ls -1 "$UP_BASE"`"
+fi
+
+## Change permissions, otherwise dpkg-source -x fails
+chmod 755 "$UP_BASE"
+## End
+
+mv "$UP_BASE" "$DIR/$REPACK_DIR"
+
+# Using a pipe hides tar errors!
+tar cfC "$DIR/repacked.tar" "$DIR" "$REPACK_DIR"
+gzip -9 < "$DIR/repacked.tar" > "$DIR/repacked.tar.gz"
+mkdir -p ../tarballs
+mv "$DIR/repacked.tar.gz" "../tarballs/$NEWPACK_DIR" 
+
+echo "*** $FILE repackaged"

Added: trunk/libdataobjects-postgres-ruby/debian/rules
===================================================================
--- trunk/libdataobjects-postgres-ruby/debian/rules	                        (rev 0)
+++ trunk/libdataobjects-postgres-ruby/debian/rules	2010-04-30 10:51:58 UTC (rev 5140)
@@ -0,0 +1,4 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/ruby-pkg-tools/1/class/ruby-setup-rb.mk


Property changes on: trunk/libdataobjects-postgres-ruby/debian/rules
___________________________________________________________________
Added: svn:executable
   + *

Added: trunk/libdataobjects-postgres-ruby/debian/source/format
===================================================================
--- trunk/libdataobjects-postgres-ruby/debian/source/format	                        (rev 0)
+++ trunk/libdataobjects-postgres-ruby/debian/source/format	2010-04-30 10:51:58 UTC (rev 5140)
@@ -0,0 +1 @@
+1.0

Added: trunk/libdataobjects-postgres-ruby/debian/watch
===================================================================
--- trunk/libdataobjects-postgres-ruby/debian/watch	                        (rev 0)
+++ trunk/libdataobjects-postgres-ruby/debian/watch	2010-04-30 10:51:58 UTC (rev 5140)
@@ -0,0 +1,5 @@
+# format version number, currently 3; this line is compulsory!
+version=3
+
+http://rubyforge.org/frs/?group_id=4651&release_id=34564 \
+ .*/do_postgres-(.*)\.tgz|gem




More information about the Pkg-ruby-extras-commits mailing list