From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57823) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fi2Pn-0001Vq-M5 for guix-patches@gnu.org; Tue, 24 Jul 2018 14:52:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fi2Pj-0002yU-2U for guix-patches@gnu.org; Tue, 24 Jul 2018 14:52:07 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:50768) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fi2Pi-0002xW-Kr for guix-patches@gnu.org; Tue, 24 Jul 2018 14:52:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fi2Pi-0005ax-DN for guix-patches@gnu.org; Tue, 24 Jul 2018 14:52:02 -0400 Subject: [bug#32263] [PATCH 1/8] gnu: Add python-docker-pycreds. Resent-Message-ID: From: Efraim Flashner Date: Tue, 24 Jul 2018 21:51:08 +0300 Message-Id: <20180724185115.19376-1-efraim@flashner.co.il> In-Reply-To: <20180724184847.19178-1-efraim@flashner.co.il> References: <20180724184847.19178-1-efraim@flashner.co.il> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 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: 32263@debbugs.gnu.org Cc: Efraim Flashner * gnu/packages/docker.scm (python-docker-pycreds): New variable. --- gnu/packages/docker.scm | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/gnu/packages/docker.scm b/gnu/packages/docker.scm index f540417b4..07b5b1ea1 100644 --- a/gnu/packages/docker.scm +++ b/gnu/packages/docker.scm @@ -1,5 +1,6 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2016 David Thompson +;;; Copyright © 2018 Efraim Flashner ;;; ;;; This file is part of GNU Guix. ;;; @@ -24,6 +25,7 @@ #:use-module (guix git-download) #:use-module (guix build-system python) #:use-module (guix utils) + #:use-module (gnu packages check) #:use-module (gnu packages python) #:use-module (gnu packages python-web)) @@ -103,3 +105,39 @@ multi-container Docker applications. A Compose file is used to configure an application’s services. Then, using a single command, the containers are created and all the services are started as specified in the configuration.") (license license:asl2.0))) + +(define-public python-docker-pycreds + (package + (name "python-docker-pycreds") + (version "0.3.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "docker-pycreds" version)) + (sha256 + (base32 + "1zxvam1q22qb0jf48553nnncnfrcp88ag4xa0qmq6vr0imn9a3lb")))) + (build-system python-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'fix-versioning + (lambda _ + (substitute* "test-requirements.txt" + (("3.0.2") ,(package-version python-pytest)) + (("2.3.1") ,(package-version python-pytest-cov)) + (("2.4.1") ,(package-version python-flake8))) + #t))))) + (native-inputs + `(("python-flake8" ,python-flake8) + ("python-pytest" ,python-pytest) + ("python-pytest-cov" ,python-pytest-cov))) + (propagated-inputs + `(("python-six" ,python-six))) + (home-page "https://github.com/shin-/dockerpy-creds") + (synopsis + "Python bindings for the docker credentials store API") + (description + "Docker-Pycreds contains the Python bindings for the docker credentials +store API.") + (license license:asl2.0))) -- 2.18.0