r21610 - in /trunk/libmath-gmp-perl/debian: ./ changelog compat control copyright patches/ patches/00list patches/64bit_ftbfs.dpatch rules
gregoa at users.alioth.debian.org
gregoa at users.alioth.debian.org
Sun Jun 15 16:47:29 UTC 2008
Author: gregoa
Date: Sun Jun 15 16:47:29 2008
New Revision: 21610
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=21610
Log:
[svn-inject] Applying Debian modifications to trunk
Added:
trunk/libmath-gmp-perl/debian/
trunk/libmath-gmp-perl/debian/changelog
trunk/libmath-gmp-perl/debian/compat
trunk/libmath-gmp-perl/debian/control
trunk/libmath-gmp-perl/debian/copyright
trunk/libmath-gmp-perl/debian/patches/
trunk/libmath-gmp-perl/debian/patches/00list
trunk/libmath-gmp-perl/debian/patches/64bit_ftbfs.dpatch (with props)
trunk/libmath-gmp-perl/debian/rules (with props)
Added: trunk/libmath-gmp-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmath-gmp-perl/debian/changelog?rev=21610&op=file
==============================================================================
--- trunk/libmath-gmp-perl/debian/changelog (added)
+++ trunk/libmath-gmp-perl/debian/changelog Sun Jun 15 16:47:29 2008
@@ -1,0 +1,22 @@
+libmath-gmp-perl (2.04-2.1) unstable; urgency=low
+
+ * Non-maintainer upload for the Perl 5.10 transition.
+ * Don't try to remove /usr/share/perl5 if it doesn't exist. (Closes: #463542)
+
+ -- Niko Tyni <ntyni at debian.org> Wed, 02 Apr 2008 16:11:46 +0300
+
+libmath-gmp-perl (2.04-2) unstable; urgency=low
+
+ * Added debian/patches/64bit_ftbfs.dpatch that makes the test suite pass on
+ 64 bit platforms (Closes: #338945).
+ * debian/{control,rules} adjustments for dpatch.
+ * Use DH_COMPAT 5.
+
+ -- Florian Ragwitz <rafl at debian.org> Sun, 26 Mar 2006 20:19:35 +0200
+
+libmath-gmp-perl (2.04-1) unstable; urgency=low
+
+ * Initial Release.
+
+ -- Florian Ragwitz <rafl at debian.org> Wed, 2 Nov 2005 18:51:14 +0100
+
Added: trunk/libmath-gmp-perl/debian/compat
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmath-gmp-perl/debian/compat?rev=21610&op=file
==============================================================================
--- trunk/libmath-gmp-perl/debian/compat (added)
+++ trunk/libmath-gmp-perl/debian/compat Sun Jun 15 16:47:29 2008
@@ -1,0 +1,1 @@
+5
Added: trunk/libmath-gmp-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmath-gmp-perl/debian/control?rev=21610&op=file
==============================================================================
--- trunk/libmath-gmp-perl/debian/control (added)
+++ trunk/libmath-gmp-perl/debian/control Sun Jun 15 16:47:29 2008
@@ -1,0 +1,18 @@
+Source: libmath-gmp-perl
+Section: perl
+Priority: optional
+Build-Depends: debhelper (>= 5.0.0), dpatch, perl (>= 5.8.0-7), libgmp3-dev
+Maintainer: Florian Ragwitz <rafl at debian.org>
+Standards-Version: 3.6.2
+
+Package: libmath-gmp-perl
+Architecture: any
+Depends: ${perl:Depends}, ${shlibs:Depends}
+Description: high speed arbitrary size integer math for perl
+ Math::GMP was designed to be a drop-in replacement both for
+ Math::BigInt and for regular integer arithmetic. Unlike BigInt,
+ though, Math::GMP uses the GNU gmp library for all of its
+ calculations, as opposed to straight Perl functions. This can result
+ in speed improvements.
+ .
+ The downside is that this module is not 100% compatible to Math::BigInt.
Added: trunk/libmath-gmp-perl/debian/copyright
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmath-gmp-perl/debian/copyright?rev=21610&op=file
==============================================================================
--- trunk/libmath-gmp-perl/debian/copyright (added)
+++ trunk/libmath-gmp-perl/debian/copyright Sun Jun 15 16:47:29 2008
@@ -1,0 +1,20 @@
+This package was debianized by Florian Ragwitz <rafl at debian.org> on
+Wed, 02 Nov 2005 18:52:43 +0100.
+
+It was downloaded from http://search.cpan.org/~chipt/Math-GMP/
+
+Copyright (C) 2000-2004 James H. Turner.
+
+Based on the old Math::BigInt:
+
+ Original code by Mark Biggar, overloaded interface by Ilya Zakharevich.
+ Completely rewritten by Tels http://bloodgate.com in late 2000, 2001 - 2004
+ and still at it in 2005.
+
+This program is free software, you can redistribute it and/or modify it under
+the same terms as Perl itself.
+
+Perl is distributed under your choice of the GNU General Public License or
+the Artistic License. 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'.
Added: trunk/libmath-gmp-perl/debian/patches/00list
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmath-gmp-perl/debian/patches/00list?rev=21610&op=file
==============================================================================
--- trunk/libmath-gmp-perl/debian/patches/00list (added)
+++ trunk/libmath-gmp-perl/debian/patches/00list Sun Jun 15 16:47:29 2008
@@ -1,0 +1,1 @@
+64bit_ftbfs
Added: trunk/libmath-gmp-perl/debian/patches/64bit_ftbfs.dpatch
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmath-gmp-perl/debian/patches/64bit_ftbfs.dpatch?rev=21610&op=file
==============================================================================
--- trunk/libmath-gmp-perl/debian/patches/64bit_ftbfs.dpatch (added)
+++ trunk/libmath-gmp-perl/debian/patches/64bit_ftbfs.dpatch Sun Jun 15 16:47:29 2008
@@ -1,0 +1,52 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 64bit_ftbfs.dpatch by Florian Ragwitz <rafl at debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Fix test suite on 64 bit platforms
+
+ at DPATCH@
+
+Only in libmath-gmp-perl-2.04: debian
+diff -ur libmath-gmp-perl-2.04.orig/t/gmppm.t libmath-gmp-perl-2.04/t/gmppm.t
+--- libmath-gmp-perl-2.04.orig/t/gmppm.t 2004-09-28 13:03:03.000000000 +0000
++++ libmath-gmp-perl-2.04/t/gmppm.t 2006-03-26 18:06:06.000000000 +0000
+@@ -6,6 +6,7 @@
+
+ use Math::GMP;
+ use Test;
++use Config;
+ use strict;
+
+ my ($f,$try,$x,$y,$ans, at tests, at data, at args,$ans1,$z,$line);
+@@ -46,8 +47,10 @@
+ $try .= 'Math::GMP::gmp_sqrt($x);';
+ } elsif ($f eq 'uintify') {
+ $try .= "Math::GMP::uintify_gmp(\$x);";
++ $ans = pop(@args) if ($Config{longsize} == 4 && scalar @args > 1);
+ } elsif ($f eq 'intify') {
+ $try .= "Math::GMP::intify_gmp(\$x);";
++ $ans = pop(@args) if ($Config{longsize} == 4 && scalar @args > 1);
+ } elsif ($f eq 'new_from_base') {
+ $try .= "\$x;";
+ } else {
+@@ -418,16 +421,16 @@
+ -5000:i2:13
+ &uintify
+ +15:15
+-+9999999999:1410065407
+-+99999999999:1215752191
+-+999999999999:3567587327
+++9999999999:1410065407:9999999999
+++99999999999:1215752191:99999999999
+++999999999999:3567587327:999999999999
+ &add_ui
+ +999999:i1:1000000
+ +9999999:i1:10000000
+ +99999999:i1:100000000
+ &intify
+ +999999999:999999999
+-+9999999999:1410065407
+++9999999999:1410065407:9999999999
+ &mul_2exp
+ +9999:i9:5119488
+ +99999:i9:51199488
Propchange: trunk/libmath-gmp-perl/debian/patches/64bit_ftbfs.dpatch
------------------------------------------------------------------------------
svn:executable = *
Added: trunk/libmath-gmp-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmath-gmp-perl/debian/rules?rev=21610&op=file
==============================================================================
--- trunk/libmath-gmp-perl/debian/rules (added)
+++ trunk/libmath-gmp-perl/debian/rules Sun Jun 15 16:47:29 2008
@@ -1,0 +1,78 @@
+#!/usr/bin/make -f
+
+export PERL_MM_USE_DEFAULT=1
+
+PACKAGE=$(shell dh_listpackages)
+
+ifndef PERL
+PERL = /usr/bin/perl
+endif
+
+TMP =$(CURDIR)/debian/$(PACKAGE)
+
+CFLAGS = -Wall -g
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+ CFLAGS += -O0
+else
+ CFLAGS += -O2
+endif
+
+build: build-stamp
+build-stamp: patch
+ dh_testdir
+ $(PERL) Makefile.PL INSTALLDIRS=vendor
+ $(MAKE) OPTIMIZE="$(CFLAGS)" LD_RUN_PATH=""
+ touch build-stamp
+
+clean: clean1 unpatch
+clean1:
+ dh_testdir
+ dh_testroot
+ [ ! -f Makefile ] || $(MAKE) realclean
+ dh_clean build-stamp install-stamp
+
+install: build install-stamp
+install-stamp:
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ $(MAKE) test
+ $(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
+ [ ! -d $(TMP)/usr/share/perl5 ] || rmdir --ignore-fail-on-non-empty --parents $(TMP)/usr/share/perl5
+ touch install-stamp
+
+patch: patch-stamp
+patch-stamp:
+ dpatch apply-all
+ touch patch-stamp
+
+unpatch:
+ dpatch deapply-all
+ rm -rf patch-stamp debian/patched
+
+# Build architecture-independent files here.
+binary-indep: build install
+# We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-arch: build install
+ dh_testdir
+ dh_testroot
+ dh_installdocs README
+ dh_installexamples
+ dh_installchangelogs Changes
+ dh_strip
+ dh_compress
+ dh_fixperms
+ dh_installdeb
+ dh_perl
+ dh_shlibdeps
+ 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 patch unpatch clean1
Propchange: trunk/libmath-gmp-perl/debian/rules
------------------------------------------------------------------------------
svn:executable = *
More information about the Pkg-perl-cvs-commits
mailing list