All of lore.kernel.org
 help / color / mirror / Atom feed
From: Arnout Vandecappelle <arnout@mind.be>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 2/2] python-robotframework: New package
Date: Sat, 11 Jul 2015 17:39:37 +0200	[thread overview]
Message-ID: <55A138B9.2000402@mind.be> (raw)
In-Reply-To: <1436448717-6088-3-git-send-email-denis.thulin@openwide.fr>

On 07/09/15 15:31, Denis THULIN wrote:
> A generic test automation framework written in python.
> 
> Signed-off-by: Denis THULIN <denis.thulin@openwide.fr>
> ---
> v0:
>     - Generated using python-package-generator.py
>     - Dependencies on python-zlib and python-pyexpat were added manually
>     - Modification of packages/Config.in done manually.
> v1:
>     - fixed indentation error on dependencies (was 4 spaces instead of tab)
>     - Changed hash from md5 to sha256 (modification of scanpypi)
>     - Fixed typos (modification of scanpypi)
> v2:
>     - Added the md5 hash from pypi
>     - Fixed typos
> 
> ---
> 
> Signed-off-by: Denis THULIN <denis.thulin@openwide.fr>
> ---
>  package/Config.in                                        |  1 +
>  package/python-robotframework/Config.in                  | 10 ++++++++++
>  package/python-robotframework/python-robotframework.hash |  3 +++
>  package/python-robotframework/python-robotframework.mk   | 14 ++++++++++++++
>  4 files changed, 28 insertions(+)
>  create mode 100644 package/python-robotframework/Config.in
>  create mode 100644 package/python-robotframework/python-robotframework.hash
>  create mode 100644 package/python-robotframework/python-robotframework.mk
> 
> diff --git a/package/Config.in b/package/Config.in
> index d9b0794..a14ba4c 100644
> --- a/package/Config.in
> +++ b/package/Config.in
> @@ -640,6 +640,7 @@ menu "external python modules"
>  	source "package/python-pyxml/Config.in"
>  	source "package/python-pyzmq/Config.in"
>  	source "package/python-requests/Config.in"
> +	source "package/python-robotframework/Config.in"
>  	source "package/python-rtslib-fb/Config.in"
>  	source "package/python-serial/Config.in"
>  	source "package/python-setuptools/Config.in"
> diff --git a/package/python-robotframework/Config.in b/package/python-robotframework/Config.in
> new file mode 100644
> index 0000000..9adda53
> --- /dev/null
> +++ b/package/python-robotframework/Config.in
> @@ -0,0 +1,10 @@
> +config BR2_PACKAGE_PYTHON_ROBOTFRAMEWORK
> +	bool "python-robotframework"
> +	depends on BR2_PACKAGE_PYTHON
> +	select BR2_PACKAGE_PYTHON_ZLIB
> +	select BR2_PACKAGE_PYTHON_PYEXPAT
> +	help
> +	  A generic test automation framework
> +	  Only works with Python 2

 That 'only works' bit is more suitable for the commit log than for the help
text - it will anyway only be visible for Python 2.

> +
> +	  http://robotframework.org
> diff --git a/package/python-robotframework/python-robotframework.hash b/package/python-robotframework/python-robotframework.hash
> new file mode 100644
> index 0000000..1ad9dc5
> --- /dev/null
> +++ b/package/python-robotframework/python-robotframework.hash
> @@ -0,0 +1,3 @@
> +# md5 from https://pypi.python.org/packages/source/r/robotframework/robotframework-2.9b2.tar.gz, sha256 calculated by scanpypi
> +md5	723c30c827bb1f66e0fb032eff0c01cf  robotframework-2.9b2.tar.gz
> +sha256	188db920cdedfd1b5e29adb284c410ab3711ebc3035f8f439d342d361fbda3d3  robotframework-2.9b2.tar.gz

 So the hash file generated by scanpypi should look like this:

# From https://pypi.python.org/robotframework/json
md5	723c30c827bb1f66e0fb032eff0c01cf  robotframework-2.9b2.tar.gz
# Locally calculated by scanpypi
sha256 188db920cdedfd1b5e29adb284c410ab3711ebc3035f8f439d342d361fbda3d3
robotframework-2.9b2.tar.gz


 Regards,
 Arnout

> diff --git a/package/python-robotframework/python-robotframework.mk b/package/python-robotframework/python-robotframework.mk
> new file mode 100644
> index 0000000..1327a7e
> --- /dev/null
> +++ b/package/python-robotframework/python-robotframework.mk
> @@ -0,0 +1,14 @@
> +################################################################################
> +#
> +# python-robotframework
> +#
> +################################################################################
> +
> +PYTHON_ROBOTFRAMEWORK_VERSION = 2.9b2
> +PYTHON_ROBOTFRAMEWORK_SOURCE = robotframework-$(PYTHON_ROBOTFRAMEWORK_VERSION).tar.gz
> +PYTHON_ROBOTFRAMEWORK_SITE = https://pypi.python.org/packages/source/r/robotframework
> +PYTHON_ROBOTFRAMEWORK_SETUP_TYPE = distutils
> +PYTHON_ROBOTFRAMEWORK_LICENSE = Apache-2.0
> +PYTHON_ROBOTFRAMEWORK_LICENSE_FILES = LICENSE.txt
> +
> +$(eval $(python-package))
> 


-- 
Arnout Vandecappelle                          arnout at mind be
Senior Embedded Software Architect            +32-16-286500
Essensium/Mind                                http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium           BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF

  reply	other threads:[~2015-07-11 15:39 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-09 13:31 [Buildroot] [PATCH 0/2] python-package-generator Denis THULIN
2015-07-09 13:31 ` [Buildroot] [PATCH 1/2] scanpypi: new utility Denis THULIN
2015-07-11 12:56   ` Arnout Vandecappelle
2015-07-15 14:08     ` Denis Thulin
2015-07-15 14:17       ` [Buildroot] Package naming convention [was: Re: [PATCH 1/2] scanpypi: new utility] Arnout Vandecappelle
2015-08-08 10:59         ` Thomas Petazzoni
2015-07-09 13:31 ` [Buildroot] [PATCH 2/2] python-robotframework: New package Denis THULIN
2015-07-11 15:39   ` Arnout Vandecappelle [this message]
  -- strict thread matches above, loose matches on Subject: below --
2015-07-28 13:15 [Buildroot] [PATCH 1/2] scanpypi: new utility Denis THULIN
2015-07-28 13:15 ` [Buildroot] [PATCH 2/2] python-robotframework: New package Denis THULIN

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

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

  git send-email \
    --in-reply-to=55A138B9.2000402@mind.be \
    --to=arnout@mind.be \
    --cc=buildroot@busybox.net \
    /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.
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.