GNU bug report logs - #72432
[PATCH 0/2] Add dlpack, python-pyclibrary.

Previous Next

Package: guix-patches;

Reported by: Nicolas Graves <ngraves <at> ngraves.fr>

Date: Fri, 2 Aug 2024 23:17:01 UTC

Severity: normal

Tags: patch

Full log


View this message in rfc822 format

From: Hilton Chain <hako <at> ultrarare.space>
To: Nicolas Graves <ngraves <at> ngraves.fr>
Cc: 72432 <at> debbugs.gnu.org
Subject: [bug#72432] [PATCH 2/2] gnu: Add python-pyclibrary.
Date: Sun, 01 Dec 2024 03:13:18 +0800
Hi Nicolas,

On Sun, 04 Aug 2024 05:04:37 +0800,
Nicolas Graves via Guix-patches via wrote:
>
> * gnu/packages/python-xyz.scm (python-pyclibrary): New variable.
>
> Change-Id: Ib4d1bf9f265fc1935c432d8e4ed3e9704f03ba70
> ---
>  gnu/packages/python-xyz.scm | 26 ++++++++++++++++++++++++++
>  1 file changed, 26 insertions(+)
>
> diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
> index d09c16b73e..9dc941ca84 100644
> --- a/gnu/packages/python-xyz.scm
> +++ b/gnu/packages/python-xyz.scm
> @@ -25937,6 +25937,32 @@ (define-public python-setuptools-rust
>  Rust Python extensions implemented with @code{PyO3} or @code{rust-cpython}.")
>      (license license:expat)))
>
> +(define-public python-pyclibrary
> +  (package
> +    (name "python-pyclibrary")
> +    (version "0.2.2")
> +    (source
> +     (origin
> +       (method git-fetch)
> +       (uri (git-reference
> +             (url "https://github.com/MatthieuDartiailh/pyclibrary")
> +             (commit version)))
> +       (file-name (git-file-name name version))
> +       (sha256
> +        (base32 "0scnfk0dr8za1m7k1ml74dr8sg570sgs3hmis7fl27s2h1dbsapk"))))
> +    (build-system pyproject-build-system)
> +    (arguments
> +     (list #:tests? #f))  ; XXX: 1/3rd of tests are failing, find out why.

Can you find out why these tests are failing?  From the output it looks serious
to me.

> +    (native-inputs (list python-pytest))
> +    (propagated-inputs (list python-pyparsing-2.4.7))
> +    (home-page "http://github.com/MatthieuDartiailh/pyclibrary")
> +    (synopsis "Wrap dynamic libraries in Python")
> +    (description "This package provides a library to make wrapping dynamic
> +libraries in Python less cumbersome and more user friendly.  It includes a
> +pure-Python C parser and an automation library that uses C header file
> +definitions to simplify the use of C bindings.")
> +    (license license:expat)))
> +
>  (define-public python-pyclipper
>    (package
>      (name "python-pyclipper")
> --
> 2.45.2

Thanks




This bug report was last modified 196 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.