Commit graph

16213 commits

Author SHA1 Message Date
Hartmut Goebel 5d85493284
gnu: Remove python-setuptools and python2-setuptools from inputs (part 1b)
This patch contains the changes in all modules beside python.scm where
removing setuptools from the inputs could be achieved by removing complete
lines.

* gnu/packages/admin.scm (graphios, thefuck): 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 (rdiff-backup): Likewise.
* gnu/packages/bioinformatics.scm (htseq, macs, python2-pbcore, rseqc,
  multiqc): Likewise.
* gnu/packages/django.scm (python-django, python2-django,
  python-django-simple-math-captcha, python2-django-simple-math-captcha):
  Likewise.
* gnu/packages/docker.scm (python-docker-py, docker-compose): Likewise.
* gnu/packages/game-development.scm (python-pygame): Likewise.
* gnu/packages/key-mon.scm (key-mon): Likewise.
* gnu/packages/mail.scm (khard): Likewise.
* gnu/packages/music.scm (beets, python2-pyechonest): Likewise.
* gnu/packages/openstack.scm (python-bandit, python2-bandit,
  python-debtcollector, python2-debtcollector,
  python-mox3, python2-mox3,
  python-os-client-config, python2-os-client-config,
  python-oslo.config, python2-oslo.config,
  python-oslo.context, python2-oslo.context,
  python-oslo.i18n, python2-oslo.i18n,
  python-oslo.serialization, python2-oslo.serialization,
  python-oslosphinx, python2-oslosphinx,
  python-oslotest, python2-oslotest,
  python-oslo.utils, python2-oslo.utils,
  python-swiftclient, python2-swiftclient): Likewise.
* gnu/packages/pdf.scm (pdfposter): Likewise.
* gnu/packages/tls.scm (python-acme, python2-acme): Likewise.
2016-11-15 21:58:44 +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 e442246a2f
lint: more packages to probably be a native input.
* guix/scripts/lint.scm (check-inputs-should-be-native package): Add python
  packages which are typically used for testing or for building the
  documentation.
2016-11-15 17:37:50 +01:00
Hartmut Goebel 891a843d51
guix: Add lint-checker for packages which should be no inputs at all.
Also refactor some common code into a new function.

Examples for these pacakges are python(2)-setuptools and python(2)-pip, which
are installed together with python itself.

* guix/scripts/lint.scm (warn-if-package-has-input): New procedure.
  (check-inputs-should-be-native package): Use it; rename and clean-up
  variables. (check-inputs-should-not-be-an-input-at-all): New procedure.
  (%checkers) Add it.
