GNU bug report logs - #75830
[PATCH] gnu: Add python-bresenham.

Previous Next

Package: guix-patches;

Reported by: Evgeny Pisemsky <mail <at> pisemsky.site>

Date: Sat, 25 Jan 2025 16:02:01 UTC

Severity: normal

Tags: patch

Done: Sharlatan Hellseher <sharlatanus <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Sharlatan Hellseher <sharlatanus <at> gmail.com>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#75830: closed ([PATCH] gnu: Add python-bresenham.)
Date: Sat, 25 Jan 2025 22:29:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Sat, 25 Jan 2025 22:28:16 +0000
with message-id <87plkar0jj.fsf <at> gmail.com>
and subject line [PATCH] gnu: Add python-bresenham.
has caused the debbugs.gnu.org bug report #75830,
regarding [PATCH] gnu: Add python-bresenham.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
75830: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=75830
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Evgeny Pisemsky <mail <at> pisemsky.site>
To: guix-patches <at> gnu.org
Cc: Evgeny Pisemsky <mail <at> pisemsky.site>
Subject: [PATCH] gnu: Add python-bresenham.
Date: Sat, 25 Jan 2025 19:00:46 +0300
* gnu/packages/python-xyz.scm (python-bresenham): New variable.

Change-Id: Id727ba17765ae73d1920f7042262a8bd849a4111
---
 gnu/packages/python-xyz.scm | 24 +++++++++++++++++++++++-
 1 file changed, 23 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 4c6a284886..8d8b8d3af3 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -157,7 +157,7 @@
 ;;; Copyright © 2024 Rick Huijzer <ikbenrickhuyzer <at> gmail.com>
 ;;; Copyright © 2024 Peter Kannewitz <petre-vps <at> posteo.net>
 ;;; Copyright © 2024 Aaron Covrig <aaron.covrig.us <at> ieee.org>
-;;; Copyright © 2024 Evgeny Pisemsky <mail <at> pisemsky.site>
+;;; Copyright © 2024, 2025 Evgeny Pisemsky <mail <at> pisemsky.site>
 ;;; Copyright © 2024 Markku Korkeala <markku.korkeala <at> iki.fi>
 ;;; Copyright © 2025 Jordan Moore <lockbox <at> struct.foo>
 ;;; Copyright © 2025 Dariqq <dariqq <at> posteo.net>
@@ -551,6 +551,28 @@ (define-public python-jsonpath-ng
 @url{http://goessner.net/articles/JsonPath/, JSONPath} proposal.")
     (license license:asl2.0)))
 
+(define-public python-bresenham
+  (package
+    (name "python-bresenham")
+    (version "0.2.1")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/encukou/bresenham")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "07h04l50y35rhp13mqis61d1dkd7426q1gdfy5hd6rcgcfv15kxd"))))
+    (build-system pyproject-build-system)
+    (native-inputs (list python-pytest python-setuptools python-wheel))
+    (home-page "https://github.com/encukou/bresenham")
+    (synopsis "Implementation of Bresenham's line drawing algorithm")
+    (description
+     "This is a simple implementation of Bresenham's line drawing algorithm.
+It is written in pure python, so it is relatively slow.")
+    (license license:expat)))
+
 (define-public python-pyxdameraulevenshtein
   (package
     (name "python-pyxdameraulevenshtein")

base-commit: d1e3c41abdda9f8e9f1283376feb853670393793
-- 
2.47.1



[Message part 3 (message/rfc822, inline)]
From: Sharlatan Hellseher <sharlatanus <at> gmail.com>
To: 75830-done <at> debbugs.gnu.org
Subject: [PATCH] gnu: Add python-bresenham.
Date: Sat, 25 Jan 2025 22:28:16 +0000
[Message part 4 (text/plain, inline)]
Hi,

--8<---------------cut here---------------start------------->8---
> ./pre-inst-env guix build python-bresenham
/gnu/store/an84fbgpmb6x2cs5bwm76y12sdcvd5gz-python-bresenham-0.2.1
[env: /gnu/store/qkhp11ij3racniwf8wfhala6ya4rf0nm-profile]
> ./pre-inst-env guix lint python-bresenham
fetching CVE database for 2025...cve]...
fetching CVE database for 2024...
fetching CVE database for 2023...
--8<---------------cut here---------------end--------------->8---

Pushed to master with some relaxation to description:
 - c74830afebc * gnu: Add python-bresenham.

--
Thanks,
Oleg
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 211 days ago.

Previous Next


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