aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorMarius Bakke <mbakke@fastmail.com>2018-02-26 02:42:17 +0100
committerMarius Bakke <mbakke@fastmail.com>2018-02-26 02:42:17 +0100
commit557f8f212e9bfc28ce689a2ccbcc91c8dafe01b2 (patch)
tree889d210deefd2d380adc5ac7845778af4deffb1c /gnu
parent2115bde3024b685087af70a20d7846498d6c9985 (diff)
downloadpatches-557f8f212e9bfc28ce689a2ccbcc91c8dafe01b2.tar
patches-557f8f212e9bfc28ce689a2ccbcc91c8dafe01b2.tar.gz
gnu: python-parse-type: Update to 0.4.2.
* gnu/packages/python.scm (python-parse-type): Update to 0.4.2. [source](uri): Use PYPI-URI. [arguments]: Remove field.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/python.scm17
1 files changed, 3 insertions, 14 deletions
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 14a79a9b22..2129cbec07 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -1386,26 +1386,15 @@ backported for previous versions of Python from 2.4 to 3.3.")
(define-public python-parse-type
(package
(name "python-parse-type")
- (version "0.3.4")
+ (version "0.4.2")
(source
(origin
(method url-fetch)
- (uri (string-append "https://pypi.python.org/packages/source/p/"
- "parse_type/parse_type-" version ".tar.gz"))
+ (uri (pypi-uri "parse_type" version))
(sha256
(base32
- "0iv1c34npr4iynwpgv1vkjx9rjd18a85ir8c01gc5f7wp8iv7l1x"))))
+ "0g3b6gsdwnm8dpkh2vn34q6dzxm9gl908ggyzcv31n9xbp3vv5pm"))))
(build-system python-build-system)
- (arguments
- `(#:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'patch-tests
- (lambda _
- (substitute* "tests/test_parse_type_parse.py"
- ;; Newer Python versions don't have the problem this test tests.
- (("self[.]assertRaises[(]parse.TooManyFields, p.parse, ''[)]")
- ""))
- #t)))))
(propagated-inputs
`(("python-six" ,python-six)
("python-parse" ,python-parse)))