Port details |
- p5-Safe-Isa Call isa, can, does and DOES safely on things that may not be objects
- 1.000010 devel =2 1.000010Version of this port present on the latest quarterly branch.
- Maintainer: sunpoet@FreeBSD.org
- Port Added: 2012-07-30 19:23:17
- Last Update: 2022-09-07 21:58:51
- Commit Hash: fb16dfe
- People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py39-PyOpenGL, p5-Sane
- Also Listed In: perl5
- License: ART10 GPLv1+
- WWW:
- https://metacpan.org/release/Safe-Isa
- Description:
- Since Perl allows us to provide a subroutine reference or a method name to the
-> operator when used as a method call, and a subroutine doesn't require the
invocant to actually be an object, we can create safe versions of isa, can and
friends by using a subroutine reference that only tries to call the method if
it's used on an object.
e.g. my $isa_Foo = $maybe_an_object->$_call_if_object(isa => 'Foo');
Note that we don't handle trying class names, because many things are valid
class names that you might not want to treat as one (like say "Matt") - the
is_module_name function from Module::Runtime is a good way to check for
something you might be able to call methods on if you want to do that.
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- p5-Safe-Isa>0:devel/p5-Safe-Isa
- To install the port:
- cd /usr/ports/devel/p5-Safe-Isa/ && make install clean
- To add the package, run one of these commands:
- pkg install devel/p5-Safe-Isa
- pkg install p5-Safe-Isa
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: p5-Safe-Isa
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1524845277
SHA256 (Safe-Isa-1.000010.tar.gz) = 87f4148aa0ff1d5e652723322eab7dafa3801c967d6f91ac9147a3c467b8a66a
SIZE (Safe-Isa-1.000010.tar.gz) = 6546
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- perl5>=5.32.r0<5.33 : lang/perl5.32
- Runtime dependencies:
-
- perl5>=5.32.r0<5.33 : lang/perl5.32
- This port is required by:
- for Build
-
- databases/p5-DBIx-Class-Helpers
- databases/p5-MongoDB
- devel/p5-MetaCPAN-Client
- devel/p5-MooseX-Role-Loggable
- devel/p5-MooseX-Types-ISO8601
- net/p5-Net-Amazon-S3
- textproc/p5-HTML-Packer
-
Deleted ports which required this port:
- for Run
-
- databases/p5-DBIx-Class-Helpers
- databases/p5-MongoDB
- devel/p5-MetaCPAN-Client
- devel/p5-MooseX-Role-Loggable
- devel/p5-MooseX-Types-ISO8601
- net/p5-Net-Amazon-S3
- textproc/p5-HTML-Packer
-
Deleted ports which required this port:
- * - 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
- Options name:
- devel_p5-Safe-Isa
- USES:
- perl5
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
07 Sep 2022 21:58:51 |
Stefan Eßer (se) |
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner) |
1.000010 07 Sep 2022 21:10:59 |
Stefan Eßer (se) |
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above ) |
1.000010 20 Jul 2022 14:21:35 |
Tobias C. Berner (tcberner) |
devel: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* "Waitman Gobble" <uzimac@da3m0n8t3r.com>
* <jkoshy@FreeBSD.org>
* Aaron Dalton <aaron@FreeBSD.org>
* Aaron Dalton <aaron@daltons.ca>
* Aaron H. K. Diep <ahkdiep@gmail.com>
* Aaron Hurt <ahurt@anbcs.com>
* Abel Chow <abel_chow@yahoo.com>
* Adam McLaurin
* Adam Saponara <as@php.net>
* Adam Weinberger <adamw@FreeBSD.org>
* Ade Lovett <ade@FreeBSD.org> (Only the first 15 lines of the commit message are shown above ) |
1.000010 25 Jun 2021 13:35:16 |
Po-Chuan Hsieh (sunpoet) |
devel/p5-Safe-Isa: Cosmetic change |
1.000010 06 Apr 2021 14:31:07 |
Mathieu Arnold (mat) |
Remove # $FreeBSD$ from Makefiles. |
1.000010 27 May 2018 20:15:20 |
sunpoet |
Update WWW
search.cpan.org is shutting down.
It will redirect to metacpan.org after June 25, 2018.
With hat: perl |
1.000010 27 Apr 2018 18:52:24 |
sunpoet |
Update to 1.000010
Changes: http://search.cpan.org/dist/Safe-Isa/Changes |
1.000009 22 Apr 2018 12:49:57 |
sunpoet |
Update to 1.000009
Changes: http://search.cpan.org/dist/Safe-Isa/Changes |
1.000008 03 Oct 2017 15:34:52 |
sunpoet |
Update to 1.000008
Changes: http://search.cpan.org/dist/Safe-Isa/Changes |
1.000007 22 Sep 2017 09:13:26 |
sunpoet |
Update to 1.000007
Changes: http://search.cpan.org/dist/Safe-Isa/Changes |
1.000006 15 Sep 2017 08:58:50 |
mat |
Fix license information for portgs that use "the same license as Perl".
Sponsored by: Absolight |
1.000006 06 Nov 2016 16:50:32 |
sunpoet |
- Update to 1.000006
- Add NO_ARCH
Changes: http://search.cpan.org/dist/Safe-Isa/Changes |
1.000005_1 26 Nov 2014 13:08:38 |
mat |
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 ) |
1.000005 27 Oct 2014 10:55:59 |
bapt |
Cleanup plist |
1.000005 18 Aug 2014 12:46:01 |
sunpoet |
- Update to 1.000005
Changes: http://search.cpan.org/dist/Safe-Isa/Changes |
1.000004 29 Apr 2014 13:22:10 |
sunpoet |
- Update to 1.000004
Changes: http://search.cpan.org/dist/Safe-Isa/Changes |
1.000.002 30 Sep 2013 20:25:26 |
sunpoet |
- Support STAGEDIR |
1.000.002 20 Sep 2013 17:13:47 |
bapt |
Add NO_STAGE all over the place in preparation for the staging support (cat:
devel part 3) |
1.000.002 21 Aug 2013 17:42:58 |
sunpoet |
- Cleanup Makefile header |
1.000.002 21 Aug 2013 14:08:08 |
sunpoet |
- Convert to new perl framework |
1.000.002 30 Jul 2012 19:22:49 |
sunpoet |
- Add p5-Safe-Isa 1.000002
Since Perl allows us to provide a subroutine reference or a method name to the
-> operator when used as a method call, and a subroutine doesn't require the
invocant to actually be an object, we can create safe versions of isa, can and
friends by using a subroutine reference that only tries to call the method if
it's used on an object.
e.g. my $isa_Foo = $maybe_an_object->$_call_if_object(isa => 'Foo');
Note that we don't handle trying class names, because many things are valid
class names that you might not want to treat as one (like say "Matt") - the
is_module_name function from Module::Runtime is a good way to check for
something you might be able to call methods on if you want to do that.
WWW: http://search.cpan.org/dist/Safe-Isa/ |