~ruther/guix-local

78831e0f31b3fe3680bdca82160c84d6a5488981 — Nicolas Graves 8 months ago e414527
gnu: python-pefile: Update to 2024.8.26.

* gnu/packages/python-xyz.scm (python-pefile): Update to 2024.8.26.
[source]: Switch to git-fetch.
<snippet>: Remove encrypted test data.
[build-system]: Switch to pyproject-build-system.
[native-inputs]: Add python-setuptools.
[description]: Improve style.

Change-Id: Ib8a1d990870179f52485df9558ae502a3592334d
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
1 files changed, 22 insertions(+), 14 deletions(-)

M gnu/packages/python-xyz.scm
M gnu/packages/python-xyz.scm => gnu/packages/python-xyz.scm +22 -14
@@ 23437,23 23437,31 @@ Format (DWARF).")
(define-public python-pefile
  (package
    (name "python-pefile")
    (version "2022.5.30")
    (source (origin
              (method git-fetch)
              (uri (git-reference
                    (url "https://github.com/erocarrera/pefile")
                    (commit (string-append "v" version))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1qj90a0s2gd5hn2zggypqc1077inid5dcl1fp5973b04kf2b9z8a"))))
    (build-system python-build-system)
    (version "2024.8.26")
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
              (url "https://github.com/erocarrera/pefile")
              (commit (string-append "v" version))))
       (file-name (git-file-name name version))
       (sha256
        (base32 "14bh23b7jipf2pxjivyn2khifal6fmk0pjsddrd3h1gd9n0wl9zd"))
       (snippet #~(delete-file "tests/test_data.tar.bz2.enc"))))
    (build-system pyproject-build-system)
    (arguments
     ;; XXX: Taken from tox.ini. Unclear why devs don't supply test data.
     ;; It seems clear however that test_data.tar.bz2.enc needs to be
     ;; decrypted and unpacked before we can run them.
     (list #:test-flags #~(list "--ignore=tests/pefile_test.py")))
    (native-inputs (list python-pytest python-setuptools))
    (propagated-inputs (list python-future))
    (home-page "https://github.com/erocarrera/pefile")
    (synopsis "Portable Executable (PE) file parser")
    (description "This python library provides interfaces for parsing and
working with Portable Executable (PE) files.  It makes to most information
from the header, as well as section details and data available.")
    (description
     "This python library provides interfaces for parsing and working with
Portable Executable (PE) files.  It makes to most information from the header,
as well as section details and data available.")
    (license license:expat)))

(define-public python-pyemd