"0y7rl603vmwlxm6ilkhc51rx2mfj14ckcz40xxgs0ljnvlhp30yp"))
(patches (search-patches "python-2.7-search-paths.patch"
"python-2-deterministic-build-info.patch"
+ "python-2.7-site-prefixes.patch"
"python-2.7-source-date-epoch.patch"))
(modules '((guix build utils)))
;; suboptimal to delete failing tests here, but if we delete them in the
#:configure-flags
(list "--enable-shared" ;allow embedding
"--with-system-ffi" ;build ctypes
+ "--with-ensurepip=install" ;install pip and setuptools
(string-append "LDFLAGS=-Wl,-rpath="
(assoc-ref %outputs "out") "/lib"))
(base32
"1w4r09fvn6kd80m5mx4ws1wz100brkaq6hzzpwrns8cgjzjpl6c6"))))
(build-system python-build-system)
- (native-inputs
- `(("python-setuptools" ,python-setuptools)))
(home-page "https://www.github.com/giampaolo/psutil")
(synopsis "Library for retrieving information on running processes")
(description
"1z27wdxs5rj5xhhqfzvzn3yg682irkxw6dcs5jj7mcf97psk8gd8"))))
(build-system python-build-system)
(native-inputs
- `(("python-nose" ,python-nose)
- ("python-setuptools" ,python-setuptools)))
+ `(("python-nose" ,python-nose)))
(inputs
`(("python-py-bcrypt" ,python-py-bcrypt)))
(arguments
(base32
"0y6smdggwi5s72v6p1nn53dg6w05hna3d264cq6kas0lap73p8az"))))
(build-system python-build-system)
- (native-inputs
- `(("python-setuptools" ,python-setuptools)))
(home-page "https://code.google.com/p/py-bcrypt")
(synopsis
"Bcrypt password hashing and key derivation")
(base32
"14k8z7ndc3zk5xivnm4d8lncchx475ll5izpf8vmfbq7rp9yp5rj"))))
(build-system python-build-system)
- (native-inputs
- `(("python-setuptools" ,python-setuptools)))
(propagated-inputs
`(("python-pycrypto" ,python-pycrypto)))
(inputs
(base32
"126rsryvw9vhbf3qmsfw9lf4l4xm2srmgs439lgma4cpag4s3ay3"))))
(build-system python-build-system)
- (native-inputs
- `(("python-setuptools" ,python-setuptools)))
(home-page "https://github.com/jcgregorio/httplib2")
(synopsis "Comprehensive HTTP client library")
(description
(base32
"1yj31j0asmrx4an9xvsaj2icdmzy6pw0glfpqrrkrphwdpi1xkv4"))))
(build-system python-build-system)
- (native-inputs
- `(("python-setuptools" ,python-setuptools)))
(inputs
`(("openssl" ,openssl)))
(home-page
(base32
"177dfxsmk3k4cih6fh6v8d91bh4nqx7ns6pc07w7m7i3cvdx3c8n"))))
(build-system python-build-system)
- (native-inputs
- `(("python-setuptools" ,python-setuptools)))
(inputs
`(("python-pyyaml" ,python-pyyaml)
("python-six" ,python-six)))
"0k43pi0p1dwpds2w0km3fw92wixzxv2vw7p09capxmjz5cfh23lw"))))
(build-system python-build-system)
(inputs
- `(("python-pytz" ,python-pytz)
- ("python-setuptools" ,python-setuptools)))
+ `(("python-pytz" ,python-pytz)))
(arguments `(#:tests? #f)) ; no test target
(home-page "http://babel.pocoo.org/")
(synopsis
(arguments
`(#:python ,python-2
#:tests? #f)) ; no test target
- (inputs
- `(("python2-setuptools" ,python2-setuptools)))
(home-page "https://bitbucket.org/brandon/backports.ssl_match_hostname")
(synopsis "Backport of ssl.match_hostname() function from Python 3.5")
(description
(description
"The lockfile package exports a LockFile class which provides a simple
API for locking files.")
- (license license:expat)
- (properties `((python2-variant . ,(delay python2-lockfile))))))
+ (license license:expat)))
(define-public python2-lockfile
- (let ((base (package-with-python2 (strip-python2-variant python-lockfile))))
- (package
- (inherit base)
- (native-inputs `(("python2-setuptools" ,python2-setuptools)
- ,@(package-native-inputs base))))))
+ (package-with-python2 python-lockfile))
(define-public python-mock
(package
(base32
"0g0ayql5b9mkjam8hym6zyg6bv77lbh66rv1fyvgqb17kfc1xkpj"))))
(build-system python-build-system)
- (native-inputs
- `(("python-setuptools" ,python-setuptools)))
(inputs
`(("python" ,python)
("gmp" ,gmp)))
service from python. It can be used in any application that needs safe
password storage.")
;; "MIT" and PSF dual license
- (license license:x11)
- (properties `((python2-variant . ,(delay python2-keyring))))))
+ (license license:x11)))
(define-public python2-keyring
- (let ((base (package-with-python2 (strip-python2-variant python-keyring))))
- (package
- (inherit base)
- (native-inputs `(("python2-setuptools" ,python2-setuptools)
- ,@(package-native-inputs base))))))
+ (package-with-python2 python-keyring))
(define-public python-six
(package
(base32
"0snmb8xffb3vsma0z67i0h0w2g2dy0p3gsgh9gi4i0kgc5l8spqh"))))
(build-system python-build-system)
- (inputs
- `(("python-setuptools" ,python-setuptools)))
(home-page "http://pypi.python.org/pypi/six/")
(synopsis "Python 2 and 3 compatibility utilities")
(description
(description
"The dateutil module provides powerful extensions to the standard
datetime module, available in Python 2.3+.")
- (license license:bsd-3)
- (properties `((python2-variant . ,(delay python2-dateutil-2))))))
+ (license license:bsd-3)))
(define-public python2-dateutil-2
- (let ((base (package-with-python2 (strip-python2-variant python-dateutil-2))))
- (package
- (inherit base)
- (inputs `(("python2-setuptools" ,python2-setuptools)
- ,@(package-inputs base))))))
+ (package-with-python2 python-dateutil-2))
(define-public python-dateutil
(package
(base32
"0fqfglhy5khbvsipr3x7m6bcaqljh8xl5cw33vbfxy7qhmywm2n0"))))
(build-system python-build-system)
- (inputs
- `(("python-setuptools" ,python-setuptools)))
(home-page "https://dateutil.readthedocs.io/en/stable/")
(synopsis "Extensions to the standard datetime module")
(description
"Parse human-readable date/time text")
(description
"Parse human-readable date/time text.")
- (license license:asl2.0)
- (properties `((python2-variant . ,(delay python2-parsedatetime))))))
+ (license license:asl2.0)))
(define-public python2-parsedatetime
- (let ((base (package-with-python2 (strip-python2-variant python-parsedatetime))))
- (package
- (inherit base)
- (native-inputs `(("python2-setuptools" ,python2-setuptools)
- ,@(package-native-inputs base))))))
+ (package-with-python2 python-parsedatetime))
(define-public python-pandas
(package
multidimensional, potentially heterogeneous) and time series data both easy
and intuitive. It aims to be the fundamental high-level building block for
doing practical, real world data analysis in Python.")
- (license license:bsd-3)
- (properties `((python2-variant . ,(delay python2-pandas))))))
+ (license license:bsd-3)))
(define-public python2-pandas
- (let ((base (package-with-python2 (strip-python2-variant python-pandas))))
- (package
- (inherit base)
- (native-inputs `(("python2-setuptools" ,python2-setuptools)
- ,@(package-native-inputs base))))))
+ (package-with-python2 python-pandas))
(define-public python-tzlocal
(package
(base32
"0rj7r166i1dyrq0ihm5rijfmvhs8a04im28lv05c0c3v206v4rrf"))))
(build-system python-build-system)
- (inputs
- `(("python2-setuptools" ,python2-setuptools)))
(arguments
`(#:python ,python-2 ; apparently incompatible with Python 3
#:tests? #f))
(synopsis "Python extension wrapping the ICU C++ API")
(description
"PyICU is a python extension wrapping the ICU C++ API.")
- (license license:x11)
- (properties `((python2-variant . ,(delay python2-pyicu))))))
+ (license license:x11)))
(define-public python2-pyicu
- (package
- (inherit (package-with-python2
- (strip-python2-variant python-pyicu)))
- (native-inputs `(("python2-setuptools" ,python2-setuptools)))))
+ (package-with-python2 python-pyicu))
(define-public python2-dogtail
;; Python 2 only, as it leads to "TabError: inconsistent use of tabs and
"0iv1c34npr4iynwpgv1vkjx9rjd18a85ir8c01gc5f7wp8iv7l1x"))))
(build-system python-build-system)
(inputs
- `(("python-setuptools" ,python-setuptools)
- ("python-six" ,python-six)
+ `(("python-six" ,python-six)
("python-parse" ,python-parse)))
(arguments '(#:tests? #f)) ;TODO: tests require pytest
(home-page "https://github.com/jenisys/parse_type")
(base32
"1h7zx4dfyclalg0fqnfjijpn0f793a9mx8sy3b27gd31nr6dhq3s"))))
(build-system python-build-system)
- (inputs
- `(("python-setuptools" ,python-setuptools)))
(arguments
;; error in setup.cfg: command 'test' has no such option 'buffer'
'(#:tests? #f))
(base32
"1hyxg09kaj02ri0rmwjqi86wk4nd1akvv7n0dx77azz76wga4s9w"))))
(build-system python-build-system)
- (inputs
- `(("python-setuptools" ,python-setuptools)))
(arguments
'(#:tests? #f)) ; no setup.py test command
(home-page
(base32
"164a43k7k2wsqqk1s6vavcdamvss4mz0vd6pwzv2h9n8rgwzxgzi"))))
(build-system python-build-system)
- (inputs
- `(("python-setuptools" ,python-setuptools)))
(arguments
'(#:tests? #f)) ; FIXME: test suite fails
(home-page "http://readthedocs.org/docs/nose/")
"1x4zjq1zlyrh8b9ba0cmafd3w94pxhid408kibyjd3s6h1lap6s7"))))
(build-system python-build-system)
(arguments `(#:tests? #f)) ; 'module' object has no attribute 'collector'
- (native-inputs
- `(("python-setuptools" ,python-setuptools)))
(inputs
`(("python-cov-core" ,python-cov-core)
("python-pytest-cov" ,python-pytest-cov)
(base32
"00yl6lskygcrddx5zspkhr0ibgvpknl4678kkm6s626539grq93q"))))
(build-system python-build-system)
- (inputs
- `(("python-setuptools" ,python-setuptools)))
(home-page "http://pypi.python.org/pypi/unittest2")
(synopsis "Python unit testing library")
(description
(sha256
(base32
"0wbs4i4x3x7klr3v35ss6p9mcqz883i1xgcpkhvl7n2lyv6yhpda"))))
- (inputs
- `(("python2-setuptools" ,python2-setuptools)))
(arguments
`(#:python ,python-2
#:tests? #f)))) ; no setup.py test command
(base32
"0561gz2w3i825gyl42mcq14y3dcgkapfiv5zv9a2bz15qxiijl56"))))
(build-system python-build-system)
- (inputs
- `(("python-setuptools" ,python-setuptools)))
(home-page "http://pylib.readthedocs.org/")
(synopsis "Python library for parsing, I/O, instrospection, and logging")
(description
"@pytest.mark.xfail\n def test_remove_dir_prefix(self):")))))
(build-system python-build-system)
(inputs
- `(("python-setuptools" ,python-setuptools)
- ("python-py" ,python-py)
+ `(("python-py" ,python-py)
("python-nose" ,python-nose)
("python-mock" ,python-mock)))
(home-page "http://pytest.org")
"Pytest-cov produces coverage reports. It supports centralised testing and
distributed testing in both @code{load} and @code{each} modes. It also
supports coverage of subprocesses.")
- (license license:expat)
- (properties `((python2-variant . ,(delay python2-pytest-cov))))))
+ (license license:expat)))
(define-public python2-pytest-cov
- (let ((base (package-with-python2 (strip-python2-variant python-pytest-cov))))
- (package
- (inherit base)
- (inputs `(("python2-setuptools" ,python2-setuptools)
- ,@(package-inputs base))))))
+ (package-with-python2 python-pytest-cov))
(define-public python-pytest-runner
(package
(description
"This package provides a @command{pytest-runner} command that
@file{setup.py} files can use to run tests.")
- (license license:expat)
- (properties `((python2-variant . ,(delay python2-pytest-runner))))))
+ (license license:expat)))
(define-public python2-pytest-runner
- (let ((base (package-with-python2
- (strip-python2-variant python-pytest-runner))))
- (package
- (inherit base)
- (native-inputs `(("python2-setuptools" ,python2-setuptools)
- ,@(package-native-inputs base))))))
+ (package-with-python2 python-pytest-runner))
(define-public python-pytest-mock
(package
(let ((base (package-with-python2
(strip-python2-variant python-pytest-mock))))
(package (inherit base)
- (native-inputs
- `(("python2-setuptools" ,python2-setuptools)
- ,@(package-native-inputs base)))
(inputs
`(("python2-mock" ,python2-mock)
,@(package-inputs base))))))
Python interpreters or platforms. It uses rsync to copy the existing
program code to a remote location, executes there, and then syncs the
result back.")
- (license license:expat)
- (properties `((python2-variant . ,(delay python2-pytest-xdist))))))
+ (license license:expat)))
(define-public python2-pytest-xdist
- (let ((base (package-with-python2
- (strip-python2-variant python-pytest-xdist))))
- (package
- (inherit base)
- (native-inputs `(("python2-setuptools" ,python2-setuptools)
- ,@(package-native-inputs base))))))
+ (package-with-python2 python-pytest-xdist))
(define-public python-scripttest
(package
"0f4w84k8ck82syys7yg9maz93mqzc8p5ymis941x034v44jzq74m"))))
(build-system python-build-system)
(inputs
- `(("python-setuptools" ,python-setuptools)
- ("python-pytest" ,python-pytest)))
+ `(("python-pytest" ,python-pytest)))
(home-page "http://pythonpaste.org/scripttest/")
(synopsis "Python library to test command-line scripts")
(description "Scripttest is a Python helper library for testing
(propagated-inputs
`(("python-mimeparse" ,python-mimeparse)))
(inputs
- `(("python-setuptools" ,python-setuptools)
- ("python-extras" ,python-extras)))
+ `(("python-extras" ,python-extras)))
(home-page "https://github.com/testing-cabal/testtools")
(synopsis
"Extensions to the Python standard library unit testing framework")
"1671jvrvqlmbnc42j7pc5y6vc37q44aiwrq0zic652pxyy2fxvjg"))))
(build-system python-build-system)
(inputs
- `(("python-setuptools" ,python-setuptools)
- ("python-testtools" ,python-testtools)
+ `(("python-testtools" ,python-testtools)
("python-mimeparse" ,python-mimeparse)))
(home-page "https://launchpad.net/testscenarios")
(synopsis "Pyunit extension for dependency injection")
(base32
"0cbj3plbllyz42c4b5xxgwaa7mml54lakslrn4kkhinxhdri22md"))))
(build-system python-build-system)
- (inputs
- `(("python-setuptools" ,python-setuptools)))
(home-page "https://launchpad.net/testresources")
(synopsis
"Pyunit extension for managing test resources")
"1nkw9wfbvizmpajbj3in8ns07g7lwkiv8hip14jjlwk3cacls6jv"))))
(build-system python-build-system)
(inputs
- `(("python-setuptools" ,python-setuptools)
- ("python-testtools" ,python-testtools)
+ `(("python-testtools" ,python-testtools)
("python-mimeparse" ,python-mimeparse)
("python-testscenarios" ,python-testscenarios)))
(home-page "http://launchpad.net/subunit")
(base32
"0x9r2gwilcig5g54k60bxzg96zabizq1855lrprlb4zckalp9asc"))))
(build-system python-build-system)
- (inputs
- `(("python-setuptools" ,python-setuptools)))
(arguments
'(#:tests? #f)) ; no setup.py test command
(home-page "https://launchpad.net/python-fixtures")
(arguments
`(#:tests? #f)) ;; Most tests seem to use the Internet.
(inputs
- `(("python-fixtures-0.3.16" ,python-fixtures-0.3.16)
- ("python-pip" ,python-pip)
- ("python-setuptools" ,python-setuptools)))
+ `(("python-fixtures-0.3.16" ,python-fixtures-0.3.16)))
(home-page "https://launchpad.net/pbr")
(synopsis "Change the default behavior of Python’s setuptools")
(description
`(("python-fixtures" ,python-fixtures)
("python-mimeparse" ,python-mimeparse)
("python-mock" ,python-mock)
- ("python-setuptools" ,python-setuptools)
- ("python-six" ,python-six)
+ ("python-six" ,python-six)
("python-sphinx" ,python-sphinx)
("python-testrepository" ,python-testrepository)
("python-testresources" ,python-testresources)
("python-pbr-0.11" ,python-pbr-0.11)))
(inputs
`(("python-pip" ,python-pip)
- ("python-setuptools" ,python-setuptools)
;; Tests
("python-testtools" ,python-testtools)))
(arguments
`(("python-fixtures-0.3.16" ,python-fixtures-0.3.16)
("python-testtools" ,python-testtools)))
(inputs
- `(("python-setuptools" ,python-setuptools)
- ("python-subunit" ,python-subunit)
+ `(("python-subunit" ,python-subunit)
("python-mimeparse" ,python-mimeparse)))
(home-page "https://launchpad.net/testrepository")
(synopsis "Database for Python test results")
(base32
"01rbr4br4lsk0lwn8fb96zwd2xr4f0mg1w7iq3j11i8f5ig2nqs1"))))
(build-system python-build-system)
- (inputs
- `(("python-setuptools" ,python-setuptools)))
(home-page "http://nedbatchelder.com/code/coverage")
(synopsis "Code coverage measurement for Python")
(description
(description
"This is a library package for use by pytest-cov, nose-cov and nose2-cov.
It is useful for developing coverage plugins for these testing frameworks.")
- (license license:expat)
- (properties `((python2-variant . ,(delay python2-cov-core))))))
+ (license license:expat)))
(define-public python2-cov-core
- (let ((cov-core (package-with-python2 (strip-python2-variant python-cov-core))))
- (package (inherit cov-core)
- (native-inputs
- `(("python2-setuptools" ,python2-setuptools)
- ,@(package-native-inputs cov-core))))))
+ (package-with-python2 python-cov-core))
(define-public python-discover
(package
(base32
"0y8d0zwiqar51kxj8lzmkvwc3b8kazb04gk5zcb4nzg5k68zmhq5"))))
(build-system python-build-system)
- (inputs
- `(("python-setuptools" ,python-setuptools)))
(home-page "http://pypi.python.org/pypi/discover/")
(synopsis
"Python test discovery for unittest")
"1iypp6z46r19n4xmgx6m1lwmlpfjh8vapq8izigrqlaarvp2y64c"))))
(build-system python-build-system)
(inputs
- `(("python-setuptools" ,python-setuptools)
- ("python-six" ,python-six)
+ `(("python-six" ,python-six)
("python-parse" ,python-parse)
("python-parse-type" ,python-parse-type)))
(arguments `(#:tests? #f)) ;TODO: tests require nose>=1.3 and
(base32
"1b90jf6m9vxh9nanhpyvqdq7hmfx5iggw1l8kq10jrs6xgr49qkr"))))
(build-system python-build-system)
- (inputs
- `(("python-setuptools" ,python-setuptools)))
(arguments `(#:tests? #f)) ; no tests
(home-page "https://github.com/ianare/exif-py")
(synopsis "Python library to extract EXIF data from image files")
(base32
"0k881ffazpf8q1z8862g4bb3pzwpnz9whrci2mf311mvn1qbyqad"))))
(build-system python-build-system)
- (inputs
- `(("python-setuptools" ,python-setuptools)))
(arguments `(#:tests? #f)) ; no tests
(home-page "http://github.com/digitalbazaar/pyld")
(synopsis "Python implementation of the JSON-LD specification")
(base32
"06c9dcyv8ss050gkv5xjivbxhm6qm0s9vzy4r33wqabgv118lw7p"))))
(build-system python-build-system)
- (inputs
- `(("python-setuptools" ,python-setuptools)))
(arguments `(#:tests? #f)) ; no tests
(home-page "http://python-requests.org/")
(synopsis "Python CA certificate bundle")
(("'locale'")
(string-append "'" glibc "/bin/locale'"))))
#t)))))
- (native-inputs
- `(("python-setuptools" ,python-setuptools)))
(home-page "http://click.pocoo.org")
(synopsis "Command line library for Python")
(description
"0j0n38hg1jvrmyy68f9ikvzq1gs9g0sx4ws7maf8wi3bwbbqmfqy"))))
(build-system python-build-system)
(native-inputs
- `(("python-setuptools" ,python-setuptools)
- ("python-jsonschema" ,python-jsonschema)
+ `(("python-jsonschema" ,python-jsonschema)
("python-pytest-cov" ,python-pytest-cov)))
(home-page "https://bitbucket.org/pypa/wheel/")
(synopsis "Format for built Python packages")
"0zsqrzlybf25xscgi7ja4s48y2abf9wvjkn47wh984qgs1fq2xy5"))))
(build-system python-build-system)
(native-inputs
- `(("python-setuptools" ,python-setuptools)
- ("python-py" ,python-py)
+ `(("python-py" ,python-py)
("python-pytest" ,python-pytest)
("python-pytest-cov" ,python-pytest-cov)
("python-wheel" ,python-wheel)))
(define-public python-vcversioner
(package
(name "python-vcversioner")
- (version "2.14.0.0")
+ (version "2.16.0.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "vcversioner" version))
(sha256
(base32
- "11ivq1bm7v0yb4nsfbv9m7g7lyjn112gbvpjnjz8nv1fx633dm5c"))))
+ "16z10sm78jd7ca3jbkgc3q5i8a8q7y1h21q1li21yy3rlhbhrrns"))))
(build-system python-build-system)
- (inputs
- `(("python-setuptools" ,python-setuptools)))
(synopsis "Python library for version number discovery")
(description "Vcversioner is a Python library that inspects tagging
information in a variety of version control systems in order to discover
(base32
"0hddbqjm4jq63y8jf44nswina1crjs16l9snb6m3vvgyg31klrrn"))))
(build-system python-build-system)
- (inputs
- `(("python-setuptools" ,python-setuptools)
+ (arguments
+ '(#:phases
+ (modify-phases %standard-phases
+ (replace 'check (lambda _ (zero? (system* "nosetests")))))))
+ (native-inputs
+ `(("python-nose" ,python-nose)
("python-vcversioner" ,python-vcversioner)))
- (home-page "http://github.com/Julian/jsonschema")
+ (home-page "https://github.com/Julian/jsonschema")
(synopsis "Implementation of JSON Schema for Python")
(description
"Jsonschema is an implementation of JSON Schema for Python.")
(let ((jsonschema (package-with-python2
(strip-python2-variant python-jsonschema))))
(package (inherit jsonschema)
- (inputs
- `(("python2-functools32" ,python2-functools32)
- ,@(package-inputs jsonschema))))))
+ (native-inputs
+ `(("python2-mock" ,python2-mock)
+ ,@(package-native-inputs jsonschema)))
+ (propagated-inputs
+ `(("python2-functools32" ,python2-functools32))))))
(define-public python-unidecode
(package
(base32
"12hhblqy1ajvidm38im4171x4arg83pfmziyn53nizp29p3m14gi"))))
(build-system python-build-system)
- (inputs
- `(("python-setuptools" ,python-setuptools)))
(home-page "https://pypi.python.org/pypi/Unidecode")
(synopsis "ASCII transliterations of Unicode text")
(description
"1556v2jppd8mjkkj66pxb5rcazm35jq81r233mdl8hfmz9n3icp1"))))
(build-system python-build-system)
(native-inputs
- `(("python-setuptools" ,python-setuptools)
- ("python-pytest-runner" ,python-pytest-runner)))
+ `(("python-pytest-runner" ,python-pytest-runner)))
(arguments
'(#:tests? #f)) ; test suite doesn't work
(home-page "http://github.com/progrium/pyjwt")
(let ((base (package-with-python2 (strip-python2-variant python-oauthlib))))
(package
(inherit base)
- (native-inputs `(("python2-setuptools" ,python2-setuptools)
- ("python2-unittest2" ,python2-unittest2)
+ (native-inputs `(("python2-unittest2" ,python2-unittest2)
,@(package-native-inputs base))))))
(define-public python-itsdangerous
(description
"Itsdangerous provides various helpers to pass trusted data to untrusted
environments and back.")
- (license license:bsd-3)
- (properties `((python2-variant . ,(delay python2-itsdangerous))))))
+ (license license:bsd-3)))
(define-public python2-itsdangerous
- (let ((base (package-with-python2
- (strip-python2-variant python-itsdangerous))))
- (package
- (inherit base)
- (native-inputs `(("python2-setuptools" ,python2-setuptools)
- ,@(package-native-inputs base))))))
+ (package-with-python2 python-itsdangerous))
(define-public python-pyyaml
(package
(build-system python-build-system)
(inputs
`(("libyaml" ,libyaml)))
- (native-inputs
- `(("python-setuptools" ,python-setuptools)))
(home-page "http://pyyaml.org/wiki/PyYAML")
(synopsis "YAML parser and emitter for Python")
(description
(("skipif.*") "skipif(True, reason=\"Guix\")\n"))
(zero? (system* "py.test")))))))
(inputs
- `(("python-setuptools" ,python-setuptools)
- ("python-mock" ,python-mock)
+ `(("python-mock" ,python-mock)
("python-pytest" ,python-pytest)))
(home-page "https://virtualenv.pypa.io/")
(synopsis "Virtual Python environment builder")
(base32
"1hvip33wva3fnmvfp9x5klqri7hpl1hkgqmjbss18nmrb7zimv54"))))
(build-system python-build-system)
- (inputs
- `(("python-setuptools" ,python-setuptools)))
(home-page "http://github.com/mitsuhiko/markupsafe")
(synopsis "XML/HTML/XHTML markup safe string implementation for Python")
(description
"1x0v41lp5m1pjix3l46zx02b7lqp2hflgpnxwkywxynvi3zz47xw"))))
(build-system python-build-system)
(inputs
- `(("python-setuptools" ,python-setuptools)
- ("python-markupsafe" ,python-markupsafe)))
+ `(("python-markupsafe" ,python-markupsafe)))
(home-page "http://jinja.pocoo.org/")
(synopsis "Python template engine")
(description
(base32
"0nmqsfmiw4arjxqkmf9z66ml950pcdjk6aq4gin4sywmzdjw5fzp"))))
(build-system python-build-system)
- (native-inputs
- `(("python-setuptools" ,python-setuptools)))
(home-page "http://defunkt.io/pystache/")
(synopsis "Python logic-less template engine")
(description
(string-append "@SkipTest\n" line)))
#t)))))
(native-inputs
- `(("python-setuptools" ,python-setuptools)
- ("python-nose" ,python-nose)
+ `(("python-nose" ,python-nose)
("python-sphinx" ,python-sphinx)
("python-docutils" ,python-docutils)
("python-numpydoc" ,python-numpydoc)))
(base32
"1ylnjnw1x4b2y7blr6x35ncdzn69k253kw4cdkv6asdb21w73ny7"))))
(build-system python-build-system)
- (inputs
- `(("python-setuptools" ,python-setuptools)))
(arguments
'(#:tests? #f)) ; no setup.py test command
(home-page "http://docutils.sourceforge.net/")
(base32
"0lagrwifsgn0s8bzqahpr87p7gd38xja8f06akscinp6hj89283k"))))
(build-system python-build-system)
- (inputs
- `(("python-setuptools" ,python-setuptools)))
(home-page "http://pygments.org/")
(synopsis "Syntax highlighting")
(description
"011xizm3jnmf4cvs5i6kgf6c5nn046h79i8j0vd0f27yw9j3p4wl"))))
(build-system python-build-system)
(inputs
- `(("python-setuptools" ,python-setuptools)
- ("python-jinja2" ,python-jinja2)
+ `(("python-jinja2" ,python-jinja2)
("python-docutils" ,python-docutils)
("python-pygments" ,python-pygments)))
(home-page "http://sphinx-doc.org/")
;; before 1980'
#:configure-flags '("--single-version-externally-managed"
"--record=sphinx-rtd-theme.txt")))
- (native-inputs
- `(("python-setuptools" ,python-setuptools)))
(inputs
`(("python-docutils" ,python-docutils)
("python-sphinx" ,python-sphinx)))
"0mkimp1fpdan4p3882vzcws4l594k71ich4g0wq97jbra7p602n0"))))
(build-system python-build-system)
(native-inputs
- `(("python-setuptools" ,python-setuptools)
- ("python-pytz" ,python-pytz)
+ `(("python-pytz" ,python-pytz)
("python-six" ,python-six)))
(home-page "https://github.com/getpelican/feedgenerator")
(synopsis
(base32
"1dpq0vb01p36jjwbhhd08ylvrnyvcc82yxx3mwjx6awrycjyw6j7"))))
(build-system python-build-system)
- (native-inputs
- `(("python-setuptools" ,python-setuptools)))
;; No "test" command supplied to setuptools, so unless there's another way
;; to run tests, we're skipping them!
(arguments '(#:tests? #f))
("python-six" ,python-six)
("python-pillow" ,python-pillow)))
(native-inputs
- `(("python-cython" ,python-cython)
- ("python-setuptools" ,python-setuptools)))
+ `(("python-cython" ,python-cython)))
(home-page "http://scikit-image.org/")
(synopsis "Image processing in Python")
(description
;; Tests require a running Redis server
(arguments '(#:tests? #f))
(native-inputs
- `(("python-setuptools" ,python-setuptools)
- ("python-pytest" ,python-pytest)))
+ `(("python-pytest" ,python-pytest)))
(home-page "https://github.com/andymccurdy/redis-py")
(synopsis "Redis Python client")
(description
(propagated-inputs
`(("python-click" ,python-click)
("python-redis" ,python-redis)))
- (native-inputs
- `(("python-setuptools" ,python-setuptools)))
(home-page "http://python-rq.org/")
(synopsis "Simple job queues for Python")
(description
(build-system python-build-system)
(arguments `(#:python ,python-2))
(native-inputs
- `(("python2-pytest" ,python2-pytest) ; needed for running tests
- ("python2-setuptools" ,python2-setuptools)))
+ `(("python2-pytest" ,python2-pytest))) ; needed for running tests
(home-page "https://rpython.readthedocs.org")
(synopsis "Framework for implementing interpreters and virtual machines")
(description "RPython is a translation and support framework for
("python2-pysnptools" ,python2-pysnptools)))
(native-inputs
`(("unzip" ,unzip)
- ("python2-mock" ,python2-mock)
- ("python2-setuptools" ,python2-setuptools)))
+ ("python2-mock" ,python2-mock)))
(home-page "http://research.microsoft.com/en-us/um/redmond/projects/mscompbio/fastlmm/")
(synopsis "Perform genome-wide association studies on large data sets")
(description
(outputs '("out" "doc"))
(inputs
`(("which" ,which)
- ("python-setuptools" ,python-setuptools)
("python-matplotlib" ,python-matplotlib)
("python-sphinx" ,python-sphinx)
("python-pyparsing" ,python-pyparsing)
(("3") "2"))))))
(build-system python-build-system)
(inputs
- `(("python-setuptools" ,python-setuptools)
- ("python-docutils" ,python-docutils)
+ `(("python-docutils" ,python-docutils)
("python-sphinx" ,python-sphinx)
("python-nose" ,python-nose)))
(home-page "https://pypi.python.org/pypi/numpydoc")
capabilities can make use of all your cores, which may accelerate
computations, most specially if they are not memory-bounded (e.g. those using
transcendental functions).")
- (license license:expat)
- (properties `((python2-variant . ,(delay python2-numexpr))))))
+ (license license:expat)))
(define-public python2-numexpr
- (package-with-python2 (strip-python2-variant python-numexpr)))
+ (package-with-python2 python-numexpr))
(define-public python-matplotlib
(package
("python-pycairo" ,python-pycairo)
("python-cairocffi" ,python-cairocffi)))
(inputs
- `(("python-setuptools" ,python-setuptools)
- ("python-dateutil" ,python-dateutil-2)
+ `(("python-dateutil" ,python-dateutil-2)
("python-six" ,python-six)
("python-pytz" ,python-pytz)
("python-numpy" ,python-numpy-bootstrap)
("python2-pandas" ,python2-pandas)
("python2-six" ,python2-six)))
(native-inputs
- `(("unzip" ,unzip)
- ("python2-setuptools" ,python2-setuptools)))
+ `(("unzip" ,unzip)))
(home-page "http://research.microsoft.com/en-us/um/redmond/projects/mscompbio/")
(synopsis "Library for reading and manipulating genetic data")
(description
("pcre" ,pcre)
("r" ,r)))
(native-inputs
- `(("python-setuptools" ,python-setuptools)
- ("zlib" ,zlib)))
+ `(("zlib" ,zlib)))
(home-page "http://rpy.sourceforge.net/")
(synopsis "Python interface to the R language")
(description "rpy2 is a redesign and rewrite of rpy. It is providing a
(description "@code{pycodestyle} (formerly pep8) is a tool to check
Python code against some of the style conventions in
@url{http://www.python.org/dev/peps/pep-0008/,PEP 8}.")
- (license license:expat)
- (properties `((python2-variant . ,(delay python2-pycodestyle))))))
+ (license license:expat)))
(define-public python2-pycodestyle
- (let ((base (package-with-python2 (strip-python2-variant
- python-pycodestyle))))
- (package (inherit base)
- (native-inputs
- `(("python2-setuptools" ,python2-setuptools)
- ,@(package-native-inputs base))))))
+ (package-with-python2 python-pycodestyle))
(define-public python-orderedmultidict
(package
dictionaries. A multivalue dictionary is a dictionary that can store
multiple values for the same key. An ordered multivalue dictionary is a
multivalue dictionary that retains the order of insertions and deletions.")
- (license license:unlicense)
- (properties `((python2-variant . ,(delay python2-orderedmultidict))))))
+ (license license:unlicense)))
(define-public python2-orderedmultidict
- (let ((base (package-with-python2 (strip-python2-variant
- python-orderedmultidict))))
- (package (inherit base)
- (native-inputs
- `(("python2-setuptools" ,python2-setuptools)
- ,@(package-native-inputs base))))))
+ (package-with-python2 python-orderedmultidict))
(define-public python-furl
(package
(synopsis "URL manipulation in Python")
(description "Furl provides an easy-to-use alternative to the
@code{urllib} and @code{urlparse} modules for manipulating URLs.")
- (license license:unlicense)
- (properties `((python2-variant . ,(delay python2-furl))))))
+ (license license:unlicense)))
(define-public python2-furl
- (let ((base (package-with-python2 (strip-python2-variant
- python-furl))))
- (package (inherit base)
- (native-inputs
- `(("python2-setuptools" ,python2-setuptools)
- ,@(package-native-inputs base))))))
+ (package-with-python2 python-furl))
(define-public python-flask-babel
(package
(description "This package implements internationalization and localization
support for Flask. This is based on the Python babel module as well as pytz -
both of which are installed automatically if you install this library.")
- (license license:bsd-3)
- (properties `((python2-variant . ,(delay python2-flask-babel))))))
+ (license license:bsd-3)))
(define-public python2-flask-babel
- (let ((base (package-with-python2 (strip-python2-variant
- python-flask-babel))))
- (package (inherit base)
- (native-inputs
- `(("python2-setuptools" ,python2-setuptools)
- ,@(package-native-inputs base))))))
+ (package-with-python2 python-flask-babel))
(define-public python-sqlalchemy-utils
(package
(synopsis "Various utility functions for SQLAlchemy")
(description
"SQLAlchemy-utils provides various utility functions and custom data types
-for SQLAlchemy. SQLAlchemy is an SQL database abstraction library for Python.")
- (properties `((python2-variant . ,(delay python2-sqlalchemy-utils))))
+for SQLAlchemy. SQLAlchemy is an SQL database abstraction library for Python.
+
+You might also want to install the following optional dependencies:
+@enumerate
+@item @code{python-passlib}
+@item @code{python-babel}
+@item @code{python-cryptography}
+@item @code{python-pytz}
+@item @code{python-psycopg2}
+@item @code{python-furl}
+@item @code{python-flask-babel}
+@end enumerate
+")
(license license:bsd-3)))
(define-public python2-sqlalchemy-utils
- (let ((base (package-with-python2
- (strip-python2-variant python-sqlalchemy-utils))))
- (package (inherit base)
- (native-inputs
- `(("python2-setuptools" ,python2-setuptools)
- ,@(package-native-inputs base))))))
+ (package-with-python2 python-sqlalchemy-utils))
(define-public python-alembic
(package
(description
"Alembic is a lightweight database migration tool for usage with the
SQLAlchemy Database Toolkit for Python.")
- (license license:expat)
- (properties `((python2-variant . ,(delay python2-alembic))))))
+ (license license:expat)))
(define-public python2-alembic
- (let ((alembic (package-with-python2
- (strip-python2-variant python-alembic))))
- (package
- (inherit alembic)
- (native-inputs `(("python2-setuptools" ,python2-setuptools)
- ,@(package-native-inputs alembic))))))
+ (package-with-python2 python-alembic))
(define-public python-distutils-extra
(package
(base32
"0lx15kcbby9zisx33p2h5hgakgwh2bvh0ibag8z0px4j6ifhs41x"))))
(build-system python-build-system)
- (native-inputs
- `(("python-setuptools" ,python-setuptools)))
(home-page "https://launchpad.net/python-distutils-extra/")
(synopsis "Enhancements to Python's distutils")
(description
(base32
"0y7vzff9xgbnaay7m0va1arl6g68ncwrvbgwl7jqlclsahzzb09d"))))
(build-system python-build-system)
- (native-inputs
- `(("python2-setuptools" ,python2-setuptools)))
(arguments
;; incompatible with Python 3 (exception syntax)
`(#:python ,python-2
(define-public python-pillow
(package
(name "python-pillow")
- (version "3.3.1")
+ (version "3.3.3")
(source
(origin
(method url-fetch)
(uri (pypi-uri "Pillow" version))
(sha256
(base32
- "1w9x3dfrg8b5lqhpjl0fczfyf9842wbqwgxbjjq4vfpxv5jwm49l"))))
+ "0xkv0p1d73gz0a1qaasf0ai4262g8f334j07vd60bjrxs2wr3nmj"))))
(build-system python-build-system)
(native-inputs
- `(("python-setuptools" ,python-setuptools)
- ("python-nose" ,python-nose)))
+ `(("python-nose" ,python-nose)))
(inputs
`(("freetype" ,freetype)
("lcms" ,lcms)
("openjpeg" ,openjpeg)
("libtiff" ,libtiff)
("libwebp" ,libwebp)))
- (propagated-inputs
- `(;; Used at runtime for pkg_resources
- ("python-setuptools" ,python-setuptools)))
+ ;; Note: setuptools used at runtime for pkg_resources
(arguments
`(#:phases (modify-phases %standard-phases
(add-before
(outputs '("out" "doc"))
(build-system python-build-system)
(native-inputs
- `(("pkg-config" ,pkg-config)
- ("python-setuptools" ,python-setuptools)))
+ `(("pkg-config" ,pkg-config)))
(arguments
`(#:phases
(alist-replace
(native-inputs
`(("pkg-config" ,pkg-config)
("python-sphinx" ,python-sphinx)
- ("python-pytest" ,python-pytest)
- ("python-setuptools" ,python-setuptools)))
+ ("python-pytest" ,python-pytest)))
(arguments
`(#:phases
(alist-cons-after
(inputs
`(("libxcb" ,libxcb)
("python-six" ,python-six)))
- (native-inputs
- `(("python-setuptools" ,python-setuptools)))
(propagated-inputs
`(("python-cffi" ,python-cffi))) ; used at run time
(arguments
(native-inputs
`(("pkg-config" ,pkg-config)
("python-sphinx" ,python-sphinx)
- ("python-docutils" ,python-docutils)
- ("python-setuptools" ,python-setuptools)))
+ ("python-docutils" ,python-docutils)))
(propagated-inputs
`(("python-xcffib" ,python-xcffib))) ; used at run time
(arguments
(base32 "1a5vwhflfd9sh3rfb40xlyipldgdzfff6brman57hqv3661jw0lh"))))
(build-system python-build-system)
(arguments '(#:tests? #f)) ; no test target
- (native-inputs
- `(("python-setuptools" ,python-setuptools)))
(home-page "https://pypi.python.org/pypi/decorator/")
(synopsis "Python module to simplify usage of decorators")
(description
;; should be set to the path of the libdrmaa library.
(arguments '(#:tests? #f))
(native-inputs
- `(("python-nose" ,python-nose)
- ("python-setuptools" ,python-setuptools)))
+ `(("python-nose" ,python-nose)))
(home-page "https://pypi.python.org/pypi/drmaa")
(synopsis "Python bindings for the DRMAA library")
(description
`(("python-psutil" ,python-psutil)
("python-drmaa" ,python-drmaa)
("python-pyzmq" ,python-pyzmq)))
- (native-inputs
- `(("python-setuptools" ,python-setuptools)))
(home-page "https://github.com/pygridtools/gridmap")
(synopsis "Create jobs on a cluster directly from Python")
(description
(base32
"1gqr73i150yzj3mz32854vj93x07yr52kn8fdckwa41ll8wgficc"))))
(build-system python-build-system)
- (native-inputs `(("python-setuptools" ,python-setuptools)))
(home-page "https://github.com/pypa/setuptools_scm/")
(synopsis "Manage Python package versions in SCM metadata")
(description
(propagated-inputs
`(("python-appdirs" ,python-appdirs)))
(native-inputs
- `(("python-setuptools" ,python-setuptools)
- ("python-setuptools-scm" ,python-setuptools-scm)
+ `(("python-setuptools-scm" ,python-setuptools-scm)
("python-pytest" ,python-pytest)
("python-pytest-runner" ,python-pytest-runner)))
(home-page "http://github.com/jaraco/path.py")
(build-system python-build-system)
(propagated-inputs
`(("python-pathpy" ,python-pathpy)))
- (native-inputs
- `(("python-setuptools" ,python-setuptools)))
(home-page "https://github.com/vivainio/pickleshare")
(synopsis "Tiny key value database with concurrency support")
(description
(base32 "0wwi1c6md4vkbcsfsf8dklf3vr4mcdj4mpxkanwgb6jb1432x5yw"))))
(build-system python-build-system)
(native-inputs
- `(("python-setuptools" ,python-setuptools)
- ("unzip" ,unzip)))
+ `(("unzip" ,unzip)))
(home-page "http://cheeseshop.python.org/pypi/simplegeneric")
(synopsis "Python module for simple generic functions")
(description
("python-nose" ,python-nose)
("python-sphinx" ,python-sphinx)
("texlive" ,texlive)
- ("texinfo" ,texinfo)
- ("python-setuptools" ,python-setuptools)))
+ ("texinfo" ,texinfo)))
(arguments
`(#:phases
(modify-phases %standard-phases
(base32
"0cafaiwixgpxwh9dsd28qb0dbzsj6xpxjdkyk30ns91ps10mq422"))))
(build-system python-build-system)
- (inputs
- `(("python-setuptools" ,python-setuptools)))
(home-page
"http://cheeseshop.python.org/pypi/isodate")
(synopsis
(build-system python-build-system)
(propagated-inputs
`(("python-six" ,python-six))) ; required to "import html5lib"
- (inputs
- `(("python-setuptools" ,python-setuptools)))
(arguments
`(#:test-target "check"))
(home-page
(substitute* "urwid/tests/test_event_loops.py"
(("test_remove_watch_file")
"disable_remove_watch_file")))))))
- (native-inputs `(("python-setuptools" ,python-setuptools)))
(home-page "http://urwid.org")
(synopsis "Console user interface library for Python")
(description
"0w4jb0wpx785qw42r3h4fh7gl5w2968q48i7gygybsfxck8nzffs"))))
(build-system python-build-system)
(inputs
- `(("python-setuptools" ,python-setuptools)
- ("sqlite" ,sqlite)))
+ `(("sqlite" ,sqlite)))
(arguments
`(#:phases
;; swap check and install phases
(build-system python-build-system)
(inputs
`(("libxml2" ,libxml2)
- ("libxslt" ,libxslt)
- ("python-setuptools" ,python-setuptools)))
+ ("libxslt" ,libxslt)))
(home-page "http://lxml.de/")
(synopsis
"Python XML processing library")
searching, and modifying a parse tree, providing a toolkit for
dissecting a document and extracting what you need. It automatically
converts incoming documents to Unicode and outgoing documents to UTF-8.")
- (license license:expat)
- (properties `((python2-variant . ,(delay python2-beautifulsoup4))))))
+ (license license:expat)))
(define-public python2-beautifulsoup4
(package
(inherit (package-with-python2
(strip-python2-variant python-beautifulsoup4)))
- (native-inputs `(("python2-setuptools" ,python2-setuptools)))
(arguments `(#:python ,python-2))))
(define-public python2-cssutils
(native-inputs
`(("python2-mock" ,python2-mock) ; for the tests
("unzip" ,unzip))) ; for unpacking the source
- (inputs
- `(("python2-setuptools" ,python2-setuptools)))
(arguments
`(#:python ,python-2 ; Otherwise tests fail with a syntax error.
#:tests? #f ; The tests apparently download an external URL.
(base32
"1xg6gbva1yswghiycmgincv6ab4bn7hpm720ndbj40h8xycmnfvi"))))
(build-system python-build-system)
- (inputs
- `(("python-setuptools" ,python-setuptools)))
(arguments
;; tests fail with message
;; AttributeError: 'module' object has no attribute 'tests'
(base32
"1plw237a4zib4z8s62g0mrs8gm3kjfrp5sxh6bbk9nl3rdls2mln"))))
(build-system python-build-system)
- (inputs
- `(("python-setuptools" ,python-setuptools)))
(home-page
"https://bitbucket.org/al45tair/netifaces")
(synopsis
(propagated-inputs
`(("python-decorator" ,python-decorator)))
(native-inputs
- `(("python-setuptools" ,python-setuptools)
- ("python-nose" ,python-nose)))
+ `(("python-nose" ,python-nose)))
(home-page "http://networkx.github.io/")
(synopsis "Python module for creating and manipulating graphs and networks")
(description
(sha256
(base32 "0fi4b63sj60hvi7rfydvmz2icl4wj74djw5sn2gl8hxd02qw4b91"))))
(build-system python-build-system)
- (inputs `(("python-setuptools" ,python-setuptools)))
(home-page "https://bitbucket.org/johanneskoester/snakemake")
(synopsis "Python-based execution environment for make-like workflows")
(description
(package
(inherit base)
(propagated-inputs `(("python2-pytz" ,python2-pytz)
- ,@(package-propagated-inputs base)))
- (native-inputs `(("python2-setuptools" ,python2-setuptools)
- ,@(package-native-inputs base))))))
+ ,@(package-propagated-inputs base))))))
(define-public python-sympy
(package
(sha256
(base32 "19yp0gy4i7p4g6l3b8vaqkj9qj7yqb5kqy0qgbdagpzgkdz958yz"))))
(build-system python-build-system)
- (native-inputs
- `(("python-setuptools" ,python-setuptools)))
(home-page "http://www.sympy.org/")
(synopsis "Python library for symbolic mathematics")
(description
"q is a Python module for \"print\" style of debugging Python code. It
provides convenient short API for print out of values, tracebacks, and
falling into the Python interpreter.")
- (license license:asl2.0)
- (properties `((python2-variant . ,(delay python2-q))))))
+ (license license:asl2.0)))
(define-public python2-q
- (let ((base (package-with-python2 (strip-python2-variant python-q))))
- (package
- (inherit base)
- (native-inputs
- `(("python2-setuptools" ,python2-setuptools)
- ,@(package-native-inputs base))))))
+ (package-with-python2 python-q))
(define-public python-testlib
(package
(sha256
(base32 "1mz26cxn4x8bbgv0rn0mvj2z05y31rkc8009nvdlb3lam5b4mj3y"))))
(build-system python-build-system)
- (inputs
- `(("python-setuptools" ,python-setuptools)))
(native-inputs
`(("unzip" ,unzip)))
(arguments
(arguments
`(#:python ,python-2 ;Python 2 only
#:tests? #f)) ;no tests
- (inputs
- `(("python-setuptools" ,python-setuptools)))
(home-page "http://python-xlib.sourceforge.net/")
(synopsis "Python X11 client library")
(description
(base32
"171b7ip0hsq5qm83np40h3phlr36ym18w0lay0a8v08kvy3sy1jv"))))
(build-system python-build-system)
- (native-inputs
- `(("python-setuptools" ,python-setuptools)))
(inputs
`(("python-six" ,python-six)))
(home-page
`(("python2-backport-ssl-match-hostname"
,python2-backport-ssl-match-hostname)
("python2-singledispatch" ,python2-singledispatch)
- ,@(package-inputs tornado)))
- (native-inputs
- `(("python2-setuptools" ,python2-setuptools)
- ,@(package-native-inputs tornado))))))
+ ,@(package-inputs tornado))))))
;; the python- version can be removed with python-3.5
(define-public python-backports-abc
(base32
"19fh75lni9pb673n2fn505m1rckm0af0szcv5xx1qm1xpa940glb"))))
(build-system python-build-system)
- (inputs
- `(("python-setuptools" ,python-setuptools)))
(home-page "https://github.com/cython/backports_abc")
(synopsis "Backport of additions to the 'collections.abc' module")
(description
`(("zeromq" ,zeromq)))
(native-inputs
`(("pkg-config" ,pkg-config)
- ("python-nose" ,python-nose)
- ("python-setuptools" ,python-setuptools)))
+ ("python-nose" ,python-nose)))
(home-page "http://github.com/zeromq/pyzmq")
(synopsis "Python bindings for 0MQ")
(description
(base32
"002rkl4lsn6x2mxmf8ar00l0m8i3mzrc6pnzz77blyksmpsxa4x1"))))
(build-system python-build-system)
- (inputs
- `(("python-setuptools" ,python-setuptools)))
(home-page "http://pep8.readthedocs.org/")
(synopsis "Python style guide checker")
(description
(base32
"0qs2sgqszq7wcplis8509wk2ygqcrwzbs1ghfj3svvivq2j377pk"))))
(build-system python-build-system)
- (inputs
- `(("python-setuptools" ,python-setuptools)))
(home-page
"https://github.com/pyflakes/pyflakes")
(synopsis "Passive checker of Python programs")
(build-system python-build-system)
(inputs
`(("python-pytest" ,python-pytest)
- ("python-pytest-runner" ,python-pytest-runner)
- ("python-setuptools" ,python-setuptools)))
+ ("python-pytest-runner" ,python-pytest-runner)))
(home-page "https://github.com/flintwork/mccabe")
(synopsis "McCabe checker, plugin for flake8")
(description
(uri (pypi-uri "mccabe" version))
(sha256
(base32
- "0fi4a81kr5bcv5p4xgibqr595hyj5dafkqgsmfk96mfy8w71fajs"))))
- (inputs `(("python-setuptools" ,python-setuptools)))))
+ "0fi4a81kr5bcv5p4xgibqr595hyj5dafkqgsmfk96mfy8w71fajs"))))))
(define-public python2-mccabe-0.2.1
(package-with-python2 python-mccabe-0.2.1))
"0bs9cz4fr99r2rwig1b8jwaadl1nan7kgpdzqwj0bwbckwbmh7nc"))))
(build-system python-build-system)
(inputs
- `(("python-setuptools" ,python-setuptools)
- ("python-pep8" ,python-pep8)
+ `(("python-pep8" ,python-pep8)
("python-pyflakes" ,python-pyflakes)
("python-mccabe" ,python-mccabe)
("python-mock" ,python-mock)
(define-public python-flake8-2.2.4
(package (inherit python-flake8)
(inputs
- `(("python-setuptools" ,python-setuptools)
- ("python-pep8" ,python-pep8-1.5.7)
+ `(("python-pep8" ,python-pep8-1.5.7)
("python-pyflakes" ,python-pyflakes-0.8.1)
("python-mccabe" ,python-mccabe-0.2.1)
("python-mock" ,python-mock)
"17zqjp9m4d1w3jf2rbbq5xshcw24q1vlcv24gkgfqqyyymajxahx"))))
(build-system python-build-system)
(inputs
- `(("python-setuptools" ,python-setuptools)
- ("python-nose" ,python-nose)
+ `(("python-nose" ,python-nose)
("python-cython" ,python-cython)))
(home-page "https://github.com/lepture/mistune")
(synopsis "Markdown parser in pure Python")
"0nggns5kikn32yyda2zrj1xdmh49pi3v0drggcdwljbv36r8zdyw"))))
(build-system python-build-system)
(inputs
- `(("python-setuptools" ,python-setuptools)
- ("python-nose" ,python-nose)))
+ `(("python-nose" ,python-nose)))
(arguments
`(#:phases
(modify-phases %standard-phases
(propagated-inputs
`(("python2-backport-ssl-match-hostname"
,python2-backport-ssl-match-hostname)
- ,@(package-propagated-inputs terminado)))
- (native-inputs
- `(("python2-setuptools" ,python2-setuptools)
- ,@(package-native-inputs terminado))))))
+ ,@(package-propagated-inputs terminado))))))
(define-public python-fonttools
(package
"08ay3x4ijarwhl60gqx2i9jzq6pxs20p4snc2d1q5jagh4rn39lb"))))
(build-system python-build-system)
(arguments '(#:test-target "check"))
- (propagated-inputs
- ;; XXX: module not found if setuptools is not available.
- `(("python-setuptools" ,python-setuptools)))
(home-page "http://github.com/behdad/fonttools")
(synopsis "Tools to manipulate font files")
(description
(base32
"0g6n288l83sfwavxh1aryi0aqvsr3sp7v6f903mckwqa4scpky62"))))
(build-system python-build-system)
- (native-inputs
- `(("python-setuptools" ,python-setuptools)))
(synopsis "Tool and library for manipulating LilyPond files")
(description "This package provides a Python library to parse, manipulate
or create documents in LilyPond format. A command line program ly is also
(base32
"1iddva7v3fq0aqzsahkazxr7vpw28mqcrsy818z4wyiqnkplbhlg"))))
(build-system python-build-system)
- (inputs
- `(("python-setuptools" ,python-setuptools)))
(home-page "http://github.com/ActiveState/appdirs")
(synopsis
"Determine platform-specific dirs, e.g. a \"user data dir\"")
`(("fuse" ,fuse)
("attr" ,attr)))
(native-inputs
- `(("pkg-config" ,pkg-config)
- ("python-setuptools" ,python-setuptools)))
+ `(("pkg-config" ,pkg-config)))
(synopsis "Python bindings for FUSE")
(description
"Python-LLFUSE is a set of Python bindings for the low level FUSE API.")
suitable for similar data to JSON. This package provides CPython bindings for
reading and writing MessagePack data.")
(home-page "https://pypi.python.org/pypi/msgpack-python/")
- (license license:asl2.0)
- (properties `((python2-variant . ,(delay python2-msgpack))))))
+ (license license:asl2.0)))
(define-public python2-msgpack
- (package (inherit (package-with-python2
- (strip-python2-variant python-msgpack)))
- (native-inputs
- `(("python2-setuptools" ,python2-setuptools)))))
+ (package-with-python2 python-msgpack))
(define-public python-netaddr
(package
"06dxjlbcicq7q3vqy8agq11ra01kvvd47j4mk6dmghjsyzyckxd1"))))
(build-system python-build-system)
(arguments `(#:tests? #f)) ;; No tests.
- (inputs
- `(("python-setuptools" ,python-setuptools)))
(home-page "https://github.com/drkjam/netaddr/")
(synopsis "Pythonic manipulation of network addresses")
(description
;; Tests are not included in the tarball, they are only available in the
;; git repository.
`(#:tests? #f))
- (inputs
- `(("python-setuptools" ,python-setuptools)))
(home-page "https://github.com/GrahamDumpleton/wrapt")
(synopsis "Module for decorators, wrappers and monkey patching")
(description
(base32
"0c7gh3lsdjds262h0v1sqc66l7hqgfwbakn96qrhdbl0i3vm5yz8"))))
(build-system python-build-system)
- (inputs
- `(("python-setuptools" ,python-setuptools)))
(home-page "https://bitbucket.org/micktwomey/pyiso8601")
(synopsis "Module to parse ISO 8601 dates")
(description
(base32
"0yz0bcbwx8r2c01czzfpbrxddynxyk9k95jj8h6sgcb7xmfvl998"))))
(build-system python-build-system)
- (inputs
- `(("python-setuptools" ,python-setuptools)))
(home-page "https://github.com/atdt/monotonic")
(synopsis "Implementation of time.monotonic() for Python 2 & < 3.3")
(description
"02bhhzijfhv8hmi1i54d4b0v43liwhnywhflvxsv4x3zax9s3afq"))))
(build-system python-build-system)
(inputs
- `(("python-nose" ,python-nose)
- ("python-setuptools" ,python-setuptools)))
+ `(("python-nose" ,python-nose)))
(home-page "http://webob.org/")
(synopsis "WSGI request and response object")
(description
;; Current test in setup.py does not work as of 1.0.0, so use nose to
;; run tests instead for now.
(replace 'check (lambda _ (zero? (system* "nosetests")))))))
- (native-inputs `(("python-nose" ,python-nose)
- ("python-setuptools" ,python-setuptools)))
+ (native-inputs `(("python-nose" ,python-nose)))
(home-page "http://www.python-excel.org/")
(synopsis "Library for extracting data from Excel files")
(description "This packages provides a library to extract data from
(base32
"0diwsicwmiq2cpzpxri7cyl5fmsvicafw6nfqf6p6p322dji2g45"))))
(build-system python-build-system)
- (inputs
- `(("python-setuptools" ,python-setuptools)))
(home-page "http://code.google.com/p/prettytable/")
(synopsis "Display tabular data in an ASCII table format")
(description
`(("python-numexpr" ,python-numexpr)
("python-numpy" ,python-numpy)))
(native-inputs
- `(("python-setuptools" ,python-setuptools)
- ("python-cython" ,python-cython)
+ `(("python-cython" ,python-cython)
("pkg-config" ,pkg-config)))
(inputs
`(("hdf5" ,hdf5)
(base32
"0drqgw81xd3fxdlg89kgd79zzrabvfncvkbybi2wr6w2y4s1jmhh"))))
(build-system python-build-system)
- (native-inputs
- `(("python-setuptools" ,python-setuptools)))
(propagated-inputs
`(("python-pyasn1" ,python-pyasn1)))
(home-page "http://sourceforge.net/projects/pyasn1/")
in Python. This library is used to create, poke at, and manipulate IPv4 and
IPv6 addresses and networks. This is a port of the Python 3.3 ipaddress
module to older versions of Python.")
- (license license:psfl)
- (properties `((python2-variant . ,(delay python2-ipaddress))))))
+ (license license:psfl)))
(define-public python2-ipaddress
- (let ((base (package-with-python2 (strip-python2-variant python-ipaddress))))
- (package (inherit base)
- (native-inputs
- `(("python2-setuptools" ,python2-setuptools)
- ,@(package-native-inputs base))))))
+ (package-with-python2 python-ipaddress))
(define-public python2-ipaddr
(package
(base32
"0frxgmgi234lr9hylg62j69j4ik5zhg0wz05w5dhyacbjfnrl68n"))))
(build-system python-build-system)
- (native-inputs
- `(("python-setuptools" ,python-setuptools)))
(home-page "https://github.com/kjd/idna")
(synopsis "Internationalized domain names in applications")
(description
(base32
"0r5r7ygz9m6d2bklflbl84cqhjkc2q12xgis8268ygjh30g2q3wk"))))
(build-system python-build-system)
- (native-inputs
- `(("python-setuptools" ,python-setuptools)))
(home-page "https://github.com/alex/pretend")
(synopsis "Library for stubbing in Python")
(description
(define-public python-cryptography-vectors
(package
(name "python-cryptography-vectors")
- (version "1.3.4")
+ (version "1.5.3")
(source
(origin
(method url-fetch)
(uri (pypi-uri "cryptography_vectors" version))
(sha256
(base32
- "15h1iz2klnpb4f8djxy7cpbnyn3wbjp7bnj4pz6s7w6plghbq524"))))
+ "1bnd1bricyhxa27rhr0ljk0kacxzvysd3ar2j2hlv13a2k6zw4z5"))))
(build-system python-build-system)
- (native-inputs
- `(("python-setuptools" ,python-setuptools)))
(home-page "https://github.com/pyca/cryptography")
(synopsis "Test vectors for the cryptography package")
(description
(define-public python-cryptography
(package
(name "python-cryptography")
- (version "1.3.4")
+ (version "1.5.3")
(source
(origin
(method url-fetch)
(uri (pypi-uri "cryptography" version))
(sha256
(base32
- "1a85l548w5vvq3yhz0az7ajg2ijixzp6gagapw6wgrqvq28ghgs2"))))
+ "1raanvkdfw5ai56ymlij6ghc4k126fs7jx948ig7yn4vj6ndv0ng"))))
(build-system python-build-system)
(arguments
`(#:phases
(native-inputs
`(("python-cryptography-vectors" ,python-cryptography-vectors)
("python-hypothesis" ,python-hypothesis)
- ("python-setuptools" ,python-setuptools)
("python-pretend" ,python-pretend)
("python-pyasn1" ,python-pyasn1)
("python-pyasn1-modules" ,python-pyasn1-modules)
- ("python-pytest" ,python-pytest)))
+ ("python-pytz" ,python-pytz)
+ ("python-pytest" ,python-pytest-2.9.2)))
(home-page "https://github.com/pyca/cryptography")
(synopsis "Cryptographic recipes and primitives for Python")
(description
("python-six" ,python-six)))
(inputs
`(("openssl" ,openssl)))
- (native-inputs
- `(("python-setuptools" ,python-setuptools)))
(home-page "https://github.com/pyca/pyopenssl")
(synopsis "Python wrapper module around the OpenSSL library")
(description
"08cm8d4228fj0qnrysy3qv1a6022zr3dcs25amd14lgxil6vvx26"))))
(build-system python-build-system)
(inputs
- `(("python-setuptools" ,python-setuptools)
- ("python-virtualenv" ,python-virtualenv)
+ `(("python-virtualenv" ,python-virtualenv)
;; Tests
("python-mock" ,python-mock)
("python-pytest" ,python-pytest)
(close-port port)
#t))))))
(inputs
- `(("python-setuptools" ,python-setuptools)
- ("libarchive" ,libarchive)))
+ `(("libarchive" ,libarchive)))
(home-page "https://github.com/Changaco/python-libarchive-c")
(synopsis "Python interface to libarchive")
(description
(synopsis "Python bindings to the libmagic file type guesser. Note that
this module and the python-magic module both provide a \"magic.py\" file;
these two modules, which are different and were developed separately, both
-serve the same purpose: provide Python bindings for libmagic.")
- (properties `((python2-variant . ,(delay python2-file))))))
+serve the same purpose: provide Python bindings for libmagic.")))
(define-public python2-file
- (let ((base (package-with-python2 (strip-python2-variant python-file))))
- (package
- (inherit base)
- (source (package-source file))
- (native-inputs
- `(("python2-setuptools" ,python2-setuptools)
- ,@(package-native-inputs base))))))
+ (package-with-python2 python-file))
(define-public python-debian
(package
(build-system python-build-system)
(inputs
`(("python-six" ,python-six)))
- (native-inputs
- `(("python-setuptools" ,python-setuptools)))
(home-page "http://packages.debian.org/sid/python-debian")
(synopsis "Debian package related modules")
(description
("python-jsonschema" ,python-jsonschema)
("python-jupyter-core" ,python-jupyter-core)
("python-traitlets" ,python-traitlets)))
- (native-inputs
- `(("python-setuptools" ,python-setuptools)))
(home-page "http://jupyter.org")
(synopsis "Jupyter Notebook format")
(description "This package provides the reference implementation of the
(build-system python-build-system)
(propagated-inputs
`(("python-html5lib" ,python-html5lib-0.9)
- ("python-setuptools" ,python-setuptools)
("python-six" ,python-six)))
(native-inputs
`(("python-nose" ,python-nose)))
("python-mistune" ,python-mistune)
("python-nbformat" ,python-nbformat)
("python-pygments" ,python-pygments)
- ("python-setuptools" ,python-setuptools)
("python-traitlets" ,python-traitlets)))
(home-page "http://jupyter.org")
(synopsis "Converting Jupyter Notebooks")
(propagated-inputs
`(("python-notebook" ,python-notebook)))
(native-inputs
- `(("python-nose" ,python-nose)
- ("python-setuptools" ,python-setuptools)))
+ `(("python-nose" ,python-nose)))
(home-page "http://ipython.org")
(synopsis "IPython HTML widgets for Jupyter")
(description "This package provides interactive HTML widgets for Jupyter
(propagated-inputs
`(("python-ipykernel" ,python-ipykernel)
("python-ipython" ,python-ipython)
- ("python-setuptools" ,python-setuptools)
("python-traitlets" ,python-traitlets)
("python-widgetsnbextension" ,python-widgetsnbextension)))
(home-page "http://ipython.org")
("python-ipython" ,python-ipython)
("python-jupyter-client" ,python-jupyter-client)
("python-prompt-toolkit" ,python-prompt-toolkit)
- ("python-pygments" ,python-pygments)
- ("python-setuptools" ,python-setuptools)))
+ ("python-pygments" ,python-pygments)))
(home-page "https://jupyter.org")
(synopsis "Jupyter terminal console")
(description "This package provides a terminal-based console frontend for
("python-ipywidgets" ,python-ipywidgets)
("python-jupyter-console" ,python-jupyter-console)
("python-nbconvert" ,python-nbconvert)
- ("python-notebook" ,python-notebook)
- ("python-setuptools" ,python-setuptools)))
+ ("python-notebook" ,python-notebook)))
(home-page "http://jupyter.org")
(synopsis "Web application for interactive documents")
(description
(base32
"1ak87ikcw34fivcgiz2xvi938dmclh078az65l9x3rmgljrkhgp5"))))
(build-system python-build-system)
- (native-inputs
- `(("python-setuptools" ,python-setuptools)))
(home-page "https://github.com/chardet/chardet")
(synopsis "Universal encoding detector for Python 2 and 3")
(description
"16bf890xbdz3m30rsv2qacklh2rdn1zrfspfnwzx9g7vwz8yw4r1"))))
(build-system python-build-system)
(native-inputs
- `(("python-pytest" ,python-pytest)
- ("python-setuptools" ,python-setuptools)))
+ `(("python-pytest" ,python-pytest)))
(arguments
`(#:phases (alist-replace
'check
(base32
"11p75zpfz3ffhz21nzx9wb23xs993ck5s6hkjcvhswwizni5jynw"))))
(build-system python-build-system)
- (inputs
- `(("python-setuptools" ,python-setuptools)))
(home-page "http://pypi.python.org/pypi/zope.event")
(synopsis "Event publishing system for Python")
(description "Zope.event provides an event publishing API, intended for
(base32
"1rslyph0klk58dmjjy4j0jxy21k03azksixc3x2xhqbkv97cmzml"))))
(build-system python-build-system)
- (inputs
- `(("python-setuptools" ,python-setuptools)))
(home-page "http://pypi.python.org/pypi/zope.i18nmessageid")
(synopsis "Message identifiers for internationalization")
(description "Zope.i18nmessageid provides facilities for declaring
(propagated-inputs
`(("python-pytz" ,python-pytz)))
(native-inputs
- `(("python-nose" ,python-nose)
- ("python-setuptools" ,python-setuptools)))
+ `(("python-nose" ,python-nose)))
(home-page "https://github.com/kurtraschke/pyRFC3339")
(synopsis "Python timestamp library")
(description "Python library for generating and parsing RFC 3339-compliant
(patches (search-patches "python-configobj-setuptools.patch"))))
(build-system python-build-system)
(native-inputs
- `(("python-setuptools" ,python-setuptools)
- ("python-six" ,python-six)))
+ `(("python-six" ,python-six)))
(synopsis "Config file reading, writing and validation")
(description "ConfigObj is a simple but powerful config file reader and
writer: an ini file round tripper. Its main feature is that it is very easy to
(build-system python-build-system)
(native-inputs
`(("python-six" ,python-six))) ; for tests
- (inputs
- `(("python-setuptools" ,python-setuptools)))
(home-page "https://github.com/liris/websocket-client")
(synopsis "WebSocket client for Python")
(description "The Websocket-client module provides the low level APIs for
(description "Library for atomic file writes using platform dependent tools
for atomic file system operations.")
(home-page "https://github.com/untitaker/python-atomicwrites")
- (license license:expat)
- (properties `((python2-variant . ,(delay python2-atomicwrites))))))
+ (license license:expat)))
(define-public python2-atomicwrites
- (package (inherit (package-with-python2
- (strip-python2-variant python-atomicwrites)))
- (native-inputs
- `(("python2-setuptools" ,python2-setuptools)))))
+ (package-with-python2 python-atomicwrites))
(define-public python-requests-toolbelt
(package
package and greatly reduce the number of imports for your users. It is a small
pure Python module that works on virtually all Python versions.")
(home-page "https://bitbucket.org/hpk42/apipkg")
- (license license:expat)
- (properties `((python2-variant . ,(delay python2-apipkg))))))
+ (license license:expat)))
(define-public python2-apipkg
- (package
- (inherit (package-with-python2
- (strip-python2-variant python-apipkg)))
- (native-inputs
- `(("python2-setuptools" ,python2-setuptools)))))
+ (package-with-python2 python-apipkg))
(define-public python-execnet
(package
@item write scripts to administer multiple environments
@end enumerate")
(home-page "http://codespeak.net/execnet/")
- (license license:expat)
- (properties `((python2-variant . ,(delay python2-execnet))))))
+ (license license:expat)))
(define-public python2-execnet
- (let ((execnet (package-with-python2
- (strip-python2-variant python-execnet))))
- (package
- (inherit execnet)
- (native-inputs
- `(("python2-setuptools" ,python2-setuptools)
- ,@(package-native-inputs execnet))))))
+ (package-with-python2 python-execnet))
;;; The software provided by this package was integrated into pytest 2.8.
(define-public python-pytest-cache
(description "The pytest-cache plugin provides tools to rerun failures from
the last py.test invocation.")
(home-page "https://bitbucket.org/hpk42/pytest-cache/")
- (license license:expat)
- (properties `((python2-variant . ,(delay python2-pytest-cache))))))
+ (license license:expat)))
(define-public python2-pytest-cache
- (let ((pytest-cache (package-with-python2
- (strip-python2-variant python-pytest-cache))))
- (package
- (inherit pytest-cache)
- (native-inputs
- `(("python2-setuptools" ,python2-setuptools)
- ,@(package-native-inputs pytest-cache))))))
+ (package-with-python2 python-pytest-cache))
(define-public python-pytest-localserver
(package
(base32
"057qzi46h5dmxdqknsbrssn78lmqjlnm624iqdhrnpk26zcbi1d7"))))
(build-system python-build-system)
- (inputs
- `(("python-setuptools" ,python-setuptools)))
(home-page "https://github.com/kennethreitz/args")
(synopsis "Command-line argument parser")
(description
"1an5lkkqk1zha47198p42ji3m94xmzx1a03dn7866m87n4r4q8h5"))))
(build-system python-build-system)
(inputs
- `(("python-args" ,python-args)
- ("python-setuptools" ,python-setuptools)))
+ `(("python-args" ,python-args)))
(home-page "https://github.com/kennethreitz/clint")
(synopsis "Command-line interface tools")
(description
(base32
"1fdafq5hkis1fxqlmhw0sn44zp2ar46nxhbc22cvwg7hsd8z5gsa"))))
(build-system python-build-system)
- (inputs
- `(("python-setuptools" ,python-setuptools)))
(home-page "https://github.com/berkerpeksag/astor")
(synopsis "Read and write Python ASTs")
(description
"12rp1d9ba7nvd5rhaxi6xzx1rm67r1k1ylsrkzhpwnphqpb06cvj"))))
(build-system python-build-system)
(inputs
- `(("python-appdirs" ,python-appdirs)
- ("python-setuptools" ,python-setuptools)))
+ `(("python-appdirs" ,python-appdirs)))
(home-page "https://github.com/alex/rply")
(synopsis "Parser generator for Python")
(description
(inputs
`(("python-astor" ,python-astor)
("python-clint" ,python-clint)
- ("python-rply" ,python-rply)
- ("python-setuptools" ,python-setuptools)))
+ ("python-rply" ,python-rply)))
(home-page "http://hylang.org/")
(synopsis "Lisp frontend to Python")
(description
(let ((base (package-with-python2 (strip-python2-variant python-rauth))))
(package
(inherit base)
- (native-inputs `(("python2-setuptools" ,python2-setuptools)
- ("python2-unittest2" ,python2-unittest2)
+ (native-inputs `(("python2-unittest2" ,python2-unittest2)
,@(package-native-inputs base))))))
(define-public python2-functools32
(arguments
`(#:python ,python-2
#:tests? #f)) ; no test target
- (native-inputs
- `(("python2-setuptools" ,python2-setuptools)))
(home-page "https://github.com/MiCHiLU/python-functools32")
(synopsis
"Backport of the functools module from Python 3.2.3")
"1vcb34dqhzkhbq1957vdjszhhm5y3j9ba88dgwhqx2zynhmk9qig"))))
(build-system python-build-system)
(arguments `(#:python ,python-2))
- (native-inputs
- `(("python2-setuptools" ,python2-setuptools)))
(home-page "https://github.com/agronholm/pythonfutures")
(synopsis
"Backport of the concurrent.futures package from Python 3.2")
(native-inputs
`(("python2-futures" ,python2-futures)
("python2-pytest" ,python2-pytest)
- ("python2-setuptools" ,python2-setuptools)
,@(package-native-inputs promise))))))
(define-public python-urllib3
(build-system python-build-system)
(arguments `(#:tests? #f))
(native-inputs
- `(("python-setuptools" ,python-setuptools)
- ;; some packages for tests
+ `(;; some packages for tests
("python-nose" ,python-nose)
("python-mock" ,python-mock)
("python-tornado" ,python-tornado)))
(base32
"1716z9pq1r5ys3nkg7wdrb3h2f9rmd0zdxpxzmx3bgwgf6xg48gb"))))
(build-system python-build-system)
- (inputs
- `(("python-setuptools" ,python-setuptools)))
(synopsis "colored terminal text rendering for Python")
(description "Colorama is a Python library for rendering colored terminal
text.")
"1dcxvszbikgzh99ybdc7jq0zb9wspy2ds8z9mjsqiyv3q884xpr5"))))
(build-system python-build-system)
(inputs
- `(("python-pyasn1" ,python-pyasn1)
- ("python-setuptools" ,python-setuptools)))
+ `(("python-pyasn1" ,python-pyasn1)))
(synopsis "Pure-Python RSA implementation")
(description "Python-RSA is a pure-Python RSA implementation. It supports
encryption and decryption, signing and verifying signatures, and key
(base32
"18qfzfm40bgx672lkg8q9x5hdh76n7vax99aank7vh2nw21wg70m"))))
(build-system python-build-system)
- (inputs
- `(("python-setuptools" ,python-setuptools)))
(synopsis "Plugin and hook calling mechanism for Python")
(description "Pluggy is an extraction of the plugin manager as used by
Pytest but stripped of Pytest specific details.")
;; pytest breaks other packages.
'(#:tests? #f))
(inputs
- `(("python-setuptools" ,python-setuptools)
- ("python-pluggy" ,python-pluggy)
+ `(("python-pluggy" ,python-pluggy)
("python-py" ,python-py)
("python-virtualenv" ,python-virtualenv)
("python-pytest" ,python-pytest)))
(base32
"0g9xvl69y7nr3w7ag4fsp6sm4fqf6vrqjw7504x2hzrrsh3ampq8"))))
(build-system python-build-system)
- (inputs
- `(("python-setuptools" ,python-setuptools)))
(synopsis "JSON Matching Expressions")
(description "JMESPath (pronounced “james path”) is a Python library that
allows one to declaratively specify how to extract elements from a JSON
("python-docutils" ,python-docutils)
("python-mock" ,python-mock)
("python-nose" ,python-nose)
- ("python-setuptools" ,python-setuptools)
("python-tox" ,python-tox)
("python-wheel" ,python-wheel)
("python-jmespath" ,python-jmespath)))
("python-mock" ,python-mock)
("python-nose" ,python-nose)
("python-rsa" ,python-rsa)
- ("python-setuptools" ,python-setuptools)
("python-sphinx" ,python-sphinx)
("python-tox" ,python-tox)
("python-wheel" ,python-wheel)
(strip-python2-variant python-hypothesis))))
(package (inherit hypothesis)
(native-inputs
- `(("python2-enum34" ,python2-enum34)
- ("python2-setuptools" ,python2-setuptools))))))
+ `(("python2-enum34" ,python2-enum34))))))
(define-public python-pytest-subtesthack
(package
(base32
"15kzcr5pchf3id4ikdvlv752rc0j4d912n589l4rifp8qsj19l1x"))))
(build-system python-build-system)
- (native-inputs
- `(;; setuptools required for python-2 variant
- ("python-setuptools" ,python-setuptools)))
(propagated-inputs
`(("python-pytest" ,python-pytest)))
(synopsis "Set-up and tear-down fixtures for unit tests")
"WTForms is a flexible forms validation and rendering library
for Python web development. It is very similar to the web form API
available in Django, but is a standalone package.")
- (license license:bsd-3)
- (properties `((python2-variant . ,(delay python2-wtforms))))))
+ (license license:bsd-3)))
(define-public python2-wtforms
- (package
- (inherit (package-with-python2
- (strip-python2-variant python-wtforms)))
- (inputs `(("python2-setuptools" ,python2-setuptools)))))
+ (package-with-python2 python-wtforms))
(define-public python-mako
(package
(synopsis "Templating language for Python")
(description "Mako is a templating language for Python that compiles
templates into Python modules.")
- (license license:expat)
- (properties `((python2-variant . ,(delay python2-mako))))))
+ (license license:expat)))
(define-public python2-mako
- (let ((base (package-with-python2
- (strip-python2-variant python-mako))))
- (package
- (inherit base)
- (native-inputs
- (cons `("python2-setuptools" ,python2-setuptools)
- (package-native-inputs base))))))
+ (package-with-python2 python-mako))
(define-public python-waitress
(package
(synopsis "Waitress WSGI server")
(description "Waitress is meant to be a production-quality pure-Python WSGI
server with very acceptable performance.")
- (license license:zpl2.1)
- (properties `((python2-variant . ,(delay python2-waitress))))))
+ (license license:zpl2.1)))
(define-public python2-waitress
- (package
- (inherit (package-with-python2
- (strip-python2-variant python-waitress)))
- (native-inputs `(("python2-setuptools" ,python2-setuptools)))))
+ (package-with-python2 python-waitress))
(define-public python-wsgiproxy2
(package
WSGIProxy turns WSGI function calls into HTTP requests.
It also includes code to sign requests and pass private data,
and to spawn subprocesses to handle requests.")
- (license license:expat)
- (properties `((python2-variant . ,(delay python2-wsgiproxy2))))))
+ (license license:expat)))
(define-public python2-wsgiproxy2
- (let ((wsgiproxy2 (package-with-python2
- (strip-python2-variant python-wsgiproxy2))))
- (package
- (inherit wsgiproxy2)
- (inputs `(("python2-setuptools" ,python2-setuptools)
- ,@(package-inputs wsgiproxy2))))))
+ (package-with-python2 python-wsgiproxy2))
(define-public python-pastedeploy
(package
(build-system python-build-system)
(native-inputs
`(("python-nose" ,python-nose)))
- (propagated-inputs
- ;; This package uses pkg_resources, part of setuptools, during runtime,
- ;; hence why not a native-input.
- `(("python-setuptools" ,python-setuptools)))
+ ;; Note: setuptools used at runtime for pkg_resources
(home-page "http://pythonpaste.org/deploy/")
(synopsis
"Load, configure, and compose WSGI applications and servers")
(build-system python-build-system)
(native-inputs
`(("python-nose" ,python-nose)))
+ ;; Note: setuptools used at runtime for pkg_resources
(propagated-inputs
- `(;; Uses pkg_resources provided by setuptools internally.
- ("python-setuptools" ,python-setuptools)
- ("python-six" ,python-six)))
+ `(("python-six" ,python-six)))
(arguments
'(;; Tests don't pass on Python 3, but work fine on Python 2.
;; (As of 2.0.2, Python 3 support in Paste is presently a bit broken,
(build-system python-build-system)
(native-inputs
`(("python-nose" ,python-nose)))
+ ;; Note: setuptools used at runtime for pkg_resources
(propagated-inputs
- `(;; Uses pkg_resources provided by setuptools internally.
- ("python-setuptools" ,python-setuptools)
- ("python-paste" ,python-paste)
+ `(("python-paste" ,python-paste)
("python-pastedeploy" ,python-pastedeploy)))
(home-page "http://pythonpaste.org/script/")
(arguments
(description "pyquery allows you to make jQuery queries on xml documents.
The API is as much as possible the similar to jQuery. pyquery uses lxml for
fast xml and html manipulation.")
- (license license:bsd-3)
- (properties `((python2-variant . ,(delay python2-pyquery))))))
+ (license license:bsd-3)))
(define-public python2-pyquery
- (let ((pyquery (package-with-python2
- (strip-python2-variant python-pyquery))))
- (package
- (inherit pyquery)
- (native-inputs `(("python2-setuptools" ,python2-setuptools)
- ,@(package-native-inputs pyquery))))))
+ (package-with-python2 python-pyquery))
(define-public python-webtest
(package
(description "Webtest allows you to test your Python web applications
without starting an HTTP server. It supports anything that supports the
minimum of WSGI.")
- (license license:expat)
- (properties `((python2-variant . ,(delay python2-webtest))))))
+ (license license:expat)))
(define-public python2-webtest
- (let ((webtest (package-with-python2
- (strip-python2-variant python-webtest))))
- (package
- (inherit webtest)
- (native-inputs `(("python2-setuptools" ,python2-setuptools)
- ,@(package-native-inputs webtest))))))
+ (package-with-python2 python-webtest))
(define-public python-anyjson
(package
(arguments `(;; Unlike the python 3 variant, we do run tests. See above!
#:tests? #t
,@(package-arguments anyjson)))
- (native-inputs `(("python2-setuptools" ,python2-setuptools)
- ("python2-nose" ,python2-nose))))))
+ (native-inputs `(("python2-nose" ,python2-nose))))))
(define-public python-amqp
(package
;; unmaintained. Weirdly, does not do this on the python 3
;; version?
#:tests? #f
- ,@(package-arguments amqp)))
- (native-inputs `(("python2-setuptools" ,python2-setuptools)
- ,@(package-native-inputs amqp))))))
+ ,@(package-arguments amqp))))))
(define-public python-kombu
(package
(strip-python2-variant python-kombu))))
(package
(inherit kombu)
- (inputs `(("python2-setuptools" ,python2-setuptools)
- ("python2-unittest2" ,python2-unittest2)
+ (inputs `(("python2-unittest2" ,python2-unittest2)
,@(package-inputs kombu))))))
(define-public python-billiard
(strip-python2-variant python-billiard))))
(package
(inherit billiard)
- (native-inputs `(("python2-setuptools" ,python2-setuptools)
- ("python2-unittest2" ,python2-unittest2)
+ (native-inputs `(("python2-unittest2" ,python2-unittest2)
("python2-mock" ,python2-mock)
,@(package-native-inputs billiard))))))
(strip-python2-variant python-celery))))
(package
(inherit celery)
- (native-inputs `(("python2-setuptools" ,python2-setuptools)
- ("python2-unittest2" ,python2-unittest2)
+ (native-inputs `(("python2-unittest2" ,python2-unittest2)
("python2-mock" ,python2-mock)
,@(package-native-inputs celery))))))
"This package contains codecs for transliterating ISO 10646 texts into
best-effort representations using smaller coded character sets (ASCII,
ISO 8859, etc.).")
- (license license:expat)
- (properties `((python2-variant . ,(delay python2-translitcodec))))))
+ (license license:expat)))
(define-public python2-translitcodec
- (package
- (inherit (package-with-python2
- (strip-python2-variant python-translitcodec)))
- (native-inputs `(("python2-setuptools" ,python2-setuptools)))))
+ (package-with-python2 python-translitcodec))
(define-public python-editor
(package
(description
"python-editor is a library that provides the editor module for
programmatically interfacing with your system's $EDITOR.")
- (license license:asl2.0)
- (properties `((python2-variant . ,(delay python2-editor))))))
+ (license license:asl2.0)))
(define-public python2-editor
- (package
- (inherit (package-with-python2
- (strip-python2-variant python-editor)))
- (inputs `(("python2-setuptools" ,python2-setuptools)))))
+ (package-with-python2 python-editor))
(define-public python-sphinxcontrib-programoutput
(package
(description "A Sphinx extension to literally insert the output of arbitrary
commands into documents, helping you to keep your command examples up to date.")
(home-page "https://github.com/lunaryorn/sphinxcontrib-programoutput")
- (license license:bsd-2)
- (properties `((python2-variant . ,(delay python2-sphinxcontrib-programoutput))))))
+ (license license:bsd-2)))
(define-public python2-sphinxcontrib-programoutput
- (package
- (inherit (package-with-python2
- (strip-python2-variant python-sphinxcontrib-programoutput)))
- (native-inputs `(("python2-setuptools" ,python2-setuptools)))))
+ (package-with-python2 python-sphinxcontrib-programoutput))
(define-public python-sphinx-repoze-autointerface
(package
(synopsis "Python PostgreSQL adapter")
(description
"psycopg2 is a thread-safe PostgreSQL adapter that implements DB-API 2.0. ")
- (license license:lgpl3+)
- (properties `((python2-variant . ,(delay python2-psycopg2))))))
+ (license license:lgpl3+)))
(define-public python2-psycopg2
- (package
- (inherit (package-with-python2
- (strip-python2-variant python-psycopg2)))
- (native-inputs `(("python2-setuptools" ,python2-setuptools)))))
+ (package-with-python2 python-psycopg2))
(define-public python-vobject
(package
should be imported, but only a few components are understood in a sophisticated
way.")
(home-page "http://eventable.github.io/vobject/")
- (license license:asl2.0)
- (properties `((python2-variant . ,(delay python2-vobject))))))
+ (license license:asl2.0)))
(define-public python2-vobject
- (package
- (inherit (package-with-python2
- (strip-python2-variant python-vobject)))
- (native-inputs `(("python2-setuptools" ,python2-setuptools)))))
+ (package-with-python2 python-vobject))
(define-public python-munkres
(package
(description "Flask is a micro web framework based on the Werkzeug toolkit
and Jinja2 template engine. It is called a micro framework because it does not
presume or force a developer to use a particular tool or library.")
- (license license:bsd-3)
- (properties `((python2-variant . ,(delay python2-flask))))))
+ (license license:bsd-3)))
(define-public python2-flask
- (package (inherit (package-with-python2
- (strip-python2-variant python-flask)))
- (native-inputs `(("python2-setuptools" ,python2-setuptools)))))
+ (package-with-python2 python-flask))
(define-public python-cookies
(package
(description "A RFC 6265-compliant HTTP cookie parser and renderer in
Python.")
(home-page "https://gitlab.com/sashahart/cookies")
- (license license:expat)
- (properties `((python2-variant . ,(delay python2-cookies))))))
+ (license license:expat)))
(define-public python2-cookies
- (let ((cookies (package-with-python2
- (strip-python2-variant python-cookies))))
- (package (inherit cookies)
- (native-inputs `(("python2-setuptools" ,python2-setuptools)
- ,@(package-native-inputs cookies))))))
+ (package-with-python2 python-cookies))
(define-public python-responses
(package
(synopsis "Utility for mocking out the `requests` Python library")
(description "A utility library for mocking out the `requests` Python
library.")
- (license license:asl2.0)
- (properties `((python2-variant . ,(delay python2-responses))))))
+ (license license:asl2.0)))
(define-public python2-responses
- (let ((responses (package-with-python2
- (strip-python2-variant python-responses))))
- (package (inherit responses)
- (native-inputs `(("python2-setuptools" ,python2-setuptools)
- ,@(package-native-inputs responses))))))
+ (package-with-python2 python-responses))
(define-public python-whoosh
(package
"10qsqdjpbc85fykc1vgcs8xwbgn4l2l52c8d83xf1q59pwyn79bw"))))
(build-system python-build-system)
(native-inputs
- `(("python-setuptools" ,python-setuptools)
- ("python-pytest" ,python-pytest)))
+ `(("python-pytest" ,python-pytest)))
(home-page "http://bitbucket.org/mchaput/whoosh")
(synopsis "Full text indexing, search, and spell checking library")
(description
(arguments
`(#:python ,python-2))
(native-inputs
- `(("python2-setuptools" ,python2-setuptools)
- ("python2-six" ,python2-six)))
+ `(("python2-six" ,python2-six)))
(home-page "http://pypi.python.org/pypi/pathlib2/")
(synopsis "Object-oriented file system paths - backport of standard
pathlib module")
(let ((jellyfish (package-with-python2
(strip-python2-variant python-jellyfish))))
(package (inherit jellyfish)
- (native-inputs `(("python2-setuptools" ,python2-setuptools)
- ("python2-unicodecsv" ,python2-unicodecsv)
+ (native-inputs `(("python2-unicodecsv" ,python2-unicodecsv)
,@(package-native-inputs jellyfish))))))
(define-public python2-unicodecsv
`(;; It supports Python 3, but Python 3 can already do Unicode CSV.
#:python ,python-2))
(native-inputs
- `(("python2-setuptools" ,python2-setuptools)
- ("python2-unittest2" ,python2-unittest2)))
+ `(("python2-unittest2" ,python2-unittest2)))
(home-page "https://github.com/jdunck/python-unicodecsv")
(synopsis "Unicode CSV module for Python 2")
(description "Unicodecsv is a drop-in replacement for Python 2.7's CSV
port)
(close-port port)
#t))))))
- (native-inputs
- `(("python-setuptools" ,python-setuptools)))
(inputs
;; python-magic needs to be able to find libmagic.so.
`(("file" ,file)))
;; s3cmd is written for python2 only and contains no tests.
`(#:python ,python-2
#:tests? #f))
- (native-inputs
- `(("python2-setuptools" ,python2-setuptools)))
(inputs
`(("python2-dateutil" ,python2-dateutil)
;; The python-file package also provides a magic.py module.
"1pw0kmvc57sjmaxi6c54fqsnihqj6hvhc9y1vaz36axafzqam7bh"))))
(build-system python-build-system)
(native-inputs
- `(("python-nose" ,python-nose)
- ("python-setuptools" ,python-setuptools)))
+ `(("python-nose" ,python-nose)))
(inputs
`(("pkg-config" ,pkg-config)))
(arguments
(strip-python2-variant python-bz2file))))
(package
(inherit base)
- (native-inputs
- `(("python2-setuptools" ,python2-setuptools)))
(arguments
`(#:python ,python-2
#:phases
"@code{python-future} is the missing compatibility layer between Python 2 and
Python 3. It allows you to use a single, clean Python 3.x-compatible codebase
to support both Python 2 and Python 3 with minimal overhead.")
- (license license:expat)
- (properties `((python2-variant . ,(delay python2-future))))))
+ (license license:expat)))
(define-public python2-future
- (let ((base (package-with-python2
- (strip-python2-variant python-future))))
- (package
- (inherit base)
- (native-inputs `(("python2-setuptools" ,python2-setuptools))))))
+ (package-with-python2 python-future))
(define-public python-cysignals
(package
(build-system python-build-system)
(native-inputs
`(("python-cython" ,python-cython)
- ("python-setuptools" ,python-setuptools)
("python-sphinx" ,python-sphinx)))
(inputs
`(("pari-gp" ,pari-gp)))
" line += ' -L" pcre "/lib"
" -L " libgc "/lib'")))
#t))))))
- (native-inputs `(("python2-setuptools" ,python2-setuptools)))
(inputs `(("pcre" ,pcre)
("libgc" ,libgc)))
(home-page "https://shedskin.github.io/")
`(#:python ,python-2))
(build-system python-build-system)
(native-inputs
- `(("python2-unittest2" ,python2-unittest2)
- ("python2-setuptools" ,python2-setuptools)))
+ `(("python2-unittest2" ,python2-unittest2)))
(home-page "https://github.com/python-rope/rope")
(synopsis "Refactoring library for Python")
(description "Rope is a refactoring library for Python. It facilitates
(base32
"0i283z1pivmir61z8kbiycigc94l61v33ygzkhczf1ifq7cppyds"))))
(build-system python-build-system)
- (native-inputs
- `(("python-setuptools" ,python-setuptools)))
(home-page "https://github.com/ultrabug/py3status")
(synopsis "Extensible i3status wrapper written in Python")
(description "py3status is an i3status wrapper which extends i3status
(zero? (system* "py.test" "-vv" "tests" "README.rst")))))))
(native-inputs
`(("python-pytest" ,python-pytest)
- ("python-setuptools" ,python-setuptools)
("python-six" ,python-six)))
(home-page "https://github.com/ionelmc/python-tblib")
(synopsis "Traceback serialization library")
(system* "2to3" "--no-diff" "-wn" "sqlparse" "tests"))
(zero? (system* "py.test")))))))
(native-inputs
- `(("python-pytest" ,python-pytest)
- ("python-setuptools" ,python-setuptools)))
+ `(("python-pytest" ,python-pytest)))
(home-page "https://github.com/andialbrecht/sqlparse")
(synopsis "Non-validating SQL parser")
(description "Sqlparse is a non-validating SQL parser for Python. It
(base32
"04h0m54dyqg49vyarq26mry6kbivnpl47rnmmrk9qn8wpfxviybr"))))
(build-system python-build-system)
- (native-inputs
- `(("python-setuptools" ,python-setuptools)))
(home-page "https://greenlet.readthedocs.io/")
(synopsis "Lightweight in-process concurrent programming")
(description
(propagated-inputs
`(("python-greenlet" ,python-greenlet)))
(native-inputs
- `(("python-setuptools" ,python-setuptools)
- ("python-six" ,python-six)))
+ `(("python-six" ,python-six)))
(inputs
`(("c-ares" ,c-ares)
("libev" ,libev)))
(base32
"0ydxrp9myw1mvsz3qfzx5579y5llmqa82pxvqchgp5syczffi450"))))
(build-system python-build-system)
- (native-inputs
- `(("python-setuptools" ,python-setuptools)))
(propagated-inputs
`(("python-zope-interface" ,python-zope-interface)))
(home-page "https://twistedmatrix.com/")
(synopsis "Python Lex & Yacc")
(description "PLY is a @code{lex}/@code{yacc} implemented purely in Python.
It uses LR parsing and does extensive error checking.")
- (license license:bsd-3)
- (properties `((python2-variant . ,(delay python2-ply))))))
+ (license license:bsd-3)))
(define-public python2-ply
- (package
- (inherit (package-with-python2
- (strip-python2-variant python-ply)))
- (native-inputs `(("python2-setuptools" ,python2-setuptools)))))
+ (package-with-python2 python-ply))
(define-public python-tabulate
(package
(("from common") "from nose.tools")))))
(build-system python-build-system)
(native-inputs
- `(("python-setuptools" ,python-setuptools)
- ;; For testing
+ `(;; For testing
("python-nose" ,python-nose)))
(home-page "https://bitbucket.org/astanin/python-tabulate")
(synopsis "Pretty-print tabular data")
"10pb864if9qi2pq9lfb9m8f7z7ss6rml80gf1d9h64lap5crjnjj"))))
(build-system python-build-system)
(arguments '(#:tests? #f)) ; XXX: needs zookeeper
- (native-inputs
- `(("python-setuptools" ,python-setuptools)))
(propagated-inputs
`(("python-six" ,python-six)))
(home-page "https://kazoo.readthedocs.org")
"1id6sr159p6aa13bxcqyr9gln8sqg1l0ddzns5iws8kk5q1p5cfv"))))
(build-system python-build-system)
(arguments '(#:tests? #f)) ; XXX: needs zookeeper, kafka, etc.
- (native-inputs
- `(("python-setuptools" ,python-setuptools)))
(propagated-inputs
`(("python-gevent" ,python-gevent)
("python-kazoo" ,python-kazoo)
or programs that carefully produce output to be interpreted by one. It is a
Python implementation of the @code{wcwidth} and @code{wcswidth} C functions
specified in POSIX.1-2001 and POSIX.1-2008.")
- (license license:expat)
- (properties `((python2-variant . ,(delay python2-wcwidth))))))
+ (license license:expat)))
(define-public python2-wcwidth
- (package
- (inherit (package-with-python2
- (strip-python2-variant python-wcwidth)))
- (native-inputs `(("python2-setuptools" ,python2-setuptools)))))
+ (package-with-python2 python-wcwidth))
(define-public python2-jsonrpclib
(package
(base32
"02vgirw2bcgvpcxhv5hf3yvvb4h5wzd1lpjx8na5psdmaffj6l3z"))))
(build-system python-build-system)
- (native-inputs
- `(("python2-setuptools" ,python2-setuptools)))
(arguments
`(#:tests? #f
#:python ,python-2))
(base32
"016kf3irrclpkpvcm7q0gmkfibq7jgy30a9v73pp42bq9h9a32bl"))))
(build-system python-build-system)
- (native-inputs
- `(("python-setuptools" ,python-setuptools)))
(home-page "https://github.com/agoragames/chai")
(synopsis "Mocking framework for Python")
(description
"1bz7hkdgpqcjs866y58z8jywpy7al0f4rxdr00bh2l5qddyw245j"))))
(build-system python-build-system)
(native-inputs
- `(("python-setuptools" ,python-setuptools)
- ;; For testing
+ `(;; For testing
("python-chai" ,python-chai)
("python-simplejson" ,python-simplejson)))
(propagated-inputs
(base32
"1jhnxgnw8y3mbzjssixh6qkc7a3afc4fygajhqrqalnilyvpzshq"))))
(build-system python-build-system)
- (native-inputs
- `(("python-setuptools" ,python-setuptools)))
(home-page "http://github.com/jpvanhal/inflection")
(synopsis "Python string transformation library")
(description
(base32
"1hz1x9blsbxya1y9nnhnwwdnqmakxi9mc0jkwj0rn6b1h44i0f86"))))
(build-system python-build-system)
- (native-inputs
- `(("python-setuptools" ,python-setuptools)))
(home-page "http://github.com/toastdriven/pylev")
(synopsis "Levenshtein distance implementation in Python")
(description "Pure Python Levenshtein implementation, based off the
"1k2dcl6mqpn5bljyl6w42rqyd9mb3y9kh2mg7m2x3kfjwvg0rpva"))))
(build-system python-build-system)
(native-inputs
- `(("python-setuptools" ,python-setuptools)
- ;; For testing
+ `(;; For testing
("python-mock" ,python-mock)
("python-pytest" ,python-pytest)))
(propagated-inputs
(base32
"0s22aqqkdscyh8sjspyyax7qa1aiz8p4midrnyf39717fhfczm6x"))))
(build-system python-build-system)
- (native-inputs
- `(("python-setuptools" ,python-setuptools)))
(home-page "https://github.com/ionelmc/python-lazy-object-proxy")
(synopsis "Lazy object proxy for python")
(description
"0jr4v2pd90i6l1xxbss2m05psbjaxvyvvvpq44wycijpfgjqln8i"))))
(build-system python-build-system)
(arguments '(#:tests? #f)) ; XXX: requires internet access
- (native-inputs
- `(("python-setuptools" ,python-setuptools)))
(home-page "http://www.dnspython.org")
(synopsis "DNS toolkit for Python")
(description
(substitute* "setup.py"
(("dnspython3") "dnspython"))
#t)))))
- (native-inputs
- `(("python-setuptools" ,python-setuptools)))
(propagated-inputs
`(("python-dnspython" ,python-dnspython)
("python-idna" ,python-idna)))
(base32
"1jwg9z4rz51mcka1821rwgycsd0mcicyp1kiwjfa2kvg8bm9p2qd"))))
(build-system python-build-system)
- (native-inputs
- `(("python-setuptools" ,python-setuptools)))
(home-page "https://github.com/hamstah/ukpostcodeparser")
(synopsis "UK Postcode parser for Python")
(description
"0vs0dkmg0dlaxf8w6q2i3k0i03gmp56ablldv7ci9x3nbadkn71g"))))
(build-system python-build-system)
(native-inputs
- `(("python-setuptools" ,python-setuptools)
- ;; For testing
+ `(;; For testing
("python-email-validator" ,python-email-validator)
("python-mock" ,python-mock)
("python-ukpostcodeparser" ,python-ukpostcodeparser)))
(base32
"1f5m28vkh4ksq3d80d8mmd2z8wxvc3mgy2pmrv2751dm2xgznm4w"))))
(build-system python-build-system)
- (native-inputs
- `(("python-setuptools" ,python-setuptools)))
(propagated-inputs
`(("python-pyyaml" ,python-pyyaml)))
(home-page "https://github.com/mk-fg/pretty-yaml")
(base32
"0arc6njvs6i9v9hgvzk5m50296g7zy5m9d7pyb43vdsdgxrci5gy"))))
(build-system python-build-system)
- (native-inputs
- `(("python-setuptools" ,python-setuptools)))
(home-page "https://flexmock.readthedocs.org")
(synopsis "Testing library for Python")
(description
"1li49irsqha17nrda4nsb48biyy0rarp9pphf0jpqwm5zr8hv569"))))
(build-system python-build-system)
(arguments '(#:tests? #f)) ; no tests
- (native-inputs
- `(("python-setuptools" ,python-setuptools)))
(propagated-inputs
`(("python-arrow" ,python-arrow)
("python-blinker" ,python-blinker)
highlighting while typing, out-of-the-box multi-line input editing, advanced
code completion, incremental search, support for Chinese double-width
characters, mouse support, and auto suggestions.")
- (license license:bsd-3)
- (properties `((python2-variant . ,(delay python2-prompt-toolkit))))))
+ (license license:bsd-3)))
(define-public python2-prompt-toolkit
- (let ((base (package-with-python2 (strip-python2-variant python-prompt-toolkit))))
- (package
- (inherit base)
- (native-inputs
- `(("python2-setuptools" ,python2-setuptools)
- ,@(package-native-inputs base))))))
+ (package-with-python2 python-prompt-toolkit))
(define-public python-jedi
(package
"Autocompletion for Python that can be used for text editors")
(description
"Jedi is an autocompletion tool for Python that can be used for text editors.")
- (license license:expat)
- (properties `((python2-variant . ,(delay python2-jedi))))))
+ (license license:expat)))
(define-public python2-jedi
- (let ((base (package-with-python2 (strip-python2-variant python-jedi))))
- (package
- (inherit base)
- (native-inputs
- `(("python2-setuptools" ,python2-setuptools)
- ,@(package-native-inputs base))))))
+ (package-with-python2 python-jedi))
(define-public ptpython
(package
`(("python-docopt" ,python-docopt)
("python-jedi" ,python-jedi)
("python-prompt-toolkit" ,python-prompt-toolkit)
- ("python-pygments" ,python-pygments)
- ("python-setuptools" ,python-setuptools)))
+ ("python-pygments" ,python-pygments)))
(home-page "https://github.com/jonathanslenders/ptpython")
(synopsis "Python Read-Eval-Print-Loop with nice IDE-like features")
(description
(description
"Requests-OAuthlib uses the Python Requests and OAuthlib libraries to
provide an easy-to-use Python interface for building OAuth1 and OAuth2 clients.")
- (license license:isc)
- (properties `((python2-variant . ,(delay python2-requests-oauthlib))))))
+ (license license:isc)))
(define-public python2-requests-oauthlib
- (let ((base (package-with-python2 (strip-python2-variant python-requests-oauthlib))))
- (package
- (inherit base)
- (native-inputs `(("python2-setuptools" ,python2-setuptools)
- ,@(package-native-inputs base))))))
+ (package-with-python2 python-requests-oauthlib))
(define-public python-stem
(package
(description "@code{pyserial} provide serial port bindings for Python. It
supports different byte sizes, stop bits, parity and flow control with RTS/CTS
and/or Xon/Xoff. The port is accessed in RAW mode.")
- (license license:bsd-3)
- (properties `((python2-variant . ,(delay python2-pyserial))))))
+ (license license:bsd-3)))
(define-public python2-pyserial
- (let ((base (package-with-python2 (strip-python2-variant python-pyserial))))
- (package
- (inherit base)
- (native-inputs
- `(("python2-setuptools" ,python2-setuptools)
- ,@(package-native-inputs base))))))
+ (package-with-python2 python-pyserial))
(define-public python-kivy
(package
(define-public python2-binaryornot
(let ((base (package-with-python2 (strip-python2-variant python-binaryornot))))
(package (inherit base)
- (native-inputs
- `(("python2-setuptools" ,python2-setuptools)
- ,@(package-native-inputs base)))
(inputs
`(("python2-enum34" ,python2-enum34)
,@(package-inputs base))))))
resources such as WordNet, along with a suite of text processing libraries
for classification, tokenization, stemming, tagging, parsing, and semantic
reasoning, wrappers for natural language processing libraries.")
- (license license:asl2.0)
- (properties `((python2-variant . ,(delay python2-nltk))))))
+ (license license:asl2.0)))
(define-public python2-nltk
- (let ((base (package-with-python2 (strip-python2-variant python-nltk))))
- (package (inherit base)
- (native-inputs
- `(("python2-setuptools" ,python2-setuptools)
- ,@(package-native-inputs base))))))
+ (package-with-python2 python-nltk))
(define-public python-pymongo
(package
(home-page "http://github.com/mongodb/mongo-python-driver")
(synopsis "Python driver for MongoDB")
(description "Python driver for MongoDB.")
- (license license:asl2.0)
- (properties `((python2-variant . ,(delay python2-pymongo))))))
+ (license license:asl2.0)))
(define-public python2-pymongo
- (let ((base (package-with-python2 (strip-python2-variant python-pymongo))))
- (package (inherit base)
- (native-inputs
- `(("python2-setuptools" ,python2-setuptools)
- ,@(package-native-inputs base))))))
+ (package-with-python2 python-pymongo))
(define-public python-sh
(package
(synopsis "Python subprocess interface")
(description "Abstracts process invocation by providing a function
interface for programs.")
- (license license:expat)
- (properties `((python2-variant . ,(delay python2-sh))))))
+ (license license:expat)))
(define-public python2-sh
- (let ((base (package-with-python2 (strip-python2-variant python-sh))))
- (package (inherit base)
- (native-inputs
- `(("python2-setuptools" ,python2-setuptools)
- ,@(package-native-inputs base))))))
+ (package-with-python2 python-sh))
(define-public python-consul
(package
(license license:expat)))
(define-public python2-consul
- (let ((consul (package-with-python2 python-consul)))
- (package (inherit consul)
- (native-inputs
- `(("python2-setuptools" ,python2-setuptools)
- ,@(package-native-inputs consul))))))
+ (package-with-python2 python-consul))
(define-public python-schematics
(package
(home-page "https://github.com/schematics/schematics")
(synopsis "Python Data Structures for Humans")
(description "Python Data Structures for Humans.")
- (license license:bsd-3)
- (properties `((python2-variant . ,(delay python2-schematics))))))
+ (license license:bsd-3)))
(define-public python2-schematics
- (let ((base (package-with-python2 (strip-python2-variant python-schematics))))
- (package (inherit base)
- (native-inputs
- `(("python2-setuptools" ,python2-setuptools)
- ,@(package-native-inputs base))))))
+ (package-with-python2 python-schematics))
(define-public python-publicsuffix
(package
(synopsis "Get suffix for a domain name")
(description "Get a public suffix for a domain name using the Public Suffix
List.")
- (license license:expat)
- (properties `((python2-variant . ,(delay python2-nltk))))))
+ (license license:expat)))
(define-public python2-publicsuffix
- (let ((base (package-with-python2 (strip-python2-variant python-publicsuffix))))
- (package (inherit base)
- (native-inputs
- `(("python2-setuptools" ,python2-setuptools)
- ,@(package-native-inputs base))))))
+ (package-with-python2 python-publicsuffix))
(define-public python-publicsuffix2
(package
(synopsis "Get a public suffix for a domain name using the Public Suffix List")
(description "Get a public suffix for a domain name using the Public Suffix
List. Forked from and using the same API as the publicsuffix package.")
- (license (list license:expat license:mpl2.0))
- (properties `((python2-variant . ,(delay python2-publicsuffix2))))))
+ (license (list license:expat license:mpl2.0))))
(define-public python2-publicsuffix2
- (let ((base (package-with-python2 (strip-python2-variant python-publicsuffix2))))
- (package (inherit base)
- (native-inputs
- `(("python2-setuptools" ,python2-setuptools)
- ,@(package-native-inputs base))))))
+ (package-with-python2 python-publicsuffix2))
(define-public python-url
(package
(let ((base (package-with-python2 (strip-python2-variant python-url))))
(package (inherit base)
(inputs
- `(("python2-publicsuffix" ,python2-publicsuffix)))
- (native-inputs
- `(("python2-setuptools" ,python2-setuptools)
- ,@(package-native-inputs base))))))
+ `(("python2-publicsuffix" ,python2-publicsuffix))))))
(define-public python-freezegun
(package
(license license:asl2.0)))
(define-public python2-freezegun
- (let ((base (package-with-python2 (strip-python2-variant python-freezegun))))
- (package (inherit base)
- (native-inputs
- `(("python2-setuptools" ,python2-setuptools)
- ,@(package-native-inputs base))))))
+ (package-with-python2 python-freezegun))
+
(define-public python-odfpy
(package
(synopsis "The httplib2 caching algorithms for use with requests")
(description "CacheControl is a port of the caching algorithms in
@code{httplib2} for use with @code{requests} session objects.")
- (license license:asl2.0)
- (properties `((python2-variant . ,(delay python2-cachecontrol))))))
+ (license license:asl2.0)))
(define-public python2-cachecontrol
- (let ((base (package-with-python2 (strip-python2-variant python-cachecontrol))))
- (package (inherit base)
- (native-inputs
- `(("python2-setuptools" ,python2-setuptools)
- ,@(package-native-inputs base))))))
+ (package-with-python2 python-cachecontrol))
(define-public python-lit
(package
(description "@code{lit} is a portable tool for executing LLVM and Clang
style test suites, summarizing their results, and providing indication of
failures.")
- (license license:ncsa)
- (properties `((python2-variant . ,(delay python2-lit))))))
+ (license license:ncsa)))
(define-public python2-lit
- (let ((base (package-with-python2 (strip-python2-variant python-lit))))
- (package
- (inherit base)
- (native-inputs
- `(("python2-setuptools" ,python2-setuptools)
- ,@(package-native-inputs base))))))
+ (package-with-python2 python-lit))
(define-public python-pytest-pep8
(package
(home-page "https://bitbucket.org/pytest-dev/pytest-pep8")
(synopsis "Py.test plugin to check PEP8 requirements")
(description "Pytest plugin for checking PEP8 compliance.")
- (license license:expat)
- (properties `((python2-variant . ,(delay python2-pytest-pep8))))))
+ (license license:expat)))
(define-public python2-pytest-pep8
- (let ((base (package-with-python2 (strip-python2-variant python-pytest-pep8))))
- (package (inherit base)
- (native-inputs
- `(("python2-setuptools" ,python2-setuptools)
- ,@(package-native-inputs base))))))
+ (package-with-python2 python-pytest-pep8))
(define-public python-pytest-flakes
(package
(home-page "https://github.com/fschulze/pytest-flakes")
(synopsis "Py.test plugin to check source code with pyflakes")
(description "Pytest plugin for checking Python source code with pyflakes.")
- (license license:expat)
- (properties `((python2-variant . ,(delay python2-pytest-flakes))))))
+ (license license:expat)))
(define-public python2-pytest-flakes
- (let ((base (package-with-python2 (strip-python2-variant python-pytest-flakes))))
- (package (inherit base)
- (native-inputs
- `(("python2-setuptools" ,python2-setuptools)
- ,@(package-native-inputs base))))))
+ (package-with-python2 python-pytest-flakes))
(define-public python-natsort
(package
(let ((base (package-with-python2 (strip-python2-variant python-natsort))))
(package (inherit base)
(native-inputs
- `(("python2-setuptools" ,python2-setuptools)
- ("python2-pathlib" ,python2-pathlib)
+ `(("python2-pathlib" ,python2-pathlib)
("python2-mock" ,python2-mock)
("python2-enum34" ,python2-enum34)
,@(package-native-inputs base))))))
"Glances is a curses-based monitoring tool for a wide variety of platforms.
Glances uses the PsUtil library to get information from your system. It monitors
CPU, load, memory, network bandwidth, disk I/O, disk use, and more.")
- (license license:lgpl3+)
- (properties `((python2-variant . ,(delay python2-glances))))))
+ (license license:lgpl3+)))
(define-public python2-glances
- (let ((base (package-with-python2 (strip-python2-variant python-glances))))
- (package
- (inherit base)
- (native-inputs
- `(("python2-setuptools" ,python2-setuptools)
- ,@(package-native-inputs base))))))
+ (package-with-python2 python-glances))
(define-public python-graphql-core
(package
runtime designed and used to request and deliver data to mobile and web apps.
This library is a port of @url{https://github.com/graphql/graphql-js,graphql-js}
to Python.")
- (properties `((python2-variant . ,(delay python2-graphql-core))))
(license license:expat)))
(define-public python2-graphql-core
- (let ((base (package-with-python2
- (strip-python2-variant python-graphql-core))))
- (package (inherit base)
- (native-inputs
- `(("python2-setuptools" ,python2-setuptools)
- ,@(package-native-inputs base))))))
+ (package-with-python2 python-graphql-core))
(define-public python-graphql-relay
(package
should be noted that the code is a exact port of the original
@url{https://github.com/graphql/graphql-relay-js,graphql-relay js implementation}
from Facebook.")
- (properties `((python2-variant . ,(delay python2-graphql-relay))))
(license license:expat)))
(define-public python2-graphql-relay
- (let ((base (package-with-python2
- (strip-python2-variant python-graphql-relay))))
- (package (inherit base)
- (native-inputs
- `(("python2-setuptools" ,python2-setuptools)
- ,@(package-native-inputs base))))))
+ (package-with-python2 python-graphql-relay))
(define-public python-graphene
(package
(strip-python2-variant python-graphene))))
(package (inherit base)
(native-inputs
- `(("python2-setuptools" ,python2-setuptools)
- ("python2-sqlalchemy" ,python2-sqlalchemy)
+ `(("python2-sqlalchemy" ,python2-sqlalchemy)
,@(package-native-inputs base))))))
(define-public python-nautilus
"01hwzjc1zshk4vvxrcghm398fpy4jls66dyz06g07mrwqif8878p"))))
(build-system python-build-system)
(arguments `(#:tests? #f)) ; fails to import test modules
- (native-inputs
- `(("python-setuptools" ,python-setuptools)))
(inputs
`(("python-bcrypt" ,python-bcrypt)
("python-click" ,python-click)
(synopsis "Record HTTP interactions with python-requests")
(description "Betamax will record your test suite's HTTP interactions and
replay them during future tests. It is designed to work with python-requests.")
- (license license:expat)
- (properties `((python2-variant . ,(delay python2-betamax))))))
+ (license license:expat)))
(define-public python2-betamax
- (let ((base (package-with-python2 (strip-python2-variant python-betamax))))
- (package
- (inherit base)
- (native-inputs
- `(("python2-setuptools" ,python2-setuptools)
- ,@(package-native-inputs base))))))
+ (package-with-python2 python-betamax))
(define-public python-s3transfer
(package
(inherit base)
(native-inputs
`(("python2-futures" ,python2-futures)
- ("python2-setuptools" ,python2-setuptools)
,@(package-native-inputs base))))))
(define-public python-setproctitle
The schema format is based on the JSON Schema
proposal (http://json-schema.org), so combined with json the library is also
useful as a validator for JSON data.")
- (license license:expat)
- (properties `((python2-variant . ,(delay python2-validictory))))))
+ (license license:expat)))
(define-public python2-validictory
- (let ((base (package-with-python2
- (strip-python2-variant python-validictory))))
- (package
- (inherit base)
- (native-inputs `(("python2-setuptools" ,python2-setuptools)
- ,@(package-native-inputs base))))))
+ (package-with-python2 python-validictory))
(define-public python-aniso8601
(package
(description
"This package allows determination of image size from
PNG, JPEG, JPEG2000 and GIF files in pure Python.")
- (license license:expat)
- (properties `((python2-variant . ,(delay python2-imagesize))))))
+ (license license:expat)))
(define-public python2-imagesize
- (let ((base (package-with-python2 (strip-python2-variant python-imagesize))))
- (package
- (inherit base)
- (native-inputs `(("python2-setuptools" ,python2-setuptools)
- ,@(package-native-inputs base))))))
+ (package-with-python2 python-imagesize))
(define-public python-axolotl-curve25519
(package
`(;; Prevent creation of the egg. This works around
;; https://debbugs.gnu.org/cgi/bugreport.cgi?bug=20765
#:configure-flags '("--root=/")))
- (native-inputs
- `(("python-setuptools" ,python-setuptools)))
(home-page "https://github.com/tgalal/python-axolotl-curve25519")
(synopsis "Python wrapper for curve25519 library")
(description "This is a python wrapper for the curve25519 library
;; Prevent creation of the egg. This works around
;; https://debbugs.gnu.org/cgi/bugreport.cgi?bug=20765
#:configure-flags '("--root=/")))
- (native-inputs
- `(("python-setuptools" ,python-setuptools)))
(propagated-inputs
`(("python-axolotl-curve25519" ,python-axolotl-curve25519)
("python-dateutil" ,python-dateutil)
(define-public python2-axolotl
(package-with-python2 python-axolotl))
+
+(define-public python-termstyle
+ (package
+ (name "python-termstyle")
+ (version "0.1.11")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "termstyle" version))
+ (sha256
+ (base32
+ "17wzkkcqy5zc0g68xlad3kcv66iw14d2pwqc0h9420gak0vbhx7g"))))
+ (build-system python-build-system)
+ (home-page "http://github.com/gfxmonk/termstyle")
+ (synopsis "Console text coloring for Python")
+ (description "This package provides console text coloring for Python.")
+ (license license:bsd-3)))
+
+(define-public python-rednose
+ (package
+ (name "python-rednose")
+ (version "1.2.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "rednose" version))
+ (sha256
+ (base32
+ "0b0bsna217lr1nykyhl5fgjly15zhdvqd4prg4wy1zrgfv7al6m0"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'fix-deps
+ (lambda _
+ ;; See <https://github.com/JBKahn/rednose/issues/12>
+ (substitute* "setup.py"
+ (("python-termstyle") "termstyle"))
+ #t)))))
+ (propagated-inputs
+ `(("python-colorama" ,python-colorama)
+ ("python-termstyle" ,python-termstyle)))
+ (native-inputs
+ `(("python-six" ,python-six)
+ ("python-nose" ,python-nose)))
+ (home-page "https://github.com/JBKahn/rednose")
+ (synopsis "Colored output for Python nosetests")
+ (description "This package provides colored output for the
+@command{nosetests} command of the Python Nose unit test framework.")
+ (license license:bsd-3)))
+
+(define-public python-flask-restplus
+ (package
+ (name "python-flask-restplus")
+ (version "0.9.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "flask-restplus" version))
+ (sha256
+ (base32
+ "11his6ii5brpkhld0d5bwzjjw4q3vmplpd6fmgzjrvvklsbk0cf4"))))
+ (build-system python-build-system)
+ (propagated-inputs
+ `(("python-aniso8601" ,python-aniso8601)
+ ("python-flask" ,python-flask)
+ ("python-jsonschema" ,python-jsonschema)
+ ("python-pytz" ,python-pytz)
+ ("python-six" ,python-six)))
+ (native-inputs
+ `(("python-tzlocal" ,python-tzlocal)
+ ("python-blinker" ,python-blinker)
+ ("python-nose" ,python-nose)
+ ("python-rednose" ,python-rednose)))
+ (home-page "https://github.com/noirbizarre/flask-restplus")
+ (synopsis "Framework for documented API development with Flask")
+ (description "This package provides a framework for API development with
+the Flask web framework in Python. It is similar to package
+@code{python-flask-restful} but supports the @code{python-swagger}
+documentation builder.")
+ (license license:expat)))