guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/06: gnu: Add python-debian.


From: Ludovic Courtès
Subject: 01/06: gnu: Add python-debian.
Date: Tue, 27 Oct 2015 20:44:59 +0000

civodul pushed a commit to branch master
in repository guix.

commit 85d4aeacc49f2793b7d67914fd4086e2d7b2e6f8
Author: Ludovic Courtès <address@hidden>
Date:   Tue Oct 27 20:43:11 2015 +0100

    gnu: Add python-debian.
    
    * gnu/packages/python.scm (python-debian, python2-debian): New
      variables.
---
 gnu/packages/python.scm |   40 ++++++++++++++++++++++++++++++++++++++++
 1 files changed, 40 insertions(+), 0 deletions(-)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 23150a3..8fc8759 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -5777,3 +5777,43 @@ Python's @code{ctypes} foreign function interface 
(FFI).")
 
 (define-public python2-file
   (package-with-python2 python-file))
+
+(define-public python-debian
+  (package
+    (name "python-debian")
+    (version "0.1.23")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             
"https://pypi.python.org/packages/source/p/python-debian/python-debian-";
+             version ".tar.gz"))
+       (sha256
+        (base32
+         "193faznwnjc3n5991wyzim6h9gyq1zxifmfrnpm3avgkh7ahyynh"))))
+    (build-system python-build-system)
+    (inputs
+     `(("python-six" ,python-six)))
+    (native-inputs
+     `(("python-setuptools" ,python-setuptools)))
+    (home-page "http://packages.debian.org/sid/python-debian";)
+    (synopsis "Debian package related modules")
+    (description
+     "This package provides Python modules that abstract many formats of
+Debian-related files, such as:
+
address@hidden
address@hidden Debtags information;
address@hidden @file{debian/changelog} files;
address@hidden packages files, pdiffs;
address@hidden control files of single or multiple RFC822-style 
paragraphs---e.g.
+   @file{debian/control}, @file{.changes}, @file{.dsc};
address@hidden Raw @file{.deb} and @file{.ar} files, with (read-only) access to
+   contained files and meta-information.
address@hidden itemize\n")
+
+    ;; Modules are either GPLv2+ or GPLv3+.
+    (license gpl3+)))
+
+(define-public python2-debian
+  (package-with-python2 python-debian))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]