gnu: python-django-sortedm2m: Update to 3.0.2.
* gnu/packages/django.scm (python-django-sortedm2m): Update to 3.0.2. [arguments]: Remove #:tests?. Add #:phases. [home-page]: Update to current.
This commit is contained in:
parent
27f32604d4
commit
52c8d4204c
|
@ -976,20 +976,25 @@ (define-public python-django-q
|
||||||
(define-public python-django-sortedm2m
|
(define-public python-django-sortedm2m
|
||||||
(package
|
(package
|
||||||
(name "python-django-sortedm2m")
|
(name "python-django-sortedm2m")
|
||||||
(version "1.3.3")
|
(version "3.0.2")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (pypi-uri "django-sortedm2m" version))
|
(uri (pypi-uri "django-sortedm2m" version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0axf765i7b3c2s83nlph47asi8s071dhq8l7y382v1pw785s22vi"))))
|
"0z0yymmrr2l5cznqbzwziw624df0qsiflvbpqwrpan52nww3dk4a"))))
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
;; no tests.
|
`(#:phases (modify-phases %standard-phases
|
||||||
`(#:tests? #f))
|
(replace 'check
|
||||||
|
(lambda _
|
||||||
|
(setenv "PYTHONPATH" (string-append "./test_project:"
|
||||||
|
"./build/lib:.:"
|
||||||
|
(getenv "PYTHONPATH")))
|
||||||
|
(invoke "django-admin.py" "test" "--settings=settings"))))))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
`(("python-django" ,python-django)))
|
`(("python-django" ,python-django)))
|
||||||
(home-page "https://github.com/gregmuellegger/django-sortedm2m")
|
(home-page "https://github.com/jazzband/django-sortedm2m")
|
||||||
(synopsis "Drop-in replacement for django's own ManyToManyField")
|
(synopsis "Drop-in replacement for django's own ManyToManyField")
|
||||||
(description
|
(description
|
||||||
"Sortedm2m is a drop-in replacement for django's own ManyToManyField.
|
"Sortedm2m is a drop-in replacement for django's own ManyToManyField.
|
||||||
|
|
Loading…
Reference in a new issue