all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#30850] Git Patch for CRAN-abbyyR [Outreachy]
@ 2018-03-18 19:09 Vijayalakshmi Vedantham
  2018-03-19  0:13 ` bug#30850: " Ricardo Wurmus
  0 siblings, 1 reply; 2+ messages in thread
From: Vijayalakshmi Vedantham @ 2018-03-18 19:09 UTC (permalink / raw)
  To: 30850; +Cc: Ricardo Wurmus


[-- Attachment #1.1: Type: text/plain, Size: 177 bytes --]

Hello,

Please find attached a git patch including the package definition for the
CRAN abbyyR package. Do let me know if any modifications are required.


Thanks,
Vijayalakshmi

[-- Attachment #1.2: Type: text/html, Size: 253 bytes --]

[-- Attachment #2: 0002-gnu-Add-r-abbyyr.patch --]
[-- Type: text/x-patch, Size: 2590 bytes --]

From 3b42772ca6dfea43d5305e78b3e66a3e84a701c6 Mon Sep 17 00:00:00 2001
From: Vijayalakshmi <vijimay12@gmail.com>
Date: Mon, 19 Mar 2018 00:26:08 +0530
Subject: [PATCH 2/2] gnu: Add r-abbyyr

* gnu/packages/cran.scm (r-abbyyr): New variable.
---
 gnu/packages/cran.scm | 31 +++++++++++++++++++++++++++++--
 1 file changed, 29 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 717fa7f..67dbb2f 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -3,7 +3,8 @@
 ;;; Copyright © 2017 Roel Janssen <roel@gnu.org>
 ;;; Copyright © 2017 Tobias Geerinckx-Rice <me@tobias.gr>
 ;;; Copyright © 2017 Raoul Bonnal <ilpuccio.febo@gmail.com>
-;;;
+;;; Copyright © 2017 Vijayalakshmi Vedantham <vijimay12@gmail.com>
+
 ;;; This file is part of GNU Guix.
 ;;;
 ;;; GNU Guix is free software; you can redistribute it and/or modify it
@@ -59,6 +60,32 @@ diversification and macroevolution, computing distances from DNA sequences,
 and several other tools.")
     (license license:gpl2+)))
 
+(define-public r-abbyyr
+  (package
+    (name "r-abbyyr")
+    (version "0.5.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "abbyyR" version))
+       (sha256
+        (base32
+         "1s8zf18sh0s89vk3dl09fzrq50csmmfvmsanf5vfkv9n5lx6pklg"))))
+    (properties `((upstream-name . "abbyyR")))
+    (build-system r-build-system)
+    (propagated-inputs
+     `(("r-curl" ,r-curl)
+       ("r-httr" ,r-httr)
+       ("r-plyr" ,r-plyr)
+       ("r-progress" ,r-progress)
+       ("r-readr" ,r-readr)
+       ("r-xml" ,r-xml)))
+    (home-page "http://github.com/soodoku/abbyyR")
+    (synopsis "Access to Abbyy Optical Character Recognition (OCR) API")
+    (description
+      "This package provides tools to get text from images of text using Abbyy Cloud Optical Character Recognition (OCR) API.  With abbyyyR, one can easily OCR images, barcodes, forms, documents with machine readable zones, e.g.  passports and get the results in a variety of formats including plain text and XML.  To learn more about the Abbyy OCR API, see @url{http://ocrsdk.com/}.")
+    (license license:expat)))
+
 (define-public r-colorspace
   (package
     (name "r-colorspace")
@@ -3213,4 +3240,4 @@ flow of information, resources etc. separates and joins, much like observing
 how rivers split and merge.  For example, they can be used to compare
 different clusterings.  This package provides an implementation of Sankey
 plots for R.")
-    (license license:gpl2+)))
+    (license license:gpl2+)))
\ No newline at end of file
-- 
2.7.4


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#30850: Git Patch for CRAN-abbyyR [Outreachy]
  2018-03-18 19:09 [bug#30850] Git Patch for CRAN-abbyyR [Outreachy] Vijayalakshmi Vedantham
@ 2018-03-19  0:13 ` Ricardo Wurmus
  0 siblings, 0 replies; 2+ messages in thread
From: Ricardo Wurmus @ 2018-03-19  0:13 UTC (permalink / raw)
  To: Vijayalakshmi Vedantham; +Cc: 30850-done

Hi Vijayalakshmi,

excellent work!  Thank you for your contribution.

I applied your patch with minor changes:

* I used “M-q” in Emacs to break up the long lines in the description.

* I added a final period to the commit summary line.

* I updated the year in your copyright line from 2017 to 2018 (I also
  can’t believe it’s 2018 already)

The changes are now available in the master branch with commit
109b2f7c9.

Thanks again!

--
Ricardo

GPG: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
https://elephly.net

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-03-20  4:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-18 19:09 [bug#30850] Git Patch for CRAN-abbyyR [Outreachy] Vijayalakshmi Vedantham
2018-03-19  0:13 ` bug#30850: " Ricardo Wurmus

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.