From b5fc593b2065b8deb80b3d25b283ccc690b3a8f9 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Mon, 1 Sep 2014 13:20:48 +0200 Subject: Import libmodule-install-manifestskip-perl_0.24.orig.tar.gz [dgit import orig libmodule-install-manifestskip-perl_0.24.orig.tar.gz] --- CONTRIBUTING | 55 ++++++ Changes | 49 +++++ LICENSE | 379 ++++++++++++++++++++++++++++++++++++ MANIFEST | 18 ++ META.json | 57 ++++++ META.yml | 29 +++ Makefile.PL | 51 +++++ README | 52 +++++ lib/Module/Install/ManifestSkip.pm | 31 +++ lib/Module/Install/ManifestSkip.pod | 71 +++++++ t/release-pod-syntax.t | 14 ++ t/sample1/Foo~ | 0 t/sample1/Makefile.PL | 7 + t/sample1/ToDo | 0 t/sample1/lib/Sample1.pm | 3 + t/test.t | 3 + xt/skip.t_ | 26 +++ 17 files changed, 845 insertions(+) create mode 100644 CONTRIBUTING create mode 100644 Changes create mode 100644 LICENSE create mode 100644 MANIFEST create mode 100644 META.json create mode 100644 META.yml create mode 100644 Makefile.PL create mode 100644 README create mode 100644 lib/Module/Install/ManifestSkip.pm create mode 100644 lib/Module/Install/ManifestSkip.pod create mode 100644 t/release-pod-syntax.t create mode 100644 t/sample1/Foo~ create mode 100644 t/sample1/Makefile.PL create mode 100644 t/sample1/ToDo create mode 100644 t/sample1/lib/Sample1.pm create mode 100644 t/test.t create mode 100644 xt/skip.t_ diff --git a/CONTRIBUTING b/CONTRIBUTING new file mode 100644 index 0000000..12afe17 --- /dev/null +++ b/CONTRIBUTING @@ -0,0 +1,55 @@ +Contributing +============ + +The "Module-Install-ManifestSkip" Project needs your help! + +Please consider being a contributor. This file contains instructions that will +help you be an effective contributor to the Project. + +GitHub +------ + +The code for this Project is hosted at GitHub. The repository is: + + https://github.com/ingydotnet/module-install-manifestskip-pm + +You can get the code with this command: + + git clone https://github.com/ingydotnet/module-install-manifestskip-pm + +If you've found a bug or a missing feature that you would like the author to +know about, report it here: + + https://github.com/ingydotnet/module-install-manifestskip-pm/issues + +or fix it and submit a pull request here: + + https://github.com/ingydotnet/module-install-manifestskip-pm/pulls + +See these links for help on interacting with GitHub: + +* https://help.github.com/ +* https://help.github.com/articles/creating-a-pull-request + +Zilla::Dist +----------- + +This Project uses Zilla::Dist to prepare it for publishing to CPAN. Read: + + https://metacpan.org/pod/distribution/Zilla-Dist/lib/Zilla/Dist/Contributing.pod + +for up-to-date instructions on what contributors like yourself need to know to +use it. + +IRC +--- + +Module-Install-ManifestSkip has an IRC channel where you can find real people to help you: + + irc.freenode.net#pkg + +Join the channel. Join the team! + + + Thanks in advance, Ingy döt Net + diff --git a/Changes b/Changes new file mode 100644 index 0000000..39c9592 --- /dev/null +++ b/Changes @@ -0,0 +1,49 @@ +0.24 Sat Aug 16 11:36:21 PDT 2014 + - Meta 0.0.2 + +0.23 Fri Aug 15 18:49:16 PDT 2014 + - Add t/000-compile-modules.t + +0.22 Wed Jul 30 15:50:47 PDT 2014 + - Switch IRC to + +0.21 Thu Jul 24 23:23:34 PDT 2014 + - Switch to Zilla-Dist + +0.20 Sun Sep 25 04:18:45 CEST 2011 + - Require minimum perl 5.8.1 + - https://rt.cpan.org/Public/Bug/Display.html?id=71155 + +0.19 Sun Jun 5 02:27:37 EST 2011 + - Use Module::Manifest::Skip for content. + +0.18 Wed Jun 1 19:56:48 EST 2011 + - Add 'clean' support for MANIFEST.SKIP files that never change. + +0.17 Mon May 30 20:33:44 EST 2011 + - Rerelease with Module::Package 0.17 + - Add ^xt/ to skips + +0.16 Mon May 30 00:52:46 EST 2011 + - Change to Module::Package + +0.15 Tue May 17 22:52:08 EST 2011 + - Stardoc + - Package + - add .devel-local + +0.14 Mon Sep 20 09:52:31 PDT 2010 + - refactored tests + - changed message + +0.12 Wed Sep 15 09:40:52 PDT 2010 + - jnap++ found and fixed a bug from his last patch + +0.11 Tue Sep 14 16:36:08 PDT 2010 + - Added some additional skips for MAC OSX, emac backups and komodo. Thanks + to John Napiorkowski, for this addition. + - Added 'readme_from' to Makefile.PL + +0.10 Fri Sep 10 10:35:31 PDT 2010 + - Initial version. + diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..0db69cc --- /dev/null +++ b/LICENSE @@ -0,0 +1,379 @@ +This software is copyright (c) 2014 by Ingy döt Net. + +This is free software; you can redistribute it and/or modify it under +the same terms as the Perl 5 programming language system itself. + +Terms of the Perl programming language system itself + +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" + +--- The GNU General Public License, Version 1, February 1989 --- + +This software is Copyright (c) 2014 by Ingy döt Net. + +This is free software, licensed under: + + The GNU General Public License, Version 1, February 1989 + + GNU GENERAL PUBLIC LICENSE + Version 1, February 1989 + + Copyright (C) 1989 Free Software Foundation, Inc. + 51 Franklin St, Suite 500, Boston, MA 02110-1335 USA + + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The license agreements of most software companies try to keep users +at the mercy of those companies. By contrast, our General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. The +General Public License applies to the Free Software Foundation's +software and to any other program whose authors commit to using it. +You can use it for your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Specifically, the General Public License is designed to make +sure that you have the freedom to give away or sell copies of free +software, that you receive source code or can get it if you want it, +that you can change the software or use pieces of it in new free +programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of a such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must tell them their rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License Agreement applies to any program or other work which +contains a notice placed by the copyright holder saying it may be +distributed under the terms of this General Public License. The +"Program", below, refers to any such program or work, and a "work based +on the Program" means either the Program or any work containing the +Program or a portion of it, either verbatim or with modifications. Each +licensee is addressed as "you". + + 1. You may copy and distribute verbatim copies of the Program's source +code as you receive it, in any medium, provided that you conspicuously and +appropriately publish on each copy an appropriate copyright notice and +disclaimer of warranty; keep intact all the notices that refer to this +General Public License and to the absence of any warranty; and give any +other recipients of the Program a copy of this General Public License +along with the Program. You may charge a fee for the physical act of +transferring a copy. + + 2. You may modify your copy or copies of the Program or any portion of +it, and copy and distribute such modifications under the terms of Paragraph +1 above, provided that you also do the following: + + a) cause the modified files to carry prominent notices stating that + you changed the files and the date of any change; and + + b) cause the whole of any work that you distribute or publish, that + in whole or in part contains the Program or any part thereof, either + with or without modifications, to be licensed at no charge to all + third parties under the terms of this General Public License (except + that you may choose to grant warranty protection to some or all + third parties, at your option). + + c) If the modified program normally reads commands interactively when + run, you must cause it, when started running for such interactive use + in the simplest and most usual way, to print or display an + announcement including an appropriate copyright notice and a notice + that there is no warranty (or else, saying that you provide a + warranty) and that users may redistribute the program under these + conditions, and telling the user how to view a copy of this General + Public License. + + d) You may charge a fee for the physical act of transferring a + copy, and you may at your option offer warranty protection in + exchange for a fee. + +Mere aggregation of another independent work with the Program (or its +derivative) on a volume of a storage or distribution medium does not bring +the other work under the scope of these terms. + + 3. You may copy and distribute the Program (or a portion or derivative of +it, under Paragraph 2) in object code or executable form under the terms of +Paragraphs 1 and 2 above provided that you also do one of the following: + + a) accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of + Paragraphs 1 and 2 above; or, + + b) accompany it with a written offer, valid for at least three + years, to give any third party free (except for a nominal charge + for the cost of distribution) a complete machine-readable copy of the + corresponding source code, to be distributed under the terms of + Paragraphs 1 and 2 above; or, + + c) accompany it with the information you received as to where the + corresponding source code may be obtained. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form alone.) + +Source code for a work means the preferred form of the work for making +modifications to it. For an executable file, complete source code means +all the source code for all modules it contains; but, as a special +exception, it need not include source code for modules which are standard +libraries that accompany the operating system on which the executable +file runs, or for standard header files or definitions files that +accompany that operating system. + + 4. You may not copy, modify, sublicense, distribute or transfer the +Program except as expressly provided under this General Public License. +Any attempt otherwise to copy, modify, sublicense, distribute or transfer +the Program is void, and will automatically terminate your rights to use +the Program under this License. However, parties who have received +copies, or rights to use copies, from you under this General Public +License will not have their licenses terminated so long as such parties +remain in full compliance. + + 5. By copying, distributing or modifying the Program (or any work based +on the Program) you indicate your acceptance of this license to do so, +and all its terms and conditions. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the original +licensor to copy, distribute or modify the Program subject to these +terms and conditions. You may not impose any further restrictions on the +recipients' exercise of the rights granted herein. + + 7. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of the license which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +the license, you may choose any version ever published by the Free Software +Foundation. + + 8. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 9. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 10. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + Appendix: How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to humanity, the best way to achieve this is to make it +free software which everyone can redistribute and change under these +terms. + + To do so, attach the following notices to the program. It is safest to +attach them to the start of each source file to most effectively convey +the exclusion of warranty; and each file should have at least the +"copyright" line and a pointer to where the full notice is found. + + + Copyright (C) 19yy + + 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. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301 USA + + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) 19xx name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the +appropriate parts of the General Public License. Of course, the +commands you use may be called something other than `show w' and `show +c'; they could even be mouse-clicks or menu items--whatever suits your +program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the + program `Gnomovision' (a program to direct compilers to make passes + at assemblers) written by James Hacker. + + , 1 April 1989 + Ty Coon, President of Vice + +That's all there is to it! + + +--- The Artistic License 1.0 --- + +This software is Copyright (c) 2014 by Ingy döt Net. + +This is free software, licensed under: + + The Artistic License 1.0 + +The Artistic License + +Preamble + +The intent of this document is to state the conditions under which a Package +may be copied, such that the Copyright Holder maintains some semblance of +artistic control over the development of the package, while giving the users of +the package the right to use and distribute the Package in a more-or-less +customary fashion, plus the right to make reasonable modifications. + +Definitions: + + - "Package" refers to the collection of files distributed by the Copyright + Holder, and derivatives of that collection of files created through + textual modification. + - "Standard Version" refers to such a Package if it has not been modified, + or has been modified in accordance with the wishes of the Copyright + Holder. + - "Copyright Holder" is whoever is named in the copyright or copyrights for + the package. + - "You" is you, if you're thinking about copying or distributing this Package. + - "Reasonable copying fee" is whatever you can justify on the basis of media + cost, duplication charges, time of people involved, and so on. (You will + not be required to justify it to the Copyright Holder, but only to the + computing community at large as a market that must bear the fee.) + - "Freely Available" means that no fee is charged for the item itself, though + there may be fees involved in handling the item. It also means that + recipients of the item may redistribute it under the same conditions they + received it. + +1. You may make and give away verbatim copies of the source form of the +Standard Version of this Package without restriction, provided that you +duplicate all of the original copyright notices and associated disclaimers. + +2. You may apply bug fixes, portability fixes and other modifications derived +from the Public Domain or from the Copyright Holder. A Package modified in such +a way shall still be considered the Standard Version. + +3. You may otherwise modify your copy of this Package in any way, provided that +you insert a prominent notice in each changed file stating how and when you +changed that file, and provided that you do at least ONE of the following: + + a) place your modifications in the Public Domain or otherwise make them + Freely Available, such as by posting said modifications to Usenet or an + equivalent medium, or placing the modifications on a major archive site + such as ftp.uu.net, or by allowing the Copyright Holder to include your + modifications in the Standard Version of the Package. + + b) use the modified Package only within your corporation or organization. + + c) rename any non-standard executables so the names do not conflict with + standard executables, which must also be provided, and provide a separate + manual page for each non-standard executable that clearly documents how it + differs from the Standard Version. + + d) make other distribution arrangements with the Copyright Holder. + +4. You may distribute the programs of this Package in object code or executable +form, provided that you do at least ONE of the following: + + a) distribute a Standard Version of the executables and library files, + together with instructions (in the manual page or equivalent) on where to + get the Standard Version. + + b) accompany the distribution with the machine-readable source of the Package + with your modifications. + + c) accompany any non-standard executables with their corresponding Standard + Version executables, giving the non-standard executables non-standard + names, and clearly documenting the differences in manual pages (or + equivalent), together with instructions on where to get the Standard + Version. + + d) make other distribution arrangements with the Copyright Holder. + +5. You may charge a reasonable copying fee for any distribution of this +Package. You may charge any fee you choose for support of this Package. You +may not charge a fee for this Package itself. However, you may distribute this +Package in aggregate with other (possibly commercial) programs as part of a +larger (possibly commercial) software distribution provided that you do not +advertise this Package as a product of your own. + +6. The scripts and library files supplied as input to or produced as output +from the programs of this Package do not automatically fall under the copyright +of this Package, but belong to whomever generated them, and may be sold +commercially, and may be aggregated with this Package. + +7. C or perl subroutines supplied by you and linked into this Package shall not +be considered part of this Package. + +8. The name of the Copyright Holder may not be used to endorse or promote +products derived from this software without specific prior written permission. + +9. THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED +WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF +MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. + +The End + diff --git a/MANIFEST b/MANIFEST new file mode 100644 index 0000000..11e4597 --- /dev/null +++ b/MANIFEST @@ -0,0 +1,18 @@ +# This file was automatically generated by Dist::Zilla::Plugin::Manifest v5.019. +CONTRIBUTING +Changes +LICENSE +MANIFEST +META.json +META.yml +Makefile.PL +README +lib/Module/Install/ManifestSkip.pm +lib/Module/Install/ManifestSkip.pod +t/release-pod-syntax.t +t/sample1/Foo~ +t/sample1/Makefile.PL +t/sample1/ToDo +t/sample1/lib/Sample1.pm +t/test.t +xt/skip.t_ diff --git a/META.json b/META.json new file mode 100644 index 0000000..6947af6 --- /dev/null +++ b/META.json @@ -0,0 +1,57 @@ +{ + "abstract" : "Generate a MANIFEST.SKIP file", + "author" : [ + "Ingy döt Net " + ], + "dynamic_config" : 0, + "generated_by" : "Dist::Zilla version 5.019, CPAN::Meta::Converter version 2.132830", + "license" : [ + "perl_5" + ], + "meta-spec" : { + "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec", + "version" : "2" + }, + "name" : "Module-Install-ManifestSkip", + "no_index" : { + "directory" : [ + "inc", + "t", + "xt", + "example" + ] + }, + "prereqs" : { + "configure" : { + "requires" : { + "ExtUtils::MakeMaker" : "6.30" + } + }, + "develop" : { + "requires" : { + "Test::Pod" : "1.41" + } + }, + "runtime" : { + "requires" : { + "Module::Install" : "1.10", + "Module::Manifest::Skip" : "0.18", + "perl" : "v5.8.1" + } + } + }, + "release_status" : "stable", + "resources" : { + "bugtracker" : { + "web" : "https://github.com/ingydotnet/module-install-manifestskip-pm/issues" + }, + "homepage" : "https://github.com/ingydotnet/module-install-manifestskip-pm", + "repository" : { + "type" : "git", + "url" : "https://github.com/ingydotnet/module-install-manifestskip-pm.git", + "web" : "https://github.com/ingydotnet/module-install-manifestskip-pm" + } + }, + "version" : "0.24" +} + diff --git a/META.yml b/META.yml new file mode 100644 index 0000000..e63796e --- /dev/null +++ b/META.yml @@ -0,0 +1,29 @@ +--- +abstract: 'Generate a MANIFEST.SKIP file' +author: + - 'Ingy döt Net ' +build_requires: {} +configure_requires: + ExtUtils::MakeMaker: '6.30' +dynamic_config: 0 +generated_by: 'Dist::Zilla version 5.019, CPAN::Meta::Converter version 2.132830' +license: perl +meta-spec: + url: http://module-build.sourceforge.net/META-spec-v1.4.html + version: '1.4' +name: Module-Install-ManifestSkip +no_index: + directory: + - inc + - t + - xt + - example +requires: + Module::Install: '1.10' + Module::Manifest::Skip: '0.18' + perl: v5.8.1 +resources: + bugtracker: https://github.com/ingydotnet/module-install-manifestskip-pm/issues + homepage: https://github.com/ingydotnet/module-install-manifestskip-pm + repository: https://github.com/ingydotnet/module-install-manifestskip-pm.git +version: '0.24' diff --git a/Makefile.PL b/Makefile.PL new file mode 100644 index 0000000..68dc602 --- /dev/null +++ b/Makefile.PL @@ -0,0 +1,51 @@ + +# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v5.019. +use strict; +use warnings; + +use 5.008001; + +use ExtUtils::MakeMaker 6.30; + + + +my %WriteMakefileArgs = ( + "ABSTRACT" => "Generate a MANIFEST.SKIP file", + "AUTHOR" => "Ingy d\x{f6}t Net ", + "CONFIGURE_REQUIRES" => { + "ExtUtils::MakeMaker" => "6.30" + }, + "DISTNAME" => "Module-Install-ManifestSkip", + "EXE_FILES" => [], + "LICENSE" => "perl", + "NAME" => "Module::Install::ManifestSkip", + "PREREQ_PM" => { + "Module::Install" => "1.10", + "Module::Manifest::Skip" => "0.18" + }, + "VERSION" => "0.24", + "test" => { + "TESTS" => "t/*.t" + } +); + + +my %FallbackPrereqs = ( + "Module::Install" => "1.10", + "Module::Manifest::Skip" => "0.18" +); + + +unless ( eval { ExtUtils::MakeMaker->VERSION(6.63_03) } ) { + delete $WriteMakefileArgs{TEST_REQUIRES}; + delete $WriteMakefileArgs{BUILD_REQUIRES}; + $WriteMakefileArgs{PREREQ_PM} = \%FallbackPrereqs; +} + +delete $WriteMakefileArgs{CONFIGURE_REQUIRES} + unless eval { ExtUtils::MakeMaker->VERSION(6.52) }; + +WriteMakefile(%WriteMakefileArgs); + + + diff --git a/README b/README new file mode 100644 index 0000000..8319c37 --- /dev/null +++ b/README @@ -0,0 +1,52 @@ +NAME + Module::Install::ManifestSkip - Generate a MANIFEST.SKIP file + +SYNOPSIS + use inc::Module::Install; + + all_from 'lib/Foo.pm'; + + manifest_skip; + + WriteAll; + +DESCRIPTION + This module generates a "MANIFEST.SKIP" file for you (using + Module::Manifest::Skip) that contains the common files that people do + not want in their "MANIFEST" files. The SKIP file is generated each time + that you (the module author) run "Makefile.PL". + + You can add your own custom entries at the top of the "MANIFEST" file. + Just put a blank line after your entries, and they will be left alone. + + This module also adds 'MANIFEST' to the "clean_files()" list so that + "make clean" will remove your "MANIFEST". + +OPTIONS + if you don't plan on adding anything to the stock MANIFEST.SKIP and just + want "make clean" to delete it, say this: + + manifest_skip 'clean'; + +THEORY + one school of thought for release management is that you never commit + your "MANIFEST" file. You just generate it using "make manifest", right + before releasing a module, and then delete it afterwards. + + This is good because you never forget to add new files to your + "MANIFEST". The only problems are that you always need to generate a + "MANIFEST.SKIP" file, and you need to add "MANIFEST" to your + clean_files, or delete it by hand. This module does these things for + you. + +AUTHOR + Ingy döt Net + +COPYRIGHT AND LICENSE + Copyright 2010-2014. Ingy döt Net. + + This program is free software; you can redistribute it and/or modify it + under the same terms as Perl itself. + + See + diff --git a/lib/Module/Install/ManifestSkip.pm b/lib/Module/Install/ManifestSkip.pm new file mode 100644 index 0000000..d08e927 --- /dev/null +++ b/lib/Module/Install/ManifestSkip.pm @@ -0,0 +1,31 @@ +use strict; use warnings; +package Module::Install::ManifestSkip; +our $VERSION = '0.24'; + +use base 'Module::Install::Base'; + +our $AUTHOR_ONLY = 1; + +my $skip_file = "MANIFEST.SKIP"; + +sub manifest_skip { + my $self = shift; + return unless $self->is_admin; + + require Module::Manifest::Skip; + + print "Writing $skip_file\n"; + + open OUT, '>', $skip_file + or die "Can't open $skip_file for output: $!";; + + print OUT Module::Manifest::Skip->new->text; + + close OUT; + + $self->clean_files('MANIFEST'); + $self->clean_files($skip_file) + if grep /^clean$/, @_; +} + +1; diff --git a/lib/Module/Install/ManifestSkip.pod b/lib/Module/Install/ManifestSkip.pod new file mode 100644 index 0000000..7fb1a28 --- /dev/null +++ b/lib/Module/Install/ManifestSkip.pod @@ -0,0 +1,71 @@ +=pod + +=for comment +DO NOT EDIT. This Pod was generated by Swim. +See http://github.com/ingydotnet/swim-pm#readme + +=encoding utf8 + +=head1 NAME + +Module::Install::ManifestSkip - Generate a MANIFEST.SKIP file + +=for html +module-install-manifestskip-pm +module-install-manifestskip-pm + +=head1 SYNOPSIS + + use inc::Module::Install; + + all_from 'lib/Foo.pm'; + + manifest_skip; + + WriteAll; + +=head1 DESCRIPTION + +This module generates a C file for you (using +L) that contains the common files that people do not +want in their C files. The SKIP file is generated each time that you +(the module author) run C. + +You can add your own custom entries at the top of the C file. Just +put a blank line after your entries, and they will be left alone. + +This module also adds 'MANIFEST' to the C list so that C will remove your C. + +=head1 OPTIONS + +if you don't plan on adding anything to the stock MANIFEST.SKIP and just want +C to delete it, say this: + + manifest_skip 'clean'; + +=head1 THEORY + +one school of thought for release management is that you never commit your +C file. You just generate it using C, right before +releasing a module, and then delete it afterwards. + +This is good because you never forget to add new files to your C. +The only problems are that you always need to generate a C +file, and you need to add C to your clean_files, or delete it by +hand. This module does these things for you. + +=head1 AUTHOR + +Ingy döt Net + +=head1 COPYRIGHT AND LICENSE + +Copyright 2010-2014. Ingy döt Net. + +This program is free software; you can redistribute it and/or modify it under +the same terms as Perl itself. + +See L + +=cut diff --git a/t/release-pod-syntax.t b/t/release-pod-syntax.t new file mode 100644 index 0000000..cdd6a6c --- /dev/null +++ b/t/release-pod-syntax.t @@ -0,0 +1,14 @@ +#!perl + +BEGIN { + unless ($ENV{RELEASE_TESTING}) { + require Test::More; + Test::More::plan(skip_all => 'these tests are for release candidate testing'); + } +} + +# This file was automatically generated by Dist::Zilla::Plugin::PodSyntaxTests. +use Test::More; +use Test::Pod 1.41; + +all_pod_files_ok(); diff --git a/t/sample1/Foo~ b/t/sample1/Foo~ new file mode 100644 index 0000000..e69de29 diff --git a/t/sample1/Makefile.PL b/t/sample1/Makefile.PL new file mode 100644 index 0000000..766f94c --- /dev/null +++ b/t/sample1/Makefile.PL @@ -0,0 +1,7 @@ +use inc::Module::Install; + +name 'Sample1'; +all_from 'lib/Sample1.pm'; +manifest_skip; + +WriteAll; diff --git a/t/sample1/ToDo b/t/sample1/ToDo new file mode 100644 index 0000000..e69de29 diff --git a/t/sample1/lib/Sample1.pm b/t/sample1/lib/Sample1.pm new file mode 100644 index 0000000..f7dd102 --- /dev/null +++ b/t/sample1/lib/Sample1.pm @@ -0,0 +1,3 @@ +package Sample1; +use 5.005005; +$Sample1::VERSION = '1.23'; diff --git a/t/test.t b/t/test.t new file mode 100644 index 0000000..885759d --- /dev/null +++ b/t/test.t @@ -0,0 +1,3 @@ +use Test::More tests => 1; + +use_ok 'Module::Install::ManifestSkip'; diff --git a/xt/skip.t_ b/xt/skip.t_ new file mode 100644 index 0000000..937d779 --- /dev/null +++ b/xt/skip.t_ @@ -0,0 +1,26 @@ +use TestML -run, -dev_test; + +__DATA__ +%TestML 1.0 + +Plan = 7; + +Chdir('t/sample1'); +RunCommand('make purge'); +RunCommand('perl Makefile.PL'); +RunCommand('make manifest'); +manifest = Read('MANIFEST'); + +Label = 'MANIFEST has'; +manifest ~~ "Makefile.PL"; +manifest ~~ "lib/Sample1.pm"; +manifest ~~ "MANIFEST"; + +Label = 'Manifest contains'; +manifest.Has("MANIFEST.SKIP").Not.OK; +manifest.Has("ToDo").Not.OK; +manifest.Has(".DS_Store").Not.OK; +manifest.Has("Foo~").Not.OK; + +RunCommand('make purge'); +RunCommand('rm MANIFEST.SKIP'); -- cgit v1.2.3 From e3044bd2bfb76c442506812b4df55d79021bcfe0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jelmer=20Vernoo=C4=B3?= Date: Wed, 15 Jun 2022 20:02:51 +0100 Subject: Import libmodule-install-manifestskip-perl_0.24-2.debian.tar.xz [dgit import tarball libmodule-install-manifestskip-perl 0.24-2 libmodule-install-manifestskip-perl_0.24-2.debian.tar.xz] --- README.source | 11 +++++++++ changelog | 71 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ compat | 1 + control | 36 ++++++++++++++++++++++++++++ control.in | 30 +++++++++++++++++++++++ copyright | 55 ++++++++++++++++++++++++++++++++++++++++++ copyright_hints | 51 +++++++++++++++++++++++++++++++++++++++ gbp.conf | 5 ++++ rules | 37 +++++++++++++++++++++++++++++ source/format | 1 + upstream/metadata | 5 ++++ watch | 4 ++++ 12 files changed, 307 insertions(+) create mode 100644 README.source create mode 100644 changelog create mode 100644 compat create mode 100644 control create mode 100644 control.in create mode 100644 copyright create mode 100644 copyright_hints create mode 100644 gbp.conf create mode 100755 rules create mode 100644 source/format create mode 100644 upstream/metadata create mode 100644 watch diff --git a/README.source b/README.source new file mode 100644 index 0000000..f88449e --- /dev/null +++ b/README.source @@ -0,0 +1,11 @@ +CDBS+git-buildpackage +--------------------- + +This source package uses CDBS and git-buildpackage. NMUs need not (but +are encouraged to) make special use of these tools. In particular, the +debian/control.in file can be completely ignored. + +More info here: http://wiki.debian.org/CDBS+git-buildpackage + + + -- Jonas Smedegaard Mon, 18 Feb 2013 12:55:37 +0100 diff --git a/changelog b/changelog new file mode 100644 index 0000000..e91b2c8 --- /dev/null +++ b/changelog @@ -0,0 +1,71 @@ +libmodule-install-manifestskip-perl (0.24-2) unstable; urgency=medium + + [ Salvatore Bonaccorso ] + * Update Vcs-* headers for switch to salsa.debian.org + + [ gregor herrmann ] + * debian/*: update URLs from {search,www}.cpan.org to MetaCPAN. + * debian/*: update GitHub URLs to use HTTPS. + + [ Debian Janitor ] + * Use secure copyright file specification URI. + * Set upstream metadata fields: Bug-Database, Bug-Submit, Repository, + Repository-Browse. + + [ Jenkins ] + * Set Testsuite header for perl package. + + -- Jelmer Vernooij Wed, 15 Jun 2022 20:02:51 +0100 + +libmodule-install-manifestskip-perl (0.24-1.1) unstable; urgency=medium + + * Non maintainer upload by the Reproducible Builds team. + * No source change upload to rebuild on buildd with .buildinfo files. + + -- Holger Levsen Fri, 08 Jan 2021 13:21:50 +0100 + +libmodule-install-manifestskip-perl (0.24-1) unstable; urgency=low + + [ upstream ] + * New release(s). + + [ Salvatore Bonaccorso ] + * Change Vcs-Git to use canonical hostname (anonscm.debian.org). + * Update Vcs-Browser URL to cgit web frontend. + + [ Jonas Smedegaard ] + * Add README.source emphasizing control.in file as *not* a + show-stopper for contributions, referring to wiki page for details. + * Bump debhelper compatibility to 8: Needed package version is + satisfied even in oldstable. + * Bump compatibility claim to Policy 3.9.5. + * Fix Vcs-Git to use canonical URL. + * Update copyright info: + + Extend coverage of packaging, and bump its licensing to GPL-3+. + + Fix use license and comment pseudo-sections to obey silly + restrictions of copyright format 1.0. + + Add alternate git source URL. + + Drop Files sections for no longer shipped convenience code copies. + + Use upstream bugtracker and IRC channel as preferred upstream + contact. + + Extend coverage for upstream author. + * Relax to build-depend unversioned on cdbs: Needed version satisfied + even in oldstable. + * Update watch file to use metacpan.org and cpan.org/modules URLs (not + search.cpan.org URL). + * Stop track or mangle development releases. + * Use github URL as Homepage, to reflect upstream hinting. + * Preserve some upstream shipped cruft from being cleaned. + * Stop track checksum of upstream tarballs. + * Update package relations: + + (Build-)depend on recent libmodule-install-perl. + + Tighten (build-)dependency on libmodule-manifest-skip-perl. + + -- Jonas Smedegaard Mon, 01 Sep 2014 13:20:48 +0200 + +libmodule-install-manifestskip-perl (0.20-1) unstable; urgency=low + + * Initial packaging release. + Closes: bug#675770. + + -- Jonas Smedegaard Sun, 03 Jun 2012 12:55:39 +0200 diff --git a/compat b/compat new file mode 100644 index 0000000..f599e28 --- /dev/null +++ b/compat @@ -0,0 +1 @@ +10 diff --git a/control b/control new file mode 100644 index 0000000..aabb3d0 --- /dev/null +++ b/control @@ -0,0 +1,36 @@ +Source: libmodule-install-manifestskip-perl +Section: perl +Priority: optional +Build-Depends: cdbs, + devscripts, + perl, + debhelper (>= 10~), + dh-buildinfo, + libmodule-install-perl (>= 1.10), + libmodule-manifest-skip-perl (>= 0.18) +Maintainer: Debian Perl Group +Uploaders: Jonas Smedegaard +Standards-Version: 3.9.5 +Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/libmodule-install-manifestskip-perl.git +Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/libmodule-install-manifestskip-perl +Homepage: https://github.com/ingydotnet/module-install-manifestskip-pm +Testsuite: autopkgtest-pkg-perl + +Package: libmodule-install-manifestskip-perl +Architecture: all +Depends: ${cdbs:Depends}, + ${misc:Depends}, + ${perl:Depends} +Recommends: ${cdbs:Recommends} +Suggests: ${cdbs:Suggests} +Description: generate a MANIFEST.SKIP file + Module::Install::ManifestSkip generates a "MANIFEST.SKIP" file for you + (using Module::Manifest::Skip) that contains the common files that + people do not want in their "MANIFEST" files. The SKIP file is + generated each time that you (the module author) run "Makefile.PL". + . + You can add your own custom entries at the top of the "MANIFEST" file. + Just put a blank line after your entries, and they will be left alone. + . + This module also adds 'MANIFEST' to the "clean_files()" list so that + "make clean" will remove your "MANIFEST". diff --git a/control.in b/control.in new file mode 100644 index 0000000..455bd8a --- /dev/null +++ b/control.in @@ -0,0 +1,30 @@ +Source: libmodule-install-manifestskip-perl +Section: perl +Priority: optional +Build-Depends: @cdbs@, debhelper (>= 10~) +Maintainer: Debian Perl Group +Uploaders: Jonas Smedegaard +Standards-Version: 3.9.5 +Vcs-Git: git://anonscm.debian.org/pkg-perl/packages/libmodule-install-manifestskip-perl +Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-perl/packages/libmodule-install-manifestskip-perl.git +Homepage: https://github.com/ingydotnet/module-install-manifestskip-pm +Testsuite: autopkgtest-pkg-perl + +Package: libmodule-install-manifestskip-perl +Architecture: all +Depends: ${cdbs:Depends}, + ${misc:Depends}, + ${perl:Depends} +Recommends: ${cdbs:Recommends} +Suggests: ${cdbs:Suggests} +Description: generate a MANIFEST.SKIP file + Module::Install::ManifestSkip generates a "MANIFEST.SKIP" file for you + (using Module::Manifest::Skip) that contains the common files that + people do not want in their "MANIFEST" files. The SKIP file is + generated each time that you (the module author) run "Makefile.PL". + . + You can add your own custom entries at the top of the "MANIFEST" file. + Just put a blank line after your entries, and they will be left alone. + . + This module also adds 'MANIFEST' to the "clean_files()" list so that + "make clean" will remove your "MANIFEST". diff --git a/copyright b/copyright new file mode 100644 index 0000000..6e3a5f5 --- /dev/null +++ b/copyright @@ -0,0 +1,55 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: Module::Install::ManifestSkip +Upstream-Contact: https://github.com/ingydotnet/module-install-manifestskip-pm/issues + irc.freenode.net#pkg +Source: https://metacpan.org/release/Module-Install-ManifestSkip + https://github.com/ingydotnet/module-install-manifestskip-pm + +Files: * +Copyright: 2010-2014, Ingy döt Net +License: Artistic or GPL-1+ +Comment: + License: + . + This program is free software; you can redistribute it and/or modify it + under the same terms as Perl itself. + . + Comment: + . + Perl 5 is licensed under either the 'Artistic license' or the 'GNU + General Public License' version 1 or later. + +Files: debian/* +Copyright: 2012-2014, Jonas Smedegaard +License: GPL-3+ + +License: Artistic + Comment: + . + On Debian systems the 'Artistic License' is located in + '/usr/share/common-licenses/Artistic'. + +License: GPL-1+ + Comment: + . + On Debian systems the 'GNU General Public License' version 1 is located + in '/usr/share/common-licenses/GPL-1'. + +License: GPL-3+ + 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 3, or (at your option) any + later version. + . + This program is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + . + Comment: + . + On Debian systems the 'GNU General Public License' version 3 is located + in '/usr/share/common-licenses/GPL-3'. + . + You should have received a copy of the 'GNU General Public License' + along with this program. If not, see . diff --git a/copyright_hints b/copyright_hints new file mode 100644 index 0000000..4cdde80 --- /dev/null +++ b/copyright_hints @@ -0,0 +1,51 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: FIXME +Upstream-Contact: FIXME +Source: FIXME +Disclaimer: Autogenerated by CDBS + +Files: CONTRIBUTING + Changes + MANIFEST + META.json + META.yml + Makefile.PL + debian/README.source + debian/compat + debian/control + debian/control.in + debian/gbp.conf + debian/source/format + debian/watch + lib/Module/Install/ManifestSkip.pm + t/release-pod-syntax.t + t/sample1/Makefile.PL + t/sample1/lib/Sample1.pm + t/test.t + xt/skip.t_ +Copyright: *No copyright* +License: UNKNOWN + FIXME + +Files: README + lib/Module/Install/ManifestSkip.pod +Copyright: 2010-2014. Ingy döt Net +License: Perl + FIXME + +Files: debian/rules +Copyright: 2012-2014, Jonas Smedegaard +License: GPL-3+ + FIXME + +Files: LICENSE +Copyright: 1989, Free Software Foundation, Inc + 19xx name of author + 19yy + 2014, Ingy döt Net + disclaimer" for the program, if + interest in the + the software, and +License: GPL-ever + FIXME + diff --git a/gbp.conf b/gbp.conf new file mode 100644 index 0000000..a7281f9 --- /dev/null +++ b/gbp.conf @@ -0,0 +1,5 @@ +# Configuration file for git-buildpackage and friends + +[DEFAULT] +pristine-tar = True +sign-tags = True diff --git a/rules b/rules new file mode 100755 index 0000000..c19cdd5 --- /dev/null +++ b/rules @@ -0,0 +1,37 @@ +#!/usr/bin/make -f +# -*- mode: makefile; coding: utf-8 -*- +# Copyright © 2012-2014, Jonas Smedegaard +# Description: Main Debian packaging script for Module::Install::ManifestSkip +# +# 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 3, or (at your option) +# any later version. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + +include /usr/share/cdbs/1/rules/upstream-tarball.mk +include /usr/share/cdbs/1/rules/utils.mk +include /usr/share/cdbs/1/class/perl-makemaker.mk +include /usr/share/cdbs/1/rules/debhelper.mk + +pkg = $(DEB_SOURCE_PACKAGE) + +DEB_UPSTREAM_PACKAGE = Module-Install-ManifestSkip +DEB_UPSTREAM_URL = http://www.cpan.org/modules/by-module/Module + +# Needed both by upstream build process and at runtime +deps = libmodule-install-perl (>= 1.10) +deps +=, libmodule-manifest-skip-perl (>= 0.18) + +CDBS_BUILD_DEPENDS += , $(deps) +CDBS_DEPENDS_$(pkg) = $(deps) + +# Preserve upstream shipped cruft +DEB_CLEAN_EXCLUDE = t/sample1/Foo~ diff --git a/source/format b/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/upstream/metadata b/upstream/metadata new file mode 100644 index 0000000..478b7a4 --- /dev/null +++ b/upstream/metadata @@ -0,0 +1,5 @@ +--- +Bug-Database: https://github.com/ingydotnet/module-install-manifestskip-pm/issues +Bug-Submit: https://github.com/ingydotnet/module-install-manifestskip-pm/issues/new +Repository: https://github.com/ingydotnet/module-install-manifestskip-pm.git +Repository-Browse: https://github.com/ingydotnet/module-install-manifestskip-pm diff --git a/watch b/watch new file mode 100644 index 0000000..b1d9661 --- /dev/null +++ b/watch @@ -0,0 +1,4 @@ +# Run the "uscan" command to check for upstream updates and more. +version=3 +https://metacpan.org/release/Module-Install-ManifestSkip .*/Module-Install-ManifestSkip-([\d.]+)\.tar\.gz +https://cpan.metacpan.org/modules/by-module/Module/Module-Install-ManifestSkip-([\d.]+)\.tar\.gz -- cgit v1.2.3