summary refs log tree commit diff
path: root/gnu/packages/patches/python-unittest2-remove-argparse.patch
diff options
context:
space:
mode:
authorMarius Bakke <mbakke@fastmail.com>2017-07-31 03:24:50 +0200
committerMarius Bakke <mbakke@fastmail.com>2017-10-19 00:16:52 +0200
commit7439173f2c1b561e0e4a2f877e65f2b53c2c2fe9 (patch)
tree453fbb7302f9c341fcaf480d2aaae961a15aac24 /gnu/packages/patches/python-unittest2-remove-argparse.patch
parent5db49f7ac882f913948b162e07bc7151246a1fe5 (diff)
downloadguix-7439173f2c1b561e0e4a2f877e65f2b53c2c2fe9.tar.gz
gnu: python-unittest2: Update to 1.1.0.
* gnu/packages/python.scm (python-unittest2): Update to 1.1.0.
[source]: Use PYPI-URI. Add two patches.
[arguments]: Add phase to run tests.
[propagated-inputs]: Add PYTHON-SIX and PYTHON-TRACEBACK2.
(python2-unittest2): Use 'package-with-python2'.
* gnu/packages/patches/python2-unittest2-remove-argparse.patch: Rename to ...
* gnu/packages/patches/python2-unittest2-remove-argparse.patch: ... this.
* gnu/packages/patches/python-unittest2-python3-compat.patch: New file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
Diffstat (limited to 'gnu/packages/patches/python-unittest2-remove-argparse.patch')
-rw-r--r--gnu/packages/patches/python-unittest2-remove-argparse.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/gnu/packages/patches/python-unittest2-remove-argparse.patch b/gnu/packages/patches/python-unittest2-remove-argparse.patch
new file mode 100644
index 0000000000..c96738757e
--- /dev/null
+++ b/gnu/packages/patches/python-unittest2-remove-argparse.patch
@@ -0,0 +1,11 @@
+--- a/setup.py	2017-09-12 01:22:06.273997788 +0200
++++ b/setup.py	2017-09-12 01:22:14.297918757 +0200
+@@ -57,7 +57,7 @@
+ # Both install and setup requires - because we read VERSION from within the
+ # package, and the package also exports all the APIs.
+ # six for compat helpers
+-REQUIRES = ['argparse', 'six>=1.4', 'traceback2'],
++REQUIRES = ['six>=1.4', 'traceback2'],
+ 
+ params = dict(
+     name=NAME,