From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kei Kebreau Subject: Re: [PATCH 01/26] gnu: Add perl-file-pushd. Date: Thu, 23 Mar 2017 23:18:22 -0400 Message-ID: <87lgrv2wht.fsf@openmailbox.org> References: <20170323140056.23173-1-alex@pompo.co> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38490) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1crFka-0005zW-AR for guix-devel@gnu.org; Thu, 23 Mar 2017 23:18:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1crFkX-0003Lr-60 for guix-devel@gnu.org; Thu, 23 Mar 2017 23:18:52 -0400 Received: from lb1.openmailbox.org ([5.79.108.160]:55396 helo=mail.openmailbox.org) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1crFkW-0003LG-U6 for guix-devel@gnu.org; Thu, 23 Mar 2017 23:18:49 -0400 In-Reply-To: <20170323140056.23173-1-alex@pompo.co> (Alex Sassmannshausen's message of "Thu, 23 Mar 2017 15:00:31 +0100") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Alex Sassmannshausen Cc: guix-devel@gnu.org, Alex Sassmannshausen --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Alex Sassmannshausen writes: > * gnu/packages/perl.scm (perl-file-pushd): New variable > --- > gnu/packages/perl.scm | 28 ++++++++++++++++++++++++++++ > 1 file changed, 28 insertions(+) > > diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm > index 086e1fae0..4944ceb2a 100644 > --- a/gnu/packages/perl.scm > +++ b/gnu/packages/perl.scm > @@ -3002,6 +3002,34 @@ of arbitrary depth and to delete an entire directo= ry subtree from the > file system.") > (license (package-license perl)))) >=20=20 > +(define-public perl-file-pushd > + (package > + (name "perl-file-pushd") > + (version "1.014") > + (source > + (origin > + (method url-fetch) > + (uri (string-append > + "mirror://cpan/authors/id/D/DA/DAGOLDEN/File-pushd-" > + version > + ".tar.gz")) > + (sha256 > + (base32 > + "02rlqvyy7gly3dsqwaa81aisyy9c791b8xvwzczcbgmcwgzkgaxm")))) > + (build-system perl-build-system) > + (home-page > + "http://search.cpan.org/dist/File-pushd") > + (synopsis > + "Change directory temporarily for a limited scope") > + (description "@code{File::pushd} does a temporary @code{chdir} that = is > +easily and automatically reverted, similar to @code{pushd} in some Unix > +command shells. It works by creating an object that caches the original > +working directory. When the object is destroyed, the destructor calls > +@code{chdir} to revert to the original working directory. By storing the > +object in a lexical variable with a limited scope, this happens automati= cally > +at the end of the scope.") > + (license asl2.0))) > + > (define-public perl-file-list > (package > (name "perl-file-list") This series of packages builds and lints fine for me. There are over 200 dependent packages that would have to be rebuilt though, and core-updates is frozen to my knowledge. We can save this for the next core-updates cycle, though! Other Guix users, please correct me if I'm wrong. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEg7ZwOtzKO2lLzi2m5qXuPBlGeg0FAljUj/4ACgkQ5qXuPBlG eg1LDhAAihbycWxdzMPz0SBDztPeoQKbSNrnXlOrs5aca7FB0lY1mc/ehZfNcI0a bznUBdBkk0bCELPWgYaP8qRVxiD+7T0nBHV3q+Qrq8JM0Evg9cvYWM2kylQgNIyC wfIzIOFNVrKUq9SN3UWAfT36KXeCvWir4RIAKS4rcQmtVYIMTV5FAbIQJq/Wodsj 12LcVjKFe0dMeCzzqhTcZvJlEFzy9PgaeVsngIeaN4sUpyVcxmT1MK/6/Pp2GnLW D2XYWCJ4PUc+hQdfTRSChkkTXnpbTx7E9pjDCwteuu1/OfoDTQPqjtjZ83r8uDKp g25iLekGkSyw8SVZErcEUzjc/D86w0PesVUt0woXtnxCDs4Jnx0+tJY3xcxPN44F EX2MafcCB4dyX55iq93N9PWmN/pglQ9vazqiL7EXUroctfXBCurnek4BBjZ2FNK5 o3TUT7eY0SZkbzaoT99/L5KRGcFdNc3GeZoDmkmjZEkx6H4xv/qvlwZY0s7Jsaj2 3p5rw3x0BNuvOYaO6DgXZtaa/0YnTNMOe8NkeEZcZHqiBa0i6YAey/D9imM0nPBj dd6TZPV/BQfCLV/bsVOytdJLQWaVCSU3ooRIoqjNEGA+GWAcaqpAcn5Yepi1JUQV BZ5kbf2L+5y6mRGXmsVvdr9z4PiL9Whxfy/t3nDsUy2x9NCfDB0= =n9lW -----END PGP SIGNATURE----- --=-=-=--