me
/
guix
Archived
1
0
Fork 0
Commit Graph

2200 Commits (a6184bee6fd01c6cfac5b51d1020a8ba6d9c61de)

Author SHA1 Message Date
Marius Bakke ed709ee954
gnu: Python@2: Update to 2.7.16.
* gnu/packages/patches/python2-CVE-2018-1000802.patch,
gnu/packages/patches/python2-CVE-2018-14647.patch: Delete files.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
* gnu/packages/python.scm (python-2.7): Update to 2.7.16.
[source](patches): Remove obsolete.
2019-03-04 22:58:56 +01:00
Marius Bakke 4e3a7d8461
gnu: Python: Consolidate test patches.
While at it, adjust patches for -p1 patch flag.

* gnu/packages/patches/python-fix-tests.patch: Delete file.  Move contents ...
* gnu/packages/patches/python-3-fix-tests.patch: ... here.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
* gnu/packages/python.scm (python-3.7)[source](patches): Remove obsolete.
[source](patch-flags): Remove.
* gnu/packages/patches/python-3-deterministic-build-info.patch,
gnu/packages/patches/python-3-search-paths.patch: Adjust for `patch -p1`.
2019-02-23 20:44:36 +01:00
Marius Bakke 901236474a
Merge branch 'staging' into core-updates 2019-02-20 17:19:00 +01:00
Efraim Flashner 20801f9da8
gnu: Add micropython.
* gnu/packages/python.scm (micropython): New variable.
2019-02-20 09:09:47 +02:00
Ricardo Wurmus d41f63942b
gnu: python-2.7: Rebuild bytecode.
Fixes <https://bugs.gnu.org/22010>.

* gnu/packages/python.scm (python-2.7)[arguments]: Add phase
"rebuild-bytecode".
(python-3.7)[arguments]: Replace "rebuild-bytecode" phase; remove outdated
comment.
2019-02-08 10:26:53 +01:00
Marius Bakke 28ae145ba6
gnu: python: Update to 3.7.2.
* gnu/packages/python.scm (python-3.7): Update to 3.7.2.
2019-02-07 22:10:17 +01:00
Marius Bakke 027250f1a6
gnu: python2: Incorporate grafted changes.
* gnu/packages/python.scm (python-2.7)[source](patches): Add
python2-CVE-2018-14647.patch and python2-CVE-2018-1000802.patch.
[replacement]: Remove field.
(python-2/fixed): Remove variable.
2019-02-07 22:10:16 +01:00
Ricardo Wurmus ba88eea2b3
Merge branch 'master' into core-updates 2019-02-06 13:03:26 +01:00
Eric Bavier 3292219097
gnu: python2: Fix test flags.
Reverts a988393997 in favor of a cleaner
approach.

* gnu/packages/python.scm (python-2.7)[arguments]: 'EXTRATESTOPTS' ->
'TESTOPTS'.  This overrides the default '-l' argument for memory leak checks
which is not compatible with the -j for parallelism.
2019-01-22 22:00:50 -06:00
Christopher Baines 85e4579469
gnu: python-futures: Enable tests.
Re-enable the tests, as the python-2 package now has the support
directory. Also, switch to running the tests via the test_futures.py script to
avoid errors like:

  AttributeError: 'AsCompletedTests' object has no attribute 'executor'

* gnu/packages/python.scm (python2-futures)[arguments]: Run the
test_futures.py script to run the tests.
2019-01-21 19:51:52 +00:00
Christopher Baines d453b0e11d
gnu: python-2.7: Include /lib/python.../test/support.
Don't remove the support directory from the /lib/python.../test/ directory, as
this is used from the test_support module.

  /gnu/store/...-python2-2.7.15/lib/python2.7/test/test_support.py:2: in <module>
      import test.support
  E   ImportError: No module named support

