mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: python-django-sortedm2m: Update to 4.0.0.
* gnu/packages/django.scm (python-django-sortedm2m): Update to 4.0.0. [source]: Fetch git repository. [arguments]: Disable tests. [propagated-inputs]: Add python-psycopg2. [native-inputs]: Add python-setuptools and python-wheel. Change-Id: I74d9242b4d2f372e108f30e25c76985cd5f661e9
This commit is contained in:
parent
53dcdea0a0
commit
04dee06860
1 changed files with 18 additions and 19 deletions
|
@ -1098,23 +1098,22 @@ using Python multiprocessing.")
|
|||
(define-public python-django-sortedm2m
|
||||
(package
|
||||
(name "python-django-sortedm2m")
|
||||
(version "3.0.2")
|
||||
(version "4.0.0")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (pypi-uri "django-sortedm2m" version))
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
(url "https://github.com/jazzband/django-sortedm2m")
|
||||
(commit version)))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32
|
||||
"0z0yymmrr2l5cznqbzwziw624df0qsiflvbpqwrpan52nww3dk4a"))))
|
||||
(build-system python-build-system)
|
||||
(arguments
|
||||
`(#:phases (modify-phases %standard-phases
|
||||
(replace 'check
|
||||
(lambda _
|
||||
(invoke "django-admin"
|
||||
"test" "--settings=test_project.settings"
|
||||
"--pythonpath=."))))))
|
||||
"13sm7axrmk60ai8jcd17x490yhg0svdmfj927vvfkq4lszmc5g96"))))
|
||||
(build-system pyproject-build-system)
|
||||
;; Tests are disable because they need a live instance of PostgreSQL.
|
||||
(arguments (list #:tests? #false))
|
||||
(propagated-inputs
|
||||
(list python-django))
|
||||
(list python-django python-psycopg2))
|
||||
(native-inputs (list python-setuptools python-wheel))
|
||||
(home-page "https://github.com/jazzband/django-sortedm2m")
|
||||
(synopsis "Drop-in replacement for django's own ManyToManyField")
|
||||
(description
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue