ports/165566: [PATCH] finance/p5-Finance-Bitcoin: update to 0.004
Steve Wills
swills at FreeBSD.org
Wed Feb 29 22:40:10 UTC 2012
>Number: 165566
>Category: ports
>Synopsis: [PATCH] finance/p5-Finance-Bitcoin: update to 0.004
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Wed Feb 29 22:40:09 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: Steve Wills
>Release: FreeBSD 10.0-CURRENT amd64
>Organization:
>Environment:
System: FreeBSD meatwad.mouf.net 10.0-CURRENT FreeBSD 10.0-CURRENT #13 r230974: Fri Feb 3 23:48:36
>Description:
- Update to 0.004
- Patch to work with newer JSON::RPC
- Tests pass now
Added file(s):
- files/patch-API.pm
Port maintainer (skreuzer at FreeBSD.org) is cc'd.
Generated with FreeBSD Port Tools 0.99_3 (mode: update, diff: CVS)
>How-To-Repeat:
>Fix:
--- p5-Finance-Bitcoin-0.004.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/finance/p5-Finance-Bitcoin/Makefile,v
retrieving revision 1.1
diff -u -u -r1.1 Makefile
--- Makefile 3 Apr 2011 04:42:04 -0000 1.1
+++ Makefile 29 Feb 2012 22:38:47 -0000
@@ -6,7 +6,7 @@
#
PORTNAME= Finance-Bitcoin
-PORTVERSION= 0.002
+PORTVERSION= 0.004
CATEGORIES= finance perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
@@ -17,8 +17,11 @@
RUN_DEPENDS= p5-JSON-RPC>=0.96:${PORTSDIR}/devel/p5-JSON-RPC \
p5-Class-Accessor>=0.34:${PORTSDIR}/devel/p5-Class-Accessor \
p5-Module-Signature>=0.66:${PORTSDIR}/security/p5-Module-Signature \
- p5-Scalar-List-Utils>=1.23:${PORTSDIR}/lang/p5-Scalar-List-Utils
+ p5-Scalar-List-Utils>=1.23:${PORTSDIR}/lang/p5-Scalar-List-Utils \
+ p5-Any-Moose>=0:${PORTSDIR}/devel/p5-Any-Moose
BUILD_DEPENDS= p5-Test-Simple>=0.86:${PORTSDIR}/devel/p5-Test-Simple
+TEST_DEPENDS= p5-Any-Moose>=0:${PORTSDIR}/devel/p5-Any-Moose \
+ p5-Object-Authority>=0:${PORTSDIR}/devel/p5-Object-Authority
PERL_CONFIGURE= yes
@@ -27,4 +30,9 @@
Finance::Bitcoin::Wallet.3 \
Finance::Bitcoin.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+post-patch:
+ -@${RM} ${WRKSRC}/lib/Finance/Bitcoin/API.pm.orig
+
+.include <bsd.port.post.mk>
Index: distinfo
===================================================================
RCS file: /home/pcvs/ports/finance/p5-Finance-Bitcoin/distinfo,v
retrieving revision 1.1
diff -u -u -r1.1 distinfo
--- distinfo 3 Apr 2011 04:42:04 -0000 1.1
+++ distinfo 29 Feb 2012 22:38:47 -0000
@@ -1,2 +1,2 @@
-SHA256 (Finance-Bitcoin-0.002.tar.gz) = ef486d12f3a14dfc224637a6758eca6119e7a49900179809abc783550d6f2e63
-SIZE (Finance-Bitcoin-0.002.tar.gz) = 31052
+SHA256 (Finance-Bitcoin-0.004.tar.gz) = 113ffe6bde4c384b5dca74067eea55d0affdd89d87387506ecc367aa5116561d
+SIZE (Finance-Bitcoin-0.004.tar.gz) = 47443
Index: files/patch-API.pm
===================================================================
RCS file: files/patch-API.pm
diff -N files/patch-API.pm
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ files/patch-API.pm 29 Feb 2012 22:38:47 -0000
@@ -0,0 +1,11 @@
+--- ./lib/Finance/Bitcoin/API.pm.orig 2012-02-29 16:33:14.557825312 -0500
++++ ./lib/Finance/Bitcoin/API.pm 2012-02-29 16:33:22.505825441 -0500
+@@ -2,7 +2,7 @@
+
+ use 5.010;
+ use common::sense;
+-use JSON::RPC::Client;
++use JSON::RPC::Legacy::Client;
+ use Any::Moose;
+ use Object::AUTHORITY;
+ use Scalar::Util qw[blessed];
--- p5-Finance-Bitcoin-0.004.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list