* gnu/packages/python.scm (python-2.7)[arguments]: Change the 'remove-tests
phase to not remove the support directory.
2019-01-21 19:51:41 +00:00
Ricardo Wurmus 255d1bbe77
gnu: Move dbm databases to new module.
* gnu/packages/databases.scm (gdbm, bdb, bdb-5.3): Move from here...
* gnu/packages/dbm.scm: ...to this new module.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/audio.scm,
gnu/packages/avahi.scm,
gnu/packages/backup.scm,
gnu/packages/cobol.scm,
gnu/packages/cyrus-sasl.scm,
gnu/packages/databases.scm,
gnu/packages/finance.scm,
gnu/packages/game-development.scm,
gnu/packages/gnome.scm,
gnu/packages/guile.scm,
gnu/packages/ibus.scm,
gnu/packages/kerberos.scm,
gnu/packages/linux.scm,
gnu/packages/mail.scm,
gnu/packages/man.scm,
gnu/packages/nvi.scm,
gnu/packages/openldap.scm,
gnu/packages/package-management.scm,
gnu/packages/php.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python.scm,
gnu/packages/rdf.scm,
gnu/packages/ruby.scm,
gnu/packages/sawfish.scm: Update module references.
2019-01-16 16:08:22 +01:00
Ricardo Wurmus cd0322a3ef
gnu: Move sqlite to separate module.
* gnu/packages/databases.scm (sqlite, sqlite-3.26.0, sqlite-with-fts5,
sqlite-with-column-metadata): Move variables from here...
* gnu/packages/sqlite.scm: ...to this new module.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/apl.scm,
gnu/packages/bittorrent.scm,
gnu/packages/calendar.scm,
gnu/packages/code.scm,
gnu/packages/crypto.scm,
gnu/packages/databases.scm,
gnu/packages/dc.scm,
gnu/packages/disk.scm,
gnu/packages/ebook.scm,
gnu/packages/education.scm,
gnu/packages/emacs.scm,
gnu/packages/emulators.scm,
gnu/packages/file-systems.scm,
gnu/packages/freedesktop.scm,
gnu/packages/ftp.scm,
gnu/packages/games.scm,
gnu/packages/geo.scm,
gnu/packages/gnome.scm,
gnu/packages/gnunet.scm,
gnu/packages/gnupg.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/gps.scm,
gnu/packages/guile.scm,
gnu/packages/ibus.scm,
gnu/packages/kerberos.scm,
gnu/packages/kodi.scm,
gnu/packages/lisp.scm,
gnu/packages/mail.scm,
gnu/packages/messaging.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/nfs.scm,
gnu/packages/ocaml.scm,
gnu/packages/package-management.scm,
gnu/packages/pdf.scm,
gnu/packages/photo.scm,
gnu/packages/php.scm,
gnu/packages/python.scm,
gnu/packages/qt.scm,
gnu/packages/ruby.scm,
gnu/packages/scheme.scm,
gnu/packages/sync.scm,
gnu/packages/syndication.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/web-browsers.scm,
gnu/packages/webkit.scm: Adjust module references.
2019-01-16 16:08:22 +01:00
Ricardo Wurmus 44d10b1f72
gnu: Separate Python core packages from the rest.
* gnu/packages/python.scm: Move hundreds of package definitions from here...
* gnu/packages/python-xyz.scm: ...to this new module.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/android.scm,
gnu/packages/audio.scm,
gnu/packages/backup.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/calendar.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/cluster.scm,
gnu/packages/compression.scm,
gnu/packages/connman.scm,
gnu/packages/crypto.scm,
gnu/packages/cups.scm,
gnu/packages/databases.scm,
gnu/packages/dav.scm,
gnu/packages/direct-connect.scm,
gnu/packages/disk.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/docker.scm,
gnu/packages/ebook.scm,
gnu/packages/elf.scm,
gnu/packages/emacs.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/enlightenment.scm,
gnu/packages/finance.scm,
gnu/packages/fltk.scm,
gnu/packages/fontutils.scm,
gnu/packages/freedesktop.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/geo.scm,
gnu/packages/gl.scm,
gnu/packages/glib.scm,
gnu/packages/gnome.scm,
gnu/packages/gnupg.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/gtk.scm,
gnu/packages/ham-radio.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/irc.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/kde-frameworks.scm,
gnu/packages/key-mon.scm,
gnu/packages/libffi.scm,
gnu/packages/libreoffice.scm,
gnu/packages/libusb.scm,
gnu/packages/lirc.scm,
gnu/packages/logging.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/mate.scm,
gnu/packages/maths.scm,
gnu/packages/medical.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mp3.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/nutrition.scm,
gnu/packages/openldap.scm,
gnu/packages/openstack.scm,
gnu/packages/package-management.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/photo.scm,
gnu/packages/polkit.scm,
gnu/packages/protobuf.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/qt.scm,
gnu/packages/rdf.scm,
gnu/packages/ruby.scm,
gnu/packages/search.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/simulation.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/storage.scm,
gnu/packages/sync.scm,
gnu/packages/terminals.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tls.scm,
gnu/packages/tor.scm,
gnu/packages/tryton.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/virtualization.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wicd.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xorg.scm: Update module references.
2019-01-15 14:46:44 +01:00
Ricardo Wurmus c4153008f7
gnu: python-numpy-documentation: Add missing packages to texlive-union.
* gnu/packages/python.scm (python-numpy-documentation)[native-inputs]: Add
texlive-fonts-cm-super and texlive-latex-needspace to texlive-union.
2019-01-15 13:05:22 +01:00
Eric Bavier 974537fc4c
gnu: python-pycodestyle: Fix build with Python 3.7.
* gnu/packages/patches/python-pycodestyle-stdlib-tokenize-fix.patch: New
patch.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/python.scm (python-pycodestyle)[source]: Use it.
2019-01-14 15:34:54 -06:00
Christopher Baines a988393997
gnu: python-2.7: Fix build.
The -j flag is passed in through #:make-flags and EXTRATESTOPTS. This is
combined with the TESTOPTS, and in Python 2, that includes the -l flag by
default.

