diff options
| author | Marius Bakke <marius@gnu.org> | 2020-12-21 23:42:10 +0100 |
|---|---|---|
| committer | Marius Bakke <marius@gnu.org> | 2020-12-21 23:42:10 +0100 |
| commit | bbe4ed65ed5fe7dc8ed9d226042852387cee3b1e (patch) | |
| tree | 9fbf0642fe71d0d4f6d7cb4e85b4d1587c8b9b16 /gnu/packages/python.scm | |
| parent | 034cfbd2449387c15823cd9ec3e91661f9e5bf49 (diff) | |
| parent | f00e68ace070fd5240a4b5874e61c26f6e909b6c (diff) | |
Merge branch 'master' into ungrafting
Diffstat (limited to 'gnu/packages/python.scm')
| -rw-r--r-- | gnu/packages/python.scm | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 533b2bdefff..27e9b70432b 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm | |||
| @@ -521,6 +521,31 @@ data types.") | |||
| 521 | (version-major+minor version) | 521 | (version-major+minor version) |
| 522 | "/site-packages")))))))) | 522 | "/site-packages")))))))) |
| 523 | 523 | ||
| 524 | (define-public python-3.9 | ||
| 525 | (package (inherit python-3.8) | ||
| 526 | (name "python-next") | ||
| 527 | (version "3.9.1") | ||
| 528 | (source (origin | ||
| 529 | (method url-fetch) | ||
| 530 | (uri (string-append "https://www.python.org/ftp/python/" | ||
| 531 | version "/Python-" version ".tar.xz")) | ||
| 532 | (patches (search-patches | ||
| 533 | "python-3.9-fix-tests.patch" | ||
| 534 | "python-3-deterministic-build-info.patch" | ||
| 535 | "python-3-search-paths.patch")) | ||
| 536 | (sha256 | ||
| 537 | (base32 | ||
| 538 | "1zq3k4ymify5ig739zyvx9s2ainvchxb1zpy139z74krr653y74r")) | ||
| 539 | (modules '((guix build utils))) | ||
| 540 | (snippet | ||
| 541 | '(begin | ||
| 542 | ;; Delete the bundled copy of libexpat. | ||
| 543 | (delete-file-recursively "Modules/expat") | ||
| 544 | (substitute* "Modules/Setup" | ||
| 545 | ;; Link Expat instead of embedding the bundled one. | ||
| 546 | (("^#pyexpat.*") "pyexpat pyexpat.c -lexpat\n")) | ||
| 547 | #t)))))) | ||
| 548 | |||
| 524 | ;; Current 3.x version. | 549 | ;; Current 3.x version. |
| 525 | (define-public python-3 python-3.8) | 550 | (define-public python-3 python-3.8) |
| 526 | 551 | ||
