All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] package/bitwise: add package
Date: Mon, 6 Jul 2020 09:36:46 +0200	[thread overview]
Message-ID: <20200706093646.00e954e9@windsurf.home> (raw)
In-Reply-To: <20200706041904.1518500-1-rfried.dev@gmail.com>

Hello,

Thanks for your contribution! The commit title should be
"package/bitwise: new package".

On Mon,  6 Jul 2020 07:19:04 +0300
Ramon Fried <rfried.dev@gmail.com> wrote:

> Bitwise is multi base interactive calculator supporting dynamic
> base conversion and bit manipulation.
> It's a handy tool for low level hackers,
> kernel developers and device drivers developers.
> 
> Signed-off-by: Ramon Fried <rfried.dev@gmail.com>
> ---
>  package/Config.in            |  1 +
>  package/bitwise/Config.in    | 10 ++++++++++
>  package/bitwise/bitwise.hash |  1 +
>  package/bitwise/bitwise.mk   | 12 ++++++++++++
>  4 files changed, 24 insertions(+)

You need to update the DEVELOPERS file.


> diff --git a/package/bitwise/Config.in b/package/bitwise/Config.in
> new file mode 100644
> index 0000000000..07e6580d14
> --- /dev/null
> +++ b/package/bitwise/Config.in
> @@ -0,0 +1,10 @@
> +config BR2_PACKAGE_BITWISE
> +	bool "bitwise"
> +	select BR2_PACKAGE_NCURSES
> +	select BR2_PACKAGE_READLINE
> +	help
> +	  Bitwise is multi base interactive calculator supporting dynamic base
> +	  conversion and bit manipulation. It's a handy tool for low level hackers,
> +	  kernel developers and device drivers developers.

I think some of those lines are too long. Could you run "make
check-package" ?

> diff --git a/package/bitwise/bitwise.hash b/package/bitwise/bitwise.hash
> new file mode 100644
> index 0000000000..35a1109b93
> --- /dev/null
> +++ b/package/bitwise/bitwise.hash
> @@ -0,0 +1 @@
> +sha256 33ce934fb99dadf7652224152cc135a0abf6a211adde53d96e9be7067567749c  bitwise-v0.41.tar.gz
> diff --git a/package/bitwise/bitwise.mk b/package/bitwise/bitwise.mk
> new file mode 100644
> index 0000000000..2bc21da4b2
> --- /dev/null
> +++ b/package/bitwise/bitwise.mk
> @@ -0,0 +1,12 @@
> +#
> +# bitwise
> +#
> +################################################################################

The comment header is not complete, the first line full of #### is
missing.

> +BITWISE_VERSION = v0.41

This should be just 0.41

> +BITWISE_SITE = https://github.com/mellowcandle/bitwise/releases/download/$(BITWISE_VERSION)
> +BITWISE_SOURCE = bitwise-$(BITWISE_VERSION).tar.gz

So this should be:

BITWISE_SOURCE = bitwise-v$(BITWISE_VERSION).tar.gz

> +BITWISE_DEPENDENCIES= ncurses readline

Space before =. This is reported by "make check-package" as well I
believe.

> +BITWISE_LICENSE = GPL-2.0
> +BITWISE_LICENSE_FILES = COPYING

We need an empty line before the eval autotools-package line.

> +$(eval $(autotools-package))

Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

  reply	other threads:[~2020-07-06  7:36 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-06  4:19 [Buildroot] [PATCH] package/bitwise: add package Ramon Fried
2020-07-06  7:36 ` Thomas Petazzoni [this message]
2020-07-06  8:24   ` Ramon Fried

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=20200706093646.00e954e9@windsurf.home \
    --to=thomas.petazzoni@bootlin.com \
    --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.