All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] meta-python: Initial commit of Python3 OBDII module
@ 2019-03-29  4:49 Alistair Francis
  2019-03-29  5:04 ` Tim Orling
  0 siblings, 1 reply; 3+ messages in thread
From: Alistair Francis @ 2019-03-29  4:49 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Alistair Francis

Signed-off-by: Alistair Francis <alistair@alistair23.me>
---
 meta-python/recipes-devtools/python/python-obd.inc       | 9 +++++++++
 meta-python/recipes-devtools/python/python3-obd_0.7.0.bb | 2 ++
 2 files changed, 11 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python-obd.inc
 create mode 100644 meta-python/recipes-devtools/python/python3-obd_0.7.0.bb

diff --git a/meta-python/recipes-devtools/python/python-obd.inc b/meta-python/recipes-devtools/python/python-obd.inc
new file mode 100644
index 000000000..f2caf6491
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-obd.inc
@@ -0,0 +1,9 @@
+DESCRIPTION = "A python module for handling realtime sensor data from OBD-II vehicle ports"
+HOMEPAGE = "https://github.com/brendan-w/python-OBD"
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://README.rst;md5=2988a5e913eb105fa08011135c4157d4"
+
+SRC_URI[md5sum] = "93e04f825e13b7ebc97d06b6a6407807"
+SRC_URI[sha256sum] = "4b1bac95df2faac571ebf444778e4d736d050d8ed7049023c0fc929a520eba6d"
+
+inherit pypi
diff --git a/meta-python/recipes-devtools/python/python3-obd_0.7.0.bb b/meta-python/recipes-devtools/python/python3-obd_0.7.0.bb
new file mode 100644
index 000000000..578e38d3a
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-obd_0.7.0.bb
@@ -0,0 +1,2 @@
+inherit setuptools3
+require python-obd.inc
-- 
2.20.1



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

* Re: [PATCH] meta-python: Initial commit of Python3 OBDII module
  2019-03-29  4:49 [PATCH] meta-python: Initial commit of Python3 OBDII module Alistair Francis
@ 2019-03-29  5:04 ` Tim Orling
  2019-03-29  5:09   ` Alistair Francis
  0 siblings, 1 reply; 3+ messages in thread
From: Tim Orling @ 2019-03-29  5:04 UTC (permalink / raw)
  To: Alistair Francis; +Cc: Alistair Francis, openembedded-devel

On Thu, Mar 28, 2019 at 9:50 PM Alistair Francis <alistair23@gmail.com>
wrote:

> Signed-off-by: Alistair Francis <alistair@alistair23.me>
> ---
>  meta-python/recipes-devtools/python/python-obd.inc       | 9 +++++++++
>  meta-python/recipes-devtools/python/python3-obd_0.7.0.bb | 2 ++


Latest version. Ack.


>  2 files changed, 11 insertions(+)
>  create mode 100644 meta-python/recipes-devtools/python/python-obd.inc
>  create mode 100644 meta-python/recipes-devtools/python/
> python3-obd_0.7.0.bb
>
> diff --git a/meta-python/recipes-devtools/python/python-obd.inc
> b/meta-python/recipes-devtools/python/python-obd.inc
> new file mode 100644
> index 000000000..f2caf6491
> --- /dev/null
> +++ b/meta-python/recipes-devtools/python/python-obd.inc
> @@ -0,0 +1,9 @@
> +DESCRIPTION = "A python module for handling realtime sensor data from
> OBD-II vehicle ports"
> +HOMEPAGE = "https://github.com/brendan-w/python-OBD"
> +LICENSE = "GPLv2"
> +LIC_FILES_CHKSUM =
> "file://README.rst;md5=2988a5e913eb105fa08011135c4157d4"


Readmes tend to change in ways not really useful from license standpoint.
Why not just use the LICENSE file provided in the repo? Or is it not
included in the tarball?

>
> +
> +SRC_URI[md5sum] = "93e04f825e13b7ebc97d06b6a6407807"
> +SRC_URI[sha256sum] =
> "4b1bac95df2faac571ebf444778e4d736d050d8ed7049023c0fc929a520eba6d"
> +
> +inherit pypi
> diff --git a/meta-python/recipes-devtools/python/python3-obd_0.7.0.bb
> b/meta-python/recipes-devtools/python/python3-obd_0.7.0.bb
> new file mode 100644
> index 000000000..578e38d3a
> --- /dev/null
> +++ b/meta-python/recipes-devtools/python/python3-obd_0.7.0.bb
> @@ -0,0 +1,2 @@
> +inherit setuptools3
> +require python-obd.inc


A python2 version should be trivial, although we should be moving towards
python 3 only... so I am ok with leaving python 2 up to someone who needs
it.


> --
> 2.20.1
>
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>


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

* Re: [PATCH] meta-python: Initial commit of Python3 OBDII module
  2019-03-29  5:04 ` Tim Orling
