From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:54189) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iquSG-0005e2-I4 for guix-patches@gnu.org; Mon, 13 Jan 2020 02:48:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iquSF-0008Rk-7A for guix-patches@gnu.org; Mon, 13 Jan 2020 02:48:08 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:52610) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iquSA-0008I8-Nw for guix-patches@gnu.org; Mon, 13 Jan 2020 02:48:06 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iquSA-0008Eq-N5 for guix-patches@gnu.org; Mon, 13 Jan 2020 02:48:02 -0500 Subject: [bug#39028] [PATCH 2/7] gnu: Add python-forbiddenfruit Resent-Message-ID: From: Lars-Dominik Braun Date: Mon, 13 Jan 2020 08:46:50 +0100 Message-Id: <20200113074655.11012-2-ldb@leibniz-psychology.org> In-Reply-To: <20200113074655.11012-1-ldb@leibniz-psychology.org> References: <20200113074655.11012-1-ldb@leibniz-psychology.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 39028@debbugs.gnu.org Cc: zimon.toutoune@gmail.com * gnu/packages/python-xyz.scm (python-forbiddenfruit): New variable --- gnu/packages/python-xyz.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 646d50697c..e9d9c372e7 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -17142,3 +17142,32 @@ that take parsers as their arguments and return them as result values.") "Python Assertion Helpers inspired by Shouldly") (license license:isc))) +(define-public python-forbiddenfruit + (package + (name "python-forbiddenfruit") + (version "0.1.3") + (source + (origin + ;; Source tarball on PyPi lacks Makefile that builds and runs tests + (method git-fetch) + (uri (git-reference + (url "https://github.com/clarete/forbiddenfruit") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1fp2xvdqpi910j9r3q68x38phpxbm700gjdi2m2j5gs91xdnyyh2")))) + (build-system python-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda _ + (invoke "make" "SKIP_DEPS=1")))))) + (native-inputs + `(("python-nose" ,python-nose) + ("python-coverage" ,python-coverage))) + (home-page + "https://github.com/clarete/forbiddenfruit") + (synopsis "Patch python built-in objects") + (description "This project allows Python code to extend built-in types.") + (license (list license:gpl3+ license:expat)))) -- 2.20.1