Bug 224006 - devel/p5-MooseX-Types-Path-Tiny: Update to 0.012
Summary: devel/p5-MooseX-Types-Path-Tiny: Update to 0.012
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Jochen Neumeister
URL: http://search.cpan.org/~ether/MooseX-...
Keywords:
Depends on:
Blocks: 224007
  Show dependency treegraph
 
Reported: 2017-11-30 22:29 UTC by Sergei Vyshenski
Modified: 2018-05-25 15:43 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (kuriyama)


Attachments
patch to update the port (2.01 KB, patch)
2017-11-30 22:29 UTC, Sergei Vyshenski
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sergei Vyshenski 2017-11-30 22:29:13 UTC
Created attachment 188438 [details]
patch to update the port

- update 0.011 -> 0.012
Changes: http://cpansearch.perl.org/src/ETHER/MooseX-Types-Path-Tiny-0.012/Changes
- add LICENSE_FILE (its name follows spelling of the author)
- "portlint -AC" gives non-relevant warns.
- testport of poudriere 3.2.99.20171127 at 11.1-release-amd64 with perl 5.24.3 runs ok.
- "make test" for this port (as run from within the same poudriere's jail) say: "PASS".
Comment 1 Sergei Vyshenski 2017-11-30 22:39:48 UTC
It is essential to consider Bug 224007 :
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=224007
before this PR.
Without this a cycle of dependencies may happen.

port (1) 
devel/p5-MooseX-Getopt (author Karen Etheridge, maintainer perl@)
	depends from port devel/p5-MooseX-ConfigFromFile as BUILD_DEPENDS
	(but module MooseX::Getopt depends from module MooseX::ConfigFromFile only as a "test-prereq")
	http://search.cpan.org/~ether/MooseX-Getopt-0.71/
	
port (2) 
devel/p5-MooseX-ConfigFromFile (author Karen Etheridge, maintainer kuriyama@)
	depends from port devel/p5-MooseX-Types-Path-Tiny as BUILD_DEPENDS
	http://search.cpan.org/~ether/MooseX-ConfigFromFile-0.14/

port (3) 
devel/p5-MooseX-Types-Path-Tiny (author Karen Etheridge, maintainer kuriyama@)
	does NOT depend from port devel/p5-MooseX-Getopt as BUILD_DEPENDS
	(but module MooseX::Types::Path::Tiny _explicitly_ depends from module MooseX::Getopt as a "prereq")
	http://search.cpan.org/~ether/MooseX-Types-Path-Tiny-0.012/

Very often all ports (1,2,3) are installed simultaneously as a common dependensies of other ports. This may be a reason why the found inconsistency managed to stay hidden for so long. But port (3) if installed by itself is not functional in present state, due to missing run_dependency from port (1). 
	
Let "A -> B" mean that A depends from B as BUILD_DEPENDS
Let "A ? B" mean that A does NOT depend from B as BUILD_DEPENDS
	
At present we have build_dependencies of ports (1,2,3) as follows: 
	1 -> 2 -> 3 ? 1
We can not simply add a new build_dependency "devel/p5-MooseX-Getopt" to the port devel/p5-MooseX-Types-Path-Tiny. Because this way we get a cycle of dependencies as:
	1 -> 2 -> 3 -> 1
But we can arrange build_dependencies of ports (1,2,3) as follows: 
	1 ? 2 -> 3 -> 1
with all ports (1,2,3) fully functional this time.
	
For this we have to simultaneously edit two ports:

(1) devel/p5-MooseX-Getopt
	- move devel/p5-MooseX-ConfigFromFile from BUILD_DEPENDS to TEST_DEPENDS
	see PR 224007:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=224007

(3) devel/p5-MooseX-Types-Path-Tiny
	- add devel/p5-MooseX-Getopt to BUILD_DEPENDS
	(see patch with this PR)
	
Maybe exp-run is needed after editing of BOTH ports (1,3), as 
	16 ports depend from devel/p5-MooseX-Getopt,
	 4 ports depend from devel/p5-MooseX-Types-Path-Tiny
Comment 2 Jochen Neumeister freebsd_committer freebsd_triage 2018-05-13 18:00:10 UTC
Maintainer timeout. Take
Comment 3 commit-hook freebsd_committer freebsd_triage 2018-05-19 07:55:04 UTC
A commit references this bug:

Author: joneum
Date: Sat May 19 07:54:21 UTC 2018
New revision: 470367
URL: https://svnweb.freebsd.org/changeset/ports/470367

Log:
  devel/p5-MooseX-Types-Path-Tiny: Update to 0.012

  Changelog: http://cpansearch.perl.org/src/ETHER/MooseX-Types-Path-Tiny-0.012/Changes

  PR:		224006
  Submitted by:	Sergei Vyshenski <svysh.fbsd@gmail.com>
  Approved by:	maintainer timeout (2 weeks)

Changes:
  head/devel/p5-MooseX-Types-Path-Tiny/Makefile
  head/devel/p5-MooseX-Types-Path-Tiny/distinfo
Comment 4 Jochen Neumeister freebsd_committer freebsd_triage 2018-05-19 07:56:58 UTC
Landed. Thanks :-)