r18684 - in /trunk/libobject-declare-perl/debian: ./ changelog compat control copyright rules watch

yvesago-guest at users.alioth.debian.org yvesago-guest at users.alioth.debian.org
Wed Apr 16 16:00:26 UTC 2008


Author: yvesago-guest
Date: Wed Apr 16 16:00:24 2008
New Revision: 18684

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=18684
Log:
[svn-inject] Applying Debian modifications to trunk

Added:
    trunk/libobject-declare-perl/debian/
    trunk/libobject-declare-perl/debian/changelog
    trunk/libobject-declare-perl/debian/compat
    trunk/libobject-declare-perl/debian/control
    trunk/libobject-declare-perl/debian/copyright
    trunk/libobject-declare-perl/debian/rules   (with props)
    trunk/libobject-declare-perl/debian/watch

Added: trunk/libobject-declare-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libobject-declare-perl/debian/changelog?rev=18684&op=file
==============================================================================
--- trunk/libobject-declare-perl/debian/changelog (added)
+++ trunk/libobject-declare-perl/debian/changelog Wed Apr 16 16:00:24 2008
@@ -1,0 +1,5 @@
+libobject-declare-perl (0.22-1) unstable; urgency=low
+
+  * Initial Release.
+
+ -- AGOSTINI Yves <agostini at univ-metz.fr>  Wed, 16 Apr 2008 09:43:01 +0200

Added: trunk/libobject-declare-perl/debian/compat
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libobject-declare-perl/debian/compat?rev=18684&op=file
==============================================================================
--- trunk/libobject-declare-perl/debian/compat (added)
+++ trunk/libobject-declare-perl/debian/compat Wed Apr 16 16:00:24 2008
@@ -1,0 +1,1 @@
+5

Added: trunk/libobject-declare-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libobject-declare-perl/debian/control?rev=18684&op=file
==============================================================================
--- trunk/libobject-declare-perl/debian/control (added)
+++ trunk/libobject-declare-perl/debian/control Wed Apr 16 16:00:24 2008
@@ -1,0 +1,45 @@
+Source: libobject-declare-perl
+Section: perl
+Priority: optional
+Build-Depends: debhelper (>= 5)
+Build-Depends-Indep: perl (>= 5.6.0)
+Maintainer: AGOSTINI Yves <agostini at univ-metz.fr>
+Standards-Version: 3.7.3
+Homepage: http://search.cpan.org/dist/Object-Declare/
+
+Package: libobject-declare-perl
+Architecture: all
+Depends: perl (>= 5.6.0), ${misc:Depends}, libsub-override-perl
+Description: Declarative object constructor
+ This module exports one function, declare, for building named
+ objects with a declarative syntax, similar to how Jifty::DBI::Schema
+ defines its columns.
+ .
+ In list context, declare returns a list of name/object pairs in the
+ order of declaration (allowing duplicates), suitable for putting into a hash.
+ In scalar context, declare returns a hash reference.
+ .
+ Using a flexible import interface, one can change exported helper
+ functions names (declarator), words to link labels and values together
+ (copula), and the table of named classes to declare (mapping):
+ .
+ use Object::Declare
+ declarator  => ['declare'],     # list of declarators
+ copula      => {                # list of words, or a map
+ is  => '',                  #  from copula to label prefixes,
+ are => '',                  #  or to callback that e.g. turns
+ has => sub { has => @_ },   #  "has X" to "has is X" and
+ #  "X has 1" to "has is [X => 1]"
+ },
+ aliases     => {                # list of label aliases:
+ more => 'less',             #  turns "is more" into "is less"
+ #  and "more is 1" into "less is 1"
+ },
+ mapping     => {
+ column => 'MyApp::Column',  # class name to call ->new to
+ param  => sub {             # arbitrary coderef also works
+ bless(\@_, 'MyApp::Param');
+ },
+ };
+ .
+ This description was automagically extracted from the module by dh-make-perl.

