r28671 - in /trunk/libexporter-tidy-perl/debian: ./ changelog compat control copyright rules

ryan52-guest at users.alioth.debian.org ryan52-guest at users.alioth.debian.org
Sun Dec 28 07:23:22 UTC 2008


Author: ryan52-guest
Date: Sun Dec 28 07:23:18 2008
New Revision: 28671

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

Added:
    trunk/libexporter-tidy-perl/debian/
    trunk/libexporter-tidy-perl/debian/changelog
    trunk/libexporter-tidy-perl/debian/compat
    trunk/libexporter-tidy-perl/debian/control
    trunk/libexporter-tidy-perl/debian/copyright
    trunk/libexporter-tidy-perl/debian/rules   (with props)

Added: trunk/libexporter-tidy-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libexporter-tidy-perl/debian/changelog?rev=28671&op=file
==============================================================================
--- trunk/libexporter-tidy-perl/debian/changelog (added)
+++ trunk/libexporter-tidy-perl/debian/changelog Sun Dec 28 07:23:18 2008
@@ -1,0 +1,16 @@
+libexporter-tidy-perl (0.07-1) unstable; urgency=low
+
+  * New upstream release.
+  * debian/control:
+     - Bump Standards-Version to 3.7.3 (no changes needed)
+  * debian/rules: Don't fail when ExtUtils::Install is smart
+     enough to not create empty dirs in /usr. (Closes: #467792)
+
+ -- Marc 'HE' Brockschmidt <he at debian.org>  Sat, 15 Mar 2008 11:41:30 +0100
+
+libexporter-tidy-perl (0.06-1) unstable; urgency=low
+
+  * Initial Release.
+
+ -- Marc 'HE' Brockschmidt <he at debian.org>  Sun, 14 Mar 2004 17:25:03 +0100
+

Added: trunk/libexporter-tidy-perl/debian/compat
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libexporter-tidy-perl/debian/compat?rev=28671&op=file
==============================================================================
--- trunk/libexporter-tidy-perl/debian/compat (added)
+++ trunk/libexporter-tidy-perl/debian/compat Sun Dec 28 07:23:18 2008
@@ -1,0 +1,1 @@
+4

Added: trunk/libexporter-tidy-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libexporter-tidy-perl/debian/control?rev=28671&op=file
==============================================================================
--- trunk/libexporter-tidy-perl/debian/control (added)
+++ trunk/libexporter-tidy-perl/debian/control Sun Dec 28 07:23:18 2008
@@ -1,0 +1,18 @@
+Source: libexporter-tidy-perl
+Section: perl
+Priority: optional
+Build-Depends: debhelper (>= 4.0.2)
+Build-Depends-Indep: perl (>= 5.8.0-7)
+Maintainer: Marc 'HE' Brockschmidt <he at debian.org>
+Standards-Version: 3.7.3
+
+Package: libexporter-tidy-perl
+Architecture: all
+Depends: ${perl:Depends}, ${misc:Depends}
+Description:  Another way of exporting symbols
+ libexporter-tidy-perl serves as an easy, clean alternative to
+ Exporter. Unlike Exporter, it is not subclassed, but it simply
+ exports a custom import() into your namespace.
+ .
+ With Exporter::Tidy, you don't need to use any package global
+ in your module. Even the subs you export can be lexically scoped.

Added: trunk/libexporter-tidy-perl/debian/copyright
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libexporter-tidy-perl/debian/copyright?rev=28671&op=file
==============================================================================
--- trunk/libexporter-tidy-perl/debian/copyright (added)
+++ trunk/libexporter-tidy-perl/debian/copyright Sun Dec 28 07:23:18 2008
@@ -1,0 +1,12 @@
+This is the debian package for the Exporter::Tidy module.
+It was created by Marc 'HE' Brockschmidt he at debian.org> using dh-make-perl.
+
+The upstream author is Juerd Waalboer <juerd at cpan.org>.
+
+Copyright (C) 2003-2007 Juerd Waalboer <juerd at cpan.org>
+
+This software is distributed under any OSI-approved license you like: Pick
+one from http://www.opensource.org/licenses/alphabetical
+
+An example would be the LGPL 2.1, which you can can find under 
+/usr/share/common-licenses/LGPL-2.1 on Debian systems.

Added: trunk/libexporter-tidy-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libexporter-tidy-perl/debian/rules?rev=28671&op=file
==============================================================================
--- trunk/libexporter-tidy-perl/debian/rules (added)
+++ trunk/libexporter-tidy-perl/debian/rules Sun Dec 28 07:23:18 2008
@@ -1,0 +1,87 @@
+#!/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
+
+PACKAGE=$(shell dh_listpackages)
+
+ifndef PERL
+PERL = /usr/bin/perl
+endif
+
+TMP     =$(CURDIR)/debian/$(PACKAGE)
+
+# Allow disabling build optimation by setting noopt in
+# $DEB_BUILD_OPTIONS
+CFLAGS = -Wall -g
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+        CFLAGS += -O0
+else
+        CFLAGS += -O2
+endif
+
+build: build-stamp
+build-stamp:
+	dh_testdir
+
+	# Add commands to compile the package here
+	$(PERL) Makefile.PL INSTALLDIRS=vendor
+	$(MAKE) OPTIMIZE="$(CFLAGS)"
+	
+	touch build-stamp
+
+clean:
+	dh_testdir
+	dh_testroot
+
+	# Add commands to clean up after the build process here
+	[ ! -f Makefile ] || $(MAKE) distclean
+	
+	dh_clean build-stamp install-stamp
+
+install: install-stamp
+install-stamp: build-stamp
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+
+	$(MAKE) test
+	$(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
+	
+	# As this is a architecture independent package, we are not supposed to install
+	# stuff to /usr/lib. MakeMaker creates the dirs, we delete them from the deb:
+	[ ! -d $(TMP)/usr/lib/perl5 ] || rmdir --ignore-fail-on-non-empty --parents --verbose $(TMP)/usr/lib/perl5
+
+	touch install-stamp
+
+binary-arch:
+# We have nothing to do by default.
+
+binary-indep: build install
+	dh_testdir
+	dh_testroot
+	dh_installdocs README
+	dh_installchangelogs Changes
+	dh_perl
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+	dh_installdeb
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+source diff:                                                                  
+	@echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary

Propchange: trunk/libexporter-tidy-perl/debian/rules
------------------------------------------------------------------------------
    svn:executable = *




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