all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Leo Famulari <leo@famulari.name>
To: Hartmut Goebel <h.goebel@crazy-compilers.com>
Cc: guix-devel@gnu.org
Subject: Re: [PATCH 2/5] gnu: python-pytest-xdist: Remove python byte-code files from source.
Date: Wed, 12 Oct 2016 11:56:51 -0400	[thread overview]
Message-ID: <20161012155651.GB31109@jasmine> (raw)
In-Reply-To: <1476105003-29538-3-git-send-email-h.goebel@crazy-compilers.com>

On Mon, Oct 10, 2016 at 03:10:00PM +0200, Hartmut Goebel wrote:
> * gnu/packages/python.scm (python-pytest-xdist): Add source snippet.

* gnu/packages/python.scm (python-pytest-xdist,
python2-pytest-xdist)[source]: Add snippet.

> ---
>  gnu/packages/python.scm | 10 +++++++++-
>  1 file changed, 9 insertions(+), 1 deletion(-)
> 
> diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
> index f1e9264..345c6a7 100644
> --- a/gnu/packages/python.scm
> +++ b/gnu/packages/python.scm
> @@ -1764,7 +1764,15 @@ same arguments.")
>         (uri (pypi-uri "pytest-xdist" version ".zip"))
>         (sha256
>          (base32
> -         "08rn2l39ds60xshs4js787l84pfckksqklfq2wq9x8ig2aci2pja"))))
> +         "08rn2l39ds60xshs4js787l84pfckksqklfq2wq9x8ig2aci2pja"))
> +       (modules '((guix build utils)))
> +       (snippet
> +        '(begin
> +           ;; Source archive contains .pyc files

Can you make this comment into a complete sentence? Something like "Remove
pre-compiled .pyc files from source."?

> +           (for-each delete-file-recursively
> +                     (find-files "." "__pychache__" #:directories? #t))

As Danny pointed out, it should probably be "__pycache__".

LGTM with these changes.

  parent reply	other threads:[~2016-10-12 15:57 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-10 13:09 [PATCH 0/5] Some simple or even trivial changes Hartmut Goebel
2016-10-10 13:09 ` [PATCH 1/5] gnu: python2-pytest-runner: Remove duplicate definition Hartmut Goebel
2016-10-12 15:53   ` Leo Famulari
2016-10-12 20:10   ` More duplicate package definitions Danny Milosavljevic
2016-10-13 13:17     ` Hartmut Goebel
2016-10-13 22:39       ` Leo Famulari
2016-10-14 11:10         ` Ricardo Wurmus
2016-10-10 13:10 ` [PATCH 2/5] gnu: python-pytest-xdist: Remove python byte-code files from source Hartmut Goebel
2016-10-11 20:24   ` Danny Milosavljevic
2016-10-12 15:56   ` Leo Famulari [this message]
2016-10-10 13:10 ` [PATCH 3/5] gnu: python-zope-testing: Strip byte-code and garbage " Hartmut Goebel
2016-10-12 15:59   ` Leo Famulari
2016-10-10 13:10 ` [PATCH 4/5] gnu: python.scm: Update some home-page urls and descriptions Hartmut Goebel
2016-10-12 16:01   ` Leo Famulari
2016-10-13  8:36     ` Hartmut Goebel
2016-10-13 20:14       ` Ludovic Courtès
2016-10-14  8:03         ` Hartmut Goebel
2016-10-10 13:10 ` [PATCH 5/5] guix: python-build-system: Fix an outdated comment Hartmut Goebel
2016-10-12 16:03   ` Leo Famulari
2016-10-13  7:32     ` Hartmut Goebel
2016-10-13 20:06       ` Ludovic Courtès

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

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

  git send-email \
    --in-reply-to=20161012155651.GB31109@jasmine \
    --to=leo@famulari.name \
    --cc=guix-devel@gnu.org \
    --cc=h.goebel@crazy-compilers.com \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.