[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 5/18] gnu: Add python-pytest-xdist.
From: |
Christopher Allan Webber |
Subject: |
Re: [PATCH 5/18] gnu: Add python-pytest-xdist. |
Date: |
Sun, 21 Feb 2016 18:57:22 -0800 |
User-agent: |
mu4e 0.9.13; emacs 24.5.1 |
Leo Famulari writes:
> On Fri, Feb 19, 2016 at 06:31:28PM -0800, Christopher Allan Webber wrote:
>> Updated.
>>
>
>> From 5930defefa4c7966afd1c20f66d22c8b95bf024f Mon Sep 17 00:00:00 2001
>> From: Christopher Allan Webber <address@hidden>
>> Date: Sat, 13 Feb 2016 18:11:47 -0800
>> Subject: [PATCH 04/18] gnu: Add python-pytest-xdist.
>>
>> * gnu/packages/python.scm (python-pytest-xdist, python2-pytest-xdist):
>> New variables.
>> ---
>> gnu/packages/python.scm | 36 ++++++++++++++++++++++++++++++++++++
>> 1 file changed, 36 insertions(+)
>>
>> diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
>> index a5d42f5..a6823bc 100644
>> --- a/gnu/packages/python.scm
>> +++ b/gnu/packages/python.scm
>> @@ -1665,6 +1665,42 @@ supports coverage of subprocesses.")
>> (define-public python2-pytest-runner
>> (package-with-python2 python-pytest-runner))
>>
>> +(define-public python-pytest-xdist
>> + (package
>> + (name "python-pytest-xdist")
>> + (version "1.14")
>> + (source
>> + (origin
>> + (method url-fetch)
>> + (uri (pypi-uri "pytest-xdist" version ".zip"))
>> + (sha256
>> + (base32
>> + "08rn2l39ds60xshs4js787l84pfckksqklfq2wq9x8ig2aci2pja"))))
>> + (build-system python-build-system)
>> + (native-inputs
>> + `(("unzip" ,unzip)))
>> + (propagated-inputs
>> + `(("python-setuptools" ,python-setuptools)
>> + ("python-setuptools-scm" ,python-setuptools-scm)
>> + ("python-execnet" ,python-execnet)
>> + ("python-pytest" ,python-pytest)
>> + ("python-py" ,python-py)))
>
> I see how it could make sense for a testing program, but I just want to
> be sure; should setuptools and pytest be propagated?
It seems they're fine as native-inputs, so I made that change.