GNU bug report logs -
#29137
[PATCH] gnu: Add python-clf.
Previous Next
Reported by: Oleg Pykhalov <go.wigust <at> gmail.com>
Date: Fri, 3 Nov 2017 16:38:02 UTC
Severity: normal
Tags: patch
Done: Oleg Pykhalov <go.wigust <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your bug report
#29137: [PATCH] gnu: Add python-clf.
which was filed against the guix-patches package, has been closed.
The explanation is attached below, along with your original report.
If you require more details, please reply to 29137 <at> debbugs.gnu.org.
--
29137: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=29137
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
[Message part 3 (text/plain, inline)]
Hello Marius,
Marius Bakke <mbakke <at> fastmail.com> writes:
>> Release tarball from pypi doesn't include test_clf.py. So I pulled it
>> from git master branch. Almost all tests require internet connection.
>
> Odd that this file would be taken out. Anyway thanks for including it.
> I wouldn't bother binding the package in a let for a variable that's
> only used once as a native-input, but no strong opinion. LGTM.
OK, then I will finally add a dot at the end of the description and add
"https://" to synopsis url.
Pushed as 036f1eedcc46e50fda525a65eef5de1797ce4f4d
Thanks,
Oleg.
[signature.asc (application/pgp-signature, inline)]
[Message part 5 (message/rfc822, inline)]
[0001-gnu-Add-python-clf.patch (text/x-patch, inline)]
From 96a78a88650481961083541c0cc93ef8c082c6bf Mon Sep 17 00:00:00 2001
From: Oleg Pykhalov <go.wigust <at> gmail.com>
Date: Fri, 3 Nov 2017 18:39:17 +0300
Subject: [PATCH] gnu: Add python-clf.
* gnu/packages/web.scm (python-clf): New variable.
---
gnu/packages/web.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index eea8bb63a..eed120eb2 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -5170,6 +5170,31 @@ internetarchive python module for programatic access to archive.org.")
(package-with-python2
(strip-python2-variant python-internetarchive)))
+(define-public python-clf
+ (package
+ (name "python-clf")
+ (version "0.5.7")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "clf" version))
+ (sha256
+ (base32
+ "0zlkzqnpz7a4iavsq5vaz0nf5nr7qm5znpg1vlpz6rwnx6hikjdb"))))
+ (build-system python-build-system)
+ (propagated-inputs
+ `(("python-docopt" ,python-docopt)
+ ("python-pygments" ,python-pygments)
+ ("python-requests" ,python-requests)))
+ (home-page "https://github.com/ncrocfer/clf")
+ (synopsis "Search code snippets on @url{commandlinefu.com}")
+ (description "@code{clf} is a command line tool for searching code
+snippets on @url{commandlinefu.com}")
+ (license l:expat)))
+
+(define-public python2-clf
+ (package-with-python2 python-clf))
+
(define-public r-shiny
(package
(name "r-shiny")
--
2.14.3
[signature.asc (application/pgp-signature, inline)]
This bug report was last modified 7 years and 237 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.