FreshPorts -- The Place For Ports notbugIf you buy from Amazon USA, please support us by using this link.
Follow us
Blog
Twitter

Port details
p5-Return-Type Specify a return type for a function (optionally with coercion)
0.005_3 devel on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port
Maintainer: sunpoet@FreeBSD.org search for ports maintained by this maintainer
Port Added: 19 Mar 2014 17:28:07
Also Listed In: perl5
License: ART10 GPLv1+
Return::Type allows you to specify a return type for your subs. Type constraints
from any Type::Tiny, MooseX::Types or MouseX::Types type library are supported.

The simple syntax for specifying a type constraint is shown in the "SYNOPSIS".
If the attribute is passed a single type constraint as shown, this will be
applied to the return value if called in scalar context, and to each item in the
returned list if called in list context. (If the sub is called in void context,
type constraints are simply ignored.)

WWW: https://metacpan.org/release/Return-Type
SVNWeb : Homepage : PortsMon
    Pseudo-pkg-plist information, but much better, from make generate-plist
    Expand this list (6 items)
  1. /usr/local/share/licenses/p5-Return-Type-0.005_3/catalog.mk
  2. /usr/local/share/licenses/p5-Return-Type-0.005_3/LICENSE
  3. /usr/local/share/licenses/p5-Return-Type-0.005_3/ART10
  4. /usr/local/share/licenses/p5-Return-Type-0.005_3/GPLv1+
  5. lib/perl5/site_perl/Return/Type.pm
  6. lib/perl5/site_perl/man/man3/Return::Type.3.gz
  7. Collapse this list.

To install the port: cd /usr/ports/devel/p5-Return-Type/ && make install clean
To add the package: pkg install p5-Return-Type

PKGNAME: p5-Return-Type

distinfo:

SHA256 (Return-Type-0.005.tar.gz) = 6666f8103cfa6beb2bc71a20f2686bd98bbd5edf1e9df9d60e0a6dc2b7f3293a
SIZE (Return-Type-0.005.tar.gz) = 18281


NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.

Build dependencies:
  1. p5-Type-Tiny>=0 : devel/p5-Type-Tiny
  2. perl5>=5.26<5.27 : lang/perl5.26
Runtime dependencies:
  1. p5-Type-Tiny>=0 : devel/p5-Type-Tiny
  2. perl5>=5.26<5.27 : lang/perl5.26

This port is required by:

for Build for Run * - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...
Configuration Options
     No options to configure

USES:
perl5

Master Sites:
  1. ftp://ftp.auckland.ac.nz/pub/perl/CPAN/authors/id/T/TO/TOBYINK/
  2. ftp://ftp.cpan.org/pub/CPAN/authors/id/T/TO/TOBYINK/
  3. ftp://ftp.cpan.org/pub/CPAN/modules/by-module/Return/
  4. ftp://ftp.funet.fi/pub/languages/perl/CPAN/authors/id/T/TO/TOBYINK/
  5. ftp://ftp.kddlabs.co.jp/lang/perl/CPAN/authors/id/T/TO/TOBYINK/
  6. ftp://ftp.mirrorservice.org/sites/cpan.perl.org/CPAN/authors/id/T/TO/TOBYINK/
  7. http://backpan.perl.org/authors/id/T/TO/TOBYINK/
  8. http://ftp.twaren.net/Unix/Lang/CPAN/authors/id/T/TO/TOBYINK/
  9. http://www.cpan.dk/authors/id/T/TO/TOBYINK/
  10. https://cpan.metacpan.org/authors/id/T/TO/TOBYINK/
  11. https://cpan.metacpan.org/modules/by-module/Return/
  12. https://ftp.jaist.ac.jp/pub/CPAN/authors/id/T/TO/TOBYINK/
  13. https://www.cpan.org/authors/id/T/TO/TOBYINK/

Number of commits found: 11

Commit History - (may be incomplete: see SVNWeb link above for full details)
DateByDescription
04 Jun 2018 18:05:57
Original commit files touched by this commit  0.005_3
Revision:471626
sunpoet search for other commits by this committer
Clean up pkg-descr
27 May 2018 20:15:20
Original commit files touched by this commit  0.005_3
Revision:470993
sunpoet search for other commits by this committer
Update WWW

search.cpan.org is shutting down.
It will redirect to metacpan.org after June 25, 2018.

With hat:	perl
15 Sep 2017 08:58:50
Original commit files touched by this commit  0.005_3
Revision:449893
mat search for other commits by this committer
Fix license information for portgs that use "the same license as Perl".

Sponsored by:	Absolight
02 Jun 2017 18:12:48
Original commit files touched by this commit  0.005_3
Revision:442418
sunpoet search for other commits by this committer
Remove outdated PERL_LEVEL check

