unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Alex Sassmannshausen <alex.sassmannshausen@gmail.com>
To: Kei Kebreau <kei@openmailbox.org>
Cc: guix-devel@gnu.org
Subject: Re: [PATCH 01/26] gnu: Add perl-file-pushd.
Date: Fri, 24 Mar 2017 09:13:27 +0100	[thread overview]
Message-ID: <87bmsrks7s.fsf@gmail.com> (raw)
In-Reply-To: <87lgrv2wht.fsf@openmailbox.org>

Hi Kei,

Kei Kebreau writes:

> Alex Sassmannshausen <alex.sassmannshausen@gmail.com> 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 directory subtree from the
>>  file system.")
>>      (license (package-license perl))))
>>  
>> +(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 automatically
>> +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.

Thanks for the review!

What command do you use to check the number of packages that would have
to be rebuilt?  I'm asking, because if they are mainly perl libraries
then that figure of 200 really isn't that big of a deal: most perl libs
build super fast.

Ta,

Alex

  reply	other threads:[~2017-03-24  8:13 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-23 14:00 [PATCH 01/26] gnu: Add perl-file-pushd Alex Sassmannshausen
2017-03-23 14:00 ` [PATCH 02/26] gnu: Add perl-test-needs Alex Sassmannshausen
2017-03-23 14:00 ` [PATCH 03/26] gnu: perl-b-hooks-endofscope: Update to 0.21 Alex Sassmannshausen
2017-03-23 14:00 ` [PATCH 04/26] gnu: perl-capture-tiny: Update to 0.46 Alex Sassmannshausen
2017-03-23 14:00 ` [PATCH 05/26] gnu: perl-class-load: Update to 0.23 Alex Sassmannshausen
2017-03-23 14:00 ` [PATCH 06/26] gnu: perl-clone: Update to 0.38 Alex Sassmannshausen
2017-03-23 14:00 ` [PATCH 07/26] gnu: perl-common-sense: Update to 3.74 Alex Sassmannshausen
2017-03-23 14:00 ` [PATCH 08/26] gnu: perl-cpan-meta-check: Update to 0.011 Alex Sassmannshausen
2017-03-23 14:00 ` [PATCH 09/26] gnu: perl-devel-overloadinfo: Update to 0.004 Alex Sassmannshausen
2017-03-23 14:00 ` [PATCH 10/26] gnu: perl-devel-partialdump: Update to 0.18 Alex Sassmannshausen
2017-03-23 14:00 ` [PATCH 11/26] gnu: perl-module-runtime-conflicts: Update to 0.003 Alex Sassmannshausen
2017-03-23 14:00 ` [PATCH 12/26] gnu: perl-moose: Update to 2.2004 Alex Sassmannshausen
2017-03-23 14:00 ` [PATCH 13/26] gnu: perl-package-deprecationmanager: Update to 0.17 Alex Sassmannshausen
2017-03-23 14:00 ` [PATCH 14/26] gnu: perl-params-validate: Update to 1.26 Alex Sassmannshausen
2017-03-23 14:00 ` [PATCH 15/26] gnu: perl-sub-name: Update to 0.21 Alex Sassmannshausen
2017-03-23 14:00 ` [PATCH 16/26] gnu: perl-test-cleannamespaces: Update to 0.22 Alex Sassmannshausen
2017-03-23 14:00 ` [PATCH 17/26] gnu: perl-test-exception: Update to 0.43 Alex Sassmannshausen
2017-03-23 14:00 ` [PATCH 18/26] gnu: perl-test-simple: Update to 1.302078 Alex Sassmannshausen
2017-03-23 14:00 ` [PATCH 19/26] gnu: perl-test-warnings: Update to 0.026 Alex Sassmannshausen
2017-03-23 14:00 ` [PATCH 20/26] gnu: perl-time-duration-parse: Update to 0.13 Alex Sassmannshausen
2017-03-23 14:00 ` [PATCH 21/26] gnu: perl-variable-magic: Update to 0.61 Alex Sassmannshausen
2017-03-23 14:00 ` [PATCH 22/26] gnu: perl-yaml: Update to 1.23 Alex Sassmannshausen
2017-03-23 14:00 ` [PATCH 23/26] gnu: perl-cpan-meta-requirements: Update to 2.140 Alex Sassmannshausen
2017-03-23 14:00 ` [PATCH 24/26] gnu: perl-cpan-meta-yaml: Update to 0.018 Alex Sassmannshausen
2017-03-23 14:00 ` [PATCH 25/26] gnu: perl-parse-cpan-meta: Update to 2.150010 Alex Sassmannshausen
2017-03-23 14:00 ` [PATCH 26/26] gnu: perl-scalar-list-utils: Update to 1.47 Alex Sassmannshausen
2017-03-24  3:18 ` [PATCH 01/26] gnu: Add perl-file-pushd Kei Kebreau
2017-03-24  8:13   ` Alex Sassmannshausen [this message]
2017-03-24 12:51     ` Ben Woodcroft
2017-03-24 13:32       ` Alex Sassmannshausen
2017-03-24 14:26         ` Kei Kebreau
2017-03-25 16:53           ` Alex Sassmannshausen
2017-03-24 14:44         ` Tobias Geerinckx-Rice

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87bmsrks7s.fsf@gmail.com \
    --to=alex.sassmannshausen@gmail.com \
    --cc=guix-devel@gnu.org \
    --cc=kei@openmailbox.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).