Bug 180310 - New port: devel/p5-accessors-fast
Summary: New port: devel/p5-accessors-fast
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Po-Chuan Hsieh
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-05 14:00 UTC by Anes Mukhametov
Modified: 2013-11-18 19:32 UTC (History)
0 users

See Also:


Attachments
p5-accessors-fast.shar (2.93 KB, text/plain)
2013-07-05 14:00 UTC, Anes Mukhametov
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Anes Mukhametov 2013-07-05 14:00:01 UTC
	New port: devel/p5-accessors-fast	
	This module was created as an alternative to use fields, and uses Class::Accessor::Fast as a base
	Creates accessors at compiletime
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-07-05 14:00:31 UTC
Responsible Changed
From-To: freebsd-ports-bugs->perl

perl@ wants this port PRs (via the GNATS Auto Assign Tool)
Comment 2 Martin Wilke freebsd_committer freebsd_triage 2013-07-17 22:57:30 UTC
Responsible Changed
From-To: perl->miwi

I'll take it.
Comment 3 Bryan Drewery freebsd_committer freebsd_triage 2013-09-22 15:10:01 UTC
Responsible Changed
From-To: miwi->freebsd-ports-bugs

Back to the heap due to timeout
Comment 4 Edwin Groothuis freebsd_committer freebsd_triage 2013-11-14 20:58:27 UTC
Responsible Changed
From-To: freebsd-ports-bugs->perl

perl@ wants this port PRs (via the GNATS Auto Assign Tool)
Comment 5 Po-Chuan Hsieh freebsd_committer freebsd_triage 2013-11-16 21:10:16 UTC
Responsible Changed
From-To: perl->sunpoet

I'll take it.
Comment 6 dfilter service freebsd_committer freebsd_triage 2013-11-18 19:23:38 UTC
Author: sunpoet
Date: Mon Nov 18 19:23:28 2013
New Revision: 334246
URL: http://svnweb.freebsd.org/changeset/ports/334246

Log:
  - Add p5-accessors-fast 0.03
  - While I'm here:
    - Add LICENSE
    - Fix *_DEPENDS
    - Convert to new Perl framework
    - Support STAGEDIR
    - Sort PLIST
  
  This module was created as an alternative to use fields,
  and uses Class::Accessor::Fast as a base
  
  Creates accessors at compiletime
  
  Have own default new method: it creates object as a blessed hash,
  then locks keys to defined field list, and invoke init.
  So, recommended usage inside packages, is access by hash keys
  (it's 3 times faster then accessor). Since keys are locked,
  you will not suffer from autovivification. Public interface
  recommended to be documented as accessors.
  
  Uses Class::C3
  
  WWW: http://search.cpan.org/dist/accessors-fast/
  
  PR:		ports/180310
  Submitted by:	Anes Mukhametov <anes@anes.su>

Added:
  head/devel/p5-accessors-fast/
  head/devel/p5-accessors-fast/Makefile   (contents, props changed)
  head/devel/p5-accessors-fast/distinfo   (contents, props changed)
  head/devel/p5-accessors-fast/pkg-descr   (contents, props changed)
  head/devel/p5-accessors-fast/pkg-plist   (contents, props changed)
Modified:
  head/devel/Makefile

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Mon Nov 18 19:22:13 2013	(r334245)
+++ head/devel/Makefile	Mon Nov 18 19:23:28 2013	(r334246)
@@ -2996,6 +2996,7 @@
     SUBDIR += p5-ZConf-GUI
     SUBDIR += p5-ZML
     SUBDIR += p5-accessors
+    SUBDIR += p5-accessors-fast
     SUBDIR += p5-aliased
     SUBDIR += p5-asa
     SUBDIR += p5-autobox

Added: head/devel/p5-accessors-fast/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/p5-accessors-fast/Makefile	Mon Nov 18 19:23:28 2013	(r334246)
@@ -0,0 +1,27 @@
+# Created by: Anes Mukhametov <anes@anes.su>
+# $FreeBSD$
+
+PORTNAME=	accessors-fast
+PORTVERSION=	0.03
+CATEGORIES=	devel perl5
+MASTER_SITES=	CPAN
+MASTER_SITE_SUBDIR=	CPAN:MONS
+PKGNAMEPREFIX=	p5-
+
+MAINTAINER=	anes@anes.su
+COMMENT=	Wrap fastest Class::Accessor::* into pragma
+
+LICENSE=	ART10 GPLv1
+LICENSE_COMB=	dual
+
+BUILD_DEPENDS=	p5-Class-Accessor-Fast-XS>=0:${PORTSDIR}/devel/p5-Class-Accessor-Fast-XS \
+		p5-constant-def>=0.01:${PORTSDIR}/devel/p5-constant-def \
+		p5-Class-C3>=0:${PORTSDIR}/devel/p5-Class-C3
+RUN_DEPENDS:=	${BUILD_DEPENDS}
+TEST_DEPENDS=	p5-Test-NoWarnings>=0:${PORTSDIR}/devel/p5-Test-NoWarnings \
+		p5-lib-abs>=0.90:${PORTSDIR}/devel/p5-lib-abs
+
+USE_PERL5=	configure
+USES=		perl5
+
+.include <bsd.port.mk>

Added: head/devel/p5-accessors-fast/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/p5-accessors-fast/distinfo	Mon Nov 18 19:23:28 2013	(r334246)
@@ -0,0 +1,2 @@
+SHA256 (accessors-fast-0.03.tar.gz) = be34064f45f5eb77ab26c27e864d669b590df692b2d36f050e5a83f61dd7c5ca
+SIZE (accessors-fast-0.03.tar.gz) = 23777

Added: head/devel/p5-accessors-fast/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/p5-accessors-fast/pkg-descr	Mon Nov 18 19:23:28 2013	(r334246)
@@ -0,0 +1,15 @@
+This module was created as an alternative to use fields,
+and uses Class::Accessor::Fast as a base
+
+Creates accessors at compiletime
+
+Have own default new method: it creates object as a blessed hash,
+then locks keys to defined field list, and invoke init.
+So, recommended usage inside packages, is access by hash keys
+(it's 3 times faster then accessor). Since keys are locked,
+you will not suffer from autovivification. Public interface
+recommended to be documented as accessors.
+
+Uses Class::C3
+
+WWW: http://search.cpan.org/dist/accessors-fast/

Added: head/devel/p5-accessors-fast/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/p5-accessors-fast/pkg-plist	Mon Nov 18 19:23:28 2013	(r334246)
@@ -0,0 +1,9 @@
+%%SITE_PERL%%/accessors/cpants.pl
+%%SITE_PERL%%/accessors/fast.pm
+%%SITE_PERL%%/accessors/fast/tie.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/accessors/fast/.packlist
+%%PERL5_MAN3%%/accessors::fast.3.gz
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/accessors/fast
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/accessors
+@dirrmtry %%SITE_PERL%%/accessors/fast
+@dirrmtry %%SITE_PERL%%/accessors
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 7 Po-Chuan Hsieh freebsd_committer freebsd_triage 2013-11-18 19:32:31 UTC
State Changed
From-To: open->closed

New port added. Thanks!