* [bug#58662] [PATCH 1/2] gnu: python-lief: Update to 0.12.2. @ 2022-10-20 16:18 Hilton Chain via Guix-patches via [not found] ` <handler.58662.B.166628283719612.ack@debbugs.gnu.org> 0 siblings, 1 reply; 3+ messages in thread From: Hilton Chain via Guix-patches via @ 2022-10-20 16:18 UTC (permalink / raw) To: 58662 * gnu/packages/python-xyz.scm (python-lief): Update to 0.12.2. --- gnu/packages/python-xyz.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 32bd986a12..4223a76755 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -31113,7 +31113,7 @@ (define-public python-misskey (define-public python-lief (package (name "python-lief") - (version "0.12.1") + (version "0.12.2") (source (origin (method git-fetch) (uri (git-reference @@ -31122,7 +31122,7 @@ (define-public python-lief (file-name (git-file-name name version)) (sha256 (base32 - "1xzbh3bxy4rw1yamnx68da1v5s56ay4g081cyamv67256g0qy2i1")))) + "1xb21jsws8lw93by8r25ibzgiml8n1cp7rpzybc648lk6idw0zg6")))) (build-system python-build-system) (native-inputs (list cmake)) (arguments base-commit: 00ff6f7c399670a76efffb91276dea2633cc130c -- 2.38.0 ^ permalink raw reply related [flat|nested] 3+ messages in thread
[parent not found: <handler.58662.B.166628283719612.ack@debbugs.gnu.org>]
* [bug#58662] [PATCH 2/2] gnu: Add shrinkwrap. [not found] ` <handler.58662.B.166628283719612.ack@debbugs.gnu.org> @ 2022-10-20 16:20 ` Hilton Chain via Guix-patches via 2022-10-21 16:33 ` bug#58662: " Christopher Baines 0 siblings, 1 reply; 3+ messages in thread From: Hilton Chain via Guix-patches via @ 2022-10-20 16:20 UTC (permalink / raw) To: 58662 * gnu/packages/python-xyz.scm (shrinkwrap): New variable. --- gnu/packages/python-xyz.scm | 48 +++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 4223a76755..706de291c9 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -31142,6 +31142,54 @@ (define-public python-lief and abstract ELF, PE and MachO formats.") (license license:asl2.0))) +(define-public shrinkwrap + (package + (name "shrinkwrap") + (version "0.1.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/fzakaria/shrinkwrap") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (modules '((guix build utils))) + (snippet '(substitute* "pyproject.toml" + (("lief = \"0\\.12\\.0\"") "lief = \"*\""))) + (sha256 + (base32 + "1f3qrygj16y767q2c7pn9j6m95ggcmj9s5cx9v92ygygly4mr3jp")))) + (build-system python-build-system) + (arguments + (list + #:phases + #~(modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (invoke "pytest" "-v" "tests")))) + ;; XXX: PEP 517 manual build copied from python-isort. + (replace 'build + (lambda _ + (invoke "python" "-m" "build" "--wheel" "--no-isolation" "."))) + (replace 'install + (lambda _ + (let ((whl (car (find-files "dist" "\\.whl$")))) + (invoke "pip" "--no-cache-dir" "--no-input" + "install" "--no-deps" "--prefix" #$output whl))))))) + (native-inputs + (list python-click + python-poetry-core + python-pypa-build + python-pytest)) + (inputs (list python-lief python-sh)) + (home-page "https://github.com/fzakaria/shrinkwrap") + (synopsis "Emboss needed dependencies on the top level executable") + (description + "@code{shrinkwrap} is a tool which will discover all transitive dynamic +shared objects, and lift them up to the executable referenced by absolute +path.") + (license license:expat))) + (define-public python-pymonad (package (name "python-pymonad") -- 2.38.0 ^ permalink raw reply related [flat|nested] 3+ messages in thread
* bug#58662: [PATCH 2/2] gnu: Add shrinkwrap. 2022-10-20 16:20 ` [bug#58662] [PATCH 2/2] gnu: Add shrinkwrap Hilton Chain via Guix-patches via @ 2022-10-21 16:33 ` Christopher Baines 0 siblings, 0 replies; 3+ messages in thread From: Christopher Baines @ 2022-10-21 16:33 UTC (permalink / raw) To: Hilton Chain; +Cc: 58662-done [-- Attachment #1: Type: text/plain, Size: 354 bytes --] Hilton Chain via Guix-patches via <guix-patches@gnu.org> writes: > * gnu/packages/python-xyz.scm (shrinkwrap): New variable. > --- > gnu/packages/python-xyz.scm | 48 +++++++++++++++++++++++++++++++++++++ > 1 file changed, 48 insertions(+) Thanks! I've pushed this and the previous patch to master as 2edd7cd00c8f7abd073acbe241a6583d4e3a3df9. Chris [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 987 bytes --] ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-10-21 19:03 UTC | newest] Thread overview: 3+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2022-10-20 16:18 [bug#58662] [PATCH 1/2] gnu: python-lief: Update to 0.12.2 Hilton Chain via Guix-patches via [not found] ` <handler.58662.B.166628283719612.ack@debbugs.gnu.org> 2022-10-20 16:20 ` [bug#58662] [PATCH 2/2] gnu: Add shrinkwrap Hilton Chain via Guix-patches via 2022-10-21 16:33 ` bug#58662: " Christopher Baines
Code repositories for project(s) associated with this external index https://git.savannah.gnu.org/cgit/guix.git This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.