unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: T460s laptop <maxim.cournoyer@gmail.com>
To: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Cc: 35116@debbugs.gnu.org
Subject: [bug#35116] [PATCH staging] Add python-robotframework et al.
Date: Sat, 06 Apr 2019 20:44:19 -0400	[thread overview]
Message-ID: <877ec6prto.fsf@kwak.i-did-not-set--mail-host-address--so-tickle-me> (raw)
In-Reply-To: <871s2j911q.fsf@gmail.com> (Maxim Cournoyer's message of "Wed, 03 Apr 2019 00:15:45 -0400")


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

Maxim Cournoyer <maxim.cournoyer@gmail.com> writes:

> Hello!
>
> Here's a series adding a few new Python packages to support Robot
> Framework, as well as the Emacs mode to accompany it.
>
> python-pygithub will not build reproducibly until a fix is applied to
> the Python build system (to be submitted in another change).
>
> Thanks!
>
> Maxim

This patch dependes on Robot Framework, so I'm adding it here as well;
it is a linter.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.2: 0009-gnu-Add-python-robotframework-lint.patch --]
[-- Type: text/x-patch, Size: 2461 bytes --]

From 7f8e3fdad251258156ca12b725820f3482331f01 Mon Sep 17 00:00:00 2001
From: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Date: Sat, 6 Apr 2019 20:06:50 -0400
Subject: [PATCH] gnu: Add python-robotframework-lint.

* gnu/packages/python-xyz.scm (python-robotframework-lint): New variable.
---
 gnu/packages/python-xyz.scm | 36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 6c23dad1bf..8d08ef3859 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -2782,6 +2782,42 @@ acceptance testing, acceptance test driven development (ATDD), and robotic
 process automation (RPA).")
     (license license:asl2.0)))
 
+(define-public python-robotframework-lint
+  ;; There is no properly tagged release; the commit below seems to correspond
+  ;; to the 0.9 stable release available from PyPI.  The tests are not
+  ;; included in the PyPI archive, so we fetch the sources from the upstream
+  ;; Git repo.
+  (let ((commit "e851879bab1f63e4e53b34a4dc8a67ed95102830")
+        (revision "1"))
+    (package
+      (name "python-robotframework-lint")
+      (version (git-version "0.9.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/boakley/robotframework-lint.git")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32
+           "1p6fknqg5sb9qz5857ji4a877657vgfjm5v3zn45994parx6ml1m"))))
+      (build-system python-build-system)
+      (arguments
+       `(#:phases
+         (modify-phases %standard-phases
+           (replace 'check
+             (lambda _
+               (invoke "python" "-m" "robot" "-A"
+                       "tests/conf/default.args" "tests"))))))
+      (propagated-inputs
+       `(("python-robotframework" ,python-robotframework)))
+      (home-page "https://github.com/boakley/robotframework-lint/")
+      (synopsis "Static analysis tool (linter) for Robot Framework")
+      (description "This package provides the @code{rflint} command-line
+utility, a static analysis tool (linter) for Robot Framework source files.")
+      (license license:asl2.0))))
+
 (define-public python-robotframework-sshlibrary
   (package
     (name "python-robotframework-sshlibrary")
-- 
2.20.1


[-- Attachment #1.3: Type: text/plain, Size: 7 bytes --]


Maxim

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

  reply	other threads:[~2019-04-07  0:45 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-03  4:15 [bug#35116] [PATCH staging] Add python-robotframework et al Maxim Cournoyer
2019-04-07  0:44 ` T460s laptop [this message]
2019-04-20  0:58 ` bug#35116: " T460s laptop

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=877ec6prto.fsf@kwak.i-did-not-set--mail-host-address--so-tickle-me \
    --to=maxim.cournoyer@gmail.com \
    --cc=35116@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).