diff options
| author | Hugo Buddelmeijer <hugo@buddelmeijer.nl> | 2025-12-14 17:05:39 +0100 |
|---|---|---|
| committer | Andreas Enge <andreas@enge.fr> | 2025-12-17 11:20:19 +0100 |
| commit | 2858053d7d2515916d04afbde5d53c9eb5ea7219 (patch) | |
| tree | b16dfdf7bdd5a8a1c6f98a85d6cfe010c07cc9eb /gnu/packages/python-crypto.scm | |
| parent | 615ad81ecb9acc3f2b8ca3f52b2e29c94942bc7e (diff) | |
gnu: python-pyotp: Switch to pyproject-build-system.
* gnu/packages/python-crypto.scm (python-pyotp): Switch to
pyproject-build-system.
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[arguments]<#:test-flags>: Use test.py.
[native-inputs]: Add python-setuptools and python-pytest.
Change-Id: Ic77d0ad4173804ca300dc2d7bdce6d0529141f8b
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
Diffstat (limited to 'gnu/packages/python-crypto.scm')
| -rw-r--r-- | gnu/packages/python-crypto.scm | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm index eb53edcfac5..f20a3662690 100644 --- a/gnu/packages/python-crypto.scm +++ b/gnu/packages/python-crypto.scm | |||
| @@ -1225,11 +1225,21 @@ been constructed to maintain extensive documentation on how to use | |||
| 1225 | (version "2.9.0") | 1225 | (version "2.9.0") |
| 1226 | (source | 1226 | (source |
| 1227 | (origin | 1227 | (origin |
| 1228 | (method url-fetch) | 1228 | (method git-fetch) |
| 1229 | (uri (pypi-uri "pyotp" version)) | 1229 | (uri (git-reference |
| 1230 | (url "https://github.com/pyauth/pyotp") | ||
| 1231 | (commit (string-append "v" version)))) | ||
| 1232 | (file-name (git-file-name name version)) | ||
| 1230 | (sha256 | 1233 | (sha256 |
| 1231 | (base32 "0qvgsf86az9cqj6d8vim2shvyam89ik0p4sszysf7pfvw116csrl")))) | 1234 | (base32 "0fx253649bvs2w31jdwnr51dm0b6v1zhp7mprnis37c57vj4qczz")))) |
| 1232 | (build-system python-build-system) | 1235 | (build-system pyproject-build-system) |
| 1236 | (arguments | ||
| 1237 | (list | ||
| 1238 | #:test-flags | ||
| 1239 | #~(list "test.py"))) | ||
| 1240 | (native-inputs | ||
| 1241 | (list python-setuptools | ||
| 1242 | python-pytest)) | ||
| 1233 | (home-page "https://github.com/pyauth/pyotp") | 1243 | (home-page "https://github.com/pyauth/pyotp") |
| 1234 | (synopsis "Python One Time Password Library") | 1244 | (synopsis "Python One Time Password Library") |
| 1235 | (description | 1245 | (description |
