Commit Graph

17080 Commits

Author SHA1 Message Date
Hartmut Goebel 861f70c9da
gnu: python-configobj: Correct inputs.
* gnu/packages/python.scm(python-configobj)[native-inputs] change to
  [propagated-inputs].
2016-11-15 22:31:46 +01:00
Hartmut Goebel d27f176a72
gnu: python-zope-location: Correct inputs.
* gnu/packages/python.scm(python-zope-location)[native-inputs] change to
  [propagated-inputs].
2016-11-15 22:31:45 +01:00
Hartmut Goebel 38d480a8a6
gnu: python-zope-interface: Correct inputs.
* gnu/packages/python.scm(python-zope-interface)[propagated-inputs] change to
  [native-inputs].
2016-11-15 22:31:44 +01:00
Hartmut Goebel 2887700e4d
gnu: python-pathpy: Build documentation.
* gnu/packages/python.scm (python-pathpy, python2-pathpy)
  [output] Add output "doc".
  [native-inputs]: Add python-sphinx and python-rst.linker
  [build-doc], [install-doc]: New build phases.
2016-11-15 22:31:43 +01:00
Hartmut Goebel fe94cf0cdd
gnu: Add python-rst.linker, python2-rst.linker.
* gnu/packages/python.scm (python-rst.linker, python2-rst.linker): New
  variables.
2016-11-15 22:31:43 +01:00
Hartmut Goebel 213d1745c6
gnu: python-numpydoc: Correct inputs.
* gnu/packages/python.scm (python-numpydoc, python-numpydoc)
  [native-inputs]: Remove python-docutils. Move python-shpinx to
  [propagated-inputs].
2016-11-15 22:31:42 +01:00
Hartmut Goebel cf8124b017
gnu: python-redis: Remove unused input.
* 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.
2016-11-15 22:31:41 +01:00
Hartmut Goebel 1273359455
gnu: python2-scikit-image: Remove needless native-input and inheritance.
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.
2016-11-15 22:31:40 +01:00
Hartmut Goebel ddd1dc3d2d
gnu: python2-scikit-image: Remove needless propagated-input.
* gnu/packages/python.scm: (python2-scikit-image)
  [propagated-inputs]: Remove python-pytz, it does not occur anywhere in
  the source.
2016-11-15 22:31:39 +01:00
Hartmut Goebel b83e23337b
gnu: python-scikit-image: Correct inputs.
* gnu/packages/python.scm: (python-scikit-image, python2-scikit-image)
  [propagated-inputs]: Move python-numpy and python-six to [native-inputs].
  Add comment.
2016-11-15 22:31:39 +01:00
Hartmut Goebel 9fbe7b2bca
gnu: python-blinker: No longer disable tests.
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.
2016-11-15 22:31:38 +01:00
Hartmut Goebel 7c88bcf4bb
gnu: python-feedgenerator: Remove python byte-code files from source.
* gnu/packages/python.scm (python-feedgenerator, python2-feedgenerator)
  [source]: Add snippet.
2016-11-15 22:31:37 +01:00
Hartmut Goebel f052ec9a50
gnu: python-joblib: Add comment.
* gnu/packages/python.scm (python-joblib): Add comment.
2016-11-15 22:31:36 +01:00
Hartmut Goebel 6aa5f1ca24
gnu: python-joblib: Remove python byte-code files from source.
* gnu/packages/python.scm (python-joblib, python2-joblib)[source]:
  Add snippet.
2016-11-15 22:31:36 +01:00
Hartmut Goebel bb06aa3446
gnu: python-oauthlib, python-oauthlib2: Correct inputs.
* gnu/packages/python.scm (python-oauthlib) [propagated-inputs] Move all to
  [native-inputs]. [native-inputs]: Remove python-mock, python-coverage.
  (python2-oauthlib)[native-inputs]: Add python2-mock.
2016-11-15 22:31:35 +01:00
Hartmut Goebel 130fe99410
gnu: python-pyjwt: Add missing inputs and enable test-suite.
* gnu/packages/python.scm (python-pyjwt) [native-inputs]: Add
  python-pytest and python-pytest-cov. [arguments]. Remove.
