Commit Graph

999 Commits

Author SHA1 Message Date
Hartmut Goebel 06f1d73ed4
gnu: python-celery: Remove needless inputs.
These are indirect requirements and propagated by python-kombu.

* gnu/packages/python.scm(python-celery)[propagated-inputs] Remove python-amqp
  and python-anyjson.
2016-11-15 22:31:51 +01:00
Hartmut Goebel f7989b8bb0
gnu: Remove some outdated comments.
These comments were about setuptools used at runtime for pkg_resources.

* gnu/packages/python.scm: Remove some outdated comments.
2016-11-15 22:31:50 +01:00
Hartmut Goebel 7ba07edfb1
gnu: python-tox: Update FIXME comments.
* gnu/packages/python.scm(python-tox)[arguments]: Update FIXME
  comment. [inputs]: Add FIXME comment.
2016-11-15 22:31:49 +01:00
Hartmut Goebel 8322749a1c
gnu: python-urllib3: update comment.
* gnu/packages/python.scm(python-urllib3)[propagated-inputs]: Update comment.
2016-11-15 22:31:49 +01:00
Hartmut Goebel b9fc496ff6
gnu: python-wsgi-intercept: Correct inputs.
* gnu/packages/python.scm(python-wsgi-intercept): [native-inputs]: move
  python-six to [propagated-inputs].  [propagated-inputs] move
  python-httplib2, python-requests to [native-inputs].
2016-11-15 22:31:48 +01:00
Hartmut Goebel a5333f7c61
gnu: python-websocket-client: Correct inputs.
* gnu/packages/python.scm (python-websocket-client)[native-inputs] change to
  [propagated-inputs], remove a wrong comment.
2016-11-15 22:31:47 +01:00
Hartmut Goebel fd8e23b7b3
gnu: python-zope-security: Correct inputs.
* gnu/packages/python.scm(python-zope-security)[native-inputs] New element,
  move python-zope-component, python-zope-configuration, python-zope-location,
  python-zope-testrunner, python-zope-testing here.
2016-11-15 22:31:46 +01:00
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 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 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
Hartmut Goebel f2516de2fc
gnu: Fix python inputs, part 7: Ensure python-cython is a native-input.
* gnu/packages/audio.scm (python-pyliblo): [inputs] Move python-cyton to
  [native-inputs].
* gnu/packages/bioinformatics.scm (python2-pybedtools): dito.
* gnu/packages/music.scm (beast, python-pyportmidi): dito.
* gnu/packages/python.scm (python2-fastlmm, python-kivy): dito.
2016-11-15 22:31:07 +01:00
Hartmut Goebel 328bb95d35
gnu: Fix python inputs, part 6: some inputs become native-inputs.
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.
2016-11-15 22:31:06 +01:00
Hartmut Goebel 482d95918e
gnu: Fix python inputs, part 5: some inputs become propagated-inputs
* gnu/packages/openstack.scm
  (python-os-client-config)[inputs] change to
  [native-inputs]. [propagated-inputs]: New element, move python-appdirs,
  python-pyyaml here.
  (python-git-review)[propagated-inputs]: New element, move python-requests
  here.
* gnu/packages/python.scm
  (python-rpy2)[propagated-inputs]: New element, move python-six here.
  (python-xcffib)[inputs] move python-six to [propagated-inputs].
  (python-flake8)[propagated-inputs]: New element, move python-pep8,
  python-pyflakes, python-mccabe here.
  (python-flake8-2.2.4)[propagated-inputs]: New element, move python-pep8,
  python-pyflakes, python-mccabe here.
  (python-pytest)[propagated-inputs]: New element, move python-py here.
  (python-tox)[propagated-inputs]: New element, move all inputs except of
  python-pytest here.
  (python-botocore)[propagated-inputs]: New element, move python-dateutil,
  python-docutils, python-jmespath here.
  (awscli)[propagated-inputs]: New element, move python-colorama,
  python-botocore, python-s3transfer, python-docutils, python-rsa here.
  (python-mako)[propagated-inputs]: New element, move python-markupsafe here.
* gnu/packages/qemu.scm(python-libvirt)[propagated-inputs]: New element, move
  python-lxml here.
