Subject: bug#76212: closed ([PATCH] gnu: Add python-awesomeversion.)

From: [email-masked] (GNU bug Tracking System)
Date: Tue, 11 Feb 2025 21:41:02 +0000

Your bug report

#76212: [PATCH] gnu: Add python-awesomeversion.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
76212: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=76212
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: [PATCH] gnu: Add python-awesomeversion.
From: Sharlatan Hellseher <[email-masked]>
To: [email-masked]
Date: Tue, 11 Feb 2025 21:40:28 +0000
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi,

Checked:
+ PASS guix build 
+ PASS all 384 tests passed successfully
+ PASS guix lint: no warnings
+ PASS visual check: synopsis, short and neat
+ PASS visual check: description, human readable and clear
+ PASS visual check: license, as specified in package definition
+ PASS visual check: project activity and release cadence

Applied:
+ PASS place package in alphabetical order: guix import -i
  gnu/packages/python-xyz.scm pypi awesomeversion
+ PASS remove python-pytest-cov as not required
+ PASS fill-column on description

Pushed to master as 777cff3194bc05a236234066fbb9365c68dc6a44.

--
Thanks,
Oleg

Subject: [PATCH] gnu: Add python-awesomeversion.
From: Evgeny Pisemsky <[email-masked]>
To: [email-masked]
Date: Tue, 11 Feb 2025 23:39:04 +0300
List-Id: <debbugs-submit.debbugs.gnu.org>

* gnu/packages/python-xyz.scm (python-awesomeversion): New variable.

Change-Id: I090abfacf7f73ab14ea1e0347211de2a60675128
---
 gnu/packages/python-xyz.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index e4f4fa6887..4c95f150e2 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -3937,6 +3937,31 @@ (define-public python-seedir
 diagrams.")
     (license license:expat)))
 
+(define-public python-awesomeversion
+  (package
+    (name "python-awesomeversion")
+    (version "24.6.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/ludeeus/awesomeversion")
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1kvzhhd2ah0sadlsp5xs3qbiknixq4xwhk3yb6kmhcdl2zcbi4cn"))))
+    (build-system pyproject-build-system)
+    (native-inputs (list python-poetry-core
+                         python-pytest
+                         python-pytest-cov
+                         python-pytest-snapshot))
+    (home-page "https://github.com/ludeeus/awesomeversion")
+    (synopsis "Create and compare version objects")
+    (description
+     "This package provides a way to make anything a version object, and compare
+against a vast section of other version formats.")
+    (license license:expat)))
+
 (define-public python-semantic-version
   (package
     (name "python-semantic-version")

base-commit: d3201247713f4de6d78b899ef6d9014fa9dfc542
-- 
2.48.1