GNU bug report logs - #29137
[PATCH] gnu: Add python-clf.

Previous Next

Package: guix-patches;

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

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Oleg Pykhalov <go.wigust <at> gmail.com>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#29137: closed ([PATCH] gnu: Add python-clf.)
Date: Mon, 20 Nov 2017 06:34:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Mon, 20 Nov 2017 09:33:23 +0300
with message-id <87wp2lsbm4.fsf <at> gmail.com>
and subject line Re: [bug#29137] [PATCH] gnu: Add python-clf.
has caused the debbugs.gnu.org bug report #29137,
regarding [PATCH] gnu: Add python-clf.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> 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)]
From: Oleg Pykhalov <go.wigust <at> gmail.com>
To: guix-patches <at> gnu.org
Subject: [PATCH] gnu: Add python-clf.
Date: Fri, 03 Nov 2017 19:37:33 +0300
[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)]
[Message part 5 (message/rfc822, inline)]
From: Oleg Pykhalov <go.wigust <at> gmail.com>
To: Marius Bakke <mbakke <at> fastmail.com>
Cc: Oleg Pykhalov <go.wigust <at> gmail.com>, 29137 <at> debbugs.gnu.org,
 29137-done <at> debbugs.gnu.org
Subject: Re: [bug#29137] [PATCH] gnu: Add python-clf.
Date: Mon, 20 Nov 2017 09:33:23 +0300
[Message part 6 (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)]

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.