2016-11-15 22:31:05 +01:00
Hartmut Goebel dae73d9b9a
gnu: Fix python inputs, part 3: all native-inputs become propagated-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].
2016-11-15 22:31:04 +01:00
Hartmut Goebel e7881f3db4
gnu: Fix python inputs, part 2: all inputs become native-inputs.
This patch contains the changes where all [inputs] are changed to
[native-inputs].

* gnu/packages/python.scm (python-pytest, python-fixtures,
  python-testrepository, python-virtualenv): All [inputs] are changed to
  [native-inputs].
* gnu/packages/openstack.scm (python-bandit, python-debtcollector,
  python-hacking, python-tempest-lib, python-oslo.config, python-oslo.context,
  python-oslo.i18n, python-oslo.log, python-oslo.serialization,
  python-oslosphinx, python-oslotest, python-oslo.utils): Likewise.
2016-11-15 22:31:03 +01:00
Hartmut Goebel f22efa0152
gnu: Fix python inputs, part 1: all inputs become propagated-inputs.
This patch contains the changes where all [inputs] are changed to
[propagated-inputs]

* gnu/packages/python.scm (python-passlib, python-paramiko, python-ccm,
  python-babel, python-keyring python-pandas, python-tzlocal,
  python-parse-type, python-nose2, python-pytest, python-pytest-mock,
  python-pytest-xdist, python-scripttest, python-testtools, python-pytest-cov,
  python-testscenarios, python-pbr-0.11, python-oauthlib, python-jinja2,
  python-sphinx, python-tzlocal, python-bugz, python2-pytest-mock, behave,
  pelican, sqlalchemy-utils, python-pygridtools, python-urwidtrees,
  python-tornado, python2-tornado, python-debian, python-execnet,
  python-pytest-cache, pytest-localserver, python-clint, python-rply,
  python-hy, python-rauth, python-rsa, python-celery, python-vobject, s3cmd,
  python-prompt-toolkit, ptpython, python-requests-oauthlib, python-stem,
  python-binaryornot, python2-binaryornot, python-nltk, python-pymongo,
  python-schematics, python-url, python2-url, python-freezegun,
  python-glances, python-graphql-core, python-graphql-relay, python-graphene,
  python-nautilus, python-s3transfer): All [inputs] become
  [propagated-inputs].
* gnu/packages/bioinformatics.scm (python-biopython): Likewise.
* gnu/packages/django.scm (pytest-django): Likewise.
* gnu/packages/mail.scm (python-mailmanclient): Likewise.
* gnu/packages/password-utils.scm (python-bcrypt): Likewise.
* gnu/packages/propbuf.scm (python-protobuf): Likewise.
* gnu/packages/rdf.scm (python-rdflib): Likewise.

SQACH all become propagated
2016-11-15 22:31:03 +01:00
Hartmut Goebel b41a05ce49
gnu: Remove work-arounds for bug 20765 (ensure uncompressed eggs).
Bug 20765 is solved since we build all Python packages using
option "--single-version-externally-managed".

* gnu/packages/bioinformatics.scm (pbtranscript-tofu): Remove
  configure-flags. (pepr): remove phase "disable-egg-generation".
* gnu/packages/pdf.scm (reportlab): Remove configure-flags.
* gnu/packages/python.scm (python-sphinx-rtd-theme, python2-elib.intl,
  python-pkgconfig, python-pytest-pep8, python-pytest-flakes): Remove
  configure-flags. (python-pillow) remove phase
  "disable-egg-generation". (python-libarchive-c) Remove patching
  setup.cfg.
* gnu/packages/statistics.scm (python-patsy): remove phase
  "prevent-generation-of-egg-archive".
* gnu/packages/tls.scm (python-acme): remove phase
  "disable-egg-compression".
* gnu/packages/tor.scm (onionshare): Remove configure-flags.
2016-11-15 22:31:02 +01:00
Hartmut Goebel d8013ee221
gnu: Remove needless inputs python-pip and python2-pip.
This is installed together with Python 3 anyway and for our build
of Python 2.