* doc/guix.texi (Python Modules): Document it.
* tests/lint.scm: ("inputs: python-setuptools should not be an input at all
  (input)", "inputs: python-setuptools should not be an input at all
  (native-input)" "inputs: python-setuptools should not be an input at all
  (propagated-input)"): Add tests.
2016-11-15 17:37:49 +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 c1019287a4
guix: python-build-system: Add background about Python installation methods. 2016-11-15 17:37:47 +01:00
Hartmut Goebel b002f964bb
guix: python-build-system: Delete .egg-info file created in phase check.
* guix/build/python-build-system.scm (check): Delete .egg-info dirs
  which did not exist prior to calling setup.py but afterwards.
2016-11-15 17:37:46 +01:00
Hartmut Goebel a2ff4f0240
guix: python-build-system: Add helpers for getting and setting PYTHONPATH.
* guix/build/python-build-system.scm (add-installed-pythonpath,
  site-packages): New exported procedures.
2016-11-15 17:37:45 +01:00
Hartmut Goebel 5f7565d190
guix: python-build-system: Add option "#:use-setuptools?" (default true).
* guix/build-system/python.scm (python-build): New keyword argument
  "#:use-setuptools?", defaulting to #t.
* guix/build/python-build-system.scm (call-setup-py): New positional
  parameter "use-setuptools?". If false, do not use the shim-wrapper
  for addin setuptools. (build, check): accept keyword-
  parameter, and pass to call-setuppy. (install): same; if
  "use-setuptools?" is false, do not use options "--root" and
  "--single-version-externally-managed" for setup.py.
* doc/guix.texi (Build Systems): Document it.
2016-11-15 17:37:44 +01:00
Marius Bakke 46bcdcc287
guix: python-build-system: Import setuptools before calling `setup.py'.
This is needed for packages using "distutils" instead of "setuptools" since
the former does not understand the "--single-version-externally-managed"
flag. Also export __file__ since it will be unset when setup.py is called from
python "exec".

* guix/build/python-build-system.scm (call-setuppy): extend "python setup.py"
  call to import setuptools, export __file__, and call setup.py from
  setuptools python environment.

Co-Authored-By: Hartmut Goebel <h.goebel@crazy-compilers.com>
2016-11-15 17:37:43 +01:00
Hartmut Goebel 7db40bce58
guix: build all Python packages with --single-version-externally-managed.
This requires setuptools to be installed together with python, which is
the case for Python 3 anyway and which we do for our build of Python 2
(see last commit).

* guix/build/python-build-system.scm (install): Add
  "--single-version-externally-managed" and "--root=/" to params to be
  passed to call-setuppy. Remove thus needless manipulation of
  PYTHONPATH. Remove now unused argument "inputs".
2016-11-15 17:37:41 +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
Hartmut Goebel 043a51c0c2
guix: python-build-system: Fix an outdated comment. 2016-11-15 17:37:39 +01:00
Efraim Flashner b02b9a520e
gnu: libmicrohttpd: Update to 0.9.52.
* gnu/packages/gnunet.scm (libmicrohttpd): Update to 0.9.52.
[home-page]: Use https.
2016-11-15 15:25:15 +02:00
Efraim Flashner f5a077b10f
gnu: octave: Update to 4.2.0.
* gnu/packages/maths.scm (octave): Update to 4.2.0.
[native-inputs]: Add lzip.
[home-page]: Use https.
2016-11-15 15:21:15 +02:00
Efraim Flashner fccab9931c
gnu: parallel: Update to 20161022.
* gnu/packages/parallel.scm (parallel): Update to 20161022.
[home-page]: Use https.
2016-11-15 11:45:53 +02:00
Efraim Flashner 6312043ca5
gnu: libcdio: Update to 0.94.
* gnu/packages/cdrom.scm (libcdio): Update to 0.94.
[home-page]: Use https.
2016-11-15 11:13:24 +02:00
Efraim Flashner 3ded2761ab
gnu: gvpe: Update to 3.0.
* gnu/packages/vpn.scm (gvpe): Update to 3.0.
2016-11-15 11:06:15 +02:00
Efraim Flashner 336f830961
gnu: cryptsetup: Update to 1.7.3.
* gnu/packages/cryptsetup.scm (cryptsetup): Update to 1.7.3.
2016-11-15 09:45:37 +02: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
Tobias Geerinckx-Rice 1f781865fb
gnu: fish: Update to 2.4.0.
* gnu/packages/shells.scm (fish): Update to 2.4.0.
2016-11-15 01:17:01 +01:00
Tomáš Čech e25c904f2c
services: Require wpa-supplicant-service for connman-service.
* gnu/services/networking.scm (connman-shepherd-service): Add
  wpa-supplicant among list of requirements.
2016-11-15 00:19:23 +01:00
Tomáš Čech 2cccbc2af2
services: Add wpa-supplicant-service.
* gnu/services/networking.scm (wpa-supplicant-service): New procedure.
(wpa-supplicant-service-type): New variable.
* doc/guix.texi (Networking Services): Document it.
2016-11-15 00:19:17 +01:00
Tomáš Čech 028bf3c0b2
gnu: connman: Use localstatedir outside of store.
* gnu/packages/connman.scm (connman): Use localstatedir outside of store.
2016-11-15 00:13:29 +01: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
Efraim Flashner 571ffdebc3
gnu: accountsservice: Update to 0.6.43.
* gnu/packages/freedesktop.scm (accountsservice): Update to 0.6.43.
2016-11-14 21:02:10 +02:00
Ludovic Courtès a4cb821791
gnu: guix-devel: Update development snapshot.
* gnu/packages/package-management.scm (guix-devel): Update to commit
7ca37da855.
2016-11-14 15:39:32 +01:00
Ludovic Courtès 198eac2bca
gnu: guix: Really skip all the container tests.
* gnu/packages/package-management.scm (guix-0.11.0)[arguments]: Update
pattern in 'disable-container-tests' to match 'test-equal'.
2016-11-14 15:39:32 +01:00
Tobias Geerinckx-Rice 88eaed6174
gnu: libpsl: Update to 0.15.0.
* gnu/packages/web.scm (libpsl): Update to 0.15.0.
2016-11-14 14:12:50 +01:00
Efraim Flashner 7ca37da855
gnu: libinput: Enable GUI event tool.
* gnu/packages/freedesktop.scm (libinput)[inputs]: Add glib.
[native-inputs]: Add cairo, gtk+-3.
(libinput-minimal)[native-inputs]: Only pkg-config.
2016-11-14 13:06:02 +02:00
Efraim Flashner 73bb984ec4
gnu: freedesktop.scm: Reorder modules alphabetically.
* gnu/packages/freedesktop.scm: Reorder modules alphabetically.
2016-11-14 12:15:40 +02:00
Efraim Flashner 8c5cdf5f20
gnu: libinput: Update to 1.5.1.
* gnu/packages/freedesktop.scm (libinput): Update to 1.5.1.
2016-11-14 12:12:26 +02:00
Efraim Flashner b231b057cd
gnu: wayland-protocols: Update to 1.7.
* gnu/packages/freedesktop.scm (wayland-protocols): Update to 1.7.
2016-11-14 11:55:01 +02:00
Andy Patterson e66f0dd232
gnu: mpv: Use lua@5.2.
* gnu/packages/video.scm (mpv)[inputs]: Change 'lua' to 'lua-5.2'.
2016-11-14 09:03:55 +00:00
Alex Sassmannshausen c91b368e96
import/cpan: Maybe coerce version to string.
* guix/import/cpan.scm (cpan-module->sexp) <version>: Test if version in
  meta is string or number.  If it is number, coerce to string.
2016-11-14 00:06:09 +01:00
Leo Famulari d9721bcf27
gnu: readline-6.2: Fix CVE-2014-2524.
* gnu/packages/patches/readline-6.2-CVE-2014-2524.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/readline.scm (readline-6.2): Use it.
2016-11-13 17:01:01 -05:00
Leo Famulari 27d7c4e93a
gnu: signify: Update to 20.
* gnu/packages/crypto.scm (signify): Update to 20.
2016-11-13 17:01:01 -05:00
Ludovic Courtès 142530178d
gnu: mailutils: Update to 3.0.
* gnu/packages/mail.scm (mailutils): Update to 3.0.
[arguments]: Adjust 'pre-build' phase.
* gnu/packages/patches/m4-gets-undeclared.patch: Remove.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
2016-11-13 21:12:32 +01:00
Efraim Flashner d81850d438
gnu: guile-ncurses: Update to 2.1.
* gnu/packages/guile.scm (guile-ncurses): Update to 2.1.
[home-page]: Use https.
2016-11-13 22:02:05 +02:00
Tobias Geerinckx-Rice 927d850512
gnu: btrfs-progs: Update to 4.8.3.
* gnu/packages/linux.scm (btrfs-progs): Update to 4.8.3.
2016-11-13 13:34:00 +01:00
Tobias Geerinckx-Rice 917239ff99
gnu: tidy: Use ‘modify-phases’.
* gnu/packages/web.scm (tidy)[arguments]: Use the ‘modify-phases’ syntax.
2016-11-13 13:34:00 +01:00
Tobias Geerinckx-Rice 3b0ac79500
gnu: protobuf: Replace dead Google Code home-page.
* gnu/packages/protobuf.scm (protobuf)[home-page]: Update it.
2016-11-13 13:33:59 +01:00
Tobias Geerinckx-Rice 3b0f2ba46b
gnu: exfat-utils: Update to 1.2.4.
* gnu/packages/mtools.scm (exfat-utils): Update to 1.2.4.
[source, home-page]: Move away from dead Google Code project.
[arguments, native-inputs]: Remove.
2016-11-13 13:33:59 +01:00
Andy Patterson a24b56fa8d
tests: Don't check file-systems in container tests.
Hello,

The containers test was hanging for me, and this patch fixed the
problem.

--
Andy

From 945ad44acf489b7f3a398d4ab739ec2b48477502 Mon Sep 17 00:00:00 2001
From: Andy Patterson <ajpatter@uwaterloo.ca>
Date: Sat, 12 Nov 2016 22:10:01 -0500
Subject: [PATCH] tests: Don't check file-systems in container tests.

* tests/containers.scm ("call-with-container, mnt namespace"): Don't
check file-system in 'call-with-container' call.
* tests/containers.scm
("call-with-container, mnt namespace, wrong bindmount"): Likewise.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-11-13 13:04:00 +01:00
Andy Patterson c25a51d5c6
gnu: clisp: Use readline@6.2.
* gnu/packages/lisp.scm (clisp)[inputs]: Use readline-6.2.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-11-13 13:00:44 +01:00
Ludovic Courtès 2cab1dd58b
Merge branch 'core-updates' 2016-11-13 00:34:16 +01:00
Efraim Flashner 15abcabe4e
gnu: Add newsbeuter.
* gnu/packages/syndication.scm: New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
2016-11-12 20:50:48 +02:00
Efraim Flashner c76dab7b36
gnu: Add stfl.
* gnu/packages/ncurses.scm (stfl): New variable.
2016-11-12 20:50:47 +02:00
Alex Sassmannshausen 8883b30165
gnu: Add perl-modern-perl.
* gnu/packages/perl.scm (perl-modern-perl): New variable.
2016-11-12 18:26:28 +01:00
Leo Famulari 5c66314bd9
gnu: libtiff: Fix CVE-2016-9273.
* gnu/packages/patches/libtiff-CVE-2016-9273.patch: New patch.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/image.scm (libtiff/fixed): Use it.
2016-11-12 11:05:19 -05:00