The -l flag, is for finding memory leaks in tests, and is incompatible with
the -j flag, and the build previously failed at the start of the 'check
phase. Therefore, remove the -l flag from the Python 2 testsuite, as it
doesn't sound like a useful thing to do when building the package for Guix.

* gnu/packages/python.scm (python-2.7): Add 'remove-findleaks-from-testopts
phase.
2019-01-13 22:47:29 +00:00
Christopher Baines 24a23bea20
gnu: Add python-miniboa.
python2-miniboa is required for the linkchecker testsuite.

* gnu/packages/python.scm (python-miniboa, python2-miniboa): New variable.
2019-01-13 20:47:40 +00:00
Christopher Baines c4aa1ebc81
gnu: python-pillow: Update to 5.4.1.
I'm looking at this, as this release fixes an issue with the Django testsuite:

https://github.com/python-pillow/Pillow/pull/3525

* gnu/packages/python.scm (python-pillow): Update to 5.4.1.
2019-01-13 17:09:52 +00:00
Ricardo Wurmus 9e7f55de45
gnu: Add python-doctest-ignore-unicode.
* gnu/packages/python.scm (python-doctest-ignore-unicode): New variable.
2019-01-13 10:07:06 +01:00
Kei Kebreau ea600ff709
gnu: python-pillow: Update homepage.
* gnu/packages/python.scm (python-pillow)[homepage]: Update URL.
2019-01-12 16:39:26 -05:00
Kei Kebreau acbf312573
gnu: python-pillow: Update to 5.4.0
* gnu/packages/python.scm (python-pillow): Update to 5.4.0.
[arguments]: Add 'patch-ldconfig' phase.
2019-01-12 16:38:36 -05:00
Efraim Flashner ab7aa06cac
gnu: python-pygit2: Update to 0.27.3.
* gnu/packages/python.scm (python-pygit2): Update to 0.27.3.
[arguments]: Add custom phase to compile with cffi support. Add custom
phase to not require specific versions of python-cffi.
[native-inputs]: Add python-pytest.
2019-01-09 20:25:50 +02:00
Ricardo Wurmus 61f2587db9
gnu: python-rpy2: Move to (gnu packages statistics).
* gnu/packages/python.scm (python-rpy2): Move from here...
* gnu/packages/statistics.scm (python-rpy2): ...to here.
2019-01-07 15:55:06 +01:00
Ludovic Courtès 915c6bf60c
gnu: python2-fastlmm: Move to machine-learning.scm.
This is a step towards removing OCaml modules from the closure
of (gnu packages python).

