summaryrefslogtreecommitdiff
path: root/gnu/packages/python-check.scm
diff options
context:
space:
mode:
authorVinicius Monego <monego@posteo.net>2021-10-30 02:51:31 +0000
committerEfraim Flashner <efraim@flashner.co.il>2021-11-08 10:04:31 +0200
commit27b0e71ecdfb747fe42b9d0708e5c8f2f3ed4c17 (patch)
treee179d89a9c5707f5d73a80466144b05d24fd8f5d /gnu/packages/python-check.scm
parent56dcaff82733149697047f05836f0498b1fde17a (diff)
gnu: python-pytest-astropy: Adjust inputs.
* gnu/packages/python-check.scm (python-pytest-astropy)[arguments]: Add new phase to skip a version check bug. [native-inputs]: Remove python-pytest. Move python-hypothesis, python-pytest-arraydiff, python-pytest-astropy-header, python-pytest-cov, python-pytest-filter-subpackage, python-pytest-openfiles, python-pytest-remotedata to ... [propagated-inputs]: ... here. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu/packages/python-check.scm')
-rw-r--r--gnu/packages/python-check.scm35
1 files changed, 21 insertions, 14 deletions
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index a13bd0baa49..5b230934a58 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -341,21 +341,28 @@ Astropy project, but is optimized for use with astropy-related projects.")
341 (base32 "18j6z6y2fvykmcs5z0mldhhaxxn6wzpnhlm2ps7m8r5z5kmh1631")))) 341 (base32 "18j6z6y2fvykmcs5z0mldhhaxxn6wzpnhlm2ps7m8r5z5kmh1631"))))
342 (build-system python-build-system) 342 (build-system python-build-system)
343 (arguments 343 (arguments
344 ;; No tests provided 344 `(#:tests? #f ; there are no tests
345 '(#:tests? #f)) 345 #:phases
346 (modify-phases %standard-phases
347 ;; There is a bug somewhere that makes pytest-filter-subpackage appear
348 ;; as version 0.0.0 to setup.py. Remove it from the requirements.
349 (add-after 'unpack 'remove-requirement
350 (lambda _
351 (substitute* "setup.cfg"
352 ((".*pytest-filter-subpackage.*") "")))))))
346 (native-inputs 353 (native-inputs
347 `(("attrs" ,python-attrs) 354 `(("python-attrs" ,python-attrs)
348 ("hypothesis" ,python-hypothesis) 355 ("python-pytest-mock" ,python-pytest-mock)
349 ("pytest" ,python-pytest) 356 ("python-setuptools-scm" ,python-setuptools-scm)))
350 ("pytest-arraydiff" ,python-pytest-arraydiff) 357 (propagated-inputs
351 ("pytest-astropy-header" ,python-pytest-astropy-header) 358 `(("python-hypothesis" ,python-hypothesis)
352 ("pytest-cov" ,python-pytest-cov) 359 ("python-pytest-arraydiff" ,python-pytest-arraydiff)
353 ("pytest-doctestplus" ,python-pytest-doctestplus) 360 ("python-pytest-astropy-header" ,python-pytest-astropy-header)
354 ("pytest-filter-subpackage" ,python-pytest-filter-subpackage) 361 ("python-pytest-cov" ,python-pytest-cov)
355 ("pytest-mock" ,python-pytest-mock) 362 ("python-pytest-doctestplus" ,python-pytest-doctestplus)
356 ("pytest-openfiles" ,python-pytest-openfiles) 363 ("python-pytest-filter-subpackage" ,python-pytest-filter-subpackage)
357 ("pytest-remotedata" ,python-pytest-remotedata) 364 ("python-pytest-openfiles" ,python-pytest-openfiles)
358 ("setuptools-scm" ,python-setuptools-scm))) 365 ("python-pytest-remotedata" ,python-pytest-remotedata)))
359 (home-page "https://github.com/astropy/pytest-astropy") 366 (home-page "https://github.com/astropy/pytest-astropy")
360 (synopsis 367 (synopsis
361 "Metapackage for all the testing machinery used by the Astropy Project") 368 "Metapackage for all the testing machinery used by the Astropy Project")