From patchwork Tue Feb 27 19:09:12 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sharlatan Hellseher X-Patchwork-Id: 61178 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 0833B27BBEB; Tue, 27 Feb 2024 19:10:08 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, SPF_HELO_PASS autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 4FBD727BBE9 for ; Tue, 27 Feb 2024 19:10:00 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rf2ph-0006k1-J7; Tue, 27 Feb 2024 14:09:41 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rf2pf-0006j0-7U for guix-patches@gnu.org; Tue, 27 Feb 2024 14:09:39 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rf2pe-0005IA-VZ; Tue, 27 Feb 2024 14:09:38 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rf2q1-0006KV-TQ; Tue, 27 Feb 2024 14:10:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#69434] [PATCH] gnu: Add python-ldaptor. Resent-From: Sharlatan Hellseher Original-Sender: "Debbugs-submit" Resent-CC: lars@6xq.net, marius@gnu.org, me@bonfacemunyoki.com, sharlatanus@gmail.com, jgart@dismail.de, guix-patches@gnu.org Resent-Date: Tue, 27 Feb 2024 19:10:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 69434 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 69434@debbugs.gnu.org Cc: Sharlatan Hellseher , Lars-Dominik Braun , Marius Bakke , Munyoki Kilyungi , Sharlatan Hellseher , jgart X-Debbugs-Original-To: guix-patches@gnu.org X-Debbugs-Original-Xcc: Lars-Dominik Braun , Marius Bakke , Munyoki Kilyungi , Sharlatan Hellseher , jgart Received: via spool by submit@debbugs.gnu.org id=B.170906099224292 (code B ref -1); Tue, 27 Feb 2024 19:10:01 +0000 Received: (at submit) by debbugs.gnu.org; 27 Feb 2024 19:09:52 +0000 Received: from localhost ([127.0.0.1]:46853 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rf2pr-0006Jg-H7 for submit@debbugs.gnu.org; Tue, 27 Feb 2024 14:09:52 -0500 Received: from lists.gnu.org ([209.51.188.17]:57788) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rf2pp-0006JR-Dt for submit@debbugs.gnu.org; Tue, 27 Feb 2024 14:09:50 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rf2pO-0006eD-Oj for guix-patches@gnu.org; Tue, 27 Feb 2024 14:09:22 -0500 Received: from mail-wr1-x434.google.com ([2a00:1450:4864:20::434]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rf2pM-0005H1-Rq for guix-patches@gnu.org; Tue, 27 Feb 2024 14:09:22 -0500 Received: by mail-wr1-x434.google.com with SMTP id ffacd0b85a97d-33d6f26ff33so3272828f8f.0 for ; Tue, 27 Feb 2024 11:09:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1709060958; x=1709665758; darn=gnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=KbanrBaeRu9BuiuuJDMy6G8wPx8PftabpcHVknY7uTo=; b=DaXxWIz+gkB6YVUAOfEBLyEaVi3z8Qvtmf8a9fvasikYHCqWVWWjgQPzL4ThRlaEYQ 2TFvFBqhIExnxhT+2xu8/s6meJRUH4EEWpn16fbDr89LOEzFgWxk1mGo391xZW+yvO9b 6p4MMGFlQWI8up88WnSahi2B1xiEo1a9SsOJBcFHIj0ESgDUugQtqhbUtwIauQQ3xjy4 xVW2BsFZagq4lzYsNyRYyAOqV56XcSrRCq0hvHaQwyx/sdxtAASU3g8UlkA+GSPdgqJB GrZIEUqFaFtQt+FGWbNdC5m7PZhWsdm458dU5mk6MO2y9d2TFzZKRW07DItgwy8UBO2m HPYQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709060958; x=1709665758; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=KbanrBaeRu9BuiuuJDMy6G8wPx8PftabpcHVknY7uTo=; b=mMjcV+isT8Ys1Ts2av4+O1JujxOUzJeSL0zbB93p0pxt2KhdwwcfxixIMC87RNouVk vgTaYBpp2WzNB5lFYup/44UM04ZXF+fRJM3xWGI7fZbYpTwoqfZsr5003CnWaHpsMoCj jn4h4106n6LNwwI9G1ks3KLT3VfY+tBY07PDQUyljSNFPING9PhrmVbPrEnG2A3nDIiz LHVHt8xDEsC8JXWRvNIgHgOorPorViUwyzJUrYrZNpWWnHDRgyQcYS/8pdYIkKVoNYNE /FysqoLkwbCMByENu/YgPq19EPhOQbIUG3lj0Hp/oelLL8/AH9Ntn1SShTxp0A15AZ+N 2MWA== X-Gm-Message-State: AOJu0YwXReVM83AqKH3WmPtsoJpHYaZiJspXKVwn0UxmkNuBcB+aqlE/ yoL8/nrkA/MYera+moecyizbOhiL6AqxVovVOuJMqJgRutHLcEMwLKs6kG+SSP8= X-Google-Smtp-Source: AGHT+IExvwAz6EGAr7Y4j7+4hbaNBiNkpC32TDeCMe8ckq+7K6iCa4sgpQF8t56788uhrLDzKXZiig== X-Received: by 2002:a5d:4446:0:b0:33d:c2c7:469d with SMTP id x6-20020a5d4446000000b0033dc2c7469dmr6378234wrr.42.1709060957783; Tue, 27 Feb 2024 11:09:17 -0800 (PST) Received: from localhost.localdomain (cpc100856-bagu15-2-0-cust368.1-3.cable.virginm.net. [82.25.93.113]) by smtp.gmail.com with ESMTPSA id cl5-20020a5d5f05000000b0033dc7e50488sm9977994wrb.96.2024.02.27.11.09.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Feb 2024 11:09:17 -0800 (PST) From: Sharlatan Hellseher Date: Tue, 27 Feb 2024 19:09:12 +0000 Message-ID: <79baa47b74835f8f93004fd047ee3a0bd8db9a44.1709060901.git.sharlatanus@gmail.com> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::434; envelope-from=sharlatanus@gmail.com; helo=mail-wr1-x434.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/python-xyz.scm (python-ldaptor): New variable. Change-Id: If7d2cb7b51bb0ccc85b76d7f2d4b31857e042066 --- gnu/packages/python-xyz.scm | 49 +++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) base-commit: 1306beaf3f6c8ddded2a956f5863bc65aad78882 prerequisite-patch-id: e95e4f5dfdbb868da6fd30f0a02105147faf91f5 prerequisite-patch-id: 82aa4f0d751771b48cad84aff0e2c44aee64a212 prerequisite-patch-id: bf036a9eacd9f13ec4fd6bfa5fe5d941101f1e7a prerequisite-patch-id: 0c1231398b1f03c8c353c4169f4633d57a8c382b prerequisite-patch-id: 8eb030a25f8399d3183ad0613487f408b2e24997 prerequisite-patch-id: 362a2851ab947aad0ff87255206e4e23b60efd4e prerequisite-patch-id: 9393c6262847dd7a8fa31d77ab0397c7c94f1dae prerequisite-patch-id: 7337fa584ae6858660cd62cc09acfbc312bea064 prerequisite-patch-id: e24f28c35db27a23dc3afb6a095a4b0efabc897e prerequisite-patch-id: 3e0785bcda3dd606524e04fd7a9f76312a800de5 diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 80ec098b7a..6df55c1b7c 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -20007,6 +20007,55 @@ (define-public python-twisted-22 python-typing-extensions `(,python "tk")))))) +(define-public python-ldaptor + (package + (name "python-ldaptor") + (version "21.2.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "ldaptor" version)) + (sha256 + (base32 "0n53czn5pyh8923y282spdb7xc8c9rhn0n43bczanjjx6wcynjcc")))) + (build-system pyproject-build-system) + (arguments + (list + #:test-flags + #~(list "-m" "twisted.trial" + (string-append "-j" (number->string (parallel-job-count))) + "ldaptor") + #:phases + #~(modify-phases %standard-phases + (add-before 'check 'disable-failing-tests + (lambda _ + ;; Testing with Twisted 22.4 results in infinite loop creating + ;; temporary config files, see + ;; . + (delete-file "ldaptor/test/test_config.py"))) + (replace 'check + (lambda* (#:key tests? test-flags #:allow-other-keys) + (when tests? + (apply invoke "python" test-flags))))))) + (propagated-inputs + (list python-passlib + python-pyparsing + python-six + python-twisted-22 + python-zope-interface)) + (home-page "https://github.com/twisted/ldaptor") + (synopsis "Pure-Python Twisted library for LDAP") + (description + "This package provides a Python Twisted library for LDAP, which key +feaatures are: +@itemize +@item LDAP client logic +@item separately-accessible LDAP and BER protocol message generation/parsing +@item ASCII-format LDAP filter generation and parsing +@item LDIF format data generation +@item Samba password changing logic +@end itemize") + (license license:expat))) + (define-public python-pika (package (name "python-pika")