Commit graph

1519 commits

Author SHA1 Message Date
Domen Kožar
0206245aba Revert "Fix buildPythonPackage overriding."
This reverts commit 6a1de6d4a7.

It broke eval
2015-04-14 15:02:49 -04:00
Tom Hunger
6a1de6d4a7 Fix buildPythonPackage overriding.
makeOverridable takes a function and an argument, the parenthesis
caused there to be only one argument which works but cannot
be overridden.
2015-04-14 17:52:36 +01:00
aszlig
311aa5d8d9
python-wrapper: Handle strings at the beginning.
This should fix #7366 for now, but using the (IMHO) pragmatic approach
of extending the sed expression to recognize strings.

However, this approach is obviously not parsing the full AST, nor does
it wrap Python itself (as pointed out by @spwhitt in #7366) but tries to
match Python strings as best as possible without getting TOO unreadable.

We also use a little bit of Nix to help generating the SED expression,
because doing the whole quote matching block over and over again would
be quite repetitious and error-prone to change. The reason why I'm using
imap here is that we need to have unique labels to avoid jumping into
the wrong branch.

So the new expression is not only able to match continous regions of
triple-quoted strings, but also regions with only one quote character
(even with escaped inner quotes) and empty strings.

However, what it doesn't correctly recognize is something like this:

"string1" "string2" "multi
line
string"

Which is very unlikely that we'll find something like this in the wild.
Of course, we could handle it as well, but it would mean that we need to
substitute the current line into hold space until we're finished parsing
the strings, branch off to another label where we match multiline
strings of all sorts and swap hold/pattern space and finally print the
result. So to summarize: The SED expression would be 3 to 4 times bigger
than now and we gain very little from that.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2015-04-14 07:13:15 +02:00
koral
94af1ba4d7 glances: 2.1 -> 2.3 2015-04-12 20:59:04 +00:00
Austin Seipp
a7118b5e6a nixpkgs: python34Packages.rainbowstream 1.1.6 -> 1.2.5
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2015-04-12 10:28:36 -05:00
Austin Seipp
c14689c328 nixpkgs: python34Packages.arrow 0.4.4 -> 0.5.0
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2015-04-12 10:28:36 -05:00
Austin Seipp
0093d7a9ea nixpkgs: pythonPackages.obfsproxy 0.2.12 -> 0.2.13
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2015-04-12 10:28:36 -05:00
Bjørn Forsman
48b5ad912f python-pelican: add missing 'markupsafe' dependency
Needed to be able to run 'make serve' in a pelican directory, else this
happens:

  $ make serve
  cd /home/bfo/pelican-test/output && python -m pelican.server
  /run/current-system/sw/bin/python: No module named markupsafe
  make: *** [serve] Error 1
2015-04-12 17:18:13 +02:00
aszlig
54f58ee991
python-mccabe: Fix build due to missing tests.
Regression introduced by 56a6f22d7f.

I'm temporarily pulling in test_mccabe.py, as suggested by someone at
flintwork/mccabe#31, which for now should fix the build (and the tests
of course as well).

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2015-04-12 06:50:34 +02:00
Rok Garbas
56a6f22d7f pythonPackages: updates for many packages
* deform -> 2.0a2
* peppercorn -> 0.5
* pyramid -> 1.5.2
* pyramid_tm -> 0.10
* zope_deprecation -> 4.1.2
* venusian -> 1.0
* flake8 -> 2.3.0
* mccabe -> 0.3
* pg8000 -> 1.10.1
* turses -> 0.2.23
* urwid -> 1.3.0
* waitress -> 0.8.9
* translationstring -> 1.3
2015-04-11 17:00:07 +02:00
Bjørn Forsman
2c6f9b0c62 python-robotframework: update 2.8.6 -> 2.8.7
Release notes:
https://github.com/robotframework/robotframework/releases/tag/2.8.7
2015-04-11 14:18:19 +02:00
Charles Strahan
8757cc4eb0 awscli: update to 1.7.21 2015-04-09 19:24:46 -04:00
Arseniy Seroka
2425f27b17 Merge pull request #7280 from auntieNeo/blink
Bumped blink version to 1.2.2
2015-04-09 05:20:19 +03:00
Jonathan Glines
2b949cfd46 Bumped blink version to 1.2.2 2015-04-08 17:01:37 -06:00
Domen Kožar
158d444f78 Merge pull request #7262 from desiderius/colander-1.0
python-packages: update colander-1.0b to 1.0
2015-04-08 17:42:45 +02:00
John Wiegley
eda06c4768 Drop reference to unknown attribute "unknown" 2015-04-07 10:44:21 -05:00
Sander van der Burg
ee6406d234 python-dicttoxml: add package 2015-04-07 15:32:07 +00:00
desiderius
fca7bee0c1 python-packages: update colander-1.0b to 1.0 2015-04-07 15:21:29 +02:00
Erik Timan
e5989ee6e3 python-packages: add missing deps to azure 2015-04-07 09:52:29 +00:00
Erik Timan
db6de11341 python-packages: azure 0.9.0 -> 0.10.0
Also adds maintainer section.
2015-04-07 09:30:46 +00:00
Domen Kožar
64c0e6b7fa Merge pull request #7219 from rzetterberg/development
Removes python 2.7 block in favor of "disabled"
2015-04-07 06:44:44 +02:00
Richard Zetterberg
5162704412 Removes python 2.7 block in favor of "disabled" 2015-04-06 20:35:46 +02:00
codyopel
b18cfaf2b8 pyspotify: 0.11 -> 0.12 2015-04-06 03:37:36 -04:00
Damien Cassou
8e7f1f1c02 kaa-* and mmpython not on py3k and pypy anymore 2015-04-04 21:45:51 +02:00
Michael Raskin
48b132df02 Merge pull request #5667 from DamienCassou/subdownloader
Add Subdownloader
2015-04-04 13:34:40 +03:00
William A. Kennington III
4e106397df msgpack-python: 0.4.2 -> 0.4.6 2015-04-03 18:38:59 -07:00
Tobias Geerinckx-Rice
93fc9baf8d python-packages: pgcli 0.16.2 -> 0.16.3
Bug Fixes:

