guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 93823d89aa3c4ed87dc1a5ab650647f3d0a424f8
Author: Ghislain Vaillant <[email protected]>
AuthorDate: Sun Sep 28 11:44:59 2025 +0200

    gnu: Add python-pybtex-apa-style.
    
    * gnu/packages/python-xyz.scm (python-pybtex-apa-style): New variable.
    
    Change-Id: Ic73c4e01bd1e0d2a044ff0c2d9baaa8a7dc18fac
    Reviewed-by: Nicolas Graves <[email protected]>
    Modified-by: Sharlatan Hellseher <[email protected]>
    Signed-off-by: Sharlatan Hellseher <[email protected]>
---
 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 534a4dded5..97eae1cf62 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -29296,6 +29296,32 @@ close matches in Python.")
 in Python.  You can simply type pybtex instead of bibtex.")
     (license license:expat)))
 
+(define-public python-pybtex-apa-style
+  (package
+    (name "python-pybtex-apa-style")
+    (version "1.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "pybtex-apa-style" version))
+       (sha256
+        (base32 "1cmgcpcvs9jcw4yxhiy217hdngp9p9nlp5x6s2qmkwj0iwgd39iq"))))
+    (build-system pyproject-build-system)
+    (arguments
+     (list
+      #:test-backend #~'custom
+      #:test-flags
+      #~(list "-c" (string-append "import sys, pybtex.plugin;"
+                                  " sys.exit('apa' not"
+                                  " in pybtex.plugin.enumerate_plugin_names"
+                                  "('pybtex.style.labels'))"))))
+    (native-inputs (list python-pybtex python-setuptools))
+    (home-page "https://github.com/naeka/pybtex-apa-style";)
+    (synopsis "APA style for pybtex")
+    (description
+     "This package provides support for the APA style within pybtex.")
+    (license license:expat)))
+
 (define-public python-onetimepass
   (package
     (name "python-onetimepass")

Reply via email to