FreshPorts -- The Place For Ports If 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"
[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/
SVNWeb : Homepage : PortsMon : pkg-plist

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.24<5.25 : lang/perl5.24
Runtime dependencies:
  1. p5-Type-Tiny>=0 : devel/p5-Type-Tiny
  2. perl5>=5.24<5.25 : lang/perl5.24
There are no ports dependent upon this port

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. ftp://ftp.sunet.se/pub/lang/perl/CPAN/authors/id/T/TO/TOBYINK/
  8. http://backpan.perl.org/authors/id/T/TO/TOBYINK/
  9. http://cpan.metacpan.org/authors/id/T/TO/TOBYINK/
  10. http://cpan.metacpan.org/modules/by-module/Return/
  11. http://ftp.jaist.ac.jp/pub/CPAN/authors/id/T/TO/TOBYINK/
  12. http://ftp.twaren.net/Unix/Lang/CPAN/authors/id/T/TO/TOBYINK/
  13. http://www.cpan.dk/authors/id/T/TO/TOBYINK/
  14. http://www.cpan.org/authors/id/T/TO/TOBYINK/

Number of commits found: 9

Commit History - (may be incomplete: see SVNWeb link above for full details)
DateByDescription
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: 9

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
curlOct 23
mariadb100-server*Oct 23
mariadb101-server*Oct 23
mariadb102-server*Oct 23
mariadb55-server*Oct 23
mysql55-server*Oct 23
mysql56-server*Oct 23
mysql57-server*Oct 23
percona55-server*Oct 23
percona56-server*Oct 23
percona57-server*Oct 23
irssiOct 22
chromiumOct 21
arjOct 19
cactiOct 19

26 vulnerabilities affecting 111 ports have been reported in the past 14 days

* - modified, not new

All vulnerabilities


Ports
Home
Categories
Deleted ports
Sanity Test Failures
Newsfeeds

Statistics
Graphs
NEW Graphs (Javascript)
Traffic

Calculated hourly:
Port count 31612
Broken 153
Deprecated 79
Ignore 423
Forbidden 0
Restricted 176
No CDROM 78
Vulnerable 58
Expired 16
Set to expire 72
Interactive 0
new 24 hours 2
new 48 hours9
new 7 days23
new fortnight51
new month431

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