From c7303d3cef71dbe7fad2d082126e787a4385c765 Mon Sep 17 00:00:00 2001 From: David Thompson Date: Tue, 2 Sep 2014 20:53:31 -0400 Subject: gnu: Add python-exif-read. * gnu/packages/python.scm (python-exif-read, python2-exif-read): New variables. --- gnu/packages/python.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) (limited to 'gnu/packages/python.scm') diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 641a5dfc67..17147b96bc 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -968,3 +968,30 @@ (define-public behave non-technical or business participants in a software project. Behave uses tests written in a natural language style, backed up by Python code.") (license x11))) + +(define-public python-exif-read + (package + (name "python-exif-read") + (version "1.4.2") + (source (origin + (method url-fetch) + (uri + (string-append + "https://pypi.python.org/packages/source/E/ExifRead/ExifRead-" + version ".tar.gz")) + (sha256 + (base32 + "17c627gcdmyc05hz4zk8qs4pjgw6rc68qzjzgz8gh1cmpsd7acf1")))) + (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") + (description + "ExifRead is a Python library to extract EXIF data from tiff and jpeg +files.") + (license bsd-3))) + +(define-public python2-exif-read + (package-with-python2 python-exif-read)) -- cgit v1.2.3 From d5f89b22d82fb1c7f41b784f2711d898ce81396b Mon Sep 17 00:00:00 2001 From: David Thompson Date: Tue, 2 Sep 2014 21:00:40 -0400 Subject: gnu: Add python-pyld. * gnu/packages/python.scm (python-pyld, python2-pyld): New variables. --- gnu/packages/python.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) (limited to 'gnu/packages/python.scm') diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 17147b96bc..ad5def2a8c 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -995,3 +995,29 @@ (define-public python-exif-read (define-public python2-exif-read (package-with-python2 python-exif-read)) + +(define-public python-pyld + (package + (name "python-pyld") + (version "0.6.0") + (source (origin + (method url-fetch) + (uri + (string-append + "https://pypi.python.org/packages/source/P/PyLD/PyLD-" + version ".tar.gz")) + (sha256 + (base32 + "1l9ymj85fsvayqplinzpk0kyiq6m74ps9xd3a9fhlxfn1rldf8x8")))) + (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") + (description + "PyLD is an implementation of the JSON-LD specification.") + (license bsd-3))) + +(define-public python2-pyld + (package-with-python2 python-pyld)) -- cgit v1.2.3 From 3a1f9a68e5c75097f94f193f96350db97723f027 Mon Sep 17 00:00:00 2001 From: David Thompson Date: Tue, 2 Sep 2014 21:22:14 -0400 Subject: gnu: Add python-certifi. * gnu/packages/python.scm (python-certifi, python2-certifi): New variables. --- gnu/packages/python.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) (limited to 'gnu/packages/python.scm') diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index ad5def2a8c..766ce16551 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -1021,3 +1021,30 @@ (define-public python-pyld (define-public python2-pyld (package-with-python2 python-pyld)) + +(define-public python-certifi + (package + (name "python-certifi") + (version "14.05.14") + (source (origin + (method url-fetch) + (uri + (string-append + "https://pypi.python.org/packages/source/c/certifi/certifi-" + version ".tar.gz")) + (sha256 + (base32 + "0s8vxzfz6s4m6fvxc7z25k9j35w0rh6jkw3wwcd1az1mssncn6qy")))) + (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") + (description + "Certifi is a Python library that contains a CA certificate bundle, which +is used by the Requests library to verify HTTPS requests.") + (license asl2.0))) + +(define-public python2-certifi + (package-with-python2 python-certifi)) -- cgit v1.2.3 From e6cfbd364a16e372b036cba73c0f94e9c24933c6 Mon Sep 17 00:00:00 2001 From: David Thompson Date: Tue, 2 Sep 2014 21:22:43 -0400 Subject: gnu: Add python2-requests. * gnu/packages/python.scm (python2-requests): New variable. --- gnu/packages/python.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) (limited to 'gnu/packages/python.scm') diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 766ce16551..5562ed1a28 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -1048,3 +1048,29 @@ (define-public python-certifi (define-public python2-certifi (package-with-python2 python-certifi)) + +(define-public python2-requests + (package + (name "python2-requests") + (version "2.4.0") + (source (origin + (method url-fetch) + (uri + (string-append + "https://pypi.python.org/packages/source/r/requests/requests-" + version ".tar.gz")) + (sha256 + (base32 + "0gknlfx1wakrrm1zi8gi03x2lzj4dsns0vjw0nsmgqvkphyf01vh")))) + (build-system python-build-system) + (inputs + `(("python-setuptools" ,python-setuptools) + ("python-certifi" ,python-certifi))) + (arguments `(#:tests? #f ; no tests + #:python ,python-2)) + (home-page "http://python-requests.org/") + (synopsis "Python HTTP library") + (description + "Requests is a Python HTTP client library. It aims to be easier to use +than Python’s urllib2 library.") + (license asl2.0))) -- cgit v1.2.3 From 864b5211cdb4688f3be66975dba4e753e2e59241 Mon Sep 17 00:00:00 2001 From: David Thompson Date: Wed, 3 Sep 2014 08:06:29 -0400 Subject: gnu: Add python-jsonschema. * gnu/packages/python.scm (python-jsonschema, python2-jsonschema): New variables. --- gnu/packages/python.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) (limited to 'gnu/packages/python.scm') diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 5562ed1a28..3ef862dd63 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -1074,3 +1074,28 @@ (define-public python2-requests "Requests is a Python HTTP client library. It aims to be easier to use than Python’s urllib2 library.") (license asl2.0))) + +(define-public python-jsonschema + (package + (name "python-jsonschema") + (version "2.4.0") + (source (origin + (method url-fetch) + (uri + (string-append + "https://pypi.python.org/packages/source/j/jsonschema/jsonschema-" + version ".tar.gz")) + (sha256 + (base32 + "1yik3031ziygvq66rj3mzfqdgxj29sg1bkfc46wsgi7lnbqs560j")))) + (build-system python-build-system) + (inputs + `(("python-setuptools" ,python-setuptools))) + (home-page "http://github.com/Julian/jsonschema") + (synopsis "Implementation of JSON Schema for Python") + (description + "Jsonschema is an implementation of JSON Schema for Python.") + (license expat))) + +(define-public python2-jsonschema + (package-with-python2 python-jsonschema)) -- cgit v1.2.3 From 850189b839e785bcebb2add7043fded688c61fbe Mon Sep 17 00:00:00 2001 From: David Thompson Date: Wed, 3 Sep 2014 23:12:11 -0400 Subject: gnu: Add python-unidecode. * gnu/packages/python.scm (python-unidecode, python2-unidecode): New variables. --- gnu/packages/python.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) (limited to 'gnu/packages/python.scm') diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 3ef862dd63..2ff4572a5c 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -1099,3 +1099,32 @@ (define-public python-jsonschema (define-public python2-jsonschema (package-with-python2 python-jsonschema)) + +(define-public python-unidecode + (package + (name "python-unidecode") + (version "0.04.16") + (source (origin + (method url-fetch) + (uri + (string-append + "https://pypi.python.org/packages/source/U/Unidecode/Unidecode-" + version ".tar.gz")) + (sha256 + (base32 + "0yv56vc49rvippyxgxvcyz7jklc07ky38rcspax7p00sgmriiljc")))) + (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 + "Unidecode provides ASCII transliterations of Unicode text. Unidecode is +useful when integrating with legacy code that doesn't support Unicode, or for +ease of entry of non-Roman names on a US keyboard, or when constructing ASCII +machine identifiers from human-readable Unicode strings that should still be +somewhat intelligeble.") + (license gpl2+))) + +(define-public python2-unidecode + (package-with-python2 python-unidecode)) -- cgit v1.2.3 From 56ea0efd72b82d82f48942c30fce8d74f808513a Mon Sep 17 00:00:00 2001 From: David Thompson Date: Fri, 5 Sep 2014 08:33:45 -0400 Subject: gnu: Add python-mimeparse. * gnu/packages/python.scm (python-mimeparse, python2-mimeparse): New variables. --- gnu/packages/python.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) (limited to 'gnu/packages/python.scm') diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 2ff4572a5c..55e8469a63 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -939,6 +939,35 @@ (define-public scons software.") (license x11))) +(define-public python-mimeparse + (package + (name "python-mimeparse") + (version "0.1.4") + (source + (origin + (method url-fetch) + (uri (string-append + "https://pypi.python.org/packages/source/p/python-mimeparse/python-mimeparse-" + version ".tar.gz")) + (sha256 + (base32 + "1hyxg09kaj02ri0rmwjqi86wk4nd1akvv7n0dx77azz76wga4s9w")))) + (build-system python-build-system) + (inputs + `(("python-setuptools" ,python-setuptools))) + (arguments + '(#:tests? #f)) ; no setup.py test command + (home-page + "https://github.com/dbtsai/python-mimeparse") + (synopsis "Python library for parsing MIME types.") + (description + "Mimeparse provides basic functions for parsing MIME type names and +matching them against a list of media-ranges.") + (license expat))) + +(define-public python2-mimeparse + (package-with-python2 python-mimeparse)) + (define-public behave (package (name "behave") -- cgit v1.2.3 From c15a5c0eaca0310e54a1352da5a65cc8df76c084 Mon Sep 17 00:00:00 2001 From: David Thompson Date: Fri, 5 Sep 2014 08:37:57 -0400 Subject: gnu: Add python-extras. * gnu/packages/python.scm (python-extras, python2-extras): New variables. --- gnu/packages/python.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) (limited to 'gnu/packages/python.scm') diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 55e8469a63..7048b5babc 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -939,6 +939,34 @@ (define-public scons software.") (license x11))) +(define-public python-extras + (package + (name "python-extras") + (version "0.0.3") + (source + (origin + (method url-fetch) + (uri (string-append + "https://pypi.python.org/packages/source/e/extras/extras-" + version ".tar.gz")) + (sha256 + (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)) + (home-page "https://github.com/testing-cabal/extras") + (synopsis "Useful extensions to the Python standard library") + (description + "Extras is a set of extensions to the Python standard library.") + (license expat))) + +(define-public python2-extras + (package-with-python2 python-extras)) + (define-public python-mimeparse (package (name "python-mimeparse") -- cgit v1.2.3 From 4435427e6d87a2b153dffd43a34f3ab234564cc7 Mon Sep 17 00:00:00 2001 From: David Thompson Date: Fri, 5 Sep 2014 08:39:43 -0400 Subject: gnu: Add python-nose. * gnu/packages/python.scm (python-nose, python2-nose): New variables. --- gnu/packages/python.scm | 29 ++++++++++++++++++++++++++++- 1 file changed, 28 insertions(+), 1 deletion(-) (limited to 'gnu/packages/python.scm') diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 7048b5babc..0208354205 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -23,7 +23,7 @@ (define-module (gnu packages python) #:use-module ((guix licenses) #:select (asl2.0 bsd-3 bsd-style cc0 expat x11 x11-style - gpl2 gpl2+ lgpl2.1+ + gpl2 gpl2+ lgpl2.0+ lgpl2.1+ psfl public-domain)) #:use-module ((guix licenses) #:select (zlib) #:renamer (symbol-prefix-proc 'license:)) @@ -996,6 +996,33 @@ (define-public python-mimeparse (define-public python2-mimeparse (package-with-python2 python-mimeparse)) +(define-public python-nose + (package + (name "python-nose") + (version "1.3.4") + (source + (origin + (method url-fetch) + (uri (string-append + "https://pypi.python.org/packages/source/n/nose/nose-" + version ".tar.gz")) + (sha256 + (base32 + "00qymfgwg4iam4xi0w9bnv7lcb3fypq1hzfafzgs1rfmwaj67g3n")))) + (build-system python-build-system) + (inputs + `(("python-setuptools" ,python-setuptools))) + (arguments + '(#:tests? #f)) ; FIXME: test suite fails + (home-page "http://readthedocs.org/docs/nose/") + (synopsis "Python testing library") + (description + "Nose extends the unittest library to make testing easier.") + (license lgpl2.0+))) + +(define-public python2-nose + (package-with-python2 python-nose)) + (define-public behave (package (name "behave") -- cgit v1.2.3 From 6cd9c356374a5af6cf4b51f6688b34933e36c982 Mon Sep 17 00:00:00 2001 From: David Thompson Date: Fri, 5 Sep 2014 08:45:24 -0400 Subject: gnu: Add python-unittest2. * gnu/packages/python.scm (python-unittest2, python2-unittest2): New variables. --- gnu/packages/python.scm | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) (limited to 'gnu/packages/python.scm') diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 0208354205..fd8c6fefae 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -1023,6 +1023,48 @@ (define-public python-nose (define-public python2-nose (package-with-python2 python-nose)) +(define-public python-unittest2 + (package + (name "python-unittest2") + (version "0.5.1") + (source + (origin + (method url-fetch) + (uri (string-append + "https://pypi.python.org/packages/source/u/unittest2py3k/unittest2py3k-" + version ".tar.gz")) + (sha256 + (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 + "Unittest2 is a replacement for the unittest module in the Python +standard library.") + (license psfl))) + +(define-public python2-unittest2 + (package (inherit python-unittest2) + (name "python2-unittest2") + (version "0.5.1") + (source + (origin + (method url-fetch) + (uri (string-append + "https://pypi.python.org/packages/source/u/unittest2/unittest2-" + version ".tar.gz")) + (sha256 + (base32 + "0wbs4i4x3x7klr3v35ss6p9mcqz883i1xgcpkhvl7n2lyv6yhpda")))) + (inputs + `(("python2-setuptools" ,python-setuptools))) + (arguments + `(#:python ,python-2 + #:tests? #f)))) ; no setup.py test command + (define-public behave (package (name "behave") -- cgit v1.2.3 From 542ad60fbc7de02d86ff61e061af9aa5f6a47453 Mon Sep 17 00:00:00 2001 From: David Thompson Date: Fri, 5 Sep 2014 08:59:37 -0400 Subject: gnu: Add python-py. * gnu/packages/python.scm (python-py, python2-py): New variables. --- gnu/packages/python.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) (limited to 'gnu/packages/python.scm') diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index fd8c6fefae..3edc9b1581 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -1065,6 +1065,32 @@ (define-public python2-unittest2 `(#:python ,python-2 #:tests? #f)))) ; no setup.py test command +(define-public python-py + (package + (name "python-py") + (version "1.4.23") + (source + (origin + (method url-fetch) + (uri (string-append + "https://pypi.python.org/packages/source/p/py/py-" + version ".tar.gz")) + (sha256 + (base32 + "1jkhffpai419v5rickm2vz86p9bkg3b3kcm2k4bi5wfajhw2m3xs")))) + (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 + "Py is a Python library for file name parsing, .ini file parsing, I/O, +code introspection, and logging.") + (license expat))) + +(define-public python2-py + (package-with-python2 python-py)) + (define-public behave (package (name "behave") -- cgit v1.2.3 From 855d4761a504e217accc85fcc159c70c07dbb951 Mon Sep 17 00:00:00 2001 From: David Thompson Date: Fri, 5 Sep 2014 09:16:50 -0400 Subject: gnu: Add python-pytest. * gnu/packages/python.scm (python-pytest, python2-pytest): New variables. --- gnu/packages/python.scm | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) (limited to 'gnu/packages/python.scm') diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 3edc9b1581..3e71b39daf 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -1091,6 +1091,42 @@ (define-public python-py (define-public python2-py (package-with-python2 python-py)) +(define-public python-pytest + (package + (name "python-pytest") + (version "2.6.1") + (source + (origin + (method url-fetch) + (uri (string-append + "https://pypi.python.org/packages/source/p/pytest/pytest-" + version ".tar.gz")) + (sha256 + (base32 + "0g2w4p0n42wvz8rq4k6gnzpkakgz3g8sfanxk8jrsra9675snkcr")) + (modules '((guix build utils))) + (snippet + ;; One of the tests involves the /usr directory, so it fails. + '(substitute* "testing/test_argcomplete.py" + (("def test_remove_dir_prefix\\(self\\):") + "@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-nose" ,python-nose) + ("python-mock" ,python-mock))) + (home-page "http://pytest.org") + (synopsis "Python testing library") + (description + "Pytest is a testing tool that provides auto-discovery of test modules +and functions, detailed info on failing assert statements, modular fixtures, +and many external plugins.") + (license expat))) + +(define-public python2-pytest + (package-with-python2 python-pytest)) + (define-public behave (package (name "behave") -- cgit v1.2.3 From 84d240172863e293ed25f38469e9676afb3c2aa9 Mon Sep 17 00:00:00 2001 From: David Thompson Date: Fri, 5 Sep 2014 09:19:23 -0400 Subject: gnu: Add python-scripttest. * gnu/packages/python.scm (python-scriptest, python2-scripttest): New variables. --- gnu/packages/python.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) (limited to 'gnu/packages/python.scm') diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 3e71b39daf..5235ced452 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -1127,6 +1127,33 @@ (define-public python-pytest (define-public python2-pytest (package-with-python2 python-pytest)) +(define-public python-scripttest + (package + (name "python-scripttest") + (version "1.3") + (source + (origin + (method url-fetch) + (uri (string-append + "https://pypi.python.org/packages/source/s/scripttest/scripttest-" + version ".tar.gz")) + (sha256 + (base32 + "0f4w84k8ck82syys7yg9maz93mqzc8p5ymis941x034v44jzq74m")))) + (build-system python-build-system) + (inputs + `(("python-setuptools" ,python-setuptools) + ("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 +interactive command-line applications. With it you can run a script in a +subprocess and see the output as well as any file modifications.") + (license expat))) + +(define-public python2-scripttest + (package-with-python2 python-scripttest)) + (define-public behave (package (name "behave") -- cgit v1.2.3 From d8fa80e13fbe7295dd85dffd89e15bbf748f5143 Mon Sep 17 00:00:00 2001 From: David Thompson Date: Fri, 5 Sep 2014 09:22:29 -0400 Subject: gnu: Add python-testtools. * gnu/packages/python.scm (python-testtools, python2-testtools): New variables. --- gnu/packages/python.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) (limited to 'gnu/packages/python.scm') diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 5235ced452..b02f91e464 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -1154,6 +1154,36 @@ (define-public python-scripttest (define-public python2-scripttest (package-with-python2 python-scripttest)) +(define-public python-testtools + (package + (name "python-testtools") + (version "1.0.0") + (source + (origin + (method url-fetch) + (uri (string-append + "https://pypi.python.org/packages/source/t/testtools/testtools-" + version ".tar.gz")) + (sha256 + (base32 + "1dyml28ykpl5jb9khdmcdvhy1cxqingys6qvj2k04fzlaj6z3bbx")))) + (build-system python-build-system) + (inputs + `(("python-setuptools" ,python-setuptools) + ("python-mimeparse" ,python-mimeparse) + ("python-extras" ,python-extras))) + (home-page "https://github.com/testing-cabal/testtools") + (synopsis + "Extensions to the Python standard library unit testing framework") + (description + "Testtools extends the Python standard library unit testing framework to +provide matchers, more debugging information, and cross-Python +compatibility.") + (license psfl))) + +(define-public python2-testtools + (package-with-python2 python-testtools)) + (define-public behave (package (name "behave") -- cgit v1.2.3 From 5bf3afea6867627be0aab25cb2eb6aad11f1620c Mon Sep 17 00:00:00 2001 From: David Thompson Date: Fri, 5 Sep 2014 09:25:17 -0400 Subject: gnu: Add python-testscenarios. * gnu/packages/python.scm (python-testscenarios, python2-testscenarios): New variables. --- gnu/packages/python.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) (limited to 'gnu/packages/python.scm') diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index b02f91e464..61127d8ae0 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -1184,6 +1184,34 @@ (define-public python-testtools (define-public python2-testtools (package-with-python2 python-testtools)) +(define-public python-testscenarios + (package + (name "python-testscenarios") + (version "0.4") + (source + (origin + (method url-fetch) + (uri (string-append + "https://pypi.python.org/packages/source/t/testscenarios/testscenarios-" + version ".tar.gz")) + (sha256 + (base32 + "1671jvrvqlmbnc42j7pc5y6vc37q44aiwrq0zic652pxyy2fxvjg")))) + (build-system python-build-system) + (inputs + `(("python-setuptools" ,python-setuptools) + ("python-testtools" ,python-testtools) + ("python-mimeparse" ,python-mimeparse))) + (home-page "https://launchpad.net/testscenarios") + (synopsis "Pyunit extension for dependency injection") + (description + "Testscenarios provides clean dependency injection for Python unittest +style tests.") + (license (list bsd-3 asl2.0)))) ; at the user's option + +(define-public python2-testscenarios + (package-with-python2 python-testscenarios)) + (define-public behave (package (name "behave") -- cgit v1.2.3 From dac79ecc513099662c9e4b3219b77ee46e900521 Mon Sep 17 00:00:00 2001 From: David Thompson Date: Fri, 5 Sep 2014 09:27:41 -0400 Subject: gnu: Add python-testresources. * gnu/packages/python.scm (python-testresources, python2-testresources): New variables. --- gnu/packages/python.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) (limited to 'gnu/packages/python.scm') diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 61127d8ae0..40d979009d 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -1212,6 +1212,33 @@ (define-public python-testscenarios (define-public python2-testscenarios (package-with-python2 python-testscenarios)) +(define-public python-testresources + (package + (name "python-testresources") + (version "0.2.7") + (source + (origin + (method url-fetch) + (uri (string-append + "https://pypi.python.org/packages/source/t/testresources/testresources-" + version ".tar.gz")) + (sha256 + (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") + (description + "Testresources is an extension to Python's unittest to allow declarative +use of resources by test cases.") + (license (list bsd-3 asl2.0)))) ; at the user's option + +(define-public python2-testresources + (package-with-python2 python-testresources)) + (define-public behave (package (name "behave") -- cgit v1.2.3 From 070ab0588c163151727c6de272c8b9cdf5827469 Mon Sep 17 00:00:00 2001 From: David Thompson Date: Fri, 5 Sep 2014 09:30:31 -0400 Subject: gnu: Add python-subunit. * gnu/packages/python.scm (python-subunit, python2-subunit): New variables. --- gnu/packages/python.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) (limited to 'gnu/packages/python.scm') diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 40d979009d..914330edcf 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -1239,6 +1239,35 @@ (define-public python-testresources (define-public python2-testresources (package-with-python2 python-testresources)) +(define-public python-subunit + (package + (name "python-subunit") + (version "0.0.21") + (source + (origin + (method url-fetch) + (uri (string-append + "https://pypi.python.org/packages/source/p/python-subunit/python-subunit-" + version ".tar.gz")) + (sha256 + (base32 + "1nkw9wfbvizmpajbj3in8ns07g7lwkiv8hip14jjlwk3cacls6jv")))) + (build-system python-build-system) + (inputs + `(("python-setuptools" ,python-setuptools) + ("python-testtools" ,python-testtools) + ("python-mimeparse" ,python-mimeparse) + ("python-testscenarios" ,python-testscenarios))) + (home-page "http://launchpad.net/subunit") + (synopsis "Python implementation of the subunit protocol") + (description + "Python-subunit is a Python implementation of the subunit test streaming +protocol.") + (license (list bsd-3 asl2.0)))) ; at the user's option + +(define-public python2-subunit + (package-with-python2 python-subunit)) + (define-public behave (package (name "behave") -- cgit v1.2.3 From cd49454b7b6ec56f2ada0f818a4cdfef95431f24 Mon Sep 17 00:00:00 2001 From: David Thompson Date: Fri, 5 Sep 2014 09:33:38 -0400 Subject: gnu: Add python-fixtures. * gnu/packages/python.scm (python-fixtures, python2-fixtures): New variables. --- gnu/packages/python.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) (limited to 'gnu/packages/python.scm') diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 914330edcf..72ca7e312a 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -1268,6 +1268,34 @@ (define-public python-subunit (define-public python2-subunit (package-with-python2 python-subunit)) +(define-public python-fixtures + (package + (name "python-fixtures") + (version "0.3.16") + (source + (origin + (method url-fetch) + (uri (string-append + "https://pypi.python.org/packages/source/f/fixtures/fixtures-" + version ".tar.gz")) + (sha256 + (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") + (synopsis "Python test fixture library") + (description + "Fixtures provides a way to create reusable state, useful when writing +Python tests.") + (license (list bsd-3 asl2.0)))) ; at user's option + +(define-public python2-fixtures + (package-with-python2 python-fixtures)) + (define-public behave (package (name "behave") -- cgit v1.2.3 From b24a0c00e40a976c908ffc2245aeb14ee87f96c0 Mon Sep 17 00:00:00 2001 From: David Thompson Date: Fri, 5 Sep 2014 09:36:45 -0400 Subject: gnu: Add python-testrepository. * gnu/packages/python.scm (python-testrepository, python2-testrepository): New variables. --- gnu/packages/python.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) (limited to 'gnu/packages/python.scm') diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 72ca7e312a..57d8daf432 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -1296,6 +1296,36 @@ (define-public python-fixtures (define-public python2-fixtures (package-with-python2 python-fixtures)) +(define-public python-testrepository + (package + (name "python-testrepository") + (version "0.0.20") + (source + (origin + (method url-fetch) + (uri (string-append + "https://pypi.python.org/packages/source/t/testrepository/testrepository-" + version ".tar.gz")) + (sha256 + (base32 + "1ssqb07c277010i6gzzkbdd46gd9mrj0bi0i8vn560n2k2y4j93m")))) + (build-system python-build-system) + (inputs + `(("python-setuptools" ,python-setuptools) + ("python-testtools" ,python-testtools) + ("python-subunit" ,python-subunit) + ("python-fixtures" ,python-fixtures) + ("python-mimeparse" ,python-mimeparse))) + (home-page "https://launchpad.net/testrepository") + (synopsis "Database for Python test results") + (description "Testrepository provides a database of test results which can +be used as part of a developer's workflow to check things such as what tests +have failed since the last commit or what tests are currently failing.") + (license (list bsd-3 asl2.0)))) ; at user's option + +(define-public python2-testrepository + (package-with-python2 python-testrepository)) + (define-public behave (package (name "behave") -- cgit v1.2.3 From 243a009adacd85b6e742b754433d99624742c840 Mon Sep 17 00:00:00 2001 From: David Thompson Date: Fri, 5 Sep 2014 20:49:23 -0400 Subject: gnu: Add python-coverage. * gnu/packages/python.scm (python-coverage, python2-coverage): New variables. --- gnu/packages/python.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) (limited to 'gnu/packages/python.scm') diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 57d8daf432..4577940946 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -1326,6 +1326,34 @@ (define-public python-testrepository (define-public python2-testrepository (package-with-python2 python-testrepository)) +(define-public python-coverage + (package + (name "python-coverage") + (version "3.7.1") + (source + (origin + (method url-fetch) + (uri (string-append + "https://pypi.python.org/packages/source/c/coverage/coverage-" + version ".tar.gz")) + (sha256 + (base32 + "0knlbq79g2ww6xzsyknj9rirrgrgc983dpa2d9nkdf31mb2a3bni")))) + (build-system python-build-system) + (inputs + `(("python-setuptools" ,python-setuptools))) + (home-page "http://nedbatchelder.com/code/coverage") + (synopsis "Code coverage measurement for Python") + (description + "Coverage measures code coverage, typically during test execution. It +uses the code analysis tools and tracing hooks provided in the Python standard +library to determine which lines are executable, and which have been +executed.") + (license bsd-3))) + +(define-public python2-coverage + (package-with-python2 python-coverage)) + (define-public behave (package (name "behave") -- cgit v1.2.3 From 041358fb01ec18d8f1c6ef57952a24f189d27070 Mon Sep 17 00:00:00 2001 From: David Thompson Date: Fri, 5 Sep 2014 20:49:54 -0400 Subject: gnu: Add python-discover. * gnu/packages/python.scm (python-discover, python2-discover): New variables. --- gnu/packages/python.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) (limited to 'gnu/packages/python.scm') diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 4577940946..dbbe794295 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -1354,6 +1354,33 @@ (define-public python-coverage (define-public python2-coverage (package-with-python2 python-coverage)) +(define-public python-discover + (package + (name "python-discover") + (version "0.4.0") + (source + (origin + (method url-fetch) + (uri (string-append + "https://pypi.python.org/packages/source/d/discover/discover-" + version ".tar.gz")) + (sha256 + (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") + (description + "Discover provides test discovery for unittest, a feature that has been +backported from Python 2.7 for Python 2.4+") + (license bsd-3))) + +(define-public python2-discover + (package-with-python2 python-discover)) + (define-public behave (package (name "behave") -- cgit v1.2.3 From 6d45fef43ef2b5fc6e107524d0903a32dcad9999 Mon Sep 17 00:00:00 2001 From: David Thompson Date: Fri, 5 Sep 2014 09:45:52 -0400 Subject: gnu: Add python-pyjwt. * gnu/packages/python.scm (python-pyjwt, python2-pyjwt): New variables. --- gnu/packages/python.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) (limited to 'gnu/packages/python.scm') diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index dbbe794295..3cb69d26ab 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -1570,3 +1570,31 @@ (define-public python-unidecode (define-public python2-unidecode (package-with-python2 python-unidecode)) + +(define-public python-pyjwt + (package + (name "python-pyjwt") + (version "0.2.1") + (source + (origin + (method url-fetch) + (uri (string-append + "https://pypi.python.org/packages/source/P/PyJWT/PyJWT-" + version ".tar.gz")) + (sha256 + (base32 + "1ahqblfy2sj3xz34wsa48cn9rp0dspzq56p54i5znmws3b8gml6g")))) + (build-system python-build-system) + (inputs + `(("python-setuptools" ,python-setuptools))) + (arguments + '(#:tests? #f)) ; test suite doesn't work + (home-page "http://github.com/progrium/pyjwt") + (synopsis "JSON Web Token implementation in Python") + (description + "PyJWT is a JSON Web Token implementation written in Python.") + (license expat))) + +(define-public python2-pyjwt + (package-with-python2 python-pyjwt)) + -- cgit v1.2.3 From 2cec1f6f56da12886d2c753ee96e74a50404e70a Mon Sep 17 00:00:00 2001 From: David Thompson Date: Fri, 5 Sep 2014 09:52:38 -0400 Subject: gnu: Add python-oauthlib. * gnu/packages/python.scm (python-oauthlib, python2-oauthlib): New variables. --- gnu/packages/python.scm | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) (limited to 'gnu/packages/python.scm') diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 3cb69d26ab..72b42e3590 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -1598,3 +1598,48 @@ (define-public python-pyjwt (define-public python2-pyjwt (package-with-python2 python-pyjwt)) +(define-public python-oauthlib + (package + (name "python-oauthlib") + (version "0.6.3") + (source (origin + (method url-fetch) + (uri + (string-append + "https://pypi.python.org/packages/source/o/oauthlib/oauthlib-" + version ".tar.gz")) + (sha256 + (base32 + "1yaj3j64la4arwsbhbfmpnickzh3jpg9nlpyg409v8pp24isn48a")))) + (build-system python-build-system) + (inputs + `(("python-setuptools" ,python-setuptools) + ("python-pyjwt" ,python-pyjwt) + ("python-pycrypto" ,python-pycrypto) + ("python-nose" ,python-nose) + ("python-mock" ,python-mock))) + (home-page "https://github.com/idan/oauthlib") + (synopsis "OAuth implementation for Python") + (description + "Oauthlib is a generic, spec-compliant, thorough implementation of the +OAuth request-signing logic.") + (license bsd-3))) + +(define-public python2-oauthlib + (let ((base (package-with-python2 python-oauthlib))) + (package + (inherit base) + (name "python2-oauthlib") + (version "0.6.3") + (source (origin + (method url-fetch) + (uri + (string-append + "https://pypi.python.org/packages/source/o/oauthlib/oauthlib-" + version ".tar.gz")) + (sha256 + (base32 + "1yaj3j64la4arwsbhbfmpnickzh3jpg9nlpyg409v8pp24isn48a")))) + (inputs + (append (package-inputs base) + `(("python2-unittest2" ,python2-unittest2))))))) -- cgit v1.2.3 From ec5dbb5c30ffbde60fb93f91c9149076e498b581 Mon Sep 17 00:00:00 2001 From: David Thompson Date: Fri, 5 Sep 2014 09:54:47 -0400 Subject: gnu: Add python-itsdangerous. * gnu/packages/python.scm (python-itsdangerous, python2-itsdangerous): New variables. --- gnu/packages/python.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) (limited to 'gnu/packages/python.scm') diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 72b42e3590..6ba8c243f4 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -1643,3 +1643,29 @@ (define-public python2-oauthlib (inputs (append (package-inputs base) `(("python2-unittest2" ,python2-unittest2))))))) + +(define-public python-itsdangerous + (package + (name "python-itsdangerous") + (version "0.24") + (source + (origin + (method url-fetch) + (uri (string-append + "https://pypi.python.org/packages/source/i/itsdangerous/itsdangerous-" + version ".tar.gz")) + (sha256 + (base32 + "06856q6x675ly542ig0plbqcyab6ksfzijlyf1hzhgg3sgwgrcyb")))) + (build-system python-build-system) + (inputs + `(("python-setuptools" ,python-setuptools))) + (home-page "http://github.com/mitsuhiko/itsdangerous") + (synopsis "Python library for passing data to/from untrusted environments") + (description + "Itsdangerous provides various helpers to pass trusted data to untrusted +environments and back.") + (license bsd-3))) + +(define-public python2-itsdangerous + (package-with-python2 python-itsdangerous)) -- cgit v1.2.3 From 5731cae394767b7f0fd60afdfe722af625083caf Mon Sep 17 00:00:00 2001 From: David Thompson Date: Fri, 5 Sep 2014 09:57:55 -0400 Subject: gnu: Add python-virtualenv. * gnu/packages/python.scm (python-virtualenv, python2-virtualenv): New variables. --- gnu/packages/python.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) (limited to 'gnu/packages/python.scm') diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 6ba8c243f4..a4e9014e4d 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -1669,3 +1669,30 @@ (define-public python-itsdangerous (define-public python2-itsdangerous (package-with-python2 python-itsdangerous)) + +(define-public python-virtualenv + (package + (name "python-virtualenv") + (version "1.11.6") + (source + (origin + (method url-fetch) + (uri (string-append + "https://pypi.python.org/packages/source/v/virtualenv/virtualenv-" + version ".tar.gz")) + (sha256 + (base32 + "1xq4prmg25n9cz5zcvbqx68lmc3kl39by582vd8pzs9f3qalqyiy")))) + (build-system python-build-system) + (inputs + `(("python-setuptools" ,python-setuptools) + ("python-mock" ,python-mock) + ("python-nose" ,python-nose))) + (home-page "https://virtualenv.pypa.io/") + (synopsis "Virtual Python environment builder") + (description + "Virtualenv is a tool to create isolated Python environments.") + (license expat))) + +(define-public python2-virtualenv + (package-with-python2 python-virtualenv)) -- cgit v1.2.3 From 8176d4d55bb05972101373076c5ff7e4085e1c95 Mon Sep 17 00:00:00 2001 From: David Thompson Date: Fri, 5 Sep 2014 10:01:13 -0400 Subject: gnu: Add python-markupsafe. * gnu/packages/python.scm (python-markupsafe, python2-markupsafe): New variables. --- gnu/packages/python.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) (limited to 'gnu/packages/python.scm') diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index a4e9014e4d..ab6e5ac275 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -1696,3 +1696,29 @@ (define-public python-virtualenv (define-public python2-virtualenv (package-with-python2 python-virtualenv)) + +(define-public python-markupsafe + (package + (name "python-markupsafe") + (version "0.23") + (source + (origin + (method url-fetch) + (uri (string-append + "https://pypi.python.org/packages/source/M/MarkupSafe/MarkupSafe-" + version ".tar.gz")) + (sha256 + (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 + "Markupsafe provides an XML/HTML/XHTML markup safe string implementation +for Python.") + (license bsd-3))) + +(define-public python2-markupsafe + (package-with-python2 python-markupsafe)) -- cgit v1.2.3 From fe34f0d152e41d49d63385f12ae7b84774bf3196 Mon Sep 17 00:00:00 2001 From: David Thompson Date: Fri, 5 Sep 2014 18:21:28 -0400 Subject: gnu: Add python-jinja2. * gnu/packages/python.scm (python-jinja2, python2-jinja2): New variables. --- gnu/packages/python.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) (limited to 'gnu/packages/python.scm') diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index ab6e5ac275..41cab408c2 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -1722,3 +1722,30 @@ (define-public python-markupsafe (define-public python2-markupsafe (package-with-python2 python-markupsafe)) + +(define-public python-jinja2 + (package + (name "python-jinja2") + (version "2.7.3") + (source + (origin + (method url-fetch) + (uri (string-append + "https://pypi.python.org/packages/source/J/Jinja2/Jinja2-" + version ".tar.gz")) + (sha256 + (base32 + "1nwg9yfqgy421lncnm63k1zf9xkd1klc0jm0fr4p3dad01fsq91f")))) + (build-system python-build-system) + (inputs + `(("python-setuptools" ,python-setuptools) + ("python-markupsafe" ,python-markupsafe))) + (home-page "http://jinja.pocoo.org/") + (synopsis "Python template engine") + (description + "Jinja2 is a small but fast and easy to use stand-alone template engine +written in pure Python.") + (license bsd-3))) + +(define-public python2-jinja2 + (package-with-python2 python-jinja2)) -- cgit v1.2.3 From 3580ab8be2a8d3eaae078e31fec902150ad2fdb0 Mon Sep 17 00:00:00 2001 From: David Thompson Date: Fri, 5 Sep 2014 18:22:21 -0400 Subject: gnu: Add python-docutils. * gnu/packages/python.scm (python-docutils, python2-docutils): New variables. --- gnu/packages/python.scm | 35 +++++++++++++++++++++++++++++++++-- 1 file changed, 33 insertions(+), 2 deletions(-) (limited to 'gnu/packages/python.scm') diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 41cab408c2..f2d1f90b89 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -22,8 +22,8 @@ (define-module (gnu packages python) #:use-module ((guix licenses) - #:select (asl2.0 bsd-3 bsd-style cc0 expat x11 x11-style - gpl2 gpl2+ lgpl2.0+ lgpl2.1+ + #:select (asl2.0 bsd-3 bsd-2 bsd-style cc0 expat x11 x11-style + gpl2 gpl2+ gpl3+ lgpl2.0+ lgpl2.1+ psfl public-domain)) #:use-module ((guix licenses) #:select (zlib) #:renamer (symbol-prefix-proc 'license:)) @@ -1749,3 +1749,34 @@ (define-public python-jinja2 (define-public python2-jinja2 (package-with-python2 python-jinja2)) + +(define-public python-docutils + (package + (name "python-docutils") + (version "0.12") + (source + (origin + (method url-fetch) + (uri (string-append + "https://pypi.python.org/packages/source/d/docutils/docutils-" + version ".tar.gz")) + (sha256 + (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/") + (synopsis "Python Documentation Utilities") + (description + "Docutils is a modular system for processing documentation into useful +formats, such as HTML, XML, and LaTeX. For input Docutils supports +reStructuredText.") + ;; Most of the source code is public domain, but some source files are + ;; licensed under the PFSL, BSD 2-clause, and GPLv3+ licenses. + (license (list public-domain psfl bsd-2 gpl3+)))) + +(define-public python2-docutils + (package-with-python2 python-docutils)) -- cgit v1.2.3 From fb35b7c0889f6b6f19edfc2ba26b9a97572638d3 Mon Sep 17 00:00:00 2001 From: David Thompson Date: Fri, 5 Sep 2014 18:22:51 -0400 Subject: gnu: Add python-pygments. * gnu/packages/python.scm (python-pygments, python2-pygments): New variables. --- gnu/packages/python.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) (limited to 'gnu/packages/python.scm') diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index f2d1f90b89..f012a8d801 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -1780,3 +1780,28 @@ (define-public python-docutils (define-public python2-docutils (package-with-python2 python-docutils)) + +(define-public python-pygments + (package + (name "python-pygments") + (version "1.6") + (source + (origin + (method url-fetch) + (uri (string-append + "https://pypi.python.org/packages/source/P/Pygments/Pygments-" + version ".tar.gz")) + (sha256 + (base32 + "1h11r6ss8waih51vcksfvzghfxiav2f8svc0812fa5kmyz5d97kr")))) + (build-system python-build-system) + (inputs + `(("python-setuptools" ,python-setuptools))) + (home-page "http://pygments.org/") + (synopsis "Syntax highlighting") + (description + "Pygments is a syntax highlighting package written in Python.") + (license bsd-2))) + +(define-public python2-pygments + (package-with-python2 python-pygments)) -- cgit v1.2.3 From 9dd6078d3b7f5eff2d3ddfd9a2ca981a6634da3e Mon Sep 17 00:00:00 2001 From: David Thompson Date: Fri, 5 Sep 2014 18:23:22 -0400 Subject: gnu: Add python-sphinx. * gnu/packages/python.scm (python-sphinx, python2-sphinx): New variables. --- gnu/packages/python.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) (limited to 'gnu/packages/python.scm') diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index f012a8d801..81b6c956a9 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -1805,3 +1805,32 @@ (define-public python-pygments (define-public python2-pygments (package-with-python2 python-pygments)) + +(define-public python-sphinx + (package + (name "python-sphinx") + (version "1.2.3") + (source + (origin + (method url-fetch) + (uri (string-append + "https://pypi.python.org/packages/source/S/Sphinx/Sphinx-" + version ".tar.gz")) + (sha256 + (base32 + "011xizm3jnmf4cvs5i6kgf6c5nn046h79i8j0vd0f27yw9j3p4wl")))) + (build-system python-build-system) + (inputs + `(("python-setuptools" ,python-setuptools) + ("python-jinja2" ,python-jinja2) + ("python-docutils" ,python-docutils) + ("python-pygments" ,python-pygments))) + (home-page "http://sphinx-doc.org/") + (synopsis "Python documentation generator") + (description "Sphinx is a tool that makes it easy to create documentation +for Python projects or other documents consisting of multiple reStructuredText +sources.") + (license bsd-3))) + +(define-public python2-sphinx + (package-with-python2 python-sphinx)) -- cgit v1.2.3