From: Lars-Dominik Braun <ldb@leibniz-psychology.org>
To: 39028@debbugs.gnu.org
Cc: zimon.toutoune@gmail.com
Subject: [bug#39028] [PATCH 3/7] gnu: Add python-k5test
Date: Mon, 13 Jan 2020 08:46:51 +0100 [thread overview]
Message-ID: <20200113074655.11012-3-ldb@leibniz-psychology.org> (raw)
In-Reply-To: <20200113074655.11012-1-ldb@leibniz-psychology.org>
* gnu/packages/python-xyz.scm (python-k5test): New variable
---
gnu/packages/python-xyz.scm | 39 +++++++++++++++++++++++++++++++++++++
1 file changed, 39 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index e9d9c372e7..846113aceb 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -112,6 +112,7 @@
#:use-module (gnu packages icu4c)
#:use-module (gnu packages image)
#:use-module (gnu packages imagemagick)
+ #:use-module (gnu packages kerberos)
#:use-module (gnu packages libevent)
#:use-module (gnu packages libffi)
#:use-module (gnu packages linux)
@@ -17171,3 +17172,41 @@ that take parsers as their arguments and return them as result values.")
(synopsis "Patch python built-in objects")
(description "This project allows Python code to extend built-in types.")
(license (list license:gpl3+ license:expat))))
+
+(define-public python-k5test
+ (package
+ (name "python-k5test")
+ (version "0.9.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "k5test" version))
+ (sha256
+ (base32
+ "1lqp3jgfngyhaxjgj3n230hn90wsylwilh120yjf62h7b1s02mh8"))))
+ (build-system python-build-system)
+ (propagated-inputs
+ `(("python-six" ,python-six)
+ ;; `which`, `kadmin.local` binaries called inside library
+ ("which" ,which)
+ ("mit-krb5" ,mit-krb5)))
+ (native-inputs `(("mit-krb5" ,mit-krb5)))
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'patch-paths
+ (lambda* _
+ (substitute* "k5test/realm.py"
+ (("'kadmin_local'") "'kadmin.local'")))))))
+ (home-page
+ "https://github.com/pythongssapi/k5test")
+ (synopsis
+ "Library for testing Python applications in self-contained Kerberos 5
+environments")
+ (description
+ "k5test is a library for setting up self-contained Kerberos 5
+environments, and running Python unit tests inside those environments.
+It is based on the file of the same name found alongside the MIT Kerberos 5
+unit tests.")
+ (license license:isc)))
+
--
2.20.1
next prev parent reply other threads:[~2020-01-13 7:48 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-01-08 9:10 [bug#39028] [PATCH] gnu: Add python-asyncssh and dependencies Lars-Dominik Braun
2020-01-09 14:15 ` zimoun
2020-01-13 7:46 ` [bug#39028] [PATCH 1/7] gnu: Add python-shouldbe Lars-Dominik Braun
2020-01-13 7:46 ` [bug#39028] [PATCH 2/7] gnu: Add python-forbiddenfruit Lars-Dominik Braun
2020-01-13 7:46 ` Lars-Dominik Braun [this message]
2020-01-13 7:46 ` [bug#39028] [PATCH 4/7] gnu: Add python-gssapi Lars-Dominik Braun
2020-01-13 7:46 ` [bug#39028] [PATCH 5/7] gnu: python-cryptography: Update to 2.8 Lars-Dominik Braun
[not found] ` <87k15mi8ax.fsf@member.fsf.org>
2020-01-21 10:08 ` Lars-Dominik Braun
2020-01-13 7:46 ` [bug#39028] [PATCH 6/7] gnu: python-pyopenssl: Disable failing tests Lars-Dominik Braun
2020-01-13 7:46 ` [bug#39028] [PATCH 7/7] gnu: Add python-asyncssh Lars-Dominik Braun
2020-04-28 9:44 ` [bug#39028] [PATCH] " Lars-Dominik Braun
2020-07-27 8:38 ` Lars-Dominik Braun
2020-10-31 21:38 ` bug#39028: " Christopher Baines
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200113074655.11012-3-ldb@leibniz-psychology.org \
--to=ldb@leibniz-psychology.org \
--cc=39028@debbugs.gnu.org \
--cc=zimon.toutoune@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).