* gnu/packages/python.scm (python2-fixtures): [inputs] remove "python-pip".
* gnu/packages/pdf.scm (python2-reportlab): [native-inputs] remove
  "python2-pip". (python-reportlab)[properties]: remove "python2-variant".
2016-11-15 22:31:01 +01:00
Hartmut Goebel f210e94432
gnu: Remove python-setuptools and python2-setuptools from inputs (part 4b)
This patch contains the changes in python.scm where
setuptools are used in an inherited package and removing this input also
removes the need for inheriting the package. This is the case if adding
setuptools in the inherited packge was the only change.

Change this to not inherit and remove the new needless call to
"strip-python2-variant (where applicable).

* gnu/packages/python.scm.scm: Remove inheriting Python 2 packages inheriting
  from a Python 3 package if adding python-setuptools respective
  python2-setuptools to [inputs], [native-inputs] and [propagated-inputs] have
  been the sole reason for inheriting. Remove now needless [properties]
  "python2-variant" where applicable.
  (python2-lockfile, python2-keyring, python2-dateutil-2,
  python2-parsedatetime, python2-pandas, python2-pyicu, python2-pytest-cov,
  python2-pytest-runner, python2-pytest-xdist, python2-cov-core,
  python2-itsdangerous, python2-numexpr, python2-q, python2-sqlalchemy-utils,
  python2-alembic, python2-beautifulsoup4, python2-msgpack, python2-ipaddress,
  python2-atomicwrites, python2-apipkg, python2-execnet, python2-pytest-cache,
  python2-wtforms, python2-mako, python2-waitress, python2-wsgiproxy2,
  python2-pyquery, python2-webtest, python2-translitcodec, python2-editor,
  python2-sphinxcontrib-programoutput, python2-psycopg2, python2-vobject,
  python2-flask, python2-cookies, python2-responses, python2-future,
  python2-ply, python2-wcwidth, python2-prompt-toolkit, python2-jedi,
  python2-requests-oauthlib, python2-pyserial, python2-nltk, python2-pymongo,
  python2-sh, python2-schematics, python2-publicsuffix, python2-publicsuffix2,
  python2-url, python2-freezegun, python2-cachecontrol, python2-lit,
  python2-pytest-pep8, python2-pytest-flakes, python2-glances,
  python2-betamax, python2-file, python2-flask-babel, python2-furl,
  python2-imagesize python2-orderedmultidict, python2-pycodestyle,
  python2-vcversioner, python2-graphql-core, python2-graphql-relay,
  python2-validictory): Remove neesless input "python2-setuptools", don't
  inherit, don't call strip-python2-variant.
  (python-lockfile, python-keyring, python-dateutil-2, python-parsedatetime,
  python-pandas, python-pyicu, python-pytest-cov, python-pytest-runner,
  python-pytest-xdist, python-cov-core, python-itsdangerous, python-numexpr,
  python-q, python-sqlalchemy-utils, python-alembic, python-beautifulsoup4,
  python-msgpack, python-ipaddress, python-atomicwrites, python-apipkg,
  python-execnet, python-pytest-cache, python-wtforms, python-mako,
  python-waitress, python-wsgiproxy2, python-pyquery, python-webtest,
  python-translitcodec, python-editor, python-sphinxcontrib-programoutput,
  python-psycopg2, python-vobject, python-flask, python-cookies,
  python-responses, python-future, python-ply, python-wcwidth,
  python-prompt-toolkit, python-jedi, python-requests-oauthlib,
  python-pyserial, python-nltk, python-pymongo, python-sh, python-schematics,
  python-nltk, python-publicsuffix2, python-cachecontrol, python-lit,
  python-pytest-pep8, python-pytest-flakes, python-glances, python-betamax,
  python-file, python-flask-babel, python-furl, python-imagesize,
  python-orderedmultidict, python-pycodestyle, python-vcversioner,
  python-graphql-core, python-graphql-relay, python-validictory): Remove
  "python2-variant" property.
2016-11-15 22:29:00 +01:00
Hartmut Goebel 00e10c6e67
gnu: Remove python-setuptools and python2-setuptools from inputs (part 3)
This patch contains the changes where setuptools are used in an inherited
package and removing this input keeps the need for inheriting the package.

