[openpgp-applet] 11/61: Migrate to Dist::Zilla as a build system

Clement Hermann nodens at nodens.org
Tue Aug 18 18:51:40 UTC 2015


This is an automated email from the git hooks/post-receive script.

nodens-guest pushed a commit to annotated tag OpenPGP_Applet-0.9
in repository openpgp-applet.

commit 9904cb410eda3b57314265af4fd8bde6ea7208cc
Author: Clément Hermann (nodens) <nodens at nodens.org>
Date:   Tue Aug 5 00:03:23 2014 +0200

    Migrate to Dist::Zilla as a build system
---
 MANIFEST      | 52 ----------------------------------------------------
 MANIFEST.SKIP |  3 ++-
 Makefile.PL   | 33 ---------------------------------
 dist.ini      | 40 ++++++++++++++++++++++++++++++++++++++++
 4 files changed, 42 insertions(+), 86 deletions(-)

diff --git a/MANIFEST b/MANIFEST
deleted file mode 100644
index 1936dd5..0000000
--- a/MANIFEST
+++ /dev/null
@@ -1,52 +0,0 @@
-inc/Module/Install.pm
-inc/Module/Install/Base.pm
-inc/Module/Install/Can.pm
-inc/Module/Install/Fetch.pm
-inc/Module/Install/Makefile.pm
-inc/Module/Install/Metadata.pm
-inc/Module/Install/Scripts.pm
-inc/Module/Install/Share.pm
-inc/Module/Install/Win32.pm
-inc/Module/Install/WriteAll.pm
-lib/OpenPGP_Applet/GnuPG/Interface.pm
-LICENSE
-Makefile.PL
-MANIFEST			This list of files
-MANIFEST.SKIP
-META.yml
-README
-script/openpgp-applet
-share/pixmaps/22x22/OpenPGP_Applet-key.png
-share/pixmaps/22x22/OpenPGP_Applet-key.svg
-share/pixmaps/22x22/OpenPGP_Applet-message.png
-share/pixmaps/22x22/OpenPGP_Applet-message.svg
-share/pixmaps/22x22/OpenPGP_Applet-none.png
-share/pixmaps/22x22/OpenPGP_Applet-none.svg
-share/pixmaps/22x22/OpenPGP_Applet-signed.png
-share/pixmaps/22x22/OpenPGP_Applet-signed.svg
-share/pixmaps/22x22/OpenPGP_Applet-text.png
-share/pixmaps/22x22/OpenPGP_Applet-text.svg
-share/pixmaps/48x48-grey/OpenPGP_Applet-key.png
-share/pixmaps/48x48-grey/OpenPGP_Applet-message.png
-share/pixmaps/48x48-grey/OpenPGP_Applet-none.png
-share/pixmaps/48x48-grey/OpenPGP_Applet-signed.png
-share/pixmaps/48x48-grey/OpenPGP_Applet-text.png
-share/pixmaps/48x48-grey/OpenPGP_Applet.png
-share/pixmaps/48x48/OpenPGP_Applet-key.png
-share/pixmaps/48x48/OpenPGP_Applet-message.png
-share/pixmaps/48x48/OpenPGP_Applet-none.png
-share/pixmaps/48x48/OpenPGP_Applet-signed.png
-share/pixmaps/48x48/OpenPGP_Applet-text.png
-share/pixmaps/48x48/OpenPGP_Applet.png
-share/pixmaps/scalable-grey/OpenPGP_Applet-key.svg
-share/pixmaps/scalable-grey/OpenPGP_Applet-message.svg
-share/pixmaps/scalable-grey/OpenPGP_Applet-none.svg
-share/pixmaps/scalable-grey/OpenPGP_Applet-signed.svg
-share/pixmaps/scalable-grey/OpenPGP_Applet-text.svg
-share/pixmaps/scalable-grey/OpenPGP_Applet.svg
-share/pixmaps/scalable/OpenPGP_Applet-key.svg
-share/pixmaps/scalable/OpenPGP_Applet-message.svg
-share/pixmaps/scalable/OpenPGP_Applet-none.svg
-share/pixmaps/scalable/OpenPGP_Applet-signed.svg
-share/pixmaps/scalable/OpenPGP_Applet-text.svg
-share/pixmaps/scalable/OpenPGP_Applet.svg
diff --git a/MANIFEST.SKIP b/MANIFEST.SKIP
index c6099dc..5bc91cd 100644
--- a/MANIFEST.SKIP
+++ b/MANIFEST.SKIP
@@ -1,5 +1,6 @@
 ~$
-^.git
+# Dist::Zilla takes care of this one
+#^.git
 ^(|.*/)\..*\.sw[op]$
 ^debian
 \.bak$
diff --git a/Makefile.PL b/Makefile.PL
deleted file mode 100644
index 7d8db3e..0000000
--- a/Makefile.PL
+++ /dev/null
@@ -1,33 +0,0 @@
-#!/usr/bin/env perl
-use strict;
-use warnings;
-use inc::Module::Install;
-
-name 			'OpenPGP_Applet';
-license			'gpl,artistic';
-all_from 		'script/openpgp-applet';
-
-requires		'Any::Moose';
-requires		'Carp';
-requires		'DateTime';
-requires		'Encode';
-requires		'File::ShareDir';
-requires		'Glib';
-requires		'Gtk2';
-requires		'Gtk2::Gdk::Keysyms';
-requires		'Gtk2::SimpleList';
-requires		'I18N::Langinfo';
-requires		'IO::Handle';
-requires		'List::MoreUtils';
-requires		'Locale::gettext';
-requires		'namespace::autoclean';
-requires		'POSIX';
-requires		'Switch';
-requires_external_bin 	'xclip';
-
-
-install_script 		'openpgp-applet';
-install_share 		'share';
-
-WriteAll;
-
diff --git a/dist.ini b/dist.ini
new file mode 100644
index 0000000..572bb4a
--- /dev/null
+++ b/dist.ini
@@ -0,0 +1,40 @@
+name             = OpenPGP_Applet
+main_module      = bin/openpgp-applet
+author           = Tails developers <tails at boum.org>
+license          = Perl_5
+copyright_holder = Tails developers
+copyright_year   = 2014
+
+[VersionFromModule]
+
+[MetaResources]
+homepage = https://tails.boum.org/
+repository.url  = https://git-tails.immerda.ch/nodens/openpgp-applet/
+repository.type = git
+
+[@Filter]
+-bundle = @Basic
+-remove = Readme
+-remove = License
+
+[MetaJSON]
+
+[Test::Perl::Critic]
+
+[RequiresExternal]
+requires = xclip
+
+[ExecDir]
+
+; no po file for now
+; Compile .po files to .mo files
+;[LocaleMsgfmt]
+;locale = po
+
+[Git::Check]
+
+[ChangelogFromGit]
+max_age     = 99999
+tag_regexp  = ^OpenPGP_Applet_(?:\d+[.]?)+$
+file_name   = Changes
+

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/openpgp-applet.git



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