[SCM] Packaging of UR in Debian branch, master, updated. c5173c9e17da0970ef27e1b62311fbbdd14eba1f

Olivier Sallou osallou at debian.org
Sat Feb 23 10:28:37 UTC 2013


The following commit has been merged in the master branch:
commit c5173c9e17da0970ef27e1b62311fbbdd14eba1f
Author: Olivier Sallou <osallou at debian.org>
Date:   Sat Feb 23 11:28:09 2013 +0100

    add patch for spelling errors

diff --git a/debian/README.Debian b/debian/README.Debian
new file mode 100644
index 0000000..1e00789
--- /dev/null
+++ b/debian/README.Debian
@@ -0,0 +1,7 @@
+libur-perl for Debian
+---------------------
+
+Tests are removed because those fail upstream, from source and at CPAN
+
+
+ -- Olivier Sallou <osallou at debian.org>  Fri, 22 Feb 2013 21:57:50 +0100
diff --git a/debian/changelog b/debian/changelog
index 584b922..42d6279 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,8 @@
 libur-perl (0.392-1) UNRELEASED; urgency=low
 
   * Initial Release.
+  TODO: 
+        try to remove only 63* related tests, add bug number in cpan
+        forward patch for spelling and set bug number
 
  -- Olivier Sallou <osallou at debian.org>  Sat, 23 Feb 2013 11:12:22 +0100
diff --git a/debian/compat b/debian/compat
index 45a4fb7..ec63514 100644
--- a/debian/compat
+++ b/debian/compat
@@ -1 +1 @@
-8
+9
diff --git a/debian/control b/debian/control
index 8ead896..ec08f97 100644
--- a/debian/control
+++ b/debian/control
@@ -3,9 +3,9 @@ Section: perl
 Priority: optional
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
 Uploaders: Olivier Sallou <osallou at debian.org>
-Build-Depends: debhelper (>= 8),
+Build-Depends: debhelper (>= 9),
  perl
-Standards-Version: 3.9.2
+Standards-Version: 3.9.4
 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-perl/packages/libur-perl.git
 Vcs-Git: git://git.debian.org/pkg-perl/packages/libur-perl.git
 Homepage: http://search.cpan.org/dist/UR/
@@ -29,5 +29,3 @@ Description: rich declarative transactional objects
  .
  UR uses the same syntax to define non-persistent objects, and supports
  in-memory transactions for both.
- .
- This description was automagically extracted from the module by dh-make-perl.
diff --git a/debian/copyright b/debian/copyright
index 99c667e..3f9a3b7 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,18 +1,11 @@
-Format-Specification: http://anonscm.debian.org/viewvc/dep/web/deps/dep5.mdwn?view=markup&pathrev=135
-Maintainer: Anthony Brummett   brummett at cpan.org, Scott Smith	    sakoht at cpan.org
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Maintainer: Anthony Brummett, Scott Smith
 Source: http://search.cpan.org/dist/UR/
 Name: UR
-DISCLAIMER: This copyright info was automatically extracted 
- from the perl module. It may not be accurate, so you better 
- check the module sources in order to ensure the module for its 
- inclusion in Debian or for general legal information. Please, 
- if licensing information is incorrectly generated, file a bug 
- on dh-make-perl.
- NOTE: Don't forget to remove this disclaimer once you are happy
- with this file.
 
 Files: *