Added: trunk/libobject-declare-perl/debian/copyright
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libobject-declare-perl/debian/copyright?rev=18684&op=file
==============================================================================
--- trunk/libobject-declare-perl/debian/copyright (added)
+++ trunk/libobject-declare-perl/debian/copyright Wed Apr 16 16:00:24 2008
@@ -1,0 +1,20 @@
+This is the debian package for the Object-Declare module.
+It was created by AGOSTINI Yves <agostini at univ-metz.fr> using dh-make-perl.
+
+It was downloaded from http://search.cpan.org/dist/Object-Declare/
+
+This copyright info was automatically extracted from the perl module.
+It may not be accurate, so you better check the module sources
+if you don't want to get into legal troubles.
+
+The upstream author is: 
+
+Audrey Tang <cpan at audreyt.org>.
+
+
+Copyright 2006, 2007 by Audrey Tang <cpan at audreyt.org>.
+
+This software is released under the MIT license cited below.
+
+The Debian packaging is (C) 2008, AGOSTINI Yves <agostini at univ-metz.fr> and
+is licensed under the same terms as the software itself (see above).

Added: trunk/libobject-declare-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libobject-declare-perl/debian/rules?rev=18684&op=file
==============================================================================
--- trunk/libobject-declare-perl/debian/rules (added)
+++ trunk/libobject-declare-perl/debian/rules Wed Apr 16 16:00:24 2008
@@ -1,0 +1,63 @@
+#!/usr/bin/make -f
+# This debian/rules file is provided as a template for normal perl
+# packages. It was created by Marc Brockschmidt <marc at dch-faq.de> for
+# the Debian Perl Group (http://pkg-perl.alioth.debian.org/) but may
+# be used freely wherever it is useful.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+# If set to a true value then MakeMaker's prompt function will
+# always return the default without waiting for user input.
+export PERL_MM_USE_DEFAULT=1
+
+PERL   ?= /usr/bin/perl
+PACKAGE = $(shell dh_listpackages)
+TMP     = $(CURDIR)/debian/$(PACKAGE)
+
+build: build-stamp
+build-stamp:
+	dh_testdir
+	# Add commands to compile the package here
+	$(PERL) Makefile.PL INSTALLDIRS=vendor
+	$(MAKE)
+	$(MAKE) test
+	touch $@
+
+clean:
+	dh_testdir
+	dh_testroot
+	dh_clean build-stamp install-stamp
+	# Add commands to clean up after the build process here
+	[ ! -f Makefile ] || $(MAKE) realclean
+
+install: install-stamp
+install-stamp: build-stamp
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	# Add commands to install the package into $(TMP) here
+	$(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
+	[ ! -d $(TMP)/usr/lib/perl5 ] || \
+		rmdir --ignore-fail-on-non-empty --parents --verbose \
+		$(TMP)/usr/lib/perl5
+	touch $@
+
+binary-arch:
+# We have nothing to do here for an architecture-independent package
+
+binary-indep: build install
+	dh_testdir
+	dh_testroot
+	dh_installdocs README
+	dh_installchangelogs Changes
+	dh_perl
+	dh_compress
+	dh_fixperms
+	dh_installdeb
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install

Propchange: trunk/libobject-declare-perl/debian/rules
------------------------------------------------------------------------------
    svn:executable = *

Added: trunk/libobject-declare-perl/debian/watch
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libobject-declare-perl/debian/watch?rev=18684&op=file
==============================================================================
--- trunk/libobject-declare-perl/debian/watch (added)
+++ trunk/libobject-declare-perl/debian/watch Wed Apr 16 16:00:24 2008
@@ -1,0 +1,4 @@
+# format version number, currently 3; this line is compulsory!
+version=3
+# URL to the package page followed by a regex to search
+http://search.cpan.org/dist/Object-Declare/   .*/Object-Declare-v?(\d[\d_.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$




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