- Add NO_ARCH
01 Apr 2016 11:16:14
Original commit files touched by this commit  0.005_3
Revision:412322
sunpoet search for other commits by this committer
- Add LICENSE_FILE
- Fix *_DEPENDS
- Update *_DEPENDS: remove PORTSDIR
- Bump PORTREVISION for dependency change
31 Mar 2016 15:23:13
Original commit files touched by this commit  0.005_2
Revision:412231
mat search for other commits by this committer
Cleanup dependencies on lang/p5-Scalar-List-Utils.

The different cases are:

- Only bring it if the one bundled with Perl is outdated.
- The version bundled with all our Perl is sufficient.
- Scalar-List-Util is not really needed by the port.
  (looking for /(Sub|Scalar|List)::Util/ returns nothing.)

While there, do some minor cleanup that caught my eye.

PR:		208378
With hat:	perl@
Sponsored by:	Absolight
26 Nov 2014 13:08:38
Original commit files touched by this commit  0.005_1
Revision:373448
mat search for other commits by this committer
Change the way Perl modules are installed, update the default Perl to 5.18.

Before, we had:

  site_perl :           lib/perl5/site_perl/5.18
  site_perl/perl_arch : lib/perl5/site_perl/5.18/mach
  perl_man3 :           lib/perl5/5.18/man/man3

Now we have:

  site_perl : lib/perl5/site_perl
  site_arch : lib/perl5/site_perl/mach/5.18
  perl_man3 : lib/perl5/site_perl/man/man3

Modules without any .so will be installed at the same place regardless of the
(Only the first 15 lines of the commit message are shown above View all of this commit message)
27 Oct 2014 10:55:59
Original commit files touched by this commit  0.005
Revision:371547
bapt search for other commits by this committer
Cleanup plist
09 Sep 2014 14:43:28
Original commit files touched by this commit  0.005
Revision:367736
sunpoet search for other commits by this committer
- Update to 0.005

Changes:	http://search.cpan.org/dist/Return-Type/Changes
31 Jul 2014 10:30:11
Original commit files touched by this commit  0.004
Revision:363567
sunpoet search for other commits by this committer
- Update to 0.004

Changes:	http://search.cpan.org/dist/Return-Type/Changes
19 Mar 2014 17:27:38
Original commit files touched by this commit  0.003
Revision:348640
sunpoet search for other commits by this committer
- Add p5-Return-Type 0.003

Return::Type allows you to specify a return type for your subs. Type constraints
from any Type::Tiny, MooseX::Types or MouseX::Types type library are supported.

The simple syntax for specifying a type constraint is shown in the "SYNOPSIS"
[1]. If the attribute is passed a single type constraint as shown, this will be
applied to the return value if called in scalar context, and to each item in the
returned list if called in list context. (If the sub is called in void context,
type constraints are simply ignored.)

[1] http://search.cpan.org/dist/Return-Type/lib/Return/Type.pm#SYNOPSIS

WWW: http://search.cpan.org/dist/Return-Type/

Number of commits found: 11

Login
User Login
Create account

Servers and bandwidth provided by
New York Internet, SuperNews, and RootBSD

This site
What is FreshPorts?
About the authors
Issues
FAQ
How big is it?
The latest upgrade!
Privacy
Forums
Blog
Contact

Search
Enter Keywords:
 
more...

Latest Vulnerabilities
slurm-wlmJun 16
nodeJun 15
node6Jun 15
node8Jun 15
libgcrypt*Jun 14
password-storeJun 14
asterisk13*Jun 12
libresslJun 12
libressl-develJun 12
opensslJun 12
openssl-develJun 12
asterisk13Jun 11
asterisk15Jun 11
asterisk15Jun 11
chromiumJun 10

14 vulnerabilities affecting 116 ports have been reported in the past 14 days

* - modified, not new

All vulnerabilities

Last updated:
2018-06-16 15:43:50


Ports
Home
Categories
Deleted ports
Sanity Test Failures
Newsfeeds

Statistics
Graphs
NEW Graphs (Javascript)
Traffic

Calculated hourly:
Port count 34425
Broken 82
Deprecated 102
Ignore 334
Forbidden 2
Restricted 160
No CDROM 76
Vulnerable 32
Expired 12
Set to expire 89
Interactive 0
new 24 hours 12
new 48 hours20
new 7 days43
new fortnight88
new month15986

Servers and bandwidth provided by
New York Internet, SuperNews, and RootBSD
Valid HTML, CSS, and RSS.
Copyright © 2000-2018 Dan Langille. All rights reserved.