GNU bug report logs - #58868
[PATCH 5/5] python-gaphor: New package

Previous Next

Package: guix-patches;

Reported by: Jacob Hrbek <kreyren <at> rixotstudio.cz>

Date: Sat, 29 Oct 2022 17:00:02 UTC

Severity: normal

Tags: patch

To reply to this bug, email your comments to 58868 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#58868; Package guix-patches. (Sat, 29 Oct 2022 17:00:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Jacob Hrbek <kreyren <at> rixotstudio.cz>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Sat, 29 Oct 2022 17:00:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Jacob Hrbek <kreyren <at> rixotstudio.cz>
To: "guix-patches <at> gnu.org" <guix-patches <at> gnu.org>
Subject: [PATCH 5/5] python-gaphor: New package
Date: Sat, 29 Oct 2022 16:59:15 +0000
[Message part 1 (text/plain, inline)]
Whee
[Message part 2 (text/html, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#58868; Package guix-patches. (Sat, 29 Oct 2022 17:09:02 GMT) Full text and rfc822 format available.

Message #8 received at 58868 <at> debbugs.gnu.org (full text, mbox):

From: Jacob Hrbek <kreyren <at> rixotstudio.cz>
To: 58868 <at> debbugs.gnu.org
Cc: Jacob Hrbek <kreyren <at> rixotstudio.cz>
Subject: [PATCH 1/4] python-gaphas: New package
Date: Sat, 29 Oct 2022 17:08:39 +0000
---
 gnu/packages/python-xyz.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 8343f9e907..fcfea2d99c 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -30854,6 +30854,27 @@ (define-public python-langcodes
 install @code{python-language-data}.")
     (license license:expat)))

+(define-public python-gaphas
+  (package
+    (name "python-gaphas")
+    (version "3.8.2")
+    (synopsis "Gaphas is a GTK+ based diagramming widget")
+    (description "Gaphas is a GTK+ based diagramming widget")
+    (home-page "https://gaphas.readthedocs.io")
+    (license license:asl2.0)
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "gaphas" version))
+              (sha256
+               (base32
+                "0ikaz455g8cfr7h66xlksim8kala3h0g36ij5zcz76vhyd3f1baa"))))
+    (build-system python-build-system)
+    (inputs (list python-pycairo ;pycairo<2.0.0,>=1.20.0
+                  python-pygobject)) ;PyGObject<4.0.0,>=3.38.0
+    (arguments
+     ;; FIXME: python-build-system needs update for the check to work: 'Testing via this command is deprecated and will be removed in a future version. Users looking for a generic test entry point independent of test runner are encouraged to use tox'
+     `(#:tests? #f))))
+
 (define-public python-geomet
   (package
     (name "python-geomet")
--
2.37.3






Information forwarded to guix-patches <at> gnu.org:
bug#58868; Package guix-patches. (Sat, 29 Oct 2022 17:09:02 GMT) Full text and rfc822 format available.

Message #11 received at 58868 <at> debbugs.gnu.org (full text, mbox):

From: Jacob Hrbek <kreyren <at> rixotstudio.cz>
To: 58868 <at> debbugs.gnu.org
Cc: Jacob Hrbek <kreyren <at> rixotstudio.cz>
Subject: [PATCH 2/4] python-darkdetect: New package
Date: Sat, 29 Oct 2022 17:08:46 +0000
---
 gnu/packages/python-xyz.scm | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index fcfea2d99c..6818b50d8e 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -4481,6 +4481,24 @@ (define-public python-daemon
     ;; Only setup.py is gpl3+, everything else is apache 2.0 licensed.
     (license (list license:asl2.0 license:gpl3+))))

+(define-public python-darkdetect
+  (package
+    (name "python-darkdetect")
+    (version "0.7.1")
+    (home-page "http://github.com/albertosottile/darkdetect")
+    (synopsis "Detect OS Dark Mode from Python")
+    (description "Detect OS Dark Mode from Python")
+    (license license:bsd-3)
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "darkdetect" version))
+              (sha256
+               (base32
+                "04whykmwrrw3k6084g4r2iwl063p4ckwkzxv2svdscj42gskrgj7"))))
+    (build-system python-build-system)
+    (arguments
+     `(#:tests? #f)))) ; AttributeError: python: undefined symbol: objc_getClass
+
 (define-public python-anytree
   (package
     (name "python-anytree")
--
2.37.3






Information forwarded to guix-patches <at> gnu.org:
bug#58868; Package guix-patches. (Sat, 29 Oct 2022 17:10:02 GMT) Full text and rfc822 format available.

Message #14 received at 58868 <at> debbugs.gnu.org (full text, mbox):

From: Jacob Hrbek <kreyren <at> rixotstudio.cz>
To: 58868 <at> debbugs.gnu.org
Cc: Jacob Hrbek <kreyren <at> rixotstudio.cz>
Subject: [PATCH 3/4] python-better-exceptions: New package
Date: Sat, 29 Oct 2022 17:08:52 +0000
---
 gnu/packages/python-xyz.scm | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 6818b50d8e..d9abe8b1d4 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -9696,6 +9696,25 @@ (define-public python-beautifulsoup4
 converts incoming documents to Unicode and outgoing documents to UTF-8.")
     (license license:expat)))

+(define-public python-better-exceptions
+  (package
+    (name "python-better-exceptions")
+    (version "0.3.3")
+    (synopsis "Pretty and helpful exceptions, automatically")
+    (description "Pretty and helpful exceptions, automatically")
+    (home-page "https://github.com/qix-/better-exceptions")
+    (license license:expat)
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "better_exceptions" version))
+              (sha256
+               (base32
+                "0fs5nfg7xdbx5hb1h1148kax68g9wn0h7cclx3k08psd8hcbrrp4"))))
+    (build-system python-build-system)
+    (arguments
+     ;; FIXME: python-build-system needs update for the check to work: 'Testing via this command is deprecated and will be removed in a future version. Users looking for a generic test entry point independent of test runner are encouraged to use tox'
+     `(#:tests? #f))))
+
 (define-public python-soupsieve
   (package
     (name "python-soupsieve")
--
2.37.3






Information forwarded to guix-patches <at> gnu.org:
bug#58868; Package guix-patches. (Sat, 29 Oct 2022 17:10:03 GMT) Full text and rfc822 format available.

Message #17 received at 58868 <at> debbugs.gnu.org (full text, mbox):

From: Jacob Hrbek <kreyren <at> rixotstudio.cz>
To: 58868 <at> debbugs.gnu.org
Cc: Jacob Hrbek <kreyren <at> rixotstudio.cz>
Subject: [PATCH 4/4] python-gaphor: New package
Date: Sat, 29 Oct 2022 17:08:59 +0000
---
 gnu/packages/python-xyz.scm | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index d9abe8b1d4..cff0879a4d 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -30912,6 +30912,41 @@ (define-public python-gaphas
      ;; FIXME: python-build-system needs update for the check to work: 'Testing via this command is deprecated and will be removed in a future version. Users looking for a generic test entry point independent of test runner are encouraged to use tox'
      `(#:tests? #f))))

+(define-public python-gaphor
+  (package
+    (name "python-gaphor")
+    (version "2.12.1")
+    (synopsis "Gaphor is the simple modeling tool written in Python")
+    (description "Gaphor is the simple modeling tool written in Python")
+    (home-page "https://gaphor.org")
+    (license license:asl2.0)
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "gaphor" version))
+              (sha256
+               (base32
+                "0hls6fd6vkz4dslr8agy0dpjmbyprj41r4vgp7nwr3ijcjcnwaph"))))
+    (build-system python-build-system)
+    (inputs (list python-tinycss2 ;tinycss2<2.0.0,>=1.0.2
+                  python-pycairo ;pycairo<2.0,>=1.18
+                  python-jedi ;jedi<0.19.0,>=0.18.1
+                  python-generic ;generic<2.0.0,>=1.0.0
+                  python-gaphas ;gaphas<4.0.0,>=3.1.0
+                  python-darkdetect ;darkdetect<0.8.0,>=0.5.1
+                  python-better-exceptions ;better-exceptions<0.4.0,>=0.3.3
+                  python-pygobject ;PyGObject<4.0,>=3.30
+                  python-exceptiongroup ;exceptiongroup<2.0.0,>=1.0.0-rc.5
+                  ;; Required for 'check' and/or 'sanity-check' phase
+                  pango ;gi.require_version("Pango", "1.0")
+                  gtk+
+                  gtksourceview
+                  libadwaita))
+    (arguments
+     `(#:phases (modify-phases %standard-phases
+                  ;; FIXME: Both 'check' and 'sanity-check' phases removed due to 'TypeError: must be an interface' hypothesis that it's trying to launch a window during a check phase which is not possible due to how guix works
+                  (delete 'check)
+                  (delete 'sanity-check))))))
+
 (define-public python-geomet
   (package
     (name "python-geomet")
--
2.37.3






Information forwarded to guix-patches <at> gnu.org:
bug#58868; Package guix-patches. (Sat, 29 Oct 2022 17:11:01 GMT) Full text and rfc822 format available.

Message #20 received at 58868 <at> debbugs.gnu.org (full text, mbox):

From: Jacob Hrbek <kreyren <at> rixotstudio.cz>
To: 58868 <at> debbugs.gnu.org
Subject: Re: [PATCH 1/4] python-gaphas: New package
Date: Sat, 29 Oct 2022 17:10:36 +0000
The dependencies and the package itself builds, but it doesn't run and I don't know how to fix it..

CC mentors

-- Jacob "Kreyren" Hrbek

Sent with Proton Mail secure email.

------- Original Message -------
On Saturday, October 29th, 2022 at 7:08 PM, Jacob Hrbek <kreyren <at> rixotstudio.cz> wrote:


> ---
> gnu/packages/python-xyz.scm | 21 +++++++++++++++++++++
> 1 file changed, 21 insertions(+)
> 
> diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
> index 8343f9e907..fcfea2d99c 100644
> --- a/gnu/packages/python-xyz.scm
> +++ b/gnu/packages/python-xyz.scm
> @@ -30854,6 +30854,27 @@ (define-public python-langcodes
> install @code{python-language-data}.")
> (license license:expat)))
> 
> +(define-public python-gaphas
> + (package
> + (name "python-gaphas")
> + (version "3.8.2")
> + (synopsis "Gaphas is a GTK+ based diagramming widget")
> + (description "Gaphas is a GTK+ based diagramming widget")
> + (home-page "https://gaphas.readthedocs.io")
> + (license license:asl2.0)
> + (source (origin
> + (method url-fetch)
> + (uri (pypi-uri "gaphas" version))
> + (sha256
> + (base32
> + "0ikaz455g8cfr7h66xlksim8kala3h0g36ij5zcz76vhyd3f1baa"))))
> + (build-system python-build-system)
> + (inputs (list python-pycairo ;pycairo<2.0.0,>=1.20.0
> 
> + python-pygobject)) ;PyGObject<4.0.0,>=3.38.0
> 
> + (arguments
> + ;; FIXME: python-build-system needs update for the check to work: 'Testing via this command is deprecated and will be removed in a future version. Users looking for a generic test entry point independent of test runner are encouraged to use tox'
> + `(#:tests? #f))))
> +
> (define-public python-geomet
> (package
> (name "python-geomet")
> --
> 2.37.3




Information forwarded to guix-patches <at> gnu.org:
bug#58868; Package guix-patches. (Sat, 29 Oct 2022 17:17:01 GMT) Full text and rfc822 format available.

Message #23 received at 58868 <at> debbugs.gnu.org (full text, mbox):

From: Jacob Hrbek <kreyren <at> rixotstudio.cz>
To: 58868 <at> debbugs.gnu.org
Cc: Jacob Hrbek <kreyren <at> rixotstudio.cz>
Subject: [PATCH 1/5] python-generic: New Package
Date: Sat, 29 Oct 2022 17:16:05 +0000
---
 gnu/packages/python-xyz.scm | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 1c2f9d7b73..8343f9e907 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -30874,6 +30874,23 @@ (define-public python-geomet
 versa.  Extended WKB/WKT are also supported.")
     (license license:asl2.0)))

+(define-public python-generic
+  (package
+    (name "python-generic")
+    (version "1.1.0")
+    (home-page "https://generic.readthedocs.io/")
+    (synopsis "Generic programming library for Python")
+    (description "Generic programming library for Python")
+    (license license:bsd-3)
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "generic" version))
+              (sha256
+               (base32
+                "1q0gjinxyl3wingag6fk5fv5l098ng5skz8himk3wj6r9fh3pppz"))))
+    (build-system python-build-system)
+    (inputs (list python-exceptiongroup)))) ;; Needed for 'sanity-check' phase
+
 (define-public python-bsdiff4
   (package
     (name "python-bsdiff4")
--
2.37.3






Information forwarded to guix-patches <at> gnu.org:
bug#58868; Package guix-patches. (Sat, 29 Oct 2022 17:18:02 GMT) Full text and rfc822 format available.

Message #26 received at 58868 <at> debbugs.gnu.org (full text, mbox):

From: Jacob Hrbek <kreyren <at> rixotstudio.cz>
To: 58868 <at> debbugs.gnu.org
Subject: Re: [PATCH 1/5] python-generic: New Package
Date: Sat, 29 Oct 2022 17:17:30 +0000
missed one patch

-- Jacob "Kreyren" Hrbek

Sent with Proton Mail secure email.

------- Original Message -------
On Saturday, October 29th, 2022 at 7:16 PM, Jacob Hrbek <kreyren <at> rixotstudio.cz> wrote:


> ---
> gnu/packages/python-xyz.scm | 17 +++++++++++++++++
> 1 file changed, 17 insertions(+)
> 
> diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
> index 1c2f9d7b73..8343f9e907 100644
> --- a/gnu/packages/python-xyz.scm
> +++ b/gnu/packages/python-xyz.scm
> @@ -30874,6 +30874,23 @@ (define-public python-geomet
> versa. Extended WKB/WKT are also supported.")
> (license license:asl2.0)))
> 
> +(define-public python-generic
> + (package
> + (name "python-generic")
> + (version "1.1.0")
> + (home-page "https://generic.readthedocs.io/")
> + (synopsis "Generic programming library for Python")
> + (description "Generic programming library for Python")
> + (license license:bsd-3)
> + (source (origin
> + (method url-fetch)
> + (uri (pypi-uri "generic" version))
> + (sha256
> + (base32
> + "1q0gjinxyl3wingag6fk5fv5l098ng5skz8himk3wj6r9fh3pppz"))))
> + (build-system python-build-system)
> + (inputs (list python-exceptiongroup)))) ;; Needed for 'sanity-check' phase
> +
> (define-public python-bsdiff4
> (package
> (name "python-bsdiff4")
> --
> 2.37.3




This bug report was last modified 1 year and 179 days ago.

Previous Next


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