* gnu/packages/bioinformatics.scm (python2-biom-format): Remove
  python-setuptools respective python2-setuptools from [inputs],
  [native-inputs] and [propagated-inputs] in Python 2 packages inheriting from
  a Python 3 package.
* gnu/packages/python.scm (python2-pytest-mock,
  python2-oauthlib,
  python2-seaborn,
  python2-tornado,
  python2-terminado,
  python2-rauth,
  python2-anyjson,
  python2-amqp,
  python2-kombu,
  python2-billiard,
  python2-celery,
  python2-jellyfish,
  python2-binaryornot,
  python2-natsort,
  python2-graphene): Likewise.
* gnu/packages/statistics.scm (python2-statsmodels): Likewise.
2016-11-15 22:28:38 +01:00
Hartmut Goebel f3b98f4fec
gnu: Remove python-setuptools and python2-setuptools from inputs (part 2)
This patch contains the changes where removing setuptools from the inputs
affected some code-lines beside.

* gnu/packages/admin.scm (ansible): Remove all [inputs], [native-inputs] and
  [propagated-inputs] where python-setuptools or python2-setuptools are the
  sole entries. Remove python-setuptools and python2-setuptools listed on a
  line by its own from [inputs], [native-inputs] and [propagated-inputs].

* gnu/packages/backup.scm (duplicity): Likewise.
* gnu/packages/bioinformatics.scm (bamm, python2-pybedtools,
  python2-bx-python, python2-dendropy, python-pysam, python2-pysam, clipper,
  crossmap, cutadapt, deeptools, grit, idr, python2-warpedlmm,
  pbtranscript-tofu, seqmagick): Likewise.
* gnu/packages/docbook.scm (dblatex): Likewise.
* gnu/packages/freedesktop.scm (python-pyxdg, python2-pyxdg): Likewise.
* gnu/packages/lirc.scm (python2-lirc): Likewise.
* gnu/packages/mp3.scm (eyed3): Likewise.
* gnu/packages/nutrition.scm (gourmet): Likewise.
* gnu/packages/openstack.scm (python-hacking, python2-hacking,
  python-os-testr, python2-os-testr,
  python-stevedore, python2-stevedore,
  python-tempest-lib, python2-tempest-lib,
  python-oslo.log, python2-oslo.log,
  python-keystoneclient, python2-keystoneclient): Likewise.
* gnu/packages/password-utils.scm (assword): Likewise.
* gnu/packages/python.scm (python-passlib, python2-passlib,
  python-babel, python2-babel,
  python-parse-type,
  python-pytest, python2-pytest,
  python-scripttest, python2-scripttest,
  python-testtools, python2-testtools,
  python-testscenarios, python2-testscenarios,
  python-subunit, python2-subunit,
  python-pbr-0.11,
  python-pbr, python2-pbr,
  python-testrepository, python2-testrepository,
  behave,
  python-wheel, python2-wheel,
  python-requests, python2-requests,
  python-jsonschema, python2-jsonschema,
  python-pyjwt, python2-pyjwt,
  python-virtualenv, python2-virtualenv,
  python-jinja2, python2-jinja2,
  python-joblib, python2-joblib,
  python-sphinx, python2-sphinx,
  python-feedgenerator, python2-feedgenerator,
  python-scikit-image, python2-scikit-image,
  python-redis, python2-redis,
  python2-fastlmm,
  python-numpydoc, python2-numpydoc,
  python-matplotlib, python2-matplotlib,
  python2-pysnptools,
  python-rpy2, python2-rpy2,
  python-pillow, python2-pillow,
  python-pycparser, python2-pycparser,
  python-cffi, python2-cffi,
  python-cairocffi, python2-cairocffi,
  python-drmaa, python2-drmaa,
  python-pathpy, python2-pathpy,
  python-simplegeneric, python2-simplegeneric,
  python-ipython, python2-ipython,
  python-apsw, python2-apsw,
  python-lxml, python2-lxml,
  python-networkx, python2-networkx,
  python-pyzmq, python2-pyzmq,
  python-mccabe, python2-mccabe,
  python-mccabe-0.2.1,
  python-flake8, python2-flake8,
  python-flake8-2.2.4,
  python-mistune, python2-mistune,
  python-ptyprocess, python2-ptyprocess,
  python-llfuse, python2-llfuse,
  python-webob, python2-webob,
  python-xlrd, python2-xlrd,
  python-tables, python2-tables,
  python-pip, python2-pip,
  python-libarchive-c, python2-libarchive-c,
  python-docopt, python2-docopt,
  python-pyrfc3339, python2-pyrfc3339,
  python-configobj, python2-configobj,
  python-clint, python2-clint,
  python-rply, python2-rply,
  python2-rpython,
  python-widgetsnbextension, python2-widgetsnbextension
  jupyter,
  python-jupyter-console, python2-jupyter-console,
  python-hy, python2-hy,
  python-urllib3, python2-urllib3,
  python-rsa, python2-rsa,
  python-tox, python2-tox,
  python2-hypothesis,
  python-paste, python2-paste,
  python-pastescript, python2-pastescript,
  python2-unicodecsv,
  python-pkgconfig, python2-pkgconfig,
  python2-rope,
  python-sqlparse, python2-sqlparse,
  python-gevent, python2-gevent,
  python-tabulate, python2-tabulate,
  python-arrow, python2-arrow,
  python-cleo, python2-cleo,
  python-fake-factory, python2-fake-factory,
  ptpython): Likewise.
