diff options
| author | Hennadii Stepanov <hebasto@gmail.com> | 2025-05-30 21:41:08 +0100 |
|---|---|---|
| committer | Hilton Chain <hako@ultrarare.space> | 2025-06-02 11:52:06 +0800 |
| commit | b99a2f21d1335834e893109d10b55c43bb9f5562 (patch) | |
| tree | a3f6ce7e8fc724044cdc8debdc285b414e325e6a /gnu | |
| parent | a755edec4313d85905d32c120fdc88c4167998ac (diff) | |
gnu: python-lief: Update to 0.16.6.
* gnu/packages/python-xyz.scm (python-lief): Update to 0.16.6.
[build-system]: Switch to pyproject-build-system.
[native-inputs]: Add ninja, python-scikit-build-core, python-pydantic-2.
Replace cmake with cmake-minimal.
[arguments]<#:phases>: Use ‘build’ phase from the build system.
Change directory to "api/python" before build.
Change-Id: I8489ed2a3e73ec3ab202d25beae53d320b8808ed
Signed-off-by: Hilton Chain <hako@ultrarare.space>
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/python-xyz.scm | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 2aabb83d206..d49e8abf1d1 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm | |||
| @@ -39293,7 +39293,7 @@ platform using the ActivityPub protocol.") | |||
| 39293 | (define-public python-lief | 39293 | (define-public python-lief |
| 39294 | (package | 39294 | (package |
| 39295 | (name "python-lief") | 39295 | (name "python-lief") |
| 39296 | (version "0.12.3") | 39296 | (version "0.16.6") |
| 39297 | (source (origin | 39297 | (source (origin |
| 39298 | (method git-fetch) | 39298 | (method git-fetch) |
| 39299 | (uri (git-reference | 39299 | (uri (git-reference |
| @@ -39302,19 +39302,19 @@ platform using the ActivityPub protocol.") | |||
| 39302 | (file-name (git-file-name name version)) | 39302 | (file-name (git-file-name name version)) |
| 39303 | (sha256 | 39303 | (sha256 |
| 39304 | (base32 | 39304 | (base32 |
| 39305 | "11i6hqmcjh56y554kqhl61698n9v66j2qk1c1g63mv2w07h2z661")))) | 39305 | "1pq9nagrnkl1x943bqnpiyxmkd9vk99znfxiwqp6vf012b50bz2a")))) |
| 39306 | (build-system python-build-system) | 39306 | (build-system pyproject-build-system) |
| 39307 | (native-inputs (list cmake)) | 39307 | (native-inputs (list cmake-minimal |
| 39308 | ninja | ||
| 39309 | python-scikit-build-core | ||
| 39310 | python-pydantic-2)) | ||
| 39308 | (arguments | 39311 | (arguments |
| 39309 | (list | 39312 | (list |
| 39310 | #:tests? #f ;needs network | 39313 | #:tests? #f ;needs network |
| 39311 | #:phases #~(modify-phases %standard-phases | 39314 | #:phases #~(modify-phases %standard-phases |
| 39312 | (replace 'build | 39315 | (add-before 'build 'change-directory |
| 39313 | (lambda _ | 39316 | (lambda _ |
| 39314 | (invoke | 39317 | (chdir "api/python")))))) |
| 39315 | "python" "setup.py" "--sdk" "build" | ||
| 39316 | (string-append | ||
| 39317 | "-j" (number->string (parallel-job-count))))))))) | ||
| 39318 | (home-page "https://github.com/lief-project/LIEF") | 39318 | (home-page "https://github.com/lief-project/LIEF") |
| 39319 | (synopsis "Library to instrument executable formats") | 39319 | (synopsis "Library to instrument executable formats") |
| 39320 | (description | 39320 | (description |
