summaryrefslogtreecommitdiff
path: root/gnu/packages/django.scm
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2026-02-04 14:09:13 +0000
committerAndreas Enge <andreas@enge.fr>2026-02-07 12:28:55 +0100
commit0aa8b522e691b8a48cc7076950dea996e43e4674 (patch)
tree0548354cc2905340e0084a6b703e63cdfd8b4125 /gnu/packages/django.scm
parent4c60e934d39d5e58c875932cae856097ee6f9ead (diff)
gnu: python-django-dbbackup: Update to 5.1.2.
* gnu/packages/django.scm (python-django-dbbackup): Update to 5.1.2. [source]: Switch to git-fetch. [phases]{pre-check}: Remove tests modification step. {check}: Use default phase. [native-inputs]: Remove python-setuptools and python-wheel; add python-hatchling. Change-Id: I206864969a91cd554431b2afe81dae4622bf1fa2
Diffstat (limited to 'gnu/packages/django.scm')
-rw-r--r--gnu/packages/django.scm28
1 files changed, 10 insertions, 18 deletions
diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm
index 54c4681d576..2766a77bf7a 100644
--- a/gnu/packages/django.scm
+++ b/gnu/packages/django.scm
@@ -1747,13 +1747,16 @@ template tag.")
1747(define-public python-django-dbbackup 1747(define-public python-django-dbbackup
1748 (package 1748 (package
1749 (name "python-django-dbbackup") 1749 (name "python-django-dbbackup")
1750 (version "4.3.0") 1750 (version "5.1.2")
1751 (source 1751 (source
1752 (origin 1752 (origin
1753 (method url-fetch) 1753 (method git-fetch)
1754 (uri (pypi-uri "django_dbbackup" version)) 1754 (uri (git-reference
1755 (url "https://github.com/Archmonger/django-dbbackup")
1756 (commit version)))
1757 (file-name (git-file-name name version))
1755 (sha256 1758 (sha256
1756 (base32 "1p66xs6c2sw1l2zlskpa64zslyawlpgv0vn2l86g4rxizp6chj9m")))) 1759 (base32 "1iapp6kln4sc459w97x2hzdz471d4c2ikqwq556c6bqafdgh8brn"))))
1757 (build-system pyproject-build-system) 1760 (build-system pyproject-build-system)
1758 (arguments 1761 (arguments
1759 (list 1762 (list
@@ -1762,26 +1765,15 @@ template tag.")
1762 (add-before 'check 'pre-check 1765 (add-before 'check 'pre-check
1763 (lambda _ 1766 (lambda _
1764 ;; To write a .env file. 1767 ;; To write a .env file.
1765 (setenv "HOME" "/tmp") 1768 (setenv "HOME" "/tmp"))))))
1766 ;; 'env' command is not available in the build environment.
1767 (substitute* "dbbackup/tests/test_connectors/test_base.py"
1768 (("def test_run_command_with_parent_env")
1769 "def _test_run_command_with_parent_env"))))
1770 (replace 'check
1771 (lambda* (#:key tests? #:allow-other-keys)
1772 (when tests?
1773 (setenv "DJANGO_SETTINGS_MODULE" "dbbackup.tests.settings")
1774 (invoke "django-admin" "test" "dbbackup/tests"
1775 "--pythonpath=.")))))))
1776 (native-inputs (list gnupg 1769 (native-inputs (list gnupg
1777 python-dotenv 1770 python-dotenv
1778 python-gnupg 1771 python-gnupg
1772 python-hatchling
1779 python-pytest 1773 python-pytest
1780 python-pytz 1774 python-pytz
1781 python-setuptools
1782 python-testfixtures 1775 python-testfixtures
1783 python-tzdata 1776 python-tzdata))
1784 python-wheel))
1785 (propagated-inputs (list python-django)) 1777 (propagated-inputs (list python-django))
1786 (home-page "https://github.com/Archmonger/django-dbbackup") 1778 (home-page "https://github.com/Archmonger/django-dbbackup")
1787 (synopsis "Backup and restore a Django project database and media") 1779 (synopsis "Backup and restore a Django project database and media")