* gnu/packages/rdf.scm (python-rdflib, python2-rdflib): Likewise.
* gnu/packages/terminals.scm (asciinema): Likewise.
* gnu/packages/version-control.scm (git-annex-remote-hubic): Likewise.
* gnu/packages/xdisorg.scm (arandr): Likewise.
2016-11-15 22:27:31 +01:00
Hartmut Goebel f54d6bacbf
gnu: Remove python-setuptools and python2-setuptools from inputs (part 1a)
This patch contains the changes in python.scm where removing setuptools from
the inputs could be achieved by removing complete lines.

* gnu/packages/python.scm (python-psutil, python2-psutil,
  python-py-bcrypt, python2-py-bcrypt,
  python-paramiko, python2-paramiko,
  python-httplib2, python2-httplib2,
  python-ecdsa, python2-ecdsa,
  python-ccm, python2-ccm,
  python2-backport-ssl-match-hostname,
  python-pycrypto, python2-pycrypto,
  python-six, python2-six,
  python-dateutil, python2-dateutil,
  python2-mechanize,
  python-extras, python2-extras,
  python-mimeparse, python2-mimeparse,
  python-nose, python2-nose,
  python-nose2, python2-nose2,
  python-unittest2, python2-unittest2,
  python-py, python2-py,
  python-testresources, python2-testresources,
  python-fixtures-0.3.16,
  python-fixtures, python2-fixtures,
  python-coverage, python2-coverage,
  python-discover, python2-discover,
  python-exif-read, python2-exif-read,
  python-pyld, python2-pyld,
  python-certifi, python2-certifi,
  python-click, python2-click,
  python-vcversioner, python2-vcversioner,
  python-unidecode, python2-unidecode,
  python-pyyaml, python2-pyyaml,
  python-markupsafe, python2-markupsafe,
  python-pystache, python2-pystache,
  python-docutils, python2-docutils,
  python-pygments, python2-pygments,
  python-sphinx-rtd-theme, python2-sphinx-rtd-theme,
  python-blinker, python2-blinker,
  python-rq, python2-rq,
  python-numpy, python2-numpy,
  python-distutils-extra, python2-distutils-extra,
  python2-elib.intl,
  python-pillow, python2-pillow,
  python-xcffib, python2-xcffib,
  python-decorator, python2-decorator,
  python-gridmap, python2-gridmap,
  python-pickleshare, python2-pickleshare,
  python-isodate, python2-isodate,
  python-html5lib, python2-html5lib,
  python2-cssutils,
  python-cssselect, python2-cssselect,
  python-netifaces, python2-netifaces,
  python-sympy, python2-sympy,
  python-testlib, python2-testlib,
  python2-xlib,
  python-singledispatch, python2-singledispatch,
  python-backports-abc, python2-backports-abc,
  python-pep8, python2-pep8,
  python-pyflakes, python2-pyflakes,
  python-fonttools, python2-fonttools,
  python-ly,
  python-appdirs, python2-appdirs,
  python-netaddr, python2-netaddr,
  python-wrapt, python2-wrapt,
  python-iso8601, python2-iso8601,
  python-monotonic, python2-monotonic,
  python-prettytable, python2-prettytable,
  python-pyasn1-modules, python2-pyasn1-modules,
  python-idna, python2-idna,
  python-pretend, python2-pretend,
  python-cryptography-vectors, python2-cryptography-vectors,
  python-cryptography, python2-cryptography,
  python-pyopenssl, python2-pyopenssl,
  python-debian, python2-debian,
  python-chardet, python2-chardet,
  python-zope-event, python2-zope-event,
  python-zope-i18nmessageid, python2-zope-i18nmessageid,
  python-websocket-client, python2-websocket-client,
  python-args, python2-args,
  python-astor, python2-astor,
  python2-functools32,
  python2-futures,
  python2-promise,
  python-colorama, python2-colorama,
  python-pluggy, python2-pluggy,
  python-jmespath, python2-jmespath,
  python-botocore, python2-botocore,
  awscli,
  python-pytest-subtesthack, python2-pytest-subtesthack,
  python-pastedeploy, python2-pastedeploy,
  python-magic, python2-magic,
  python2-s3cmd,
  python2-bz2file,
  python-cysignals, python2-cysignals,
  python-py3status,
  python-tblib, python2-tblib,
  python-greenlet, python2-greenlet,
  python-twisted, python2-twisted,
  python-kazoo, python2-kazoo,
  python-pykafka, python2-pykafka,
  python2-jsonrpclib,
  python-chai, python2-chai,
  python-inflection, python2-inflection,
  python-pylev, python2-pylev,
  python-lazy-object-proxy, python2-lazy-object-proxy,
  python-dnspython, python2-dnspython,
  python-email-validator, python2-email-validator,
  python-ukpostcodeparser, python2-ukpostcodeparser,
  python-pyaml, python2-pyaml,
  python-flexmock, python2-flexmock,
  python-orator, python2-orator,
  python-bleach, python2-bleach,
  python-ipywidgets, python2-ipywidgets,
  python-nbconvert, python2-nbconvert,
  python-nbformat, python2-nbformat,
  python-axolotl-curve25519, python-axolotl2-curve25519,
  python-axolotl, python2-axolotl,
  python-nautilus, python-s3transfer): Remove python-setuptools and
  python2-setuptools from [inputs], [native-inputs] or [propagated-inputs].
  Remove [inputs], [native-inputs] and [propagated-inputs] where
  python-setuptools or python2-setuptools were the sole entry.
