[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/05: gnu: Add python-args.
From: |
??? |
Subject: |
01/05: gnu: Add python-args. |
Date: |
Sat, 16 Jan 2016 00:19:41 +0000 |
iyzsong pushed a commit to branch master
in repository guix.
commit 2216e15cc310a52026adb3542897b4221c793d55
Author: 宋文武 <address@hidden>
Date: Wed Jan 13 09:21:56 2016 +0800
gnu: Add python-args.
* gnu/packages.scm (python-args, python2-args): New variables.
---
gnu/packages/python.scm | 22 ++++++++++++++++++++++
1 files changed, 22 insertions(+), 0 deletions(-)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index c3e9f42..40f0864 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -6962,3 +6962,25 @@ files for use with Python.")
Blog, News or Announcements section to a Sphinx website.")
(home-page "https://bitbucket.org/prometheus/sphinxcontrib-newsfeed")
(license bsd-2)))
+
+(define-public python-args
+ (package
+ (name "python-args")
+ (version "0.1.0")
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri "args" version))
+ (sha256
+ (base32
+ "057qzi46h5dmxdqknsbrssn78lmqjlnm624iqdhrnpk26zcbi1d7"))))
+ (build-system python-build-system)
+ (inputs
+ `(("python-setuptools" ,python-setuptools)))
+ (home-page "https://github.com/kennethreitz/args")
+ (synopsis "Command-line argument parser")
+ (description
+ "This library provides a Python module to parse command-line arguments.")
+ (license bsd-3)))
+
+(define-public python2-args
+ (package-with-python2 python-args))