me
/
guix
Archived
1
0
Fork 0

gnu: python-django-picklefield: Update to 3.0.1.

* gnu/packages/django.scm (python-django-picklefield): Update to 3.0.1.
[source]: Switch to GIT-FETCH.
[arguments]: New field.
[native-inputs]: Remove.
master
Marius Bakke 2020-09-01 13:12:48 +02:00
parent 76cd38f12e
commit bfe8c030e4
No known key found for this signature in database
GPG Key ID: A2A06DF2A33A54FA
1 changed files with 15 additions and 6 deletions

View File

@ -683,18 +683,27 @@ conn_max_age argument to easily enable Djangos connection pool.")
(define-public python-django-picklefield (define-public python-django-picklefield
(package (package
(name "python-django-picklefield") (name "python-django-picklefield")
(version "2.1.1") (version "3.0.1")
(home-page "https://github.com/gintas/django-picklefield")
;; Use a git checkout because the PyPI release lacks tests.
(source (source
(origin (origin
(method url-fetch) (method git-fetch)
(uri (pypi-uri "django-picklefield" version)) (uri (git-reference
(url home-page)
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32
"0imncys5s3vsy2q79nn7k5d670da1xgmcr9gmhn06fry6ibf39b7")))) "0ni7bc86k0ra4pc8zv451pzlpkhs1nyil1sq9jdb4m2mib87b5fk"))))
(build-system python-build-system) (build-system python-build-system)
(arguments
'(#:phases (modify-phases %standard-phases
(replace 'check
(lambda _
(invoke "python" "-m" "django" "test" "-v2"
"--settings=tests.settings"))))))
(propagated-inputs `(("python-django" ,python-django))) (propagated-inputs `(("python-django" ,python-django)))
(native-inputs `(("python-tox" ,python-tox)))
(home-page "https://github.com/gintas/django-picklefield")
(synopsis "Pickled object field for Django") (synopsis "Pickled object field for Django")
(description "Pickled object field for Django") (description "Pickled object field for Django")
(license license:expat))) (license license:expat)))