* gnu/packages/python.scm (python2-fastlmm): Move to...
* gnu/packages/machine-learning.scm (python2-fastlmm): ... here.
2019-01-07 14:41:01 +01:00
Efraim Flashner 99e61f3022
gnu: python-pyicu: Update to 2.2.
* gnu/packages/python.scm (python-pyicu): Update to 2.2.
2019-01-06 11:09:59 +02:00
Efraim Flashner a0bb4af215
gnu: python-pysocks: Update to 1.6.8.
* gnu/packages/python.scm (python-pysocks): Update to 1.6.8.
2019-01-06 11:09:58 +02:00
Efraim Flashner 1fb68eefa1
gnu: python-packaging: Update to 18.0.
* gnu/packages/python.scm (python-packaging): Update to 18.0.
2019-01-06 11:09:58 +02:00
Efraim Flashner 3cf324665d
gnu: python-astroid: Update to 2.1.0.
* gnu/packages/python.scm (python-astroid): Update to 2.1.0.
2019-01-06 11:09:58 +02:00
Efraim Flashner 36df69d6fe
gnu: python-imagesize: Update to 1.1.0.
* gnu/packages/python.scm (python-imagesize): Update to 1.1.0.
2019-01-06 11:09:57 +02:00
Efraim Flashner 46930b7ea9
gnu: python-sphinx-alabaster-theme: Update to 0.7.12.
* gnu/packages/python.scm (python-sphinx-alabaster-theme): Update to 0.7.12.
2019-01-06 11:09:57 +02:00
Ricardo Wurmus 9fb5771af7
gnu: jupyter: Add missing dependency.
* gnu/packages/python.scm (jupyter)[propagated-inputs]: Add python-qtconsole.
[home-page]: Use https URL.
[arguments]: Update comment on why tests are disabled.
2019-01-02 16:33:57 +01:00
Ricardo Wurmus 38306e1168
gnu: Add python-qtconsole.
* gnu/packages/python.scm (python-qtconsole): New variable.
2019-01-02 16:33:57 +01:00
Ricardo Wurmus 91dd8b3687
gnu: python-notebook: Update to 5.7.4.
* gnu/packages/python.scm (python-notebook): Update to 5.7.4.
[arguments]: Use INVOKE for tests.
[propagated-inputs]: Remove python-ipython; add python-prometheus-client,
python-send2trash, and python-terminado.
2019-01-02 16:33:57 +01:00
Ricardo Wurmus 493e5e6daa
gnu: python-jupyter-console: Fix inputs.
* gnu/packages/python.scm (python-jupyter-console)[propagated-inputs]: Remove
python-ipython; replace python-prompt-toolkit with python-prompt-toolkit-1.
[native-inputs]: Add python-nose.
2019-01-02 16:33:57 +01:00
Ricardo Wurmus 4fc112b452
gnu: python-ipython: Remove dependency on python-jupyter-core-minimal.
* gnu/packages/python.scm (python-ipython)[propagated-inputs]: Remove
python-jupyter-core-minimal.
2019-01-02 16:33:57 +01:00
Ricardo Wurmus 88bf9be38e
gnu: python-ipywidgets: Enable tests.
* gnu/packages/python.scm (python-ipywidgets)[arguments]: Remove.
[native-inputs]: Add python-nose and python-pytest.
[propagated-inputs]: Remove python-ipykernel.
2019-01-02 16:33:57 +01:00
Ricardo Wurmus fec14302d5
gnu: python-widgetsnbextension: Update to 3.4.2.
* gnu/packages/python.scm (python-widgetsnbextension): Update to 3.4.2.
[propagated-inputs]: Add python-ipykernel.
2019-01-02 16:33:57 +01:00
Ricardo Wurmus b6fc288e57
gnu: Add python-send2trash.
* gnu/packages/python.scm (python-send2trash, python2-send2trash): New
variables.
2019-01-02 16:33:57 +01:00
Ricardo Wurmus abe50aa369
gnu: Add python-prometheus-client.
* gnu/packages/python.scm (python-prometheus-client,
python2-prometheus-client): New variables.
2019-01-02 16:33:57 +01:00
Ricardo Wurmus ffabccb22f
gnu: python-jupyter-client: Update to 5.2.4.
* gnu/packages/python.scm (python-jupyter-client): Update to 5.2.4.
2019-01-02 16:33:57 +01:00
Ricardo Wurmus 75246daff2
gnu: python-ipython: Break dependency on python-ipykernel.
* gnu/packages/python.scm (python-ipython)[propagated-inputs]: Remove
python-ipykernel.
[arguments]: Delete more broken tests.
2019-01-02 16:33:57 +01:00
Ricardo Wurmus f0eb442c20
gnu: python-ipykernel: Update to 5.1.0.
* gnu/packages/python.scm (python-ipykernel): Update to 5.1.0.
[arguments]: Enable tests.
[propagated-inputs]: Add python-ipython.
[native-inputs]: Add python-pytest and python-nose.
2019-01-02 16:33:57 +01:00
Ricardo Wurmus 92a9f93615
gnu: python-ipython: Update to 5.8.0.
* gnu/packages/python.scm (python-ipython): Update to 5.8.0.
[propagated-inputs]: Replace python-prompt-toolkit with
python-prompt-toolkit-1.
[arguments]: Use INVOKE in the "check" phase; return #T from the "fix-tests"
phase.
2019-01-02 16:33:56 +01:00
Ricardo Wurmus 464cb5b55d
gnu: Add python-prompt-toolkit-1.
* gnu/packages/python.scm (python-prompt-toolkit-1, python2-prompt-toolkit-1):
New variables.
2019-01-02 16:33:56 +01:00
Ricardo Wurmus 80486d6673
gnu: python-prompt-toolkit: Update to 2.0.7.
* gnu/packages/python.scm (python-prompt-toolkit): Update to 2.0.7.
[arguments]: Enable tests; add phase "post-install-check" and delete "check"
phase.
[native-inputs]: Add python-pytest.
2019-01-02 16:33:56 +01:00
Ricardo Wurmus eecaf17086
gnu: python-hy: Use INVOKE.
* gnu/packages/python.scm (python-hy)[arguments]: Use INVOKE.
2019-01-02 16:33:56 +01:00
Ricardo Wurmus 13e7c884c7
gnu: python-clint: Use INVOKE.
* gnu/packages/python.scm (python-clint)[arguments]: Use INVOKE.
2019-01-02 16:33:56 +01:00
Ricardo Wurmus ec933e05a2
gnu: python-configargparse: Use INVOKE.
* gnu/packages/python.scm (python-configargparse)[arguments]: Use INVOKE.
2019-01-02 16:33:56 +01:00
Ricardo Wurmus cd70798a23
gnu: python-docopt: Use INVOKE.
* gnu/packages/python.scm (python-docopt)[arguments]: Use INVOKE.
2019-01-02 16:33:53 +01:00