2016-11-15 21:54:58 +01:00
Hartmut Goebel 15e57f5762
gnu: python-2.7: Add all guix prefixes in PYTHONPATH to site-prefixes.
* gnu/packages/patches/python-2.7-site-prefixes.patch: New file.
* gnu/packages/python.scm (python-2)[source]: Use it.
* gnu/local.mk (dist_patch_DATA): Add patch.
2016-11-15 17:37:48 +01:00
Hartmut Goebel aaf75c890b
gnu: ensure pip and setuptools are installed even for Python 2.
* gnu/packages/python.scm (python-2.7): Add "--with-ensurepip=install" to
  configure-flags.
* doc/guix.texi (Python Modules): Document it.
2016-11-15 17:37:40 +01:00
Efraim Flashner 538fe01934
gnu: python-vcversioner: Update to 2.16.0.0.
* gnu/packages/python.scm (python-vcversioner): Update to 2.16.0.0.
[inputs]: Remove python-setuptools.
[properties]: New field.
(python2-vcversioner): Use 'strip-python2-variant'.
[native-inputs]: Add python2-setuptools.
2016-11-15 09:45:28 +02:00
Efraim Flashner 8bcd6b91ff
gnu: python-jsonschema: Use 'nosetests'.
* gnu/packages/python.scm (python-jsonschema)[arguments]: Replace 'check
phase with python nosetests.
[native-inputs]: Add python-nose.
[home-page]: Use https.
(python2-jsonschema)[native-inputs]: Add python2-mock.
2016-11-14 22:49:50 +02:00
Ludovic Courtès 2cab1dd58b
Merge branch 'core-updates' 2016-11-13 00:34:16 +01:00
Danny Milosavljevic 0a7f17f0e0
gnu: Add python-flask-restplus.
* gnu/packages/python.scm (python-flask-restplus): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-11-12 16:17:40 +01:00
Danny Milosavljevic 1e6112d89f
gnu: Add python-rednose.
* gnu/packages/python.scm (python-rednose): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-11-12 16:15:08 +01:00
Danny Milosavljevic e2fca4906e
gnu: Add python-termstyle.
* gnu/packages/python.scm (python-termstyle): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-11-12 16:10:23 +01:00
Leo Famulari aba5182c69
gnu: python-pillow: Update to 3.3.3 [fixes CVE-2016-{9189,9190}].
* gnu/packages/python.scm (python-pillow, python2-pillow): Update to 3.3.3.
2016-11-10 18:17:50 -05:00
Marius Bakke eaba9d6670
gnu: python-jsonschema: Correct inputs.
* gnu/packages/python.scm (python-jsonschema)[inputs]: Remove
python-setuptools. Move python-vcversioner to ...
[native-inputs]: ... here.
* gnu/packages/python.scm (python2-jsonschema)[inputs]: Move
python2-functools32 to ...
[propagated-inputs]: ... here.
[native-inputs]: Add python2-setuptools.
2016-11-08 18:22:07 +00:00
Marius Bakke 912dcbad86
gnu: python-cryptography, python-cryptography-vectors: Update to 1.5.3.
* gnu/packages/python.scm (python-cryptography, python2-cryptography):
Update to 1.5.3.
[native-inputs]: Add python-pytz. Change python-pytest to python-pytest-2.9.2.
(python-cryptography-vectors, python2-cryptography-vectors): Update to 1.5.3.
2016-11-08 16:14:15 +00:00
Leo Famulari fca4ff3559
gnu: Add python-pytest-2.9.2.
* gnu/packages/python.scm (python-pytest-2.9.2): New variable.
2016-11-08 16:14:04 +00:00
Danny Milosavljevic 6a686b18e0
gnu: python-sqlalchemy-utils: Mention optional dependencies in description.
* gnu/packages/python.scm (python-sqlalchemy-utils,
python2-sqlalchemy-utils)[description]: Mention optional dependencies.

