summaryrefslogtreecommitdiff
path: root/gnu/packages/python-xyz.scm
diff options
context:
space:
mode:
authorGhislain Vaillant <ghislain.vaillant@inria.fr>2025-09-28 11:44:59 +0200
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-10-01 22:09:49 +0100
commit93823d89aa3c4ed87dc1a5ab650647f3d0a424f8 (patch)
tree307fa78f2afbbe28df42bd5947dd703c460c6d20 /gnu/packages/python-xyz.scm
parentdc7485094558539e3d052774faabea18079670bd (diff)
gnu: Add python-pybtex-apa-style.
* gnu/packages/python-xyz.scm (python-pybtex-apa-style): New variable. Change-Id: Ic73c4e01bd1e0d2a044ff0c2d9baaa8a7dc18fac Reviewed-by: Nicolas Graves <ngraves@ngraves.fr> Modified-by: Sharlatan Hellseher <sharlatanus@gmail.com> Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/python-xyz.scm')
-rw-r--r--gnu/packages/python-xyz.scm26
1 files changed, 26 insertions, 0 deletions
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")