#43037 closed submission (fixed)
[NEW] p5-plack
Reported by: | jul_bsd@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | mojca (Mojca Miklavec) | |
Port: | p5-plack |
Description
Perl Superglue for Web frameworks and Web Servers (PSGI toolkit)
Attachments (2)
Change History (15)
comment:1 Changed 10 years ago by mf2k (Frank Schima)
comment:2 Changed 10 years ago by mf2k (Frank Schima)
This portfile is very different than the output of cpan2port.
Changed 10 years ago by mf2k (Frank Schima)
Attachment: | Portfile.2 added |
---|
comment:4 Changed 10 years ago by jul_bsd@…
when I do a cpan2port
$ cpan2port -t Plack [...] All tests successful. Files=11, Tests=110, 3 wallclock secs ( 0.08 usr 0.03 sys + 1.59 cusr 0.42 csys = 2.12 CPU) Result: PASS STFUError bootstrapping local::lib: Can't locate object method "optprint" via package "STFU" at /opt/local/lib/perl5/5.16.3/CPAN.pm line 1348. Plack is not perl porter Plack (no description available) Plack will show deps (((Can't locate object method "optprint" via package "STFU" at /opt/local/lib/perl5/5.16.3/CPAN.pm line 1348. ))) at /opt/local/bin/cpan2port line 343. main::foreach_pkg('CODE(0x7fc5bb004ee8)') called at /opt/local/bin/cpan2port line 368
manually adding depencies get a hell of new one ... at least, discovering cpan2port helps a lot (would be a nice addition to macports guide) joined Portfile. I will create other tickets in coming days
comment:5 Changed 10 years ago by mojca (Mojca Miklavec)
Btw: I'm having some problems with dependencies acquired from cpan2port
. I'm not sure they are fully reliable. I also opened a ticket to suggest some changes to cpan2port
, but further improvements are needed.
I need to go to bed now, but for the future:
- delete
revision 0
; it's usually never added unless revision is > 0 - please try to split dependencies into one dependency per line, for example:
depends_lib-append \ port:p${perl5.major}-file-sharedir-install \ port:p${perl5.major}-psgi \ port:p${perl5.major}-test-requires \ ...
comment:6 Changed 10 years ago by jul_bsd@…
ok. here another Portfile with requested changes (really need a documentation update to know all that at first...)
Changed 10 years ago by jul_bsd@…
comment:8 Changed 10 years ago by mf2k (Frank Schima)
$ sudo port install p5.16-plack ---> Computing dependencies for p5.16-plack Error: Dependency 'p5.16-apache-logformat-compiler' not found.
comment:10 Changed 10 years ago by mojca (Mojca Miklavec)
I had problems testing the module because of missing dependency on p${perl5.major}-file-sharedir
.
comment:11 Changed 10 years ago by mojca (Mojca Miklavec)
Resolution: | → fixed |
---|---|
Status: | new → closed |
I committed r129327. Someone should figure out what to do about file-sharedir though.
comment:12 Changed 10 years ago by dbevans (David B. Evans)
Dependencies updated using META.json as a guide in r129547. This revealed that p5-file-sharedir-install is required for configuration and p5-file-sharedir is required at run time and for testing. Now passes all tests. Revision incremented to force rebuild with updated depenedencies.
Requires #43038.