Signed-off-by: Leo Famulari <leo@famulari.name>
2016-11-07 12:49:03 -05:00
Mark H Weaver 71e21fb26d
Merge branch 'master' into core-updates 2016-11-07 00:33:16 -05:00
Danny Milosavljevic 26d07efb79
gnu: python-sqlalchemy-utils: Use python-pytest.
* gnu/packages/python.scm (python-sqlalchemy-utils)[native-inputs]: Add
python-pytest.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
2016-11-06 19:53:15 +00:00
Danny Milosavljevic c22b4f87c2
gnu: python-sqlalchemy-utils: Propagate existing inputs.
* gnu/packages/python.scm (python-sqlalchemy-utils)[inputs]: Move to ...
[propagated-inputs]: ... here.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
2016-11-06 19:53:14 +00:00
Danny Milosavljevic 462bf27157
gnu: Add python-flask-babel.
* gnu/packages/python.scm (python-flask-babel, python2-flask-babel):
  New variables.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
2016-11-06 19:53:14 +00:00
Danny Milosavljevic 9dede065ba
gnu: Add python-furl.
* gnu/packages/python.scm (python-furl, python2-furl): New variables.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
2016-11-06 19:53:14 +00:00
Danny Milosavljevic b91912c42a
gnu: Add python-orderedmultidict.
* gnu/packages/python.scm (python-orderedmultidict, python2-orderedmultidict):
  New variables.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
