diff mbox series

[meta-python,1/4] python3-mdurl: new recipe version 0.1.2

Message ID 20250401185718.2447415-1-jan.vermaete@gmail.com
State Accepted
Headers show
Series [meta-python,1/4] python3-mdurl: new recipe version 0.1.2 | expand

Commit Message

Jan Vermaete April 1, 2025, 6:57 p.m. UTC
* no tests are distributed in the pypi package

Signed-off-by: Jan Vermaete <jan.vermaete@gmail.com>
---
 .../recipes-devtools/python/python3-mdurl_0.1.2.bb  | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-mdurl_0.1.2.bb

Comments

Khem Raj April 2, 2025, 4:54 a.m. UTC | #1
it seems to have pytests please add support for it and tie it into
meta-python/conf/include/ptest-packagelists-meta-python.inc

On Tue, Apr 1, 2025 at 11:57 AM Jan Vermaete via
lists.openembedded.org <jan.vermaete=gmail.com@lists.openembedded.org>
wrote:
>
> * no tests are distributed in the pypi package
>
> Signed-off-by: Jan Vermaete <jan.vermaete@gmail.com>
> ---
>  .../recipes-devtools/python/python3-mdurl_0.1.2.bb  | 13 +++++++++++++
>  1 file changed, 13 insertions(+)
>  create mode 100644 meta-python/recipes-devtools/python/python3-mdurl_0.1.2.bb
>
> diff --git a/meta-python/recipes-devtools/python/python3-mdurl_0.1.2.bb b/meta-python/recipes-devtools/python/python3-mdurl_0.1.2.bb
> new file mode 100644
> index 0000000000..cc110784e3
> --- /dev/null
> +++ b/meta-python/recipes-devtools/python/python3-mdurl_0.1.2.bb
> @@ -0,0 +1,13 @@
> +SUMMARY = "Markdown URL utilities"
> +DESCRIPTION = "This is a Python port of the JavaScript mdurl package."
> +HOMEPAGE = "https://github.com/executablebooks/mdurl"
> +LICENSE = "MIT"
> +LIC_FILES_CHKSUM = "file://LICENSE;md5=aca1dc6b9088f1dda81c89cad2c77ad1"
> +
> +SRC_URI[sha256sum] = "bb413d29f5eea38f31dd4754dd7377d4465116fb207585f97bf925588687c1ba"
> +
> +inherit pypi python_flit_core
> +
> +PYPI_PACKAGE = "mdurl"
> +
> +BBCLASSEXTEND = "native nativesdk"
> --
> 2.39.5
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#116484): https://lists.openembedded.org/g/openembedded-devel/message/116484
> Mute This Topic: https://lists.openembedded.org/mt/112032802/1997914
> Group Owner: openembedded-devel+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [raj.khem@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
Jan Vermaete April 13, 2025, 9:07 a.m. UTC | #2
Hi Khem,

Sorry for the late response.

The code on github does have tests.  However the archive on pypi.org
does not have them.
Would you like to start from the github code to have the tests included?


On Wed, Apr 2, 2025 at 6:55 AM Khem Raj <raj.khem@gmail.com> wrote:
>
> it seems to have pytests please add support for it and tie it into
> meta-python/conf/include/ptest-packagelists-meta-python.inc
>
> On Tue, Apr 1, 2025 at 11:57 AM Jan Vermaete via
> lists.openembedded.org <jan.vermaete=gmail.com@lists.openembedded.org>
> wrote:
> >
> > * no tests are distributed in the pypi package
> >
> > Signed-off-by: Jan Vermaete <jan.vermaete@gmail.com>
> > ---
> >  .../recipes-devtools/python/python3-mdurl_0.1.2.bb  | 13 +++++++++++++
> >  1 file changed, 13 insertions(+)
> >  create mode 100644 meta-python/recipes-devtools/python/python3-mdurl_0.1.2.bb
> >
> > diff --git a/meta-python/recipes-devtools/python/python3-mdurl_0.1.2.bb b/meta-python/recipes-devtools/python/python3-mdurl_0.1.2.bb
> > new file mode 100644
> > index 0000000000..cc110784e3
> > --- /dev/null
> > +++ b/meta-python/recipes-devtools/python/python3-mdurl_0.1.2.bb
> > @@ -0,0 +1,13 @@
> > +SUMMARY = "Markdown URL utilities"
> > +DESCRIPTION = "This is a Python port of the JavaScript mdurl package."
> > +HOMEPAGE = "https://github.com/executablebooks/mdurl"
> > +LICENSE = "MIT"
> > +LIC_FILES_CHKSUM = "file://LICENSE;md5=aca1dc6b9088f1dda81c89cad2c77ad1"
> > +
> > +SRC_URI[sha256sum] = "bb413d29f5eea38f31dd4754dd7377d4465116fb207585f97bf925588687c1ba"
> > +
> > +inherit pypi python_flit_core
> > +
> > +PYPI_PACKAGE = "mdurl"
> > +
> > +BBCLASSEXTEND = "native nativesdk"
> > --
> > 2.39.5
> >
> >
> > -=-=-=-=-=-=-=-=-=-=-=-
> > Links: You receive all messages sent to this group.
> > View/Reply Online (#116484): https://lists.openembedded.org/g/openembedded-devel/message/116484
> > Mute This Topic: https://lists.openembedded.org/mt/112032802/1997914
> > Group Owner: openembedded-devel+owner@lists.openembedded.org
> > Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [raj.khem@gmail.com]
> > -=-=-=-=-=-=-=-=-=-=-=-
> >
Khem Raj April 13, 2025, 2:24 p.m. UTC | #3
On Sun, Apr 13, 2025 at 2:07 AM jan vermaete <jan.vermaete@gmail.com> wrote:
>
> Hi Khem,
>
> Sorry for the late response.
>
> The code on github does have tests.  However the archive on pypi.org
> does not have them.
> Would you like to start from the github code to have the tests included?
>
yeah I have seen that with many python packages. pypi tarballs do not contain
tests. we are building from source so it will improve quality of
recipes if we added
tests

>
> On Wed, Apr 2, 2025 at 6:55 AM Khem Raj <raj.khem@gmail.com> wrote:
> >
> > it seems to have pytests please add support for it and tie it into
> > meta-python/conf/include/ptest-packagelists-meta-python.inc
> >
> > On Tue, Apr 1, 2025 at 11:57 AM Jan Vermaete via
> > lists.openembedded.org <jan.vermaete=gmail.com@lists.openembedded.org>
> > wrote:
> > >
> > > * no tests are distributed in the pypi package
> > >
> > > Signed-off-by: Jan Vermaete <jan.vermaete@gmail.com>
> > > ---
> > >  .../recipes-devtools/python/python3-mdurl_0.1.2.bb  | 13 +++++++++++++
> > >  1 file changed, 13 insertions(+)
> > >  create mode 100644 meta-python/recipes-devtools/python/python3-mdurl_0.1.2.bb
> > >
> > > diff --git a/meta-python/recipes-devtools/python/python3-mdurl_0.1.2.bb b/meta-python/recipes-devtools/python/python3-mdurl_0.1.2.bb
> > > new file mode 100644
> > > index 0000000000..cc110784e3
> > > --- /dev/null
> > > +++ b/meta-python/recipes-devtools/python/python3-mdurl_0.1.2.bb
> > > @@ -0,0 +1,13 @@
> > > +SUMMARY = "Markdown URL utilities"
> > > +DESCRIPTION = "This is a Python port of the JavaScript mdurl package."
> > > +HOMEPAGE = "https://github.com/executablebooks/mdurl"
> > > +LICENSE = "MIT"
> > > +LIC_FILES_CHKSUM = "file://LICENSE;md5=aca1dc6b9088f1dda81c89cad2c77ad1"
> > > +
> > > +SRC_URI[sha256sum] = "bb413d29f5eea38f31dd4754dd7377d4465116fb207585f97bf925588687c1ba"
> > > +
> > > +inherit pypi python_flit_core
> > > +
> > > +PYPI_PACKAGE = "mdurl"
> > > +
> > > +BBCLASSEXTEND = "native nativesdk"
> > > --
> > > 2.39.5
> > >
> > >
> > > -=-=-=-=-=-=-=-=-=-=-=-
> > > Links: You receive all messages sent to this group.
> > > View/Reply Online (#116484): https://lists.openembedded.org/g/openembedded-devel/message/116484
> > > Mute This Topic: https://lists.openembedded.org/mt/112032802/1997914
> > > Group Owner: openembedded-devel+owner@lists.openembedded.org
> > > Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [raj.khem@gmail.com]
> > > -=-=-=-=-=-=-=-=-=-=-=-
> > >
>
>
>
> --
> Jan Vermaete
> “Success is a self-correcting phenomenom.” -- Gary Hamel
diff mbox series

Patch

diff --git a/meta-python/recipes-devtools/python/python3-mdurl_0.1.2.bb b/meta-python/recipes-devtools/python/python3-mdurl_0.1.2.bb
new file mode 100644
index 0000000000..cc110784e3
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-mdurl_0.1.2.bb
@@ -0,0 +1,13 @@ 
+SUMMARY = "Markdown URL utilities"
+DESCRIPTION = "This is a Python port of the JavaScript mdurl package."
+HOMEPAGE = "https://github.com/executablebooks/mdurl"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=aca1dc6b9088f1dda81c89cad2c77ad1"
+
+SRC_URI[sha256sum] = "bb413d29f5eea38f31dd4754dd7377d4465116fb207585f97bf925588687c1ba"
+
+inherit pypi python_flit_core
+
+PYPI_PACKAGE = "mdurl"
+
+BBCLASSEXTEND = "native nativesdk"