From 3f641af088180576484a58ab45a3cae92332070a Mon Sep 17 00:00:00 2001 From: David Craven Date: Fri, 5 Aug 2016 19:21:17 +0200 Subject: [PATCH] gnu: python: Import guix licenses with #:prefix license:. * gnu/packages/python.scm (define-module): Add import. --- gnu/packages/python.scm | 424 ++++++++++++++++++++-------------------- 1 file changed, 211 insertions(+), 213 deletions(-) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 09452f3142..15ff14deed 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -25,6 +25,7 @@ ;;; Copyright © 2016 Troy Sankey ;;; Copyright © 2016 ng0 ;;; Copyright © 2016 Dylan Jeffers +;;; Copyright © 2016 David Craven ;;; ;;; This file is part of GNU Guix. ;;; @@ -42,12 +43,7 @@ ;;; along with GNU Guix. If not, see . (define-module (gnu packages python) - #:use-module ((guix licenses) - #:select (asl2.0 bsd-4 bsd-3 bsd-2 non-copyleft cc0 x11 x11-style - gpl2 gpl2+ gpl3 gpl3+ lgpl2.0+ lgpl2.1 lgpl2.1+ lgpl3+ agpl3+ - isc mpl2.0 psfl public-domain repoze unlicense x11-style - zpl2.1 lgpl3)) - #:use-module ((guix licenses) #:select (expat zlib) #:prefix license:) + #:use-module ((guix licenses) #:prefix license:) #:use-module (gnu packages) #:use-module (gnu packages algebra) #:use-module (gnu packages adns) @@ -298,7 +294,7 @@ (define-public python-2.7 expression of procedural code; full modularity, supporting hierarchical packages; exception-based error handling; and very high level dynamic data types.") - (license psfl))) + (license license:psfl))) ;; Current 2.x version. (define-public python-2 python-2.7) @@ -418,7 +414,7 @@ (define-public python-psutil many functionalities offered by command line tools such as: ps, top, lsof, netstat, ifconfig, who, df, kill, free, nice, ionice, iostat, iotop, uptime, pidof, tty, taskset, pmap.") - (license bsd-3))) + (license license:bsd-3))) (define-public python2-psutil (package-with-python2 python-psutil)) @@ -456,7 +452,7 @@ (define-public python-passlib as a framework for managing existing password hashes. It's designed to be useful for a wide range of tasks, from verifying a hash found in /etc/shadow, to providing full-strength password hashing for multi-user application.") - (license bsd-3))) + (license license:bsd-3))) (define-public python2-passlib (package-with-python2 python-passlib)) @@ -493,7 +489,7 @@ (define-public python-py-bcrypt ;; "sha2.c" is under BSD-3; ;; "blowfish.c" and "bcrypt.c" are under BSD-4; ;; the rest is under ISC. - (license (list isc bsd-3 bsd-4)))) + (license (list license:isc license:bsd-3 license:bsd-4)))) (define-public python2-py-bcrypt (package-with-python2 python-py-bcrypt)) @@ -523,7 +519,7 @@ (define-public python-paramiko providing both client and server functionality. While it leverages a Python C extension for low level cryptography (PyCrypto), Paramiko itself is a pure Python interface around SSH networking concepts.") - (license lgpl2.1+))) + (license license:lgpl2.1+))) (define-public python2-paramiko (package-with-python2 python-paramiko)) @@ -608,7 +604,7 @@ (define-public python-ccm (synopsis "Cassandra Cluster Manager") (description "A script/library to create, launch and remove an Apache Cassandra cluster on localhost.") - (license asl2.0))) + (license license:asl2.0))) (define-public python2-ccm (package-with-python2 python-ccm)) @@ -662,7 +658,7 @@ (define-public python-babel - a Python interface to the CLDR (Common Locale Data Repository), providing access to various locale display names, localized number and date formatting, etc. ") - (license bsd-3))) + (license license:bsd-3))) (define-public python2-babel (package-with-python2 python-babel)) @@ -694,7 +690,7 @@ (define-public python2-backport-ssl-match-hostname earlier versions of Python. The function checks the hostname in the certificate returned by the server to which a connection has been established, and verifies that it matches the intended target hostname.") - (license psfl))) + (license license:psfl))) (define-public python-h5py (package @@ -740,7 +736,7 @@ (define-public python-h5py complete wrapping of the HDF5 API, while the high-level component supports access to HDF5 files, datasets and groups using established Python and NumPy concepts.") - (license bsd-3) + (license license:bsd-3) (properties `((python2-variant . ,(delay python2-h5py)))))) (define-public python2-h5py @@ -832,7 +828,7 @@ (define-public python-setuptools project installation, platform-specific details, Python 3 support.") - (license psfl))) + (license license:psfl))) (define-public python2-setuptools (package-with-python2 python-setuptools)) @@ -870,7 +866,7 @@ (define-public python-pycrypto "Pycrypto is a collection of both secure hash functions (such as SHA256 and RIPEMD160), and various encryption algorithms (AES, DES, RSA, ElGamal, etc.). The package is structured to make adding new modules easy.") - (license public-domain))) + (license license:public-domain))) (define-public python2-pycrypto (let ((pycrypto (package-with-python2 python-pycrypto))) @@ -906,7 +902,7 @@ (define-public python-keyring service from python. It can be used in any application that needs safe password storage.") ;; "MIT" and PSF dual license - (license x11) + (license license:x11) (properties `((python2-variant . ,(delay python2-keyring)))))) (define-public python2-keyring @@ -938,7 +934,7 @@ (define-public python-six the goal of writing Python code that is compatible on both Python versions. Six supports every Python version since 2.5. It is contained in only one Python file, so it can be easily copied into your project.") - (license x11))) + (license license:x11))) (define-public python2-six (package-with-python2 python-six)) @@ -962,7 +958,7 @@ (define-public python-dateutil-2 (description "The dateutil module provides powerful extensions to the standard datetime module, available in Python 2.3+.") - (license bsd-3) + (license license:bsd-3) (properties `((python2-variant . ,(delay python2-dateutil-2)))))) (define-public python2-dateutil-2 @@ -992,7 +988,7 @@ (define-public python-dateutil (description "The dateutil module provides powerful extensions to the standard datetime module, available in Python 2.3+.") - (license psfl))) + (license license:psfl))) (define-public python2-dateutil (package-with-python2 python-dateutil)) @@ -1017,7 +1013,7 @@ (define-public python-parsedatetime "Parse human-readable date/time text") (description "Parse human-readable date/time text.") - (license asl2.0) + (license license:asl2.0) (properties `((python2-variant . ,(delay python2-parsedatetime)))))) (define-public python2-parsedatetime @@ -1056,7 +1052,7 @@ (define-public python-pandas 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 bsd-3) + (license license:bsd-3) (properties `((python2-variant . ,(delay python2-pandas)))))) (define-public python2-pandas @@ -1087,7 +1083,7 @@ (define-public python-tzlocal This module attempts to fix a glaring hole in pytz, that there is no way to get the local timezone information, unless you know the zoneinfo name, and under several distributions that's hard or impossible to figure out.") - (license cc0))) + (license license:cc0))) (define-public python2-pysqlite (package @@ -1145,8 +1141,9 @@ (define-public python2-mechanize (description "Mechanize implements stateful programmatic web browsing in Python, after Andy Lester’s Perl module WWW::Mechanize.") - (license (non-copyleft "file://COPYING" - "See COPYING in the distribution.")))) + (license (license:non-copyleft + "file://COPYING" + "See COPYING in the distribution.")))) (define-public python-simplejson @@ -1175,7 +1172,7 @@ (define-public python-simplejson and (currently) has significant performance advantages, even without using the optional C extension for speedups. Simplejson is also supported on Python 3.3+.") - (license x11))) + (license license:x11))) (define-public python2-simplejson (package-with-python2 python-simplejson)) @@ -1200,7 +1197,7 @@ (define-public python-pyicu (synopsis "Python extension wrapping the ICU C++ API") (description "PyICU is a python extension wrapping the ICU C++ API.") - (license x11) + (license license:x11) (properties `((python2-variant . ,(delay python2-pyicu)))))) (define-public python2-pyicu @@ -1233,7 +1230,7 @@ (define-public python2-dogtail It uses Accessibility (a11y) technologies to communicate with desktop applications. dogtail scripts are written in Python and executed like any other Python program.") - (license gpl2+))) + (license license:gpl2+))) (define-public python2-empy (package @@ -1268,7 +1265,7 @@ (define-public python2-empy recording and playback via diversions, and dynamic, chainable filters. The system is highly configurable via command line options and embedded commands.") - (license lgpl2.1+))) + (license license:lgpl2.1+))) (define-public python2-element-tree (package @@ -1290,9 +1287,9 @@ (define-public python2-element-tree (description "ElementTree is a Python library supporting lightweight XML processing.") (home-page "http://effbot.org/zone/element-index.htm") - (license (x11-style "http://docs.python.org/2/license.html" - "Like \"CWI LICENSE AGREEMENT FOR PYTHON \ -0.9.0 THROUGH 1.2\".")))) + (license (license:x11-style + "http://docs.python.org/2/license.html" + "Like \"CWI LICENSE AGREEMENT FOR PYTHON 0.9.0 THROUGH 1.2\".")))) (define-public python2-pybugz (package @@ -1319,7 +1316,7 @@ (define-public python2-pybugz bug tracking system. It is meant as an aid to speed up interaction with the bug tracker.") (home-page "http://www.liquidx.net/pybugz/") - (license gpl2))) + (license license:gpl2))) (define-public python-enum34 (package @@ -1344,7 +1341,7 @@ (define-public python-enum34 (description "Enum34 is the new Python stdlib enum module available in Python 3.4 backported for previous versions of Python from 2.4 to 3.3.") - (license bsd-3))) + (license license:bsd-3))) (define-public python2-enum34 (package-with-python2 python-enum34)) @@ -1371,7 +1368,7 @@ (define-public python-parse-type (synopsis "Extended parse module") (description "Parse_type extends the python parse module.") - (license bsd-3))) + (license license:bsd-3))) (define-public python-parse (package @@ -1396,7 +1393,7 @@ (define-public python-parse (description "Parse strings using a specification based on the Python format() syntax.") - (license x11))) + (license license:x11))) (define-public scons @@ -1423,7 +1420,7 @@ (define-public scons functionality similar to autoconf/automake and compiler caches such as ccache. In short, SCons is an easier, more reliable and faster way to build software.") - (license x11))) + (license license:x11))) (define-public python-extras (package @@ -1502,7 +1499,7 @@ (define-public python-nose (synopsis "Python testing library") (description "Nose extends the unittest library to make testing easier.") - (license lgpl2.0+))) + (license license:lgpl2.0+))) (define-public python2-nose (package-with-python2 python-nose)) @@ -1528,7 +1525,7 @@ (define-public python-unittest2 (description "Unittest2 is a replacement for the unittest module in the Python standard library.") - (license psfl))) + (license license:psfl))) (define-public python2-unittest2 (package (inherit python-unittest2) @@ -1780,7 +1777,7 @@ (define-public python-testtools "Testtools extends the Python standard library unit testing framework to provide matchers, more debugging information, and cross-Python compatibility.") - (license psfl))) + (license license:psfl))) (define-public python2-testtools (package-with-python2 python-testtools)) @@ -1808,7 +1805,7 @@ (define-public python-testscenarios (description "Testscenarios provides clean dependency injection for Python unittest style tests.") - (license (list bsd-3 asl2.0)))) ; at the user's option + (license (list license:bsd-3 license:asl2.0)))) ; at the user's option (define-public python2-testscenarios (package-with-python2 python-testscenarios)) @@ -1835,7 +1832,7 @@ (define-public python-testresources (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 + (license (list license:bsd-3 license:asl2.0)))) ; at the user's option (define-public python2-testresources (package-with-python2 python-testresources)) @@ -1864,7 +1861,7 @@ (define-public python-subunit (description "Python-subunit is a Python implementation of the subunit test streaming protocol.") - (license (list bsd-3 asl2.0)))) ; at the user's option + (license (list license:bsd-3 license:asl2.0)))) ; at the user's option (define-public python2-subunit (package-with-python2 python-subunit)) @@ -1899,7 +1896,7 @@ (define-public python-fixtures-0.3.16 (description "Fixtures provides a way to create reusable state, useful when writing Python tests.") - (license (list bsd-3 asl2.0)))) ; at user's option + (license (list license:bsd-3 license:asl2.0)))) ; at user's option (define-public python2-fixtures-0.3.16 (package-with-python2 python-fixtures-0.3.16)) @@ -1929,7 +1926,7 @@ (define-public python-pbr-0.11 (description "Python Build Reasonableness (PBR) is a library that injects some useful and sensible default behaviors into your setuptools run.") - (license asl2.0))) + (license license:asl2.0))) (define-public python2-pbr-0.11 (package-with-python2 python-pbr-0.11)) @@ -1971,7 +1968,7 @@ (define-public python-pbr (description "Python Build Reasonableness (PBR) is a library that injects some useful and sensible default behaviors into your setuptools run.") - (license asl2.0))) + (license license:asl2.0))) (define-public python2-pbr (package-with-python2 python-pbr)) @@ -2003,7 +2000,7 @@ (define-public python-fixtures (description "Fixtures provides a way to create reusable state, useful when writing Python tests.") - (license (list bsd-3 asl2.0)))) ; at user's option + (license (list license:bsd-3 license:asl2.0)))) ; at user's option (define-public python2-fixtures (package-with-python2 python-fixtures)) @@ -2034,7 +2031,7 @@ (define-public python-testrepository (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 + (license (list license:bsd-3 license:asl2.0)))) ; at user's option (define-public python2-testrepository (package-with-python2 python-testrepository)) @@ -2060,7 +2057,7 @@ (define-public python-coverage 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))) + (license license:bsd-3))) (define-public python2-coverage (package-with-python2 python-coverage)) @@ -2087,7 +2084,7 @@ (define-public python-discover (description "Discover provides test discovery for unittest, a feature that has been backported from Python 2.7 for Python 2.4+.") - (license bsd-3))) + (license license:bsd-3))) (define-public python2-discover (package-with-python2 python-discover)) @@ -2118,7 +2115,7 @@ (define-public behave technique that encourages collaboration between developers, QA and 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))) + (license license:x11))) (define-public python-exif-read (package @@ -2139,7 +2136,7 @@ (define-public python-exif-read (description "ExifRead is a Python library to extract EXIF data from tiff and jpeg files.") - (license bsd-3))) + (license license:bsd-3))) (define-public python2-exif-read (package-with-python2 python-exif-read)) @@ -2162,7 +2159,7 @@ (define-public python-pyld (synopsis "Python implementation of the JSON-LD specification") (description "PyLD is an implementation of the JSON-LD specification.") - (license bsd-3))) + (license license:bsd-3))) (define-public python2-pyld (package-with-python2 python-pyld)) @@ -2186,7 +2183,7 @@ (define-public python-certifi (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))) + (license license:asl2.0))) (define-public python2-certifi (package-with-python2 python-certifi)) @@ -2215,7 +2212,7 @@ (define-public python-click composable way with as little code as necessary. Its name stands for \"Command Line Interface Creation Kit\". It's highly configurable but comes with sensible defaults out of the box.") - (license bsd-3))) + (license license:bsd-3))) (define-public python2-click (package-with-python2 python-click)) @@ -2279,7 +2276,7 @@ (define-public python-requests (description "Requests is a Python HTTP client library. It aims to be easier to use than Python’s urllib2 library.") - (license asl2.0))) + (license license:asl2.0))) ;; Some software requires an older version of Requests, notably Docker ;; Compose. @@ -2315,7 +2312,7 @@ (define-public python-vcversioner information in a variety of version control systems in order to discover version numbers.") (home-page "https://github.com/habnabit/vcversioner") - (license isc))) + (license license:isc))) (define-public python2-vcversioner (package-with-python2 python-vcversioner)) @@ -2373,7 +2370,7 @@ (define-public python-unidecode 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+))) + (license license:gpl2+))) (define-public python2-unidecode (package-with-python2 python-unidecode)) @@ -2428,7 +2425,7 @@ (define-public python-oauthlib (description "Oauthlib is a generic, spec-compliant, thorough implementation of the OAuth request-signing logic.") - (license bsd-3) + (license license:bsd-3) (properties `((python2-variant . ,(delay python2-oauthlib)))))) (define-public python2-oauthlib @@ -2458,7 +2455,7 @@ (define-public python-itsdangerous (description "Itsdangerous provides various helpers to pass trusted data to untrusted environments and back.") - (license bsd-3) + (license license:bsd-3) (properties `((python2-variant . ,(delay python2-itsdangerous)))))) (define-public python2-itsdangerous @@ -2551,7 +2548,7 @@ (define-public python-markupsafe (description "Markupsafe provides an XML/HTML/XHTML markup safe string implementation for Python.") - (license bsd-3))) + (license license:bsd-3))) (define-public python2-markupsafe (package-with-python2 python-markupsafe)) @@ -2576,7 +2573,7 @@ (define-public python-jinja2 (description "Jinja2 is a small but fast and easy to use stand-alone template engine written in pure Python.") - (license bsd-3))) + (license license:bsd-3))) (define-public python2-jinja2 (package-with-python2 python-jinja2)) @@ -2626,7 +2623,7 @@ (define-public python-joblib In particular, joblib offers: transparent disk-caching of the output values and lazy re-evaluation (memoize pattern), easy simple parallel computing logging and tracing of the execution.") - (license bsd-3))) + (license license:bsd-3))) (define-public python2-joblib (package-with-python2 python-joblib)) @@ -2657,7 +2654,7 @@ (define-public python-docutils 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+)))) + (license (list license:public-domain license:psfl license:bsd-2 license:gpl3+)))) (define-public python2-docutils (package-with-python2 python-docutils)) @@ -2680,7 +2677,7 @@ (define-public python-pygments (synopsis "Syntax highlighting") (description "Pygments is a syntax highlighting package written in Python.") - (license bsd-2))) + (license license:bsd-2))) (define-public python2-pygments (package-with-python2 python-pygments)) @@ -2709,7 +2706,7 @@ (define-public python-sphinx (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))) + (license license:bsd-3))) (define-public python2-sphinx (package-with-python2 python-sphinx)) @@ -2769,7 +2766,7 @@ (define-public python-feedgenerator (description "Feedgenerator-py3k is a standalone version of Django's feedgenerator, which can produce feeds in RSS 2.0, RSS 0.91, and Atom formats.") - (license bsd-3))) + (license license:bsd-3))) (define-public python2-feedgenerator (package-with-python2 python-feedgenerator)) @@ -2844,7 +2841,7 @@ (define-public pelican "Pelican is a tool to generate a static blog from reStructuredText, Markdown input files, and more. Pelican uses Jinja2 for templating and is very extensible.") - (license agpl3+))) + (license license:agpl3+))) (define-public python-scikit-learn (package @@ -2888,7 +2885,7 @@ (define-public python-scikit-learn (description "Scikit-learn provides simple and efficient tools for data mining and data analysis.") - (license bsd-3))) + (license license:bsd-3))) (define-public python2-scikit-learn (let ((scikit (package-with-python2 python-scikit-learn))) @@ -2928,7 +2925,7 @@ (define-public python-scikit-image (synopsis "Image processing in Python") (description "Scikit-image is a collection of algorithms for image processing.") - (license bsd-3))) + (license license:bsd-3))) (define-public python2-scikit-image (let ((scikit-image (package-with-python2 python-scikit-image))) @@ -2995,7 +2992,7 @@ (define-public python-rq "RQ (Redis Queue) is a simple Python library for queueing jobs and processing them in the background with workers. It is backed by Redis and it is designed to have a low barrier to entry.") - (license bsd-2))) + (license license:bsd-2))) (define-public python2-rq (package-with-python2 python-rq)) @@ -3029,7 +3026,7 @@ (define-public python-cython (description "Cython is an optimising static compiler for both the Python programming language and the extended Cython programming language. It makes writing C extensions for Python as easy as Python itself.") - (license asl2.0) + (license license:asl2.0) (properties `((python2-variant . ,(delay python2-cython)))))) (define-public python2-cython @@ -3105,7 +3102,7 @@ (define python-numpy-bootstrap object, sophisticated (broadcasting) functions, tools for integrating C/C++ and Fortran code, useful linear algebra, Fourier transform, and random number capabilities.") - (license bsd-3))) + (license license:bsd-3))) (define python2-numpy-bootstrap (package-with-python2 python-numpy-bootstrap)) @@ -3142,7 +3139,7 @@ (define-public python2-fastlmm "FaST-LMM, which stands for Factored Spectrally Transformed Linear Mixed Models, is a program for performing both single-SNP and SNP-set genome-wide association studies (GWAS) on extremely large data sets.") - (license asl2.0))) + (license license:asl2.0))) (define-public python-numpy (package (inherit python-numpy-bootstrap) @@ -3285,7 +3282,7 @@ (define-public python-numpydoc "Numpy's Sphinx extensions") (description "Sphinx extension to support docstrings in Numpy format.") - (license bsd-2))) + (license license:bsd-2))) (define-public python2-numpydoc (package-with-python2 python-numpydoc)) @@ -3450,7 +3447,7 @@ (define-public python-matplotlib across platforms. Matplotlib can be used in Python scripts, the python and ipython shell, web application servers, and six graphical user interface toolkits.") - (license psfl) + (license license:psfl) (properties `((python2-variant . ,(delay python2-matplotlib)))))) (define-public python2-matplotlib @@ -3499,7 +3496,7 @@ (define-public python2-pysnptools can, for example, efficiently read whole PLINK *.bed/bim/fam files or parts of those files. It can also efficiently manipulate ranges of integers using set operators such as union, intersection, and difference.") - (license asl2.0))) + (license license:asl2.0))) (define-public python-rpy2 (package @@ -3528,7 +3525,7 @@ (define-public python-rpy2 low-level interface to R from Python, a proposed high-level interface, including wrappers to graphical libraries, as well as R-like structures and functions.") - (license gpl3+))) + (license license:gpl3+))) (define-public python2-rpy2 (let ((rpy2 (package-with-python2 python-rpy2))) @@ -3631,7 +3628,7 @@ (define-public python-scipy (description "The SciPy library is one of the core packages that make up the SciPy stack. It provides many user-friendly and efficient numerical routines such as routines for numerical integration and optimization.") - (license bsd-3))) + (license license:bsd-3))) (define-public python2-scipy (package-with-python2 python-scipy)) @@ -3666,7 +3663,7 @@ (define-public python-sqlalchemy provides a full suite of well known enterprise-level persistence patterns, designed for efficient and high-performing database access, adapted into a simple and Pythonic domain language.") - (license x11))) + (license license:x11))) (define-public python2-sqlalchemy (package-with-python2 python-sqlalchemy)) @@ -3729,7 +3726,7 @@ (define-public python-distutils-extra "The python-distutils-extra module enables you to easily integrate gettext support, themed icons, and scrollkeeper-based documentation into Python's distutils.") - (license gpl2))) + (license license:gpl2))) (define-public python2-distutils-extra (package-with-python2 python-distutils-extra)) @@ -3766,7 +3763,7 @@ (define-public python2-elib.intl (description "The elib.intl module provides enhanced internationalization (I18N) services for your Python modules and applications.") - (license lgpl3+))) + (license license:lgpl3+))) (define-public python-pillow (package @@ -3825,7 +3822,7 @@ (define-public python-pillow capabilities. The core image library is designed for fast access to data stored in a few basic pixel formats. It should provide a solid foundation for a general image processing tool.") - (license (x11-style + (license (license:x11-style "http://www.pythonware.com/products/pil/license.htm" "The PIL Software License")))) @@ -3874,7 +3871,7 @@ (define-public python-pycparser "Pycparser is a complete parser of the C language, written in pure Python using the PLY parsing library. It parses C code into an AST and can serve as a front-end for C compilers or analysis tools.") - (license bsd-3))) + (license license:bsd-3))) (define-public python2-pycparser (package-with-python2 python-pycparser)) @@ -4017,7 +4014,7 @@ (define-public python-cairocffi Python bindings and object-oriented API for cairo. Cairo is a 2D vector graphics library with support for multiple backends including image buffers, PNG, PostScript, PDF, and SVG file output.") - (license bsd-3))) + (license license:bsd-3))) (define-public python2-cairocffi (package-with-python2 python-cairocffi)) @@ -4074,7 +4071,7 @@ (define-public python-drmaa "A Python package for Distributed Resource Management (DRM) job submission and control. This package is an implementation of the DRMAA 1.0 Python language binding specification.") - (license bsd-3))) + (license license:bsd-3))) (define-public python2-drmaa (package-with-python2 python-drmaa)) @@ -4105,7 +4102,7 @@ (define-public python-gridmap "Gridmap is a Python package to allow you to easily create jobs on the cluster directly from Python. You can directly map Python functions onto the cluster without needing to write any wrapper code yourself.") - (license gpl3+))) + (license license:gpl3+))) (define-public python2-gridmap (package-with-python2 python-gridmap)) @@ -4135,7 +4132,7 @@ (define-public python-pexpect controlling them; and responding to expected patterns in their output. Pexpect works like Don Libes’ Expect. Pexpect allows your script to spawn a child application and control it as if a human were typing commands.") - (license isc))) + (license license:isc))) (define-public python2-pexpect (package-with-python2 python-pexpect)) @@ -4247,7 +4244,7 @@ (define-public python-simplegeneric these generic functions use simple lookup tables, akin to those used by e.g. @code{pickle.dump()} and other generic functions found in the Python standard library.") - (license zpl2.1))) + (license license:zpl2.1))) (define-public python2-simplegeneric (package-with-python2 python-simplegeneric)) @@ -4270,7 +4267,7 @@ (define-public python-ipython-genutils (synopsis "Vestigial utilities from IPython") (description "This package provides retired utilities from IPython.") - (license bsd-3))) + (license license:bsd-3))) (define-public python2-ipython-genutils (package-with-python2 python-ipython-genutils)) @@ -4306,7 +4303,7 @@ (define-public python-traitlets configuration, loading values from files or from command line arguments. This is a distinct layer on top of traitlets, so you can use traitlets in your code without using the configuration machinery.") - (license bsd-3))) + (license license:bsd-3))) (define-public python2-traitlets (package-with-python2 python-traitlets)) @@ -4404,7 +4401,7 @@ (define-public python-ipython Powerful interactive shells, a browser-based notebook, support for interactive data visualization, embeddable interpreters and tools for parallel computing.") - (license bsd-3))) + (license license:bsd-3))) (define-public python2-ipython (let ((ipython (package-with-python2 python-ipython))) @@ -4449,7 +4446,7 @@ (define-public python-isodate (description "Python-isodate is a python module for parsing and formatting ISO 8601 dates, time and duration.") - (license bsd-3))) + (license license:bsd-3))) (define-public python2-isodate (package-with-python2 python-isodate)) @@ -4513,7 +4510,7 @@ (define-public python-urwid (description "Urwid is a curses-based UI/widget library for Python. It includes many features useful for text console applications.") - (license lgpl2.1+))) + (license license:lgpl2.1+))) (define-public python2-urwid (package-with-python2 python-urwid)) @@ -4541,7 +4538,7 @@ (define-public python-urwidtrees (synopsis "Tree widgets for urwid") (description "Urwidtrees is a Widget Container API for the @code{urwid} toolkit. Use it to build trees of widgets.") - (license gpl3+))) + (license license:gpl3+))) (define-public python2-urwidtrees (package-with-python2 python-urwidtrees)) @@ -4649,7 +4646,7 @@ (define-public python-lxml (description "The lxml XML toolkit is a Pythonic binding for the C libraries libxml2 and libxslt.") - (license bsd-3))) ; and a few more, see LICENSES.txt + (license license:bsd-3))) ; and a few more, see LICENSES.txt (define-public python2-lxml (package-with-python2 python-lxml)) @@ -4715,7 +4712,7 @@ (define-public python2-cssutils "Cssutils is a Python package for parsing and building CSS Cascading Style Sheets. Currently it provides a DOM only and no rendering options.") - (license lgpl3+))) + (license license:lgpl3+))) (define-public python-cssselect (package @@ -4743,7 +4740,7 @@ (define-public python-cssselect "Cssselect ia a Python module that parses CSS3 Selectors and translates them to XPath 1.0 expressions. Such expressions can be used in lxml or another XPath engine to find the matching elements in an XML or HTML document.") - (license bsd-3))) + (license license:bsd-3))) (define-public python2-cssselect (package-with-python2 python-cssselect)) @@ -4799,7 +4796,7 @@ (define-public python-networkx (description "NetworkX is a Python package for the creation, manipulation, and study of the structure, dynamics, and functions of complex networks.") - (license bsd-3))) + (license license:bsd-3))) (define-public python2-networkx (package-with-python2 python-networkx)) @@ -4848,7 +4845,7 @@ (define-public python-seaborn graphics in Python. It is built on top of matplotlib and tightly integrated with the PyData stack, including support for numpy and pandas data structures and statistical routines from scipy and statsmodels.") - (license bsd-3) + (license license:bsd-3) (properties `((python2-variant . ,(delay python2-seaborn)))))) (define-public python2-seaborn @@ -4881,7 +4878,7 @@ (define-public python-sympy "SymPy is a Python library for symbolic mathematics. It aims to become a full-featured computer algebra system (CAS) while keeping the code as simple as possible in order to be comprehensible and easily extensible.") - (license bsd-3))) + (license license:bsd-3))) (define-public python2-sympy (package-with-python2 python-sympy)) @@ -4946,7 +4943,7 @@ (define-public python2-xlib "The Python X Library is intended to be a fully functional X client library for Python programs. It is useful to implement low-level X clients. It is written entirely in Python.") - (license gpl2+))) + (license license:gpl2+))) (define-public python-singledispatch (package @@ -4998,7 +4995,7 @@ (define-public python-tornado Tornado can scale to tens of thousands of open connections, making it ideal for long polling, WebSockets, and other applications that require a long-lived connection to each user.") - (license asl2.0) + (license license:asl2.0) (properties `((python2-variant . ,(delay python2-tornado)))))) (define-public python2-tornado @@ -5033,7 +5030,7 @@ (define-public python-backports-abc (description "Python-backports-abc provides a backport of additions to the 'collections.abc' module in Python-3.5.") - (license psfl))) + (license license:psfl))) (define-public python2-backports-abc (package-with-python2 python-backports-abc)) @@ -5069,7 +5066,7 @@ (define-public python-waf (description "Waf is a Python-based framework for configuring, compiling and installing applications.") - (license bsd-3))) + (license license:bsd-3))) (define-public python2-waf (package-with-python2 python-waf)) @@ -5101,7 +5098,7 @@ (define-public python-pyzmq (synopsis "Python bindings for 0MQ") (description "PyZMQ is the official Python binding for the ZeroMQ messaging library.") - (license bsd-4))) + (license license:bsd-4))) (define-public python2-pyzmq (package-with-python2 python-pyzmq)) @@ -5308,7 +5305,7 @@ (define-public python-mistune (synopsis "Markdown parser in pure Python") (description "This package provides a fast markdown parser in pure Python.") - (license bsd-3))) + (license license:bsd-3))) (define-public python2-mistune (package-with-python2 python-mistune)) @@ -5341,7 +5338,7 @@ (define-public python-markdown Markdown. The library features international input, various Markdown extensions, and several HTML output formats. A command line wrapper markdown_py is also provided to convert Markdown files to HTML.") - (license bsd-3))) + (license license:bsd-3))) (define-public python2-markdown (package-with-python2 python-markdown)) @@ -5374,7 +5371,7 @@ (define-public python-ptyprocess (description "This package provides a Python library used to launch a subprocess in a pseudo terminal (pty), and interact with both the process and its pty.") - (license isc))) + (license license:isc))) (define-public python2-ptyprocess (package-with-python2 python-ptyprocess)) @@ -5406,7 +5403,7 @@ (define-public python-terminado (synopsis "Terminals served to term.js using Tornado websockets") (description "This package provides a Tornado websocket backend for the term.js Javascript terminal emulator library.") - (license bsd-2) + (license license:bsd-2) (properties `((python2-variant . ,(delay python2-terminado)))))) (define-public python2-terminado @@ -5445,8 +5442,9 @@ (define-public python-fonttools of AFM files, reading (and partially writing) of PS Type 1 fonts. The package also contains a tool called “TTX” which converts TrueType/OpenType fonts to and from an XML-based format.") - (license (non-copyleft "file://LICENSE.txt" - "See LICENSE.txt in the distribution.")))) + (license (license:non-copyleft + "file://LICENSE.txt" + "See LICENSE.txt in the distribution.")))) (define-public python2-fonttools (package-with-python2 python-fonttools)) @@ -5472,7 +5470,7 @@ (define-public python-ly or create documents in LilyPond format. A command line program ly is also provided that can be used to do various manipulations with LilyPond files.") (home-page "https://pypi.python.org/pypi/python-ly") - (license gpl2+))) + (license license:gpl2+))) (define-public python-appdirs (package @@ -5525,7 +5523,7 @@ (define-public python-llfuse (description "Python-LLFUSE is a set of Python bindings for the low level FUSE API.") (home-page "https://bitbucket.org/nikratio/python-llfuse/") - (license lgpl2.0+) + (license license:lgpl2.0+) (properties `((python2-variant . ,(delay python2-llfuse)))))) (define-public python2-llfuse @@ -5547,7 +5545,7 @@ (define-public python-llfuse-0.41 "1imlqw9b73086y97izr036f58pgc5akv4ihc2rrf8j5h75jbrlaa")))) ;; Python-LLFUSE < 0.42 includes underscore.js, which is MIT (expat) ;; licensed. The rest of the package is licensed under LGPL2.0 or later. - (license (list license:expat lgpl2.0+)))) + (license (list license:expat license:lgpl2.0+)))) (define-public python-msgpack (package @@ -5565,7 +5563,7 @@ (define-public python-msgpack 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 asl2.0) + (license license:asl2.0) (properties `((python2-variant . ,(delay python2-msgpack)))))) (define-public python2-msgpack @@ -5600,7 +5598,7 @@ (define-public python-netaddr (description "A Python library for representing and manipulating IPv4, IPv6, CIDR, EUI and MAC network addresses.") - (license bsd-3))) + (license license:bsd-3))) (define-public python2-netaddr (package-with-python2 python-netaddr)) @@ -5632,7 +5630,7 @@ (define-public python-wrapt "The aim of the wrapt module is to provide a transparent object proxy for Python, which can be used as the basis for the construction of function wrappers and decorator functions.") - (license bsd-2))) + (license license:bsd-2))) (define-public python2-wrapt (package-with-python2 python-wrapt)) @@ -5683,7 +5681,7 @@ (define-public python-monotonic (description "This module provides a monotonic() function which returns the value (in fractional seconds) of a clock which never goes backwards.") - (license asl2.0))) + (license license:asl2.0))) (define-public python2-monotonic (package-with-python2 python-monotonic)) @@ -5739,7 +5737,7 @@ (define-public python-xlrd spreadsheets using Microsoft Excel proprietary file formats @samp{.xls} and @samp{.xlsx} (versions 2.0 onwards). It has support for Excel dates and is Unicode-aware. It is not intended as an end-user tool.") - (license bsd-3))) + (license license:bsd-3))) (define-public python2-xlrd (package-with-python2 python-xlrd)) @@ -5767,7 +5765,7 @@ (define-public python-prettytable tables. PrettyTable allows for selection of which columns are to be printed, independent alignment of columns (left or right justified or centred) and printing of sub-tables by specifying a row range.") - (license bsd-3))) + (license license:bsd-3))) (define-public python2-prettytable (package-with-python2 python-prettytable)) @@ -5824,7 +5822,7 @@ (define-public python-tables (synopsis "Hierarchical datasets for Python") (description "PyTables is a package for managing hierarchical datasets and designed to efficently cope with extremely large amounts of data.") - (license bsd-3))) + (license license:bsd-3))) (define-public python2-tables (package-with-python2 python-tables)) @@ -5847,7 +5845,7 @@ (define-public python-pyasn1 (description "This is an implementation of ASN.1 types and codecs in Python. It is suitable for a wide range of protocols based on the ASN.1 specification.") - (license bsd-2))) + (license license:bsd-2))) (define-public python2-pyasn1 (package-with-python2 python-pyasn1)) @@ -5873,7 +5871,7 @@ (define-public python-pyasn1-modules (description "Pyasn1-modules is a collection of Python modules providing ASN.1 types and implementations of ASN.1-based codecs and protocols.") - (license bsd-3))) + (license license:bsd-3))) (define-public python2-pyasn1-modules (package-with-python2 python-pyasn1-modules)) @@ -5901,7 +5899,7 @@ (define-public python2-ipaddress 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 psfl))) + (license license:psfl))) (define-public python2-ipaddr (package @@ -5930,7 +5928,7 @@ (define-public python2-ipaddr For new implementations you may prefer to use the standard module @code{ipaddress}, which was introduced in Python 3.3 and backported to older versions of Python.") - (license asl2.0))) + (license license:asl2.0))) (define-public python-idna (package @@ -5957,7 +5955,7 @@ (define-public python-idna suitable drop-in replacement for the “encodings.idna” module that comes with the Python standard library but currently only supports the older 2003 specification.") - (license bsd-4))) + (license license:bsd-4))) (define-public python2-idna (package-with-python2 python-idna)) @@ -5984,7 +5982,7 @@ (define-public python-pretend technique for writing tests. You may hear the term mixed up with mocks, fakes, or doubles. Basically, a stub is an object that returns pre-canned responses, rather than doing any computation.") - (license bsd-3))) + (license license:bsd-3))) (define-public python2-pretend (package-with-python2 python-pretend)) @@ -6008,7 +6006,7 @@ (define-public python-cryptography-vectors (description "This package contains test vectors for the cryptography package.") ;; Distributed under either BSD-3 or ASL2.0 - (license (list bsd-3 asl2.0)))) + (license (list license:bsd-3 license:asl2.0)))) (define-public python2-cryptography-vectors (package-with-python2 python-cryptography-vectors)) @@ -6050,7 +6048,7 @@ (define-public python-cryptography level interfaces to common cryptographic algorithms such as symmetric ciphers, message digests and key derivation functions.") ;; Distributed under either BSD-3 or ASL2.0 - (license (list bsd-3 asl2.0)) + (license (list license:bsd-3 license:asl2.0)) (properties `((python2-variant . ,(delay python2-cryptography)))))) (define-public python2-cryptography @@ -6089,7 +6087,7 @@ (define-public python-pyopenssl (description "PyOpenSSL is a high-level wrapper around a subset of the OpenSSL library.") - (license asl2.0))) + (license license:asl2.0))) (define-public python2-pyopenssl (package-with-python2 python-pyopenssl)) @@ -6161,7 +6159,7 @@ (define-public python-tlsh comparing their hash values. The byte stream should have a sufficient amount of complexity; for example, a byte stream of identical bytes will not generate a hash value.") - (license asl2.0))) + (license license:asl2.0))) (define-public python2-tlsh (package @@ -6208,7 +6206,7 @@ (define-public python-libarchive-c "This package provides Python bindings to libarchive, a C library to access possibly compressed archives in many different formats. It uses Python's @code{ctypes} foreign function interface (FFI).") - (license lgpl2.0+))) + (license license:lgpl2.0+))) (define-public python2-libarchive-c (package-with-python2 python-libarchive-c)) @@ -6279,7 +6277,7 @@ (define-public python-debian @end enumerate\n") ;; Modules are either GPLv2+ or GPLv3+. - (license gpl3+))) + (license license:gpl3+))) (define-public python2-debian (package-with-python2 python-debian)) @@ -6306,7 +6304,7 @@ (define-public python-chardet (description "This package provides @code{chardet}, a Python module that can automatically detect a wide range of file encodings.") - (license lgpl2.1+))) + (license license:lgpl2.1+))) (define-public python2-chardet (package-with-python2 python-chardet)) @@ -6367,7 +6365,7 @@ (define-public python-zope-event use by applications which are unaware of any subscribers to their events. It is a simple event-dispatching system on which more sophisticated event dispatching systems can be built.") - (license zpl2.1))) + (license license:zpl2.1))) (define-public python2-zope-event (package-with-python2 python-zope-event)) @@ -6393,7 +6391,7 @@ (define-public python-zope-interface (description "Zope.interface provides an implementation of \"object interfaces\" for Python. Interfaces are a mechanism for labeling objects as conforming to a given API or contract.") - (license zpl2.1))) + (license license:zpl2.1))) (define-public python2-zope-interface (package-with-python2 python-zope-interface)) @@ -6420,7 +6418,7 @@ (define-public python-zope-exceptions (synopsis "Zope exceptions") (description "Zope.exceptions provides general-purpose exception types that have uses outside of the Zope framework.") - (license zpl2.1))) + (license license:zpl2.1))) (define-public python2-zope-exceptions (package-with-python2 python-zope-exceptions)) @@ -6446,7 +6444,7 @@ (define-public python-zope-testing (synopsis "Zope testing helpers") (description "Zope.testing provides a number of testing utilities for HTML forms, HTTP servers, regular expressions, and more.") - (license zpl2.1))) + (license license:zpl2.1))) (define-public python2-zope-testing (package-with-python2 python-zope-testing)) @@ -6476,7 +6474,7 @@ (define-public python-zope-testrunner (synopsis "Zope testrunner script") (description "Zope.testrunner provides a script for running Python tests.") - (license zpl2.1))) + (license license:zpl2.1))) (define-public python2-zope-testrunner (let ((base (package-with-python2 python-zope-testrunner))) @@ -6508,7 +6506,7 @@ (define-public python-zope-i18nmessageid (synopsis "Message identifiers for internationalization") (description "Zope.i18nmessageid provides facilities for declaring internationalized messages within program source text.") - (license zpl2.1))) + (license license:zpl2.1))) (define-public python2-zope-i18nmessageid (package-with-python2 python-zope-i18nmessageid)) @@ -6535,7 +6533,7 @@ (define-public python-zope-schema (synopsis "Zope data schemas") (description "Zope.scheme provides extensions to zope.interface for defining data schemas.") - (license zpl2.1))) + (license license:zpl2.1))) (define-public python2-zope-schema (package-with-python2 python-zope-schema)) @@ -6560,7 +6558,7 @@ (define-public python-zope-configuration (synopsis "Zope Configuration Markup Language") (description "Zope.configuration implements ZCML, the Zope Configuration Markup Language.") - (license zpl2.1))) + (license license:zpl2.1))) (define-public python2-zope-configuration (package-with-python2 python-zope-configuration)) @@ -6587,7 +6585,7 @@ (define-public python-zope-proxy another object, intervening in the apparent behavior of the wrapped object only when necessary to apply the policy (e.g., access checking, location brokering, etc.) for which the proxy is responsible.") - (license zpl2.1))) + (license license:zpl2.1))) (define-public python2-zope-proxy (package-with-python2 python-zope-proxy)) @@ -6612,7 +6610,7 @@ (define-public python-zope-location (synopsis "Zope location library") (description "Zope.location implements the concept of \"locations\" in Zope3, which are are special objects that have a structural location.") - (license zpl2.1))) + (license license:zpl2.1))) (define-public python2-zope-location (package-with-python2 python-zope-location)) @@ -6642,7 +6640,7 @@ (define-public python-zope-security (synopsis "Zope security framework") (description "Zope.security provides a generic mechanism to implement security policies on Python objects.") - (license zpl2.1))) + (license license:zpl2.1))) (define-public python2-zope-security (let ((zope-security (package-with-python2 python-zope-security))) @@ -6681,7 +6679,7 @@ (define-public python-zope-component (description "Zope.component represents the core of the Zope Component Architecture. Together with the zope.interface package, it provides facilities for defining, registering and looking up components.") - (license zpl2.1))) + (license license:zpl2.1))) (define-public python2-zope-component (package-with-python2 python-zope-component)) @@ -6718,7 +6716,7 @@ (define-public python-pythondialog (description "A Python wrapper for the dialog utility. Its purpose is to provide an easy to use, pythonic and comprehensive Python interface to dialog. This allows one to make simple text-mode user interfaces on Unix-like systems") - (license lgpl2.1) + (license license:lgpl2.1) (properties `((python2-variant . ,(delay python2-pythondialog)))))) (define-public python2-pythondialog @@ -6780,7 +6778,7 @@ (define-public python-werkzeug handle entity tags, cache control headers, HTTP dates, cookie handling, file uploads, a powerful URL routing system and a bunch of community-contributed addon modules.") - (license x11))) + (license license:x11))) (define-public python2-werkzeug (package-with-python2 python-werkzeug)) @@ -6810,7 +6808,7 @@ (define-public python-configobj use, with a straightforward programmer’s interface and a simple syntax for config files.") (home-page "https://github.com/DiffSK/configobj") - (license bsd-3))) + (license license:bsd-3))) (define-public python2-configobj (package-with-python2 python-configobj)) @@ -6862,7 +6860,7 @@ (define-public python-ndg-httpsclient over the default provided with Python and importantly enables full verification of the SSL peer.") (home-page "https://github.com/cedadev/ndg_httpsclient/") - (license bsd-3))) + (license license:bsd-3))) ;; python2-openssl requires special care, so package-with-python2 is ;; insufficient. @@ -6899,7 +6897,7 @@ (define-public python-contextlib2 provides utilities for common tasks involving decorators and context managers. It also contains additional features that are not part of the standard library.") - (license psfl))) + (license license:psfl))) (define-public python2-contextlib2 (package-with-python2 python-contextlib2)) @@ -6921,7 +6919,7 @@ (define-public python-texttable (synopsis "Python module for creating simple ASCII tables") (description "Texttable is a Python module for creating simple ASCII tables.") - (license lgpl2.1+))) + (license license:lgpl2.1+))) (define-public python2-texttable (package-with-python2 python-texttable)) @@ -6946,7 +6944,7 @@ (define-public python-websocket-client (synopsis "WebSocket client for Python") (description "The Websocket-client module provides the low level APIs for WebSocket usage in Python programs.") - (license lgpl2.1+))) + (license license:lgpl2.1+))) (define-public python2-websocket-client (package-with-python2 python-websocket-client)) @@ -6995,7 +6993,7 @@ (define-public python-requests-toolbelt (description "This is a toolbelt of useful classes and functions to be used with python-requests.") (home-page "https://github.com/sigmavirus24/requests-toolbelt") - (license asl2.0))) + (license license:asl2.0))) (define-public python-click-threading (package @@ -7236,7 +7234,7 @@ (define-public python-icalendar (description "The icalendar package is a parser/generator of iCalendar files for use with Python.") (home-page "https://github.com/collective/icalendar") - (license bsd-2))) + (license license:bsd-2))) (define-public python-sphinxcontrib-newsfeed (package @@ -7256,7 +7254,7 @@ (define-public python-sphinxcontrib-newsfeed (description "Sphinxcontrib-newsfeed is an extension for adding a simple Blog, News or Announcements section to a Sphinx website.") (home-page "https://bitbucket.org/prometheus/sphinxcontrib-newsfeed") - (license bsd-2))) + (license license:bsd-2))) (define-public python-args (package @@ -7275,7 +7273,7 @@ (define-public python-args (synopsis "Command-line argument parser") (description "This library provides a Python module to parse command-line arguments.") - (license bsd-3))) + (license license:bsd-3))) (define-public python2-args (package-with-python2 python-args)) @@ -7300,7 +7298,7 @@ (define-public python-clint "Clint is a Python module filled with a set of tools for developing command-line applications, including tools for colored and indented output, progress bar display, and pipes.") - (license isc))) + (license license:isc))) (define-public python2-clint (package-with-python2 python-clint)) @@ -7323,7 +7321,7 @@ (define-public python-astor (description "Astor is designed to allow easy manipulation of Python source via the Abstract Syntax Tree.") - (license bsd-3))) + (license license:bsd-3))) (define-public python2-astor (package-with-python2 python-astor)) @@ -7348,7 +7346,7 @@ (define-public python-rply "This package provides a pure Python based parser generator, that also works with RPython. It is a more-or-less direct port of David Bazzley's PLY, with a new public API, and RPython support.") - (license bsd-3))) + (license license:bsd-3))) (define-public python2-rply (package-with-python2 python-rply)) @@ -7460,7 +7458,7 @@ (define-public python2-futures "The concurrent.futures module provides a high-level interface for asynchronously executing callables. This package backports the concurrent.futures package from Python 3.2") - (license bsd-3))) + (license license:bsd-3))) (define-public python-urllib3 (package @@ -7516,7 +7514,7 @@ (define-public python-colorama (description "Colorama is a Python library for rendering colored terminal text.") (home-page "https://pypi.python.org/pypi/colorama") - (license bsd-3))) + (license license:bsd-3))) (define-public python2-colorama (package-with-python2 python-colorama)) @@ -7542,7 +7540,7 @@ (define-public python-rsa generation according to PKCS#1 version 1.5. It can be used as a Python library as well as on the command line.") (home-page "http://stuvel.eu/rsa") - (license asl2.0))) + (license license:asl2.0))) (define-public python2-rsa (package-with-python2 python-rsa)) @@ -7653,7 +7651,7 @@ (define-public python-botocore (synopsis "Low-level interface to AWS") (description "Botocore is a Python library that provides a low-level interface to the Amazon Web Services (AWS) API.") - (license asl2.0))) + (license license:asl2.0))) (define-public python2-botocore (package-with-python2 python-botocore)) @@ -7687,7 +7685,7 @@ (define-public awscli (synopsis "Command line client for AWS") (description "AWS CLI provides a unified command line interface to the Amazon Web Services (AWS) API.") - (license asl2.0))) + (license license:asl2.0))) (define-public python-hypothesis (package @@ -7709,7 +7707,7 @@ (define-public python-hypothesis based on the Haskell library, Quickcheck, and is designed to integrate seamlessly into your existing Python unit testing work flow.") (home-page "https://github.com/DRMacIver/hypothesis") - (license mpl2.0) + (license license:mpl2.0) (properties `((python2-variant . ,(delay python2-hypothesis)))))) (define-public python2-hypothesis @@ -7743,7 +7741,7 @@ (define-public python-pytest-subtesthack function multiple times, without setting up or tearing down fixture state as is normally the case.") (home-page "https://github.com/untitaker/pytest-subtesthack/") - (license unlicense))) + (license license:unlicense))) (define-public python2-pytest-subtesthack (package-with-python2 python-pytest-subtesthack)) @@ -7772,7 +7770,7 @@ (define-public python2-xdo (description "Provides bindings to libxdo for manipulating X11 via simulated input. (Note that this is mostly a legacy library; you may wish to look at python-xdo for newer bindings.)") - (license bsd-3))) + (license license:bsd-3))) (define-public python-wtforms (package @@ -7795,7 +7793,7 @@ (define-public python-wtforms "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 bsd-3) + (license license:bsd-3) (properties `((python2-variant . ,(delay python2-wtforms)))))) (define-public python2-wtforms @@ -7852,7 +7850,7 @@ (define-public python-waitress (synopsis "Waitress WSGI server") (description "Waitress is meant to be a production-quality pure-Python WSGI server with very acceptable performance.") - (license zpl2.1) + (license license:zpl2.1) (properties `((python2-variant . ,(delay python2-waitress)))))) (define-public python2-waitress @@ -8033,7 +8031,7 @@ (define-public python-pyquery (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 bsd-3) + (license license:bsd-3) (properties `((python2-variant . ,(delay python2-pyquery)))))) (define-public python2-pyquery @@ -8121,7 +8119,7 @@ (define-public python-anyjson (description "Anyjson loads whichever is the fastest JSON module installed and provides a uniform API regardless of which JSON implementation is used.") - (license bsd-3) + (license license:bsd-3) (properties `((python2-variant . ,(delay python2-anyjson)))))) (define-public python2-anyjson @@ -8157,7 +8155,7 @@ (define-public python-amqp "This is a fork of amqplib which was originally written by Barry Pederson. It is maintained by the Celery project, and used by kombu as a pure python alternative when librabbitmq is not available.") - (license lgpl2.1+) + (license license:lgpl2.1+) (properties `((python2-variant . ,(delay python2-amqp)))))) (define-public python2-amqp @@ -8199,7 +8197,7 @@ (define-public python-kombu AMQP is the Advanced Message Queuing Protocol, an open standard protocol for message orientation, queuing, routing, reliability and security, for which the RabbitMQ messaging server is the most popular implementation.") - (license bsd-3) + (license license:bsd-3) (properties `((python2-variant . ,(delay python2-kombu)))))) (define-public python2-kombu @@ -8233,7 +8231,7 @@ (define-public python-billiard multiprocessing package itself is a renamed and updated version of R Oudkerk's pyprocessing package. This standalone variant is intended to be compatible with Python 2.4 and 2.5, and will draw its fixes/improvements from python-trunk.") - (license bsd-3) + (license license:bsd-3) (properties `((python2-variant . ,(delay python2-billiard)))))) (define-public python2-billiard @@ -8274,7 +8272,7 @@ (define-public python-celery concurrently on a single or more worker servers using multiprocessing, Eventlet, or gevent. Tasks can execute asynchronously (in the background) or synchronously (wait until ready).") - (license bsd-3) + (license license:bsd-3) (properties `((python2-variant . ,(delay python2-celery)))))) (define-public python2-celery @@ -8337,7 +8335,7 @@ (define-public python-editor (description "python-editor is a library that provides the editor module for programmatically interfacing with your system's $EDITOR.") - (license asl2.0) + (license license:asl2.0) (properties `((python2-variant . ,(delay python2-editor)))))) (define-public python2-editor @@ -8364,7 +8362,7 @@ (define-public python-sphinxcontrib-programoutput (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 bsd-2) + (license license:bsd-2) (properties `((python2-variant . ,(delay python2-sphinxcontrib-programoutput)))))) (define-public python2-sphinxcontrib-programoutput @@ -8393,7 +8391,7 @@ (define-public python-sphinx-repoze-autointerface system. The extension allows generation of API documentation by introspection of @code{zope.interface} instances in code.") (home-page "https://github.com/repoze/repoze.sphinx.autointerface") - (license repoze))) + (license license:repoze))) (define-public python2-sphinx-repoze-autointerface (package-with-python2 python-sphinx-repoze-autointerface)) @@ -8420,7 +8418,7 @@ (define-public python-psycopg2 (synopsis "Python PostgreSQL adapter") (description "psycopg2 is a thread-safe PostgreSQL adapter that implements DB-API 2.0. ") - (license lgpl3+) + (license license:lgpl3+) (properties `((python2-variant . ,(delay python2-psycopg2)))))) (define-public python2-psycopg2 @@ -8450,7 +8448,7 @@ (define-public python-vobject should be imported, but only a few components are understood in a sophisticated way.") (home-page "http://eventable.github.io/vobject/") - (license asl2.0) + (license license:asl2.0) (properties `((python2-variant . ,(delay python2-vobject)))))) (define-public python2-vobject @@ -8477,7 +8475,7 @@ (define-public python-munkres (description "The Munkres module provides an implementation of the Munkres algorithm (also called the Hungarian algorithm or the Kuhn-Munkres algorithm), useful for solving the Assignment Problem.") - (license bsd-3))) + (license license:bsd-3))) (define-public python2-munkres (package-with-python2 python-munkres)) @@ -8502,7 +8500,7 @@ (define-public python-flask (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 bsd-3) + (license license:bsd-3) (properties `((python2-variant . ,(delay python2-flask)))))) (define-public python2-flask @@ -8565,7 +8563,7 @@ (define-public python-responses (synopsis "Utility for mocking out the `requests` Python library") (description "A utility library for mocking out the `requests` Python library.") - (license asl2.0) + (license license:asl2.0) (properties `((python2-variant . ,(delay python2-responses)))))) (define-public python2-responses @@ -8626,7 +8624,7 @@ (define-public python-jellyfish (synopsis "Approximate and phonetic matching of strings") (description "Jellyfish uses a variety of string comparison and phonetic encoding algorithms to do fuzzy string matching.") - (license bsd-2) + (license license:bsd-2) (properties `((python2-variant . ,(delay python2-jellyfish)))))) (define-public python2-jellyfish @@ -8662,7 +8660,7 @@ (define-public python2-unicodecsv (synopsis "Unicode CSV module for Python 2") (description "Unicodecsv is a drop-in replacement for Python 2.7's CSV module, adding support for Unicode strings.") - (license bsd-2))) + (license license:bsd-2))) (define-public python-rarfile (package @@ -8691,7 +8689,7 @@ (define-public python-rarfile (synopsis "RAR archive reader for Python") (description "This is Python module for RAR archive reading. The interface is made as zipfile like as possible.") - (license isc))) + (license license:isc))) (define-public python2-rarfile (package-with-python2 python-rarfile)) @@ -8801,7 +8799,7 @@ (define-public python2-s3cmd Service (S3) protocol, including S3 itself. It supports rsync-like backup, GnuPG encryption, and more. It also supports management of Amazon's CloudFront content delivery network.") - (license gpl2+))) + (license license:gpl2+))) (define-public python-pkgconfig (package @@ -8869,7 +8867,7 @@ (define-public python-bz2file files. It contains a drop-in replacement for the I/O interface in the standard library's @code{bz2} module, including features from the latest development version of CPython that are not available in older releases.") - (license asl2.0) + (license license:asl2.0) (properties `((python2-variant . ,(delay python2-bz2file)))))) (define-public python2-bz2file @@ -8961,7 +8959,7 @@ (define-public python-cysignals other signals and errors) in Cython code, using two related approaches, for mixed Cython/Python code or external C libraries and pure Cython code, respectively.") - (license lgpl3+))) + (license license:lgpl3+))) (define-public python2-cysignals (package-with-python2 python-cysignals)) @@ -9004,7 +9002,7 @@ (define-public python2-shedskin (synopsis "Experimental Python-2 to C++ Compiler") (description (string-append "This is an experimental compiler for a subset of Python. It generates C++ code and a Makefile.")) - (license (list gpl3 bsd-3 license:expat)))) + (license (list license:gpl3 license:bsd-3 license:expat)))) (define-public python2-rope (package @@ -9031,7 +9029,7 @@ (define-public python2-rope the renaming, moving and extracting of attributes, functions, modules, fields and parameters in Python 2 source code. These refactorings can also be applied to occurences in strings and comments.") - (license gpl2))) + (license license:gpl2))) (define-public python-py3status (package @@ -9052,7 +9050,7 @@ (define-public python-py3status (description "py3status is an i3status wrapper which extends i3status functionality in a modular way, allowing you to extend your panel with your own code, responding to click events and updating clock every second.") - (license bsd-3))) + (license license:bsd-3))) (define-public python-tblib (package @@ -9092,7 +9090,7 @@ (define-public python-tblib @item Parse traceback strings and raise with the parsed tracebacks. @end itemize") - (license bsd-3))) + (license license:bsd-3))) (define-public python2-tblib (package-with-python2 python-tblib)) @@ -9126,7 +9124,7 @@ (define-public python-sqlparse (synopsis "Non-validating SQL parser") (description "Sqlparse is a non-validating SQL parser for Python. It provides support for parsing, splitting and formatting SQL statements.") - (license bsd-3))) + (license license:bsd-3))) (define-public python2-sqlparse (package-with-python2 python-sqlparse)) @@ -9151,7 +9149,7 @@ (define-public python-greenlet that supports micro-threads called \"tasklets\". Tasklets run pseudo-concurrently (typically in a single or a few OS-level threads) and are synchronized with data exchanges on \"channels\".") - (license (list psfl license:expat)))) + (license (list license:psfl license:expat)))) (define-public python2-greenlet (package-with-python2 python-greenlet)) @@ -9239,7 +9237,7 @@ (define-public python-ply (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 bsd-3) + (license license:bsd-3) (properties `((python2-variant . ,(delay python2-ply)))))) (define-public python2-ply @@ -9303,7 +9301,7 @@ (define-public python-kazoo "Kazoo is a Python client library for the Apache Zookeeper distributed application service. It is designed to be easy to use and to avoid common programming errors.") - (license asl2.0))) + (license license:asl2.0))) (define-public python2-kazoo (package-with-python2 python-kazoo)) @@ -9337,7 +9335,7 @@ (define-public python-pykafka "PyKafka is a client for the Apache Kafka distributed messaging system. It includes Python implementations of Kafka producers and consumers, which are optionally backed by a C extension built on librdkafka.") - (license asl2.0))) + (license license:asl2.0))) (define-public python2-pykafka (package-with-python2 python-pykafka)) @@ -9398,7 +9396,7 @@ (define-public python2-jsonrpclib It supports both the original 1.0 specification, as well as the new (proposed) 2.0 spec, which includes batch submission, keyword arguments, etc.") - (license asl2.0))) + (license license:asl2.0))) (define-public python-chai (package @@ -9418,7 +9416,7 @@ (define-public python-chai (description "Chai provides an api for mocking, stubbing and spying your python objects, patterned after the Mocha library for Ruby.") - (license bsd-3))) + (license license:bsd-3))) (define-public python2-chai (package-with-python2 python-chai)) @@ -9447,7 +9445,7 @@ (define-public python-arrow "Arrow is a Python library to creating, manipulating, formatting and converting dates, times, and timestamps. It implements and updates the datetime type.") - (license asl2.0))) + (license license:asl2.0))) (define-public python2-arrow (package-with-python2 python-arrow)) @@ -9494,7 +9492,7 @@ (define-public python-pylev (description "Pure Python Levenshtein implementation, based off the Wikipedia code samples at @url{http://en.wikipedia.org/wiki/Levenshtein_distance}.") - (license bsd-3))) + (license license:bsd-3))) (define-public python2-pylev (package-with-python2 python-pylev)) @@ -9546,7 +9544,7 @@ (define-public python-lazy-object-proxy (description "Lazy object proxy is an object that wraps a callable but defers the call until the object is actually required, and caches the result of said call.") - (license bsd-2))) + (license license:bsd-2))) (define-public python2-lazy-object-proxy (package-with-python2 python-lazy-object-proxy)) @@ -9605,7 +9603,7 @@ (define-public python-email-validator (synopsis "Email address validation library for Python") (description "This library validates email address syntax and deliverability.") - (license cc0))) + (license license:cc0))) (define-public python2-email-validator (package-with-python2 python-email-validator)) @@ -9700,7 +9698,7 @@ (define-public python-pyaml (description "pyaml is a PyYAML based python module to produce pretty and readable YAML-serialized data.") - (license (non-copyleft "http://www.wtfpl.net/txt/copying/")))) + (license (license:non-copyleft "http://www.wtfpl.net/txt/copying/")))) (define-public python2-pyaml (package-with-python2 python-pyaml)) @@ -9723,7 +9721,7 @@ (define-public python-flexmock (description "flexmock is a testing library for Python that makes it easy to create mocks, stubs and fakes.") - (license bsd-3))) + (license license:bsd-3))) (define-public python2-flexmock (package-with-python2 python-flexmock)) @@ -9794,7 +9792,7 @@ (define-public python-prompt-toolkit 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 bsd-3) + (license license:bsd-3) (properties `((python2-variant . ,(delay python2-prompt-toolkit)))))) (define-public python2-prompt-toolkit @@ -9857,7 +9855,7 @@ (define-public ptpython It supports syntax highlighting, multiline editing, autocompletion, mouse, color schemes, bracketed paste, Vi and Emacs keybindings, Chinese characters etc.") - (license bsd-3) + (license license:bsd-3) (properties `((python2-variant . ,(delay ptpython-2)))))) (define-public ptpython-2 @@ -9897,7 +9895,7 @@ (define-public python-stem "Stem is a Python controller library for Tor. With it you can use Tor's control protocol to script against the Tor process and read descriptor data relays publish about themselves.") - (license lgpl3))) + (license license:lgpl3))) (define-public python2-stem (package-with-python2 python-stem)) @@ -9920,7 +9918,7 @@ (define-public python-pyserial (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 bsd-3) + (license license:bsd-3) (properties `((python2-variant . ,(delay python2-pyserial)))))) (define-public python2-pyserial