-Copyright: Anthony Brummett   brummett at cpan.org, Scott Smith	    sakoht at cpan.org
+Copyright: Anthony Brummett  <brummett at cpan.org>,
+           Scott Smith <sakoht at cpan.org>
 License: Artistic or GPL-1+
 
 Files: debian/*
diff --git a/debian/patches/fix_man_spelling_errors b/debian/patches/fix_man_spelling_errors
new file mode 100644
index 0000000..2556121
--- /dev/null
+++ b/debian/patches/fix_man_spelling_errors
@@ -0,0 +1,188 @@
+Subject: spelling errors
+Description: man pages contain spelling
+ errors
+Author: Olivier Sallou <osallou at debian.org>
+Last-Updated: 2013-02-22
+Forwarded: yes
+Bug
+--- a/lib/Command/DynamicSubCommands.pm
++++ b/lib/Command/DynamicSubCommands.pm
+@@ -264,7 +264,7 @@
+ 
+     By default it resolves the target classes, and calls  _build_sub_command
+ 
+-    It can be overriden to customize behavior, or filter results.  Be sure
++    It can be overridden to customize behavior, or filter results.  Be sure
+     to call @cmds = $self->SUPER::_build_all_sub_commands() if you want 
+     to get the default commands in addition to overriding.
+ 
+--- a/lib/UR/BoolExpr.pm
++++ b/lib/UR/BoolExpr.pm
+@@ -1189,7 +1189,7 @@
+     my $bx3 = $bx->flatten();
+     # any indirection in the params takes the form a.b.c at the lowest level
+     # also 'payroll_category' might become 'pay_history.category', and 'pay_history.is_current' => 1 is added to the list
+-    # if this paramter has that as a custom filter
++    # if this parameter has that as a custom filter
+ 
+ 
+ =head1 DESCRIPTION
+@@ -1197,7 +1197,7 @@
+ A UR::BoolExpr object captures a set of match criteria for some class of object.
+ 
+ Calls to get(), create(), and define_set() all use this internally to objectify
+-their paramters.  If given a boolean expression object directly they will use it.
++their parameters.  If given a boolean expression object directly they will use it.
+ Otherwise they will construct one from the parameters given.
+ 
+ They have a 1:1 correspondence within the WHERE clause in an SQL statement where
+--- a/lib/UR/Context.pm
++++ b/lib/UR/Context.pm
+@@ -3510,7 +3510,7 @@
+ data consistency of each property will be checked.  If there are no
+ conflicting changes, then any differences between the object's initial state
+ and the current state in the underlying Context will be applied to the
+-object's notion of what it thinks its intial state is.
++object's notion of what it thinks its initial state is.
+ 
+ In some future release, UR may support additional data concurrency methods
+ such as pessimistic concurrency: check that the current state of all
+--- a/lib/UR/Context/ObjectFabricator.pm
++++ b/lib/UR/Context/ObjectFabricator.pm
+@@ -1120,7 +1120,7 @@
+   $fab->apply_all_params_loaded();
+ 
+ As the fabricator constructs objects, it buffers changes to all_params_loaded
+-(the Context's query cache) to maintain consistancy if multiple iterators are
++(the Context's query cache) to maintain consistency if multiple iterators are
+ working concurrently.  At the appripriate time, call apply_all_params_loaded()
+ to take those changes and apply them to the current Context's all_params_loaded.
+ 
+--- a/lib/UR/DataSource.pod
++++ b/lib/UR/DataSource.pod
+@@ -28,7 +28,7 @@
+ data source class such as L<UR::DataSource::Oracle> or
+ L<UR::DataSource::File>, as well as L<UR::Singleton>.  This makes it easy
+ to link classes to this data source, since the class name will be the
+-same as its ID, and the module autoloader will instantiate it automaticly.
++same as its ID, and the module autoloader will instantiate it automatically.
+ 
+ =head1 INHERITANCE
+ 
+--- a/lib/UR/Manual/Cookbook.pod
++++ b/lib/UR/Manual/Cookbook.pod
+@@ -245,7 +245,7 @@
+ As in the has-a relationship, and the container class wants to have a
+ property actually stored on the contained class. Using the same schema in
+ the has-a relationship above, and we want the contained_value property to
+-be accessable from the container class.
++be accessible from the container class.
+ 
+   class TheNamespace::Container {
+      id_by => [
+--- a/lib/UR/Manual/Overview.pod
++++ b/lib/UR/Manual/Overview.pod
+@@ -82,7 +82,7 @@
+ 
+ UR's primary reason for existing is to function as an ORM. That is, managing
+ how to store instances of objects in memory of a running program with more
+-persistant storage in a relational database, and retrieve them later.  It
++persistent storage in a relational database, and retrieve them later.  It
+ handles the common cases where each table is implemented by a class their
+ columns are properties of the classes; retrieving objects by arbitrary
+ properties; creating, updating and deleting objects with enforced database
+@@ -214,7 +214,7 @@
+ system has other objects representing metadata about the classes (class
+ information, properties, relationships, etc), database entities (databases,
+ tables, columns, constraints, etc), transactions, data sources, etc. All the
+-metadata is accessable through the same API as any of the database-backed
++metadata is accessible through the same API as any of the database-backed
+ data.
+ 
+ For classes backed by the database, after a schema change (like adding tables
+--- a/lib/UR/Manual/SchemaDesign.pod
++++ b/lib/UR/Manual/SchemaDesign.pod
+@@ -15,7 +15,7 @@
+ class metadata, the class will be renamed to 'YourNamespace::TypeTable' to
+ avoid the conflict.  The table_name for that class will still refer to
+ the actual table name.  'ur update classes' will print a warning if this
+-happens, and rename the class automaticly.
++happens, and rename the class automatically.
+ 
+ =item Avoid columns named 'id'
+ 
+--- a/lib/UR/ModuleBase.pm
++++ b/lib/UR/ModuleBase.pm
+@@ -284,7 +284,7 @@
+ final class or any derived classes, perl checks up the tree for
+ AUTOLOAD.  We impliment AUTOLOAD at the top of the tree, and then
+ check each class in the tree in order for an AUTOSUB method.  Where a
+-class implements AUTOSUB, it will recieve a function name as its first
++class implements AUTOSUB, it will receive a function name as its first
+ parameter, and it is expected to return either a subroutine reference,
+ or undef.  If undef is returned then the inheritance tree search will
+ continue.  If a subroutine reference is returned it will be executed
+--- a/lib/UR/ModuleConfig.pm
++++ b/lib/UR/ModuleConfig.pm
+@@ -109,7 +109,7 @@
+ When called as an object method, the config for both the object and
+ all classes in its inheritance hierarchy are referenced, with the
+ object config taking precedence over class methods and class methods
+-closer to the object (first in the @ISA array) taking precendence over
++closer to the object (first in the @ISA array) taking precedence over
+ those further away (later in the @ISA array).  When called as a class
+ method, the same procedure is used, except no object configuration is
+ referenced.
+--- a/lib/UR/Namespace.pm
++++ b/lib/UR/Namespace.pm
+@@ -219,7 +219,7 @@
+ 
+ A UR namespace is the top-level object that represents your data's class
+ structure in the most general way.  After use-ing a namespace module, the
+-program gets access to the module autoloader, which will automaticaly use
++program gets access to the module autoloader, which will automatically use
+ modules on your behalf if you attempt to interact with their packages in
+ a UR-y way, such as calling get().
+ 
+--- a/lib/UR/Object.pm
++++ b/lib/UR/Object.pm
+@@ -1016,7 +1016,7 @@
+   $added  = $elmo->add_job($snore);
+ 
+ A variation of the above will construt the item and add it at once.
+-This second form of add_* automaticaly would identify that the line items
++This second form of add_* automatically would identify that the line items
+ also reference the order, and establish the correct converse relationship
+ automatically.
+ 
+--- a/lib/UR/Object/Property.pm
++++ b/lib/UR/Object/Property.pm
+@@ -596,7 +596,7 @@
+ 
+ =item implied_by => Text
+ 
+-If this propery is created as a result of another property's existence,
++If this property is created as a result of another property's existence,
+ implied_by is the name of that other property.  This can happen in the
+ case where an object accessor property is defined
+ 
+--- a/lib/UR/Object/Type/Initializer.pod
++++ b/lib/UR/Object/Type/Initializer.pod
+@@ -309,7 +309,7 @@
+ 
+ Object properties do not normally hold Perl references to other objects, but you
+ may use 'ARRAY' or 'HASH' here to indicate that the object will store the
+-reference directly.  Note that these properties are not usually savable to
++reference directly.  Note that these properties are not usually saveable to
+ outside data sources.
+ 
+ =item data_type
+@@ -335,7 +335,7 @@
+ 
+ A flag indicating that this property can be changed. It is the default state
+ of a property.  Set this to 0 in the property definition if the property is
+-not changable after the object is created.
++not changeable after the object is created.
+ 
+ =item is_constant
+ 
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..4611f44
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+fix_man_spelling_errors
diff --git a/debian/rules b/debian/rules
index 2d33f6a..ccc80e7 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,4 +1,22 @@
 #!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+# This file was originally written by Joey Hess and Craig Small.
+# As a special exception, when this file is copied by dh-make into a
+# dh-make output file, you may use that output file without restriction.
+# This special exception was added by Craig Small in version 0.37 of dh-make.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
 
 %:
-	dh $@
+	dh $@ 
+
+override_dh_auto_test:
+	#Skip test due to upstream failing tests even in CPAN
+
+override_dh_installman:
+	#Rename 3pm to 3 and 1pm to 1
+	rename 's/\.3pm/\.3/' debian/libur-perl/usr/share/man/man3/*.3pm*
+	rename 's/\.1p/\.1/' debian/libur-perl/usr/share/man/man1/*.1p*
+	dh_installman

-- 
Packaging of UR in Debian



More information about the Pkg-perl-cvs-commits mailing list