jandrew has asked for the wisdom of the Perl Monks concerning the following question:
I have a package that depends on Archive::Zip and for most cases that seems to work. For netbsd and a few other cases though it doesn't work. I would like to provide alternate support unzipping files with Corions newish module Archive::SevenZip. I know how to test for either in the package and use the one that is loaded. I also know how to set up testing that will test either case. I just don't know/remember how to set up the dependencies for Makefile.PL and META.yml. I would like the package to build and test if either Archive::Zip or Archive::SevenZip will build/install but not require both.
I would especially like to accomplish this with Dist::Zilla if possible. Any help is greatly appreciated.
Update: I realized I didn't say this explicitly but I do want the prerequisites to fail if neither Archive::Zip or Archive::SevenZip will build successfully.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Dependent Package Requirement
by RonW (Parson) on May 19, 2016 at 19:29 UTC | |
by jandrew (Chaplain) on May 19, 2016 at 21:00 UTC | |
by RonW (Parson) on May 19, 2016 at 21:27 UTC | |
by jandrew (Chaplain) on May 19, 2016 at 22:42 UTC | |
|
Re: Dependent Package Requirement
by Anonymous Monk on May 18, 2016 at 22:46 UTC |