2016-11-15 22:31:34 +01:00
Hartmut Goebel f78e1c27ef
gnu: python-cov-core: Fix imports.
* gnu/packages/python.scm (python-cov-core) [inputs]: change
  to [propagated-inputs].
2016-11-15 22:31:33 +01:00
Hartmut Goebel 25b2c47d75
gnu: python-statsmodels: Fix build
* gnu/packages/statistics.scm (python-statsmodels): [check] set
  PYTHONPATH prior to running tests.
2016-11-15 22:31:33 +01:00
Hartmut Goebel d5e41cf28c
gnu: pytest-mock: remove needless propagated input "python-py".
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.
2016-11-15 22:31:32 +01:00
Hartmut Goebel 8e73d3baab
gnu: python-testscenarios: remove needless input "mimetools".
This does not occur in the source.

* gnu/packages/python.scm (python-testscenarios, python2-testscenarios)
  [propagated-inputs]: Remove python-mimeparse.
2016-11-15 22:31:31 +01:00
Hartmut Goebel e0ed457944
gnu: python-setuptools: remove pre-built binaries from source.
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.
2016-11-15 22:31:30 +01:00
Hartmut Goebel c4516ad206
gnu: python-pytest-xdist: Remove needless input python-apipkg.
* gnu/packages/python.scm (python-pytest-xdist): Remove input
  python-apipkg.
2016-11-15 22:31:29 +01:00
Hartmut Goebel b52ad3714a
gnu: python-subunit, python-testrepository: Fix inputs
* gnu/packages/python.scm (python-subunit, python2-subunit):
  [propagated-inputs]:: Add python-extras, remove python-testtools, move
  python-testscenarios to [native-inputs].  (python-testrepository,
  python2-testrepository): [native-inputs] move python-fixtures and
  python-subunit to [propagated-inputs]
2016-11-15 22:31:29 +01:00
Hartmut Goebel 521b77729e
gnu: python-scripttest: Correct inputs.
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].
2016-11-15 22:31:28 +01:00
Hartmut Goebel abcc7a0eb9
gnu: python-pandas: Fix build.
* gnu/packages/python.scm (python-pandas): Add python-cython to
  native-inputs.
2016-11-15 22:31:27 +01:00
Hartmut Goebel e116d100fd
gnu: openstack: Correct inputs.
* gnu/packages/openstack.scm (python-os-testr) Propagate input
  python-subunit, change all other inputs to native-inputs.
  (python-mox3): Remove needless input python-six.
  (python-stevedore, python-requests-mock): Move python-pbr to
  native-inputs.
2016-11-15 22:31:27 +01:00
Hartmut Goebel 48160559a1
gnu: thefuck: Fix build.
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.
2016-11-15 22:31:26 +01:00
Hartmut Goebel a08a835034
gnu: vdirsyncer: Fix build by setting correct PYTHONPATH.
For thus, use add-installed-pythonpath.

* gnu/packages/dav.scm (vdirsyncer): set PYTHONPATH using
  add-installed-pythonpath.
2016-11-15 22:31:25 +01:00
Hartmut Goebel eee5cd0440
gnu: python-ipython: Fix build.
* gnu/packages/python.scm (python-ipython, python2-ipython) [check,
  install-doc] set PYTHONPATH prior to running tests.
2016-11-15 22:31:24 +01:00
Hartmut Goebel d548e6aa06
gnu: python-scipy: Fix build.
* gnu/packages/python.scm (python-scipy) Use add-installed-pythonpath.  Add
  dummy newlines character to string to make emacs happy.
2016-11-15 22:31:23 +01:00
Hartmut Goebel ca33a3ad97
gnu: python-matplotlib: Fix build.
* gnu/packages/python.scm (python-matplotlib, python2-matplotlib): Correct
  inputs. [install-doc] set PYTHONPATH prior to building docs.