- Add more SQL keywords for auto-complete suggestion.
- Messages raised as part of stored procedures are no longer ignored.
- Use postgres flavored syntax highlighting instead of generic ANSI SQL.
2015-04-04 02:28:20 +02:00
Cillian de Róiste
6d4a9fa393 Add Hovercraft: a tool to make impress.js presentations from reStructuredText
Also updated argh to 0.26.1 and added dependencies: pathtools, svg.path
and watchdog. Tests are disabled because one test assumes we are using
docutils 0.12 but we only have docutils 0.11 at the moment.
2015-04-03 18:15:40 +02:00
Thomas Tuegel
c0d5cd0ff9 poppler: fix build of Qt 4 and Qt 5 wrappers
The autoconf build system for poppler does not support building the
wrappers separately, so this slightly enlarges the size of closures. To
compensate, the command-line utilities have been separated into their
own package.
2015-04-02 09:51:44 -05:00
Domen Kožar
c80277c509 Merge pull request #7106 from kevinmarsh/nameparser
Add nameparser python package
2015-04-02 09:52:13 +02:00
Lancelot SIX
237029ab74 Add pytest-quickcheck testing framework
Add Pytest-quickcheck and necessary dependencies into pythonPackages
set.
2015-04-01 22:43:58 +02:00
Domen Kožar
06a810659c Merge pull request #7102 from oxij/fix-fixed-notmuch
pythonPackages: notmuch: revert 6258728, move sourceRoot setting to top-level
2015-04-01 07:14:25 +02:00
Tobias Geerinckx-Rice
ff1bccdbd5 python-packages: gdrivefs 0.14.2 -> 0.14.3 2015-03-31 13:54:41 +02:00
Kevin Marsh
7f573ee2c6 Add nameparser python package 2015-03-31 10:52:32 +01:00
Jan Malakhovski
d711528c8b pythonPackages: notmuch: revert 6258728, move sourceRoot setting to top-level notmuch
Looks like this is the only way to do what 6258728318
was expected to do that doesn't break things and doesn't look like a complete hack.

The problem is that different `fetch`ers generate very different results (from
archive files to plain source trees) and allowing overriding `src` in top-level
derivation when there is a derived python package is no trivial matter.
2015-03-31 05:36:28 +00:00
lethalman
9c6e5527b2 Merge pull request #7028 from kevinmarsh/enum34
Update python package enum34 1.0 -> 1.0.4
2015-03-30 18:09:34 +02:00
lethalman
33fb8e2d52 Merge pull request #7084 from risicle/celery
add packages for python-celery and its dependencies
2015-03-30 17:39:33 +02:00
lethalman
9bbeb44517 Merge pull request #6950 from joelmo/master
searx: update 0.3.0 -> 0.7.0 + fetchgit -> fetchurl
2015-03-30 17:24:00 +02:00
lethalman
9f3153b162 Merge pull request #6958 from lancelotsix/add_basemap_python_module
Add python basemap package
2015-03-30 17:22:24 +02:00
lethalman
b379026d7e Merge pull request #6993 from kevinmarsh/pyscss
Add pyScss python package
2015-03-30 16:11:03 +02:00
Robert Scott
1bf09248eb add packages for celery and its dependencies 2015-03-30 13:06:44 +01:00
William A. Kennington III
5248ba84fd mako: 0.9.1 -> 1.0.1 2015-03-28 13:56:28 -07:00
Robert Scott
a440943847 add packages django_classytags & django_reversion 2015-03-28 18:07:52 +00:00
Kevin Marsh
1f34a1d4ad Update python package enum34 1.0 -> 1.0.4, also fixed missing build input for python26 2015-03-27 13:45:15 +00:00
Domen Kožar
883ee4dd72 Merge pull request #6994 from oxij/trivial-package-fixes
Trivial package fixes
2015-03-27 11:09:16 +01:00
Domen Kožar
ba5134c8e0 Merge pull request #7021 from taktoa/master
Added package for willie
2015-03-27 09:39:55 +01:00
Remy Goldschmidt
ba4f29aee6 update_checker doesn't pass tests 2015-03-27 00:56:44 -04:00
Remy Goldschmidt
b3e4968491 Added willie package 2015-03-26 22:28:09 -04:00
Robert Scott
f56b17cb30 django: minimum supported python version for django 1.7 is 2.7 2015-03-26 19:56:34 +00:00
Peter Simons
230182f61b pythonPackages.subunit: revert "rewrite to use buildPythonPackage"
This reverts commit e42547d8e9. The change
broke samba and dependent packages.
2015-03-26 16:17:31 +01:00