[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 1/2] Feed2maildir: Add python-feedparser
From: |
Matthew Jordan |
Subject: |
[PATCH 1/2] Feed2maildir: Add python-feedparser |
Date: |
Sun, 21 Aug 2016 12:10:23 -0400 |
User-agent: |
mu4e 0.9.16; emacs 24.5.1 |
Good Day,
This patch is to add python-feedparser.
Left me know if need to make any adjustments.
>From 41357ed77b80d7d151b341eef509685b45266546 Mon Sep 17 00:00:00 2001
From: "Matthew O'N.S Jordan" <address@hidden>
Date: Sun, 21 Aug 2016 11:45:52 -0400
Subject: [PATCH 1/2] gnu: Add python-feedparser
* gnu/packages/python.scm (python-feedparser): New variable.
---
gnu/packages/python.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 15c957e..a8a9857 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -25,6 +25,7 @@
;;; Copyright © 2016 Troy Sankey <address@hidden>
;;; Copyright © 2016 ng0 <address@hidden>
;;; Copyright © 2016 Dylan Jeffers <address@hidden@openmailbox.org>
+;;; Copyright © 2016 Matthew Jordan <address@hidden>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -9983,3 +9984,29 @@ hardware-accelerated multitouch applications.")
(define-public python2-kivy-next
(package-with-python2 python-kivy-next))
+
+(define-public python-feedparser
+ (package
+ (name "python-feedparser")
+ (version "5.2.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+
"https://pypi.python.org/packages/91/d8/7d37fec71ff7c9dbcdd80d2b48bcdd86d6af502156fc93846fb0102cb2c4/feedparser-"
+ version ".tar.bz2"))
+ (sha256
+ (base32
+ "00hb4qg2am06g81mygfi1jsbx8830024jm45g6qp9g8fr6am91yf"))))
+ (build-system python-build-system)
+ (inputs
+ `(("python-setuptools" ,python-setuptools)))
+ (home-page "https://github.com/kurtmckee/feedparser")
+ (synopsis
+ "Universal feed parser, handles RSS 0.9x, RSS 1.0, RSS 2.0, CDF,
+Atom 0.3, and Atom 1.0 feeds")
+ (description
+ "Universal feed parser, handles RSS 0.9x, RSS 1.0, RSS 2.0, CDF,
+Atom 0.3, and Atom 1.0 feeds")
+ (license
+ (non-copyleft
"https://github.com/kurtmckee/feedparser/blob/develop/LICENSE"))))
--
2.9.0
Sincerely,
Matthew Jordan
- [PATCH 1/2] Feed2maildir: Add python-feedparser,
Matthew Jordan <=