2016-11-15 22:31:23 +01:00
Hartmut Goebel 2efabc5589
gnu: python-numpy-bootstrap, python-numpy: Fix build.
* 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.
2016-11-15 22:31:22 +01:00
Hartmut Goebel 9e8c6a37db
gnu: python-fonttools: Remove intervening directory in site-packges.
* gnu/packages/python.scm (python-fonttools): Add phase patch-setuppy.
2016-11-15 22:31:21 +01:00
Hartmut Goebel b72ac1b54b
gnu: python2-pysnptools: Correct inputs.
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.
2016-11-15 22:31:21 +01:00
Hartmut Goebel e408ffc302
gnu: python-zope-testing: Remove needless input.
* gnu/packages.python.scm (python-zope-testing): Remove
  python-zope-interface from native-imports.
2016-11-15 22:31:20 +01:00
Hartmut Goebel 47f77210fc
gnu: python-zope-schema: Add missing inputs.
* gnu/packages.python.scm (python-zope-schema): Add python-coverage and
  python-nose to native-inputs.
2016-11-15 22:31:19 +01:00
Hartmut Goebel 05c2fd3685
gnu: python-pytest-flakes: Fix build.
* python.scm (python-pytest-flakes): Set PYTHONPATH prior to running tests.
2016-11-15 22:31:18 +01:00
Hartmut Goebel 6151120a71
gnu: python-pillow: Fix build.
* gnu/packages/python.scm (python-pillow)[check-installed]: Add
  installed site-package to PYTHONPATH.
2016-11-15 22:31:17 +01:00
Hartmut Goebel 5e1c9d242a
gnu: python-singledispatch: correct 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].
2016-11-15 22:31:17 +01:00
Hartmut Goebel d2a8db92fe
gnu: python-pbr: Rework bootstrapping.
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.
2016-11-15 22:31:16 +01:00
Hartmut Goebel b2e66edf52
gnu: python-testrepositoryfixture: Correct inputs.
python-fixtures is required only for building.

* gnu/packages/python.scm (python-testrepository) [propagated-inputs] move
  python-fixtures to [native-inputs].
2016-11-15 22:31:15 +01:00
Hartmut Goebel 424f0a4175
gnu: python-fixture: Enable tests.
* gnu/packages/python.scm (python-fixtures) [arguments] remove
  keyword `#:tests?`.
2016-11-15 22:31:14 +01:00
Hartmut Goebel ae92caddc5
gnu: python-fixture: Correct inputs.
python-pbr is required only for building.

* gnu/packages/python.scm (python-fixtures) [propagated-inputs] move
  python-pbr-0.11 to [native-inputs].
2016-11-15 22:31:13 +01:00
Hartmut Goebel 6986669012
gnu: python-hdf5: Correct 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].
2016-11-15 22:31:12 +01:00
Hartmut Goebel 9820a02858
gnu: python-h5py: Remove needless "python2-variant" property.
* gnu/packages/python.scm (python-h5py) [python2-variant]: Remove
  property. (python2-h5py): Don't strip property "strip-python2-variant".
2016-11-15 22:31:12 +01:00
Hartmut Goebel d9a6e221e2
gnu: python-ccm: Update synopsis and description.
* gnu/packages/python.scm (python-ccm): Update synopsis and description.
2016-11-15 22:31:11 +01:00
Hartmut Goebel e165f137d8
gnu: python-ccm: Add missing input python-psutil.
* gnu/packages/python.scm (python-ccm) [propagated-inouts]: Add
  python-psutil.
2016-11-15 22:31:10 +01:00
Hartmut Goebel ef7451131a
gnu: python-sphinx-rtd-theme: Remove 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.
2016-11-15 22:31:09 +01:00
Hartmut Goebel ce40b38395
gnu: python-pytest-cov: Use upstream options for testing.
* 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".
2016-11-15 22:31:08 +01:00
Hartmut Goebel b3e8b4bd0f
gnu: scons: Do not use setuptools for building.
* gnu/packages/python.scm (scons): Set "#:use-setuptools" to #f.
2016-11-15 22:31:07 +01:00