From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id oNw/FkEhZWFOdAAAgWs5BA (envelope-from ) for ; Tue, 12 Oct 2021 07:46:41 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id sO8NEUEhZWFjOgAA1q6Kng (envelope-from ) for ; Tue, 12 Oct 2021 05:46:41 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 0F4F52DF50 for ; Tue, 12 Oct 2021 07:46:41 +0200 (CEST) Received: from localhost ([::1]:47324 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1maAca-0005ZF-3z for larch@yhetil.org; Tue, 12 Oct 2021 01:46:40 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55800) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1maAby-0005XC-LP for guix-patches@gnu.org; Tue, 12 Oct 2021 01:46:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:49902) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1maAby-0002Nq-C8 for guix-patches@gnu.org; Tue, 12 Oct 2021 01:46:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1maAby-00011G-8W for guix-patches@gnu.org; Tue, 12 Oct 2021 01:46:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#51148] [PATCH] gnu: Add python-tinydb. Resent-From: jgart Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 12 Oct 2021 05:46:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 51148 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 51148@debbugs.gnu.org Cc: jgart X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16340175143843 (code B ref -1); Tue, 12 Oct 2021 05:46:02 +0000 Received: (at submit) by debbugs.gnu.org; 12 Oct 2021 05:45:14 +0000 Received: from localhost ([127.0.0.1]:33212 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1maAbC-0000zv-Ix for submit@debbugs.gnu.org; Tue, 12 Oct 2021 01:45:14 -0400 Received: from lists.gnu.org ([209.51.188.17]:50386) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1maAbA-0000zn-Np for submit@debbugs.gnu.org; Tue, 12 Oct 2021 01:45:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55684) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1maAb7-0005Cw-NE for guix-patches@gnu.org; Tue, 12 Oct 2021 01:45:12 -0400 Received: from mx1.dismail.de ([78.46.223.134]:16439) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1maAb5-0001hp-Ao for guix-patches@gnu.org; Tue, 12 Oct 2021 01:45:09 -0400 Received: from mx1.dismail.de (localhost [127.0.0.1]) by mx1.dismail.de (OpenSMTPD) with ESMTP id efb81967 for ; Tue, 12 Oct 2021 07:45:01 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=dismail.de; h=from:to:cc :subject:date:message-id:mime-version:content-transfer-encoding; s=20190914; bh=tInPE8r3ulD5dPnz4ttw3MV0ntdcIvwWR0zZKtRl94w=; b= HUbzMmACtgOu7RSgU9M+jE76ugmPHTfCEvmSM7xi4iiQRU8o3hk32FOtVlXUjaTw 6SH7ySRzkb39eO4fMdOew0SMo9dQQAxYAMrVdg9GizuQaRXMYfOxJkyvhzufN1+s 3XCzCbO/CiyTfvuPB1YjPyVV7nxDPkcqddqtkOsn70mMZ1N2yZw6hjeVDmOUCADf 4hZlZ3p1i+eoocL599YG+TwtnTpJ69OUBmcX5c3ekPbPOULnJJUr0NqNOi5VrJEO 1LJKsUfjCmHAQJ5fFk9D9GGpASETHopn/3o5bg/DHCTTXX+YtLgdjSNcJPS8WpKq 6iQNhgVdj33e7TTVRzg0Xg== Received: from smtp1.dismail.de ( [10.240.26.11]) by mx1.dismail.de (OpenSMTPD) with ESMTP id af5ce2f0 for ; Tue, 12 Oct 2021 07:45:01 +0200 (CEST) Received: from smtp1.dismail.de (localhost [127.0.0.1]) by smtp1.dismail.de (OpenSMTPD) with ESMTP id 836c13d9 for ; Tue, 12 Oct 2021 07:45:01 +0200 (CEST) Received: by dismail.de (OpenSMTPD) with ESMTPSA id d05907b4 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Tue, 12 Oct 2021 07:45:00 +0200 (CEST) Date: Tue, 12 Oct 2021 01:44:49 -0400 Message-Id: <20211012054449.16935-1-jgart@dismail.de> X-Mailer: git-send-email 2.33.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=78.46.223.134; envelope-from=jgart@dismail.de; helo=mx1.dismail.de X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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+larch=yhetil.org@gnu.org Sender: "Guix-patches" Reply-to: jgart X-ACL-Warn: , jgart via Guix-patches From: jgart via Guix-patches via X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1634017601; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=8SkK4ssaigu4f4lkFo1qs+mAEnWcPamgWlEid8t+mME=; b=mzWBrDEvde5YgiQJWn2SBTplr0gW1muvhKEETcDLL7TsdHEzhy8d2jJ9xyTKTmacrIl+9c +NLCwKi6Z8XMd92W5zWOBQJchQBJ7FhIuLg8KGfsxxEIxClHO48W1dHlpy9rbCQu+ukjNb g6Dc8RXuOg+eiFUZYspLxS/noioHU5yz37Sga3Swf10GqcQEEKm5Sjgf6aggmd5bzQbrSK zz2w/wbA7eSRCGpUnQrZkuacrqBRSQOA+wehKZ6nMhL8XuFVN0zG8rgqH8Y6MvcUgSwxoB o/ZAI3yQaUiEN+8PmVml9PRXfqyEsySpum7qZmN+shGXQEd2A6qc0bf2xV8e0A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1634017601; a=rsa-sha256; cv=none; b=r+O/5uASTceJyeB7bT6k+xNkVt1zpf1H/C1n0TRyUX7r5r6aCB8sazfD+TYrqMkUp4vbNX CjdBHBP5HYOafxxw6VMDB5ZH0XhH0IKjuk+yHZPPnFUbUQfAwJHl6jOS1ZJ4Trl6C4teMe PoU+Y8ldYK2BzzuazhhX2wQLzu7SBOuqN2Z83+xwcjXD44q32NnPIGLt/O3PqfCYMonhrZ QKMStwqOtbxYziZfOTibyRRtHTvniCK6ANZRiNG4k2hmoP0uUHdcOJ7of6uzsUWel8xhK0 Q4pW+pOoE946PWM7+cQEUOISmXZIOMRxQ2zoixQ99smfz8wPzphz5nmHixoOmQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=dismail.de header.s=20190914 header.b=HUbzMmAC; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: 1.09 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=dismail.de header.s=20190914 header.b=HUbzMmAC; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 0F4F52DF50 X-Spam-Score: 1.09 X-Migadu-Scanner: scn0.migadu.com X-TUID: O6FRJj0xZgPv * gnu/packages/databases.scm (python-tinydb): New variable. --- gnu/packages/databases.scm | 40 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm index b1dd44da1c..60970b9c8e 100644 --- a/gnu/packages/databases.scm +++ b/gnu/packages/databases.scm @@ -579,6 +579,46 @@ the API, and provides features such as: @end itemize") (license license:bsd-3))) +(define-public python-tinydb + (package + (name "python-tinydb") + (version "4.5.2") + (source (origin + (method url-fetch) + (uri (pypi-uri "tinydb" version)) + (sha256 + (base32 + "1x9c4s42930wwal3ds0plwb57kg5c3gj7kbpy64c29vq478b463x")))) + (build-system python-build-system) + (arguments + ;; PyPi tarball does not contain tests and github repository does not + ;; have a setup.py file (only pyproject). + `(#:tests? #f + #:phases + (modify-phases %standard-phases + (replace 'check + (lambda* (#:key inputs outputs tests? #:allow-other-keys) + (when tests? + (add-installed-pythonpath inputs outputs) + (setenv "PYTHONPATH" (string-append ".:" (getenv "PYTHONPATH"))) + (invoke "pytest"))))))) + (native-inputs + `(("python-pytest" ,python-pytest) + ("python-pytest-cov" ,python-pytest-cov) + ("python-pycodestyle" ,python-pycodestyle) + ("python-pyyaml" ,python-pyyaml))) + (propagated-inputs + `(("python-typing-extensions" ,python-typing-extensions))) + (home-page "https://github.com/msiemens/tinydb") + (synopsis + "TinyDB is a lightweight document oriented database") + (description +"TinyDB is a lightweight document oriented database optimized for +your happiness. It's written in pure Python and has no external +dependencies. The targets are small apps that would be blown away by a +SQL-DB or an external database server.") + (license license:expat))) + (define-public python-pylibmc (package (name "python-pylibmc") -- 2.33.0