debian/0000775000000000000000000000000012060673555007201 5ustar debian/changelog0000644000000000000000000000074112060672435011047 0ustar libtest-debian-perl (0.03-1) unstable; urgency=low * Fix ok error. -- Dmitry E. Oboukhov Sat, 08 Dec 2012 21:12:42 +0400 libtest-debian-perl (0.02-1) unstable; urgency=low * Test for several package names. -- Dmitry E. Oboukhov Sat, 08 Dec 2012 19:55:37 +0400 libtest-debian-perl (0.01-1) unstable; urgency=low * Debian first commit, closes: #680178 -- Dmitry E. Oboukhov Wed, 04 Jul 2012 13:54:53 +0400 debian/copyright0000644000000000000000000000167512060660653011136 0ustar Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=135 Maintainer: Dmitry E. Oboukhov Source: http://search.cpan.org/dist/Test-Debian/ Name: Test::Debian Files: * Copyright: 2011-2012 Dmitry E. Oboukhov License: Artistic or GPL-1+ License: Artistic This program is free software; you can redistribute it and/or modify it under the terms of the Artistic License, which comes with Perl. . On Debian systems, the complete text of the Artistic License can be found in `/usr/share/common-licenses/Artistic'. License: GPL-1+ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 1, or (at your option) any later version. . On Debian systems, the complete text of the GNU General Public License can be found in `/usr/share/common-licenses/GPL-1' debian/watch0000644000000000000000000000012112060660653010215 0ustar version=3 http://search.cpan.org/dist/Test-Debian/ .*-(\d+(?:\.\d+)+).tar.gz debian/compat0000644000000000000000000000000212060660653010370 0ustar 7 debian/source/0000775000000000000000000000000012060660653010474 5ustar debian/source/format0000644000000000000000000000001412060660653011700 0ustar 3.0 (quilt) debian/rules0000755000000000000000000000125112060660653010251 0ustar #!/usr/bin/make -f include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/class/perl-makemaker.mk MAIN_MODULE = lib/Test/Debian.pm DEBVERSION = $(shell dpkg-parsechangelog \ |grep ^Version|awk '{print $$2}'|sed 's/-.*//' ) PERLVERSION = $(shell grep '^our[[:space:]]\+$$VERSION' $(MAIN_MODULE) \ |head -n 1 \ |awk '{print $$4}'|sed "s/[';']//g" ) install/libtest-debian-perl:: test $(DEBVERSION) = $(PERLVERSION) make tardist clean:: rm -f Makefile.old rm -fr .pc rm -f Test-Debian-*.tar.gz* tarball: cd .. && tar \ --exclude=debian \ --exclude=.git \ -czf libtest-debian-perl_$(DEBVERSION).orig.tar.gz \ libtest-debian-perl-$(DEBVERSION) debian/control0000644000000000000000000000110312060660653010570 0ustar Source: libtest-debian-perl Section: perl Homepage: http://search.cpan.org/dist/Test-Debian/ Maintainer: Dmitry E. Oboukhov Build-Depends: debhelper (>= 7), cdbs Standards-Version: 3.9.3 Priority: extra VCS-Browser: https://github.com/unera/test-debian-perl Package: libtest-debian-perl Depends: ${perl:Depends}, ${misc:Depends} Architecture: all Description: perl tests for debian The module provides some perl tests for debian system: - system_is_debian - package_is_installed - package_isnt_installed You can use them inside Your perl tests.