emacs-bug-tracker
[Top][All Lists]
Advanced

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

[debbugs-tracker] bug#29137: closed ([PATCH] gnu: Add python-clf.)


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#29137: closed ([PATCH] gnu: Add python-clf.)
Date: Mon, 20 Nov 2017 06:34:02 +0000

Your message dated Mon, 20 Nov 2017 09:33:23 +0300
with message-id <address@hidden>
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
address@hidden)


-- 
29137: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=29137
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: [PATCH] gnu: Add python-clf. Date: Fri, 03 Nov 2017 19:37:33 +0300
From 96a78a88650481961083541c0cc93ef8c082c6bf Mon Sep 17 00:00:00 2001
From: Oleg Pykhalov <address@hidden>
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

Attachment: signature.asc
Description: PGP signature


--- End Message ---
--- Begin Message --- Subject: Re: [bug#29137] [PATCH] gnu: Add python-clf. Date: Mon, 20 Nov 2017 09:33:23 +0300 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux)
Hello Marius,

Marius Bakke <address@hidden> 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.

Attachment: signature.asc
Description: PGP signature


--- End Message ---

reply via email to

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