@ 2019-03-29  5:09   ` Alistair Francis
  0 siblings, 0 replies; 3+ messages in thread
From: Alistair Francis @ 2019-03-29  5:09 UTC (permalink / raw)
  To: Tim Orling; +Cc: Alistair Francis, openembeded-devel

On Thu, Mar 28, 2019 at 10:04 PM Tim Orling <ticotimo@gmail.com> wrote:
>
>
>
> On Thu, Mar 28, 2019 at 9:50 PM Alistair Francis <alistair23@gmail.com> wrote:
>>
>> Signed-off-by: Alistair Francis <alistair@alistair23.me>
>> ---
>>  meta-python/recipes-devtools/python/python-obd.inc       | 9 +++++++++
>>  meta-python/recipes-devtools/python/python3-obd_0.7.0.bb | 2 ++
>
>
> Latest version. Ack.

Thanks

>
>>
>>  2 files changed, 11 insertions(+)
>>  create mode 100644 meta-python/recipes-devtools/python/python-obd.inc
>>  create mode 100644 meta-python/recipes-devtools/python/python3-obd_0.7.0.bb
>>
>> diff --git a/meta-python/recipes-devtools/python/python-obd.inc b/meta-python/recipes-devtools/python/python-obd.inc
>> new file mode 100644
>> index 000000000..f2caf6491
>> --- /dev/null
>> +++ b/meta-python/recipes-devtools/python/python-obd.inc
>> @@ -0,0 +1,9 @@
>> +DESCRIPTION = "A python module for handling realtime sensor data from OBD-II vehicle ports"
>> +HOMEPAGE = "https://github.com/brendan-w/python-OBD"
>> +LICENSE = "GPLv2"
>> +LIC_FILES_CHKSUM = "file://README.rst;md5=2988a5e913eb105fa08011135c4157d4"
>
>
> Readmes tend to change in ways not really useful from license standpoint. Why not just use the LICENSE file provided in the repo? Or is it not included in the tarball?

It's not included in the tarball unfortunately.

>>
>>
>> +
>> +SRC_URI[md5sum] = "93e04f825e13b7ebc97d06b6a6407807"
>> +SRC_URI[sha256sum] = "4b1bac95df2faac571ebf444778e4d736d050d8ed7049023c0fc929a520eba6d"
>> +
>> +inherit pypi
>> diff --git a/meta-python/recipes-devtools/python/python3-obd_0.7.0.bb b/meta-python/recipes-devtools/python/python3-obd_0.7.0.bb
>> new file mode 100644
>> index 000000000..578e38d3a
>> --- /dev/null
>> +++ b/meta-python/recipes-devtools/python/python3-obd_0.7.0.bb
>> @@ -0,0 +1,2 @@
>> +inherit setuptools3
>> +require python-obd.inc
>
>
> A python2 version should be trivial, although we should be moving towards python 3 only... so I am ok with leaving python 2 up to someone who needs it.

It does support Python2, but with less then a year to go of support it
didn't seem worth adding.

Alistair

>
>>
>> --
>> 2.20.1
>>
>> --
>> _______________________________________________
>> Openembedded-devel mailing list
>> Openembedded-devel@lists.openembedded.org
>> http://lists.openembedded.org/mailman/listinfo/openembedded-devel


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

end of thread, other threads:[~2019-03-29  5:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-29  4:49 [PATCH] meta-python: Initial commit of Python3 OBDII module Alistair Francis
2019-03-29  5:04 ` Tim Orling
2019-03-29  5:09   ` Alistair Francis

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.