From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cyril Roelandt Subject: [PATCH 11/11] gnu: Add python-twine. Date: Mon, 11 Sep 2017 20:22:42 +0200 Message-ID: <20170911182242.7422-12-tipecaml@gmail.com> References: <20170911182242.7422-1-tipecaml@gmail.com> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36070) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1drTMU-0007dl-4L for guix-devel@gnu.org; Mon, 11 Sep 2017 14:23:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1drTMR-0003m1-3F for guix-devel@gnu.org; Mon, 11 Sep 2017 14:23:10 -0400 Received: from mail-wm0-x22d.google.com ([2a00:1450:400c:c09::22d]:46113) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1drTMQ-0003kf-TO for guix-devel@gnu.org; Mon, 11 Sep 2017 14:23:07 -0400 Received: by mail-wm0-x22d.google.com with SMTP id i189so46233454wmf.1 for ; Mon, 11 Sep 2017 11:23:06 -0700 (PDT) In-Reply-To: <20170911182242.7422-1-tipecaml@gmail.com> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org * gnu/packages/python.scm (python-twine, python2-twine): New variables. --- gnu/packages/python.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 979862775..74d294b11 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -16409,3 +16409,31 @@ created by running setup.py develop).") (define-public python2-pkginfo (package-with-python2 python-pkginfo)) + +(define-public python-twine + (package + (name "python-twine") + (version "1.9.1") + (source + (origin + (method url-fetch) + (uri (pypi-uri "twine" version)) + (sha256 + (base32 + "1ay1b6kdq6k4bfbjsvf6ymj41wrgpvinhxndb09355pwhxwmp96a")))) + (build-system python-build-system) + (propagated-inputs + `(("python-tqdm" ,python-tqdm) + ("python-pkginfo", python-pkginfo) + ("python-requests" ,python-requests) + ("python-requests-toolbelt" ,python-requests-toolbelt))) + (home-page "https://github.com/pypa/twine") + (synopsis "Collection of utilities for interacting with PyPI") + (description + "@code{twine} currently supports registering projects and uploading +distributions. It authenticates the user over HTTPS, allows them to pre-sign +their files and supports any packaging format (including wheels).") + (license license:asl2.0))) + +(define-public python2-twine + (package-with-python2 python-twine)) -- 2.14.1