From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([209.51.188.92]:40380) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hWiAX-0007v5-TA for guix-patches@gnu.org; Fri, 31 May 2019 10:06:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hWiAW-0007bI-JY for guix-patches@gnu.org; Fri, 31 May 2019 10:06:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:50553) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hWiAW-0007ay-Eh for guix-patches@gnu.org; Fri, 31 May 2019 10:06:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hWiAW-0001SH-8B for guix-patches@gnu.org; Fri, 31 May 2019 10:06:04 -0400 Subject: [bug#36026] [PATCH 3/4] gnu: Add python-conda-package-handling. Resent-Message-ID: From: Pierre Neidhardt Date: Fri, 31 May 2019 16:04:43 +0200 Message-Id: <20190531140444.3810-3-mail@ambrevar.xyz> In-Reply-To: <20190531140444.3810-1-mail@ambrevar.xyz> References: <20190531140444.3810-1-mail@ambrevar.xyz> 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: 36026@debbugs.gnu.org * gnu/packages/package-management.scm (python-conda-package-handling): New variable. --- gnu/packages/package-management.scm | 36 +++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/gnu/packages/package-management.scm b/gnu/packages/package-management.scm index b4e1e077fe..28e23fd1d3 100644 --- a/gnu/packages/package-management.scm +++ b/gnu/packages/package-management.scm @@ -716,6 +716,42 @@ environments.") (define-public python2-anaconda-client (package-with-python2 python-anaconda-client)) +(define-public python-conda-package-handling + (package + (name "python-conda-package-handling") + (version "1.1.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/conda/conda-package-handling/") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0qjraqb10bnnr329n68s97lkxh8mxchd6dmsynd0n6i9h49hhfgq")))) + (build-system python-build-system) + (inputs + `(("python-six" ,python-six) + ("python-libarchive-c" ,python-libarchive-c) + ("python-tqdm" ,python-tqdm))) + (native-inputs + `(("python-pytest" ,python-pytest) + ("python-pytest-cov" ,python-pytest-cov))) + (arguments + `(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda _ + ;; TODO: Tests fail. + (invoke "pytest" "-vv" "tests")))))) + (home-page "https://conda.io") + (synopsis "Create and extract conda packages of various formats") + (description + "This library is an abstraction of conda package handling and a tool for +extracting, creating, and converting between formats.") + (license license:bsd-3))) + (define-public python-conda (package (name "python-conda") -- 2.21.0