* gnu/packages/python.scm (python-redis, python2-redis) Comment out
[native-inputs] since these are used only for running tests, which
is disabled since it requires a Redis server.
Remove last additional [native-inputs] python-mock, thus there is no
need to inherit python-scikit-image package. Simply use
package-with-python2.
* gnu/packages/python.scm: (python-scikit-image): [properties]: Remove
python2-variant. (python2-scikit-image) Use simply
"package-with-python2" after removing last [native-inputs] python-mock.
The package does not provide tests, but there is no need to disable them.
Having them enabled allows running them if some newer version may provide
tests.
* gnu/package/python.scm (python-blinker, python2-blinker):
[arguments]: Remove.
This is not listed as an requirement and is already propagated by
python-pytest.
* gnu/packages/python.scm (python-pytest-mock, python2-pytest-mock):
[propagated-inputs]: Remove python-py.
This does not occur in the source.
* gnu/packages/python.scm (python-testscenarios, python2-testscenarios)
[propagated-inputs]: Remove python-mimeparse.
These are used to build self-extracting installers for Windows.
* gnu/packages/python.scm (python-setuptools, python2-setuptools) [source]:
Add snippet to delete *.exe files.
python-pytest is only required for testing, not at run-time.
* gnu/packages/python.scm (python-singledispatch, python2-singledispatch):
[propagated-inputs] Move python-pytest to [native-inputs].
Requires setuptools >= 17.1 due to some features used, while our
python currently only includes 12.0.
* gnu/packages/admin.scm (thefuck): Add setuptools to native-inputs.
* gnu/packages/python.scm (python-numpy-bootstrap): Correct inputs, use
modify-phases, add dummy newlines character to string to make emacs happy,
set PYTHONPATH prior to running tests. (python-numpy): propagate inputs, set
PYTHONPATH prior to building docs.
dateutil, pytz, and six do not occur in the code.
Remove python-dateutil, python-pytz, python-six from inputs;
Move python-cython to native-inputs; move python-pandas to
propagated-inputs.
python-six is only required for conversion, not at run-time
* gnu/packages/python.scm (python-singledispatch, python2-singledispatch):
[inputs] Move python-six to [native-inputs].
For breaking the cyclic build, formerly a separate (older) version was used
for bootstrapping. Now we use the same version just without tests and without
test dependencies.
* gnu/packages/python.scm (python-pbr-0.11, python2-pbr-0.11):
replace by … (python-pbr-minimal, python2-pbr-minimal).
(python-pbr) inherit from python-pbr-minimal, adding the requirements for
testing and building the documentation.
(python-fixtures) [native-inputs] Use python-pbr-minimal here.
(python-testrepository): [native-inputs] Add it here, it was a missing
dependency.
python-fixtures is required only for building.
* gnu/packages/python.scm (python-testrepository) [propagated-inputs] move
python-fixtures to [native-inputs].
According to setup.py python-six is requried at run-time, thus has to be a
propagated input.
* gnu/packages/python.scm (python-hdf5) [inputs]: Move `python-six` to
[propagated-inputs].
This package is a plugin for python-sphinx, it does not require python-sphinx
nor docutils, but is an add-on for python-sphinx and should not be installed
by it's own.
* gnu/packages/python/.scm (python-sphinx-rtd-theme)[inputs]: Remove.
* gnu/packages/python.scm (python-pytest-cov): Replace phase "check"
by one passing the options found in upstream's tox.ini-file
to "python setup.py check".
This patch handles the inputs which are native-inputs almost always like nose,
sphinx, and pytest.
* gnu/packages/python.scm
(python-jsonschema, python-numpydoc, python-mccabe, python-mistune,
python-ptyprocess, python-webob, python-apipkg, python-flake8-2.2.4)[inputs]
change to [native-inputs].
(python-flake8, tox) Likewise, add a comment.
(python-scikit-learn, python-numpy)[native-inputs] New element, move
python-nose here.
(python2-kombu)[inputs] change to [native-inputs], use python-kombu's
package-native-inputs.
This patch contains the changes in python.scm where all [native-inputs]
are changed to [propagated-inputs].
* gnu/packages/python.scm.scm (python-feedgenerator): All [native-inputs] are
changed to [propagated-inputs].