From owner-svn-ports-all@freebsd.org Mon Apr 15 08:59:47 2019 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 42284156D085; Mon, 15 Apr 2019 08:59:47 +0000 (UTC) (envelope-from kai@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D51A4702BC; Mon, 15 Apr 2019 08:59:46 +0000 (UTC) (envelope-from kai@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id A40415BD2; Mon, 15 Apr 2019 08:59:46 +0000 (UTC) (envelope-from kai@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x3F8xkQH099214; Mon, 15 Apr 2019 08:59:46 GMT (envelope-from kai@FreeBSD.org) Received: (from kai@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x3F8xjp9099210; Mon, 15 Apr 2019 08:59:45 GMT (envelope-from kai@FreeBSD.org) Message-Id: <201904150859.x3F8xjp9099210@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: kai set sender to kai@FreeBSD.org using -f From: Kai Knoblich Date: Mon, 15 Apr 2019 08:59:45 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r499006 - in head/devel: . p5-File-ShareDir-Tarball X-SVN-Group: ports-head X-SVN-Commit-Author: kai X-SVN-Commit-Paths: in head/devel: . p5-File-ShareDir-Tarball X-SVN-Commit-Revision: 499006 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: D51A4702BC X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.98 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_SHORT(-0.98)[-0.978,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Apr 2019 08:59:47 -0000 Author: kai Date: Mon Apr 15 08:59:45 2019 New Revision: 499006 URL: https://svnweb.freebsd.org/changeset/ports/499006 Log: New port: devel/p5-File-ShareDir-Tarball If the shared files of a distribution are contained in a tarball (see Dist::Zilla::Plugin::ShareDir::Tarball for why you would want to do that) automatically extract the archive in a temporary directory and return the path to that directory. If called for a regular distribution without a bundle file (shared-files.tar.gz), it'll return the original shared dir. In other words, from the consumer point of view, it'll behave just like File::ShareDir. WWW: https://metacpan.org/pod/File::ShareDir::Tarball PR: 237109 Submitted by: Geoffroy Desvernay Reviewed by: tcberner (mentor) Approved by: miwi (mentor) Differential Revision: https://reviews.freebsd.org/D19858 Added: head/devel/p5-File-ShareDir-Tarball/ head/devel/p5-File-ShareDir-Tarball/Makefile (contents, props changed) head/devel/p5-File-ShareDir-Tarball/distinfo (contents, props changed) head/devel/p5-File-ShareDir-Tarball/pkg-descr (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Mon Apr 15 08:50:34 2019 (r499005) +++ head/devel/Makefile Mon Apr 15 08:59:45 2019 (r499006) @@ -2602,6 +2602,7 @@ SUBDIR += p5-File-ShareDir-PAR SUBDIR += p5-File-ShareDir-PathClass SUBDIR += p5-File-ShareDir-ProjectDistDir + SUBDIR += p5-File-ShareDir-Tarball SUBDIR += p5-File-Slurp SUBDIR += p5-File-Slurp-Tiny SUBDIR += p5-File-Slurp-Tree Added: head/devel/p5-File-ShareDir-Tarball/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/p5-File-ShareDir-Tarball/Makefile Mon Apr 15 08:59:45 2019 (r499006) @@ -0,0 +1,31 @@ +# Created by: Geoffroy Desvernay +# $FreeBSD$ + +PORTNAME= File-ShareDir-Tarball +PORTVERSION= 0.2.2 +CATEGORIES= devel perl5 +MASTER_SITES= CPAN +PKGNAMEPREFIX= p5- + +MAINTAINER= dgeo@centrale-marseille.fr +COMMENT= Deal transparently with shared files distributed as tarballs + +LICENSE= ART10 GPLv1+ +LICENSE_COMB= dual +LICENSE_FILE_ART10= ${WRKSRC}/LICENSE +LICENSE_FILE_GPLv1+ = ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${RUN_DEPENDS} \ + p5-Module-Build>=0:devel/p5-Module-Build +RUN_DEPENDS= p5-File-ShareDir>=0:devel/p5-File-ShareDir \ + p5-File-chdir>=0:devel/p5-File-chdir +TEST_DEPENDS= p5-Test-File-ShareDir>=0.3.0:devel/p5-Test-File-ShareDir + +USES= perl5 +USE_PERL5= modbuild + +NO_ARCH= yes +PLIST_FILES= ${SITE_PERL_REL}/File/ShareDir/Tarball.pm \ + ${SITE_MAN3_REL}/File::ShareDir::Tarball.3.gz + +.include Added: head/devel/p5-File-ShareDir-Tarball/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/p5-File-ShareDir-Tarball/distinfo Mon Apr 15 08:59:45 2019 (r499006) @@ -0,0 +1,3 @@ +TIMESTAMP = 1553526123 +SHA256 (File-ShareDir-Tarball-0.2.2.tar.gz) = 49e785f266e3e2ef001236fb2371eab598ad949fad12ca641172f7825fd02395 +SIZE (File-ShareDir-Tarball-0.2.2.tar.gz) = 14475 Added: head/devel/p5-File-ShareDir-Tarball/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/p5-File-ShareDir-Tarball/pkg-descr Mon Apr 15 08:59:45 2019 (r499006) @@ -0,0 +1,10 @@ +If the shared files of a distribution are contained in a tarball (see +Dist::Zilla::Plugin::ShareDir::Tarball for why you would want to do that) +automatically extract the archive in a temporary directory and return the path +to that directory. + +If called for a regular distribution without a bundle file +(shared-files.tar.gz), it'll return the original shared dir. In other words, +from the consumer point of view, it'll behave just like File::ShareDir. + +WWW: https://metacpan.org/pod/File::ShareDir::Tarball