2016-11-06 19:53:13 +00:00
Danny Milosavljevic 4a0933307e
gnu: Add python-pycodestyle.
* gnu/packages/python.scm (python-pycodestyle, python2-pycodestyle):
  New variables.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
2016-11-06 19:53:13 +00:00
Mark H Weaver 8b6ad165d1
Merge branch 'master' into core-updates 2016-11-06 03:29:06 -05:00
Leo Famulari 683cdbf51b
gnu: python-axolotl-curve25519: Fix license.
* gnu/packages/python.scm (python-axolotl-curve25519,
python2-axolotl-curve25519)[license]: Replace ISC with BSD-3.
2016-11-05 16:34:14 -04:00
Arun Isaac 06ff083754
gnu: Add python-axolotl.
* gnu/packages/python.scm (python-axolotl, python2-axolotl): New variables.

Signed-off-by: Leo Famulari <leo@famulari.name>
2016-11-05 16:32:19 -04:00
Arun Isaac 2f6dd9cdef
gnu: Add python-axolotl-curve25519.
* gnu/packages/python.scm (python-axolotl-curve25519,
  python2-axolotl-curve25519): New variables.

Signed-off-by: Leo Famulari <leo@famulari.name>
2016-11-05 16:32:15 -04:00
Leo Famulari 9422c98a0a
gnu: python-imagesize: Disable the test suite.
* gnu/packages/python.scm (python-imagesize, python2-imagesize)[arguments]:
Disable the tests.
2016-11-05 14:13:39 -04:00
ng0 02f8f804f0
gnu: Add python-pafy.
* gnu/packages/python.scm (python-pafy): New variable.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
2016-11-05 12:27:12 +00:00
Ricardo Wurmus c27ae827da
gnu: Add jupyter.
* gnu/packages/python.scm (jupyter): New variable.
2016-11-04 21:23:08 +01:00
Ricardo Wurmus accd5f996e
gnu: python-ipython: Update to 4.0.0.
* gnu/packages/python.scm (python-ipython): Update to 4.0.0.
[inputs]: Keep only "readline" and "which"; move the remaining inputs
to propagated-inputs, except for "python-requests" and "python-nose"
which are moved to native-inputs.
[propagated-inputs]: Add "python-pexpect", "python-pickleshare",
"python-simplegeneric", "python-traitlets", "python-ipykernel".
[native-inputs]: Add "python-testpath".
[arguments]: Enable building of HTML documentation.
[source]: Remove patch.
* gnu/packages/patches/python-ipython-inputhook-ctype.patch: Remove
patch.
* gnu/local.mk (dist_patch_DATA): Remove it.
2016-11-04 21:23:07 +01:00
Ricardo Wurmus 8ceebf8fa6
gnu: Add python-jupyter-console.
* gnu/packages/python.scm (python-jupyter-console,
python2-jupyter-console): New variable.
2016-11-04 21:23:07 +01:00
Ricardo Wurmus 4fe2e34409
gnu: Add python-ipywidgets.
* gnu/packages/python.scm (python-ipywidgets, python2-ipywidgets): New
variables.
2016-11-04 21:23:06 +01:00
Ricardo Wurmus d55724ed5b
gnu: Add python-widgetsnbextension.
* gnu/packages/python.scm (python-widgetsnbextension,
python2-widgetsnbextension): New variables.
2016-11-04 21:23:06 +01:00
Ricardo Wurmus a0d62280f5
gnu: Add python-notebook.
* gnu/packages/python.scm (python-notebook, python2-notebook): New
variables.
2016-11-04 21:23:05 +01:00
Ricardo Wurmus c60898a845
gnu: Add python-nbconvert.
* gnu/packages/python.scm (python-nbconvert, python2-nbconvert): New
variables.
2016-11-04 21:23:05 +01:00
Ricardo Wurmus 60590a3ae8
gnu: Add python-entrypoints.
* gnu/packages/python.scm (python-entrypoints, python2-entrypoints): New
variables.
2016-11-04 21:23:04 +01:00
Ricardo Wurmus 55436048d8
gnu: Add python-bleach.
* gnu/packages/python.scm (python-bleach, python2-bleach): New
variables.
2016-11-04 11:32:35 +01:00