diff options
| author | jgart <jgart@dismail.de> | 2025-12-16 03:38:10 -0600 |
|---|---|---|
| committer | jgart <jgart@dismail.de> | 2025-12-17 11:02:53 -0600 |
| commit | 2a59e5d3927472cf8eb030f78c80e5b8b0d7ca85 (patch) | |
| tree | 35e4a7571553013edd072ecabb3fd789a107ec0e | |
| parent | facb375f88802201347cb6bed867645aacc69bd0 (diff) | |
teams: python: Add manifest.
* etc/teams/python/python-manifest.scm: New file.
Change-Id: I1443ec2f2e5584a47dbe580caa682093e5fa1fe3
Signed-off-by: jgart <jgart@dismail.de>
| -rw-r--r-- | etc/teams/python/python-manifest.scm | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/etc/teams/python/python-manifest.scm b/etc/teams/python/python-manifest.scm new file mode 100644 index 00000000000..cde2f8f7e76 --- /dev/null +++ b/etc/teams/python/python-manifest.scm | |||
| @@ -0,0 +1,35 @@ | |||
| 1 | ;;; GNU Guix --- Functional package management for GNU | ||
| 2 | ;;; Copyright © 2025 jgart <jgart@dismail.de> | ||
| 3 | ;;; | ||
| 4 | ;;; This file is part of GNU Guix. | ||
| 5 | ;;; | ||
| 6 | ;;; GNU Guix is free software; you can redistribute it and/or modify it | ||
| 7 | ;;; under the terms of the GNU General Public License as published by | ||
| 8 | ;;; the Free Software Foundation; either version 3 of the License, or (at | ||
| 9 | ;;; your option) any later version. | ||
| 10 | ;;; | ||
| 11 | ;;; GNU Guix is distributed in the hope that it will be useful, but | ||
| 12 | ;;; WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 13 | ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 14 | ;;; GNU General Public License for more details. | ||
| 15 | ;;; | ||
| 16 | ;;; You should have received a copy of the GNU General Public License | ||
| 17 | ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>. | ||
| 18 | |||
| 19 | ;;; This file returns a manifest of packages built using the python-build-system. | ||
| 20 | ;;; It is used to assist continuous integration of the python-team branch. | ||
| 21 | |||
| 22 | (use-modules (guix packages) | ||
| 23 | (guix profiles) | ||
| 24 | (guix build-system)) | ||
| 25 | |||
| 26 | (manifest | ||
| 27 | (map package->manifest-entry | ||
| 28 | (fold-packages | ||
| 29 | (lambda (package lst) | ||
| 30 | (if (or (eq? 'python (build-system-name (package-build-system package))) | ||
| 31 | (eq? 'pyproject (build-system-name (package-build-system package))) | ||
| 32 | (string=? "python" (package-name package))) | ||
| 33 | (cons package lst) | ||
| 34 | lst)) | ||
| 35 | '()))) | ||
