r8523 - in /trunk/libreadonly-xs-perl/debian: ./ changelog compat control copyright rules watch

dmn at users.alioth.debian.org dmn at users.alioth.debian.org
Tue Oct 23 18:52:23 UTC 2007


Author: dmn
Date: Tue Oct 23 18:52:23 2007
New Revision: 8523

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

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

Added: trunk/libreadonly-xs-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libreadonly-xs-perl/debian/changelog?rev=8523&op=file
==============================================================================
--- trunk/libreadonly-xs-perl/debian/changelog (added)
+++ trunk/libreadonly-xs-perl/debian/changelog Tue Oct 23 18:52:23 2007
@@ -1,0 +1,5 @@
+libreadonly-xs-perl (1.04-1) unstable; urgency=low
+
+  * Initial Release. libperl-critic-perl 1.078 depends on this module.
+
+ -- Damyan Ivanov <dmn at debian.org>  Tue, 23 Oct 2007 21:37:13 +0300

Added: trunk/libreadonly-xs-perl/debian/compat
URL: http://svn.debian.org/wsvn/trunk/libreadonly-xs-perl/debian/compat?rev=8523&op=file
==============================================================================
--- trunk/libreadonly-xs-perl/debian/compat (added)
+++ trunk/libreadonly-xs-perl/debian/compat Tue Oct 23 18:52:23 2007
@@ -1,0 +1,1 @@
+5

Added: trunk/libreadonly-xs-perl/debian/control
URL: http://svn.debian.org/wsvn/trunk/libreadonly-xs-perl/debian/control?rev=8523&op=file
==============================================================================
--- trunk/libreadonly-xs-perl/debian/control (added)
+++ trunk/libreadonly-xs-perl/debian/control Tue Oct 23 18:52:23 2007
@@ -1,0 +1,27 @@
+Source: libreadonly-xs-perl
+Section: perl
+Priority: optional
+Build-Depends: debhelper (>= 5.0.0), perl (>= 5.8.8-11.1)
+Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
+Uploaders: Damyan Ivanov <dmn at debian.org>
+Standards-Version: 3.7.2
+Homepage: http://search.cpan.org/dist/Readonly-XS/
+Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libreadonly-xs-perl/
+Vcs-Browser: http://svn.debian.org/wsvn/pkg-perl/trunk/libreadonly-xs-perl/
+
+Package: libreadonly-xs-perl
+Architecture: any
+Depends: ${perl:Depends}, ${shlibs:Depends}, ${misc:Depends}
+Description: Faster Readonly implementation
+ The Readonly module (q.v.) is an effective way to create non-modifiable
+ variables. However, it's relatively slow.
+ .
+ The reason it's slow is that is implements the read-only-ness of variables via
+ tied objects. This mechanism is inherently slow. Perl simply has to do a lot
+ of work under the hood to make tied variables work.
+ .
+ This module corrects the speed problem, at least with respect to scalar
+ variables. When Readonly::XS is installed, Readonly uses it to access the
+ internals of scalar variables. Instead of creating a scalar variable object
+ and tying it, Readonly simply flips the SvREADONLY bit in the scalar's FLAGS
+ structure.

Added: trunk/libreadonly-xs-perl/debian/copyright
URL: http://svn.debian.org/wsvn/trunk/libreadonly-xs-perl/debian/copyright?rev=8523&op=file
==============================================================================
--- trunk/libreadonly-xs-perl/debian/copyright (added)
+++ trunk/libreadonly-xs-perl/debian/copyright Tue Oct 23 18:52:23 2007
@@ -1,0 +1,29 @@
+This is the debian package for the Readonly-XS module.
+It was created by Damyan Ivanov <dmn at debian.org> using dh-make-perl.
+
+It was downloaded from http://search.cpan.org/dist/Readonly-XS/
+
+AUTHOR
+    Eric Roode, roode at cpan.org
+
+COPYRIGHT
+    Copyright (c) 2003-2005 by Eric J. Roode. All Rights Reserved.  This module
+    is free software; you can redistribute it and/or modify it under the same
+    terms as Perl itself.
+
+Perl license:
+    This program is free software; you can redistribute it and/or modify
+    it under the terms of either:
+
+    a) the GNU General Public License as published by the Free Software
+       Foundation; either version 1, or (at your option) any later
+       version, or
+
+    b) the "Artistic License" which comes with Perl.
+
+On Debian GNU/Linux systems, the complete text of the GNU General Public
+License can be found in `/usr/share/common-licenses/GPL' and the Artistic
+Licence in `/usr/share/common-licenses/Artistic'.
+
+The Debian packaging is (C) 2007, Damyan Ivanov <dmn at debian.org> and
+is licensed under the same terms as the software itself (see above).

Added: trunk/libreadonly-xs-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libreadonly-xs-perl/debian/rules?rev=8523&op=file
==============================================================================
--- trunk/libreadonly-xs-perl/debian/rules (added)
+++ trunk/libreadonly-xs-perl/debian/rules Tue Oct 23 18:52:23 2007
@@ -1,0 +1,83 @@
+#!/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
+
+	$(PERL) Makefile.PL INSTALLDIRS=vendor \
+		INSTALLVENDORARCH=/usr/lib/perl5/ \
+		VENDORARCHEXP=/usr/lib/perl5/
+	$(MAKE) OPTIMIZE="$(CFLAGS)" LD_RUN_PATH=""
+	$(MAKE) test
+
+	touch $@
+
+clean:
+	dh_testdir
+	dh_testroot
+
+	dh_clean build-stamp install-stamp
+
+	[ ! -f Makefile ] || $(MAKE) realclean
+
+install: build install-stamp
+install-stamp:
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+
+	$(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
+
+	touch $@
+
+binary-indep: build install
+
+binary-arch: build install
+	dh_testdir
+	dh_testroot
+	#dh_installexamples 
+	dh_installdocs README
+	dh_installchangelogs Changes
+	dh_shlibdeps
+	dh_strip
+	dh_perl
+	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/libreadonly-xs-perl/debian/rules
------------------------------------------------------------------------------
    svn:executable = *

Added: trunk/libreadonly-xs-perl/debian/watch
URL: http://svn.debian.org/wsvn/trunk/libreadonly-xs-perl/debian/watch?rev=8523&op=file
==============================================================================
--- trunk/libreadonly-xs-perl/debian/watch (added)
+++ trunk/libreadonly-xs-perl/debian/watch Tue Oct 23 18:52:23 2007
@@ -1,0 +1,3 @@
+# format version number, currently 3; this line is compulsory!
+version=3
+http://search.cpan.org/dist/Readonly-XS/ .*/Readonly-XS-([\.\d]+)\.(?:tar\.gz|tar|tgz)$




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