* [meta-python][PATCH] python-automat: add an initial recipe for version 0.6.0 @ 2017-11-01 16:41 Derek Straka 2017-12-22 9:54 ` ChenQi 0 siblings, 1 reply; 5+ messages in thread From: Derek Straka @ 2017-11-01 16:41 UTC (permalink / raw) To: openembedded-devel Signed-off-by: Derek Straka <derek@asterius.io> --- meta-python/recipes-devtools/python/python-automat.inc | 16 ++++++++++++++++ .../recipes-devtools/python/python-automat_0.6.0.bb | 2 ++ .../recipes-devtools/python/python3-automat_0.6.0.bb | 4 ++++ 3 files changed, 22 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python-automat.inc create mode 100644 meta-python/recipes-devtools/python/python-automat_0.6.0.bb create mode 100644 meta-python/recipes-devtools/python/python3-automat_0.6.0.bb diff --git a/meta-python/recipes-devtools/python/python-automat.inc b/meta-python/recipes-devtools/python/python-automat.inc new file mode 100644 index 0000000..1ac5d3b --- /dev/null +++ b/meta-python/recipes-devtools/python/python-automat.inc @@ -0,0 +1,16 @@ +DESCRIPTION = "Self-service finite-state machines for the programmer on the go" +HOMEPAGE = "https://github.com/glyph/Automat" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=4ad213bcca81688e94593e5f60c87477" + +SRC_URI[md5sum] = "ad7bba58d262d8956d732330cb5ef53d" +SRC_URI[sha256sum] = "3c1fd04ecf08ac87b4dd3feae409542e9bf7827257097b2b6ed5692f69d6f6a8" + +PYPI_PACKAGE = "Automat" + +inherit pypi + +RDEPENDS_${PN} += "\ + ${PYTHON_PN}-attrs \ + ${PYTHON_PN}-six \ +" diff --git a/meta-python/recipes-devtools/python/python-automat_0.6.0.bb b/meta-python/recipes-devtools/python/python-automat_0.6.0.bb new file mode 100644 index 0000000..8ac8c9c --- /dev/null +++ b/meta-python/recipes-devtools/python/python-automat_0.6.0.bb @@ -0,0 +1,2 @@ +inherit setuptools +require python-automat.inc diff --git a/meta-python/recipes-devtools/python/python3-automat_0.6.0.bb b/meta-python/recipes-devtools/python/python3-automat_0.6.0.bb new file mode 100644 index 0000000..0469e61 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-automat_0.6.0.bb @@ -0,0 +1,4 @@ +inherit setuptools3 +require python-automat.inc + +RDEPENDS_${PN} += "${PYTHON_PN}-enum " -- 2.7.4 ^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [meta-python][PATCH] python-automat: add an initial recipe for version 0.6.0 2017-11-01 16:41 [meta-python][PATCH] python-automat: add an initial recipe for version 0.6.0 Derek Straka @ 2017-12-22 9:54 ` ChenQi 2017-12-22 14:18 ` Derek Straka 0 siblings, 1 reply; 5+ messages in thread From: ChenQi @ 2017-12-22 9:54 UTC (permalink / raw) To: Derek Straka, openembedded-devel Hi Derek, I noticed in Automat's setup.py script: setup_requires=[ 'setuptools-scm', 'm2r', ], install_requires=[ "attrs", "six", ], Now the installed_requires entry is handled by the RDEPENDS meta data in recipe. How about the setup_requires entry? Do you know how to handle it in recipe? I'm asking this because when I build python-automat on my host, I met do_compile error because of being able to download the m2r and setuptools-scm. Ideally, we should be able to compile a recipe out without reaching out to the Internet, as long as the recipe's tarball is available in the DL_DIR. Best Regards, Chen Qi On 11/02/2017 12:41 AM, Derek Straka wrote: > Signed-off-by: Derek Straka <derek@asterius.io> > --- > meta-python/recipes-devtools/python/python-automat.inc | 16 ++++++++++++++++ > .../recipes-devtools/python/python-automat_0.6.0.bb | 2 ++ > .../recipes-devtools/python/python3-automat_0.6.0.bb | 4 ++++ > 3 files changed, 22 insertions(+) > create mode 100644 meta-python/recipes-devtools/python/python-automat.inc > create mode 100644 meta-python/recipes-devtools/python/python-automat_0.6.0.bb > create mode 100644 meta-python/recipes-devtools/python/python3-automat_0.6.0.bb > > diff --git a/meta-python/recipes-devtools/python/python-automat.inc b/meta-python/recipes-devtools/python/python-automat.inc > new file mode 100644 > index 0000000..1ac5d3b > --- /dev/null > +++ b/meta-python/recipes-devtools/python/python-automat.inc > @@ -0,0 +1,16 @@ > +DESCRIPTION = "Self-service finite-state machines for the programmer on the go" > +HOMEPAGE = "https://github.com/glyph/Automat" > +LICENSE = "MIT" > +LIC_FILES_CHKSUM = "file://LICENSE;md5=4ad213bcca81688e94593e5f60c87477" > + > +SRC_URI[md5sum] = "ad7bba58d262d8956d732330cb5ef53d" > +SRC_URI[sha256sum] = "3c1fd04ecf08ac87b4dd3feae409542e9bf7827257097b2b6ed5692f69d6f6a8" > + > +PYPI_PACKAGE = "Automat" > + > +inherit pypi > + > +RDEPENDS_${PN} += "\ > + ${PYTHON_PN}-attrs \ > + ${PYTHON_PN}-six \ > +" > diff --git a/meta-python/recipes-devtools/python/python-automat_0.6.0.bb b/meta-python/recipes-devtools/python/python-automat_0.6.0.bb > new file mode 100644 > index 0000000..8ac8c9c > --- /dev/null > +++ b/meta-python/recipes-devtools/python/python-automat_0.6.0.bb > @@ -0,0 +1,2 @@ > +inherit setuptools > +require python-automat.inc > diff --git a/meta-python/recipes-devtools/python/python3-automat_0.6.0.bb b/meta-python/recipes-devtools/python/python3-automat_0.6.0.bb > new file mode 100644 > index 0000000..0469e61 > --- /dev/null > +++ b/meta-python/recipes-devtools/python/python3-automat_0.6.0.bb > @@ -0,0 +1,4 @@ > +inherit setuptools3 > +require python-automat.inc > + > +RDEPENDS_${PN} += "${PYTHON_PN}-enum " ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [meta-python][PATCH] python-automat: add an initial recipe for version 0.6.0 2017-12-22 9:54 ` ChenQi @ 2017-12-22 14:18 ` Derek Straka 2017-12-26 1:46 ` ChenQi 0 siblings, 1 reply; 5+ messages in thread From: Derek Straka @ 2017-12-22 14:18 UTC (permalink / raw) To: ChenQi; +Cc: openembeded-devel Chen, Thanks for bringing this up. Take a look here to see if this proposed patchset fixes your issue: http://lists.openembedded.org/pipermail/openembedded-devel/2017-December/116094.html . -Derek On Fri, Dec 22, 2017 at 4:54 AM, ChenQi <Qi.Chen@windriver.com> wrote: > Hi Derek, > > I noticed in Automat's setup.py script: > > setup_requires=[ > 'setuptools-scm', > 'm2r', > ], > install_requires=[ > "attrs", > "six", > ], > > Now the installed_requires entry is handled by the RDEPENDS meta data in > recipe. > How about the setup_requires entry? Do you know how to handle it in recipe? > > I'm asking this because when I build python-automat on my host, I met > do_compile error because of being able to download the m2r and > setuptools-scm. > > Ideally, we should be able to compile a recipe out without reaching out to > the Internet, as long as the recipe's tarball is available in the DL_DIR. > > Best Regards, > Chen Qi > > > On 11/02/2017 12:41 AM, Derek Straka wrote: > >> Signed-off-by: Derek Straka <derek@asterius.io> >> --- >> meta-python/recipes-devtools/python/python-automat.inc | 16 >> ++++++++++++++++ >> .../recipes-devtools/python/python-automat_0.6.0.bb | 2 ++ >> .../recipes-devtools/python/python3-automat_0.6.0.bb | 4 ++++ >> 3 files changed, 22 insertions(+) >> create mode 100644 meta-python/recipes-devtools/p >> ython/python-automat.inc >> create mode 100644 meta-python/recipes-devtools/python/ >> python-automat_0.6.0.bb >> create mode 100644 meta-python/recipes-devtools/python/ >> python3-automat_0.6.0.bb >> >> diff --git a/meta-python/recipes-devtools/python/python-automat.inc >> b/meta-python/recipes-devtools/python/python-automat.inc >> new file mode 100644 >> index 0000000..1ac5d3b >> --- /dev/null >> +++ b/meta-python/recipes-devtools/python/python-automat.inc >> @@ -0,0 +1,16 @@ >> +DESCRIPTION = "Self-service finite-state machines for the programmer on >> the go" >> +HOMEPAGE = "https://github.com/glyph/Automat" >> +LICENSE = "MIT" >> +LIC_FILES_CHKSUM = "file://LICENSE;md5=4ad213bcca81688e94593e5f60c87477" >> + >> +SRC_URI[md5sum] = "ad7bba58d262d8956d732330cb5ef53d" >> +SRC_URI[sha256sum] = "3c1fd04ecf08ac87b4dd3feae4095 >> 42e9bf7827257097b2b6ed5692f69d6f6a8" >> + >> +PYPI_PACKAGE = "Automat" >> + >> +inherit pypi >> + >> +RDEPENDS_${PN} += "\ >> + ${PYTHON_PN}-attrs \ >> + ${PYTHON_PN}-six \ >> +" >> diff --git a/meta-python/recipes-devtools/python/python-automat_0.6.0.bb >> b/meta-python/recipes-devtools/python/python-automat_0.6.0.bb >> new file mode 100644 >> index 0000000..8ac8c9c >> --- /dev/null >> +++ b/meta-python/recipes-devtools/python/python-automat_0.6.0.bb >> @@ -0,0 +1,2 @@ >> +inherit setuptools >> +require python-automat.inc >> diff --git a/meta-python/recipes-devtools/python/python3-automat_0.6.0.bb >> b/meta-python/recipes-devtools/python/python3-automat_0.6.0.bb >> new file mode 100644 >> index 0000000..0469e61 >> --- /dev/null >> +++ b/meta-python/recipes-devtools/python/python3-automat_0.6.0.bb >> @@ -0,0 +1,4 @@ >> +inherit setuptools3 >> +require python-automat.inc >> + >> +RDEPENDS_${PN} += "${PYTHON_PN}-enum " >> > > ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [meta-python][PATCH] python-automat: add an initial recipe for version 0.6.0 2017-12-22 14:18 ` Derek Straka @ 2017-12-26 1:46 ` ChenQi 2017-12-26 1:46 ` Derek Straka 0 siblings, 1 reply; 5+ messages in thread From: ChenQi @ 2017-12-26 1:46 UTC (permalink / raw) To: Derek Straka; +Cc: openembeded-devel On 12/22/2017 10:18 PM, Derek Straka wrote: > Chen, > > Thanks for bringing this up. Take a look here to see if this proposed > patchset fixes your issue: > http://lists.openembedded.org/pipermail/openembedded-devel/2017-December/116094.html. > > -Derek > Derek, Thanks! Your patch works. Best Regards, Chen Qi > On Fri, Dec 22, 2017 at 4:54 AM, ChenQi <Qi.Chen@windriver.com > <mailto:Qi.Chen@windriver.com>> wrote: > > Hi Derek, > > I noticed in Automat's setup.py script: > > setup_requires=[ > 'setuptools-scm', > 'm2r', > ], > install_requires=[ > "attrs", > "six", > ], > > Now the installed_requires entry is handled by the RDEPENDS meta > data in recipe. > How about the setup_requires entry? Do you know how to handle it > in recipe? > > I'm asking this because when I build python-automat on my host, I > met do_compile error because of being able to download the m2r and > setuptools-scm. > > Ideally, we should be able to compile a recipe out without > reaching out to the Internet, as long as the recipe's tarball is > available in the DL_DIR. > > Best Regards, > Chen Qi > > > On 11/02/2017 12:41 AM, Derek Straka wrote: > > Signed-off-by: Derek Straka <derek@asterius.io > <mailto:derek@asterius.io>> > --- > meta-python/recipes-devtools/python/python-automat.inc | 16 > ++++++++++++++++ > .../recipes-devtools/python/python-automat_0.6.0.bb > <http://python-automat_0.6.0.bb> | 2 ++ > .../recipes-devtools/python/python3-automat_0.6.0.bb > <http://python3-automat_0.6.0.bb> | 4 ++++ > 3 files changed, 22 insertions(+) > create mode 100644 > meta-python/recipes-devtools/python/python-automat.inc > create mode 100644 > meta-python/recipes-devtools/python/python-automat_0.6.0.bb > <http://python-automat_0.6.0.bb> > create mode 100644 > meta-python/recipes-devtools/python/python3-automat_0.6.0.bb > <http://python3-automat_0.6.0.bb> > > diff --git > a/meta-python/recipes-devtools/python/python-automat.inc > b/meta-python/recipes-devtools/python/python-automat.inc > new file mode 100644 > index 0000000..1ac5d3b > --- /dev/null > +++ b/meta-python/recipes-devtools/python/python-automat.inc > @@ -0,0 +1,16 @@ > +DESCRIPTION = "Self-service finite-state machines for the > programmer on the go" > +HOMEPAGE = "https://github.com/glyph/Automat > <https://github.com/glyph/Automat>" > +LICENSE = "MIT" > +LIC_FILES_CHKSUM = > "file://LICENSE;md5=4ad213bcca81688e94593e5f60c87477" > + > +SRC_URI[md5sum] = "ad7bba58d262d8956d732330cb5ef53d" > +SRC_URI[sha256sum] = > "3c1fd04ecf08ac87b4dd3feae409542e9bf7827257097b2b6ed5692f69d6f6a8" > + > +PYPI_PACKAGE = "Automat" > + > +inherit pypi > + > +RDEPENDS_${PN} += "\ > + ${PYTHON_PN}-attrs \ > + ${PYTHON_PN}-six \ > +" > diff --git > a/meta-python/recipes-devtools/python/python-automat_0.6.0.bb > <http://python-automat_0.6.0.bb> > b/meta-python/recipes-devtools/python/python-automat_0.6.0.bb > <http://python-automat_0.6.0.bb> > new file mode 100644 > index 0000000..8ac8c9c > --- /dev/null > +++ > b/meta-python/recipes-devtools/python/python-automat_0.6.0.bb > <http://python-automat_0.6.0.bb> > @@ -0,0 +1,2 @@ > +inherit setuptools > +require python-automat.inc > diff --git > a/meta-python/recipes-devtools/python/python3-automat_0.6.0.bb > <http://python3-automat_0.6.0.bb> > b/meta-python/recipes-devtools/python/python3-automat_0.6.0.bb > <http://python3-automat_0.6.0.bb> > new file mode 100644 > index 0000000..0469e61 > --- /dev/null > +++ > b/meta-python/recipes-devtools/python/python3-automat_0.6.0.bb > <http://python3-automat_0.6.0.bb> > @@ -0,0 +1,4 @@ > +inherit setuptools3 > +require python-automat.inc > + > +RDEPENDS_${PN} += "${PYTHON_PN}-enum " > > > ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [meta-python][PATCH] python-automat: add an initial recipe for version 0.6.0 2017-12-26 1:46 ` ChenQi @ 2017-12-26 1:46 ` Derek Straka 0 siblings, 0 replies; 5+ messages in thread From: Derek Straka @ 2017-12-26 1:46 UTC (permalink / raw) To: ChenQi; +Cc: openembeded-devel Great. I'll submit to rocko in the morning unless you want to do it. Thanks for validating. On Dec 25, 2017 8:44 PM, "ChenQi" <Qi.Chen@windriver.com> wrote: > On 12/22/2017 10:18 PM, Derek Straka wrote: > > Chen, > > Thanks for bringing this up. Take a look here to see if this proposed > patchset fixes your issue: http://lists.openembedded.org/ > pipermail/openembedded-devel/2017-December/116094.html. > > -Derek > > > Derek, > > Thanks! > Your patch works. > > Best Regards, > Chen Qi > > On Fri, Dec 22, 2017 at 4:54 AM, ChenQi <Qi.Chen@windriver.com> wrote: > >> Hi Derek, >> >> I noticed in Automat's setup.py script: >> >> setup_requires=[ >> 'setuptools-scm', >> 'm2r', >> ], >> install_requires=[ >> "attrs", >> "six", >> ], >> >> Now the installed_requires entry is handled by the RDEPENDS meta data in >> recipe. >> How about the setup_requires entry? Do you know how to handle it in >> recipe? >> >> I'm asking this because when I build python-automat on my host, I met >> do_compile error because of being able to download the m2r and >> setuptools-scm. >> >> Ideally, we should be able to compile a recipe out without reaching out >> to the Internet, as long as the recipe's tarball is available in the DL_DIR. >> >> Best Regards, >> Chen Qi >> >> >> On 11/02/2017 12:41 AM, Derek Straka wrote: >> >>> Signed-off-by: Derek Straka <derek@asterius.io> >>> --- >>> meta-python/recipes-devtools/python/python-automat.inc | 16 >>> ++++++++++++++++ >>> .../recipes-devtools/python/python-automat_0.6.0.bb | 2 ++ >>> .../recipes-devtools/python/python3-automat_0.6.0.bb | 4 ++++ >>> 3 files changed, 22 insertions(+) >>> create mode 100644 meta-python/recipes-devtools/p >>> ython/python-automat.inc >>> create mode 100644 meta-python/recipes-devtools/python/ >>> python-automat_0.6.0.bb >>> create mode 100644 meta-python/recipes-devtools/python/ >>> python3-automat_0.6.0.bb >>> >>> diff --git a/meta-python/recipes-devtools/python/python-automat.inc >>> b/meta-python/recipes-devtools/python/python-automat.inc >>> new file mode 100644 >>> index 0000000..1ac5d3b >>> --- /dev/null >>> +++ b/meta-python/recipes-devtools/python/python-automat.inc >>> @@ -0,0 +1,16 @@ >>> +DESCRIPTION = "Self-service finite-state machines for the programmer on >>> the go" >>> +HOMEPAGE = "https://github.com/glyph/Automat" >>> +LICENSE = "MIT" >>> +LIC_FILES_CHKSUM = "file://LICENSE;md5=4ad213bcca >>> 81688e94593e5f60c87477" >>> + >>> +SRC_URI[md5sum] = "ad7bba58d262d8956d732330cb5ef53d" >>> +SRC_URI[sha256sum] = "3c1fd04ecf08ac87b4dd3feae4095 >>> 42e9bf7827257097b2b6ed5692f69d6f6a8" >>> + >>> +PYPI_PACKAGE = "Automat" >>> + >>> +inherit pypi >>> + >>> +RDEPENDS_${PN} += "\ >>> + ${PYTHON_PN}-attrs \ >>> + ${PYTHON_PN}-six \ >>> +" >>> diff --git a/meta-python/recipes-devtools/python/python-automat_0.6.0.bb >>> b/meta-python/recipes-devtools/python/python-automat_0.6.0.bb >>> new file mode 100644 >>> index 0000000..8ac8c9c >>> --- /dev/null >>> +++ b/meta-python/recipes-devtools/python/python-automat_0.6.0.bb >>> @@ -0,0 +1,2 @@ >>> +inherit setuptools >>> +require python-automat.inc >>> diff --git a/meta-python/recipes-devtools/python/python3-automat_0.6.0. >>> bb b/meta-python/recipes-devtools/python/python3-automat_0.6.0.bb >>> new file mode 100644 >>> index 0000000..0469e61 >>> --- /dev/null >>> +++ b/meta-python/recipes-devtools/python/python3-automat_0.6.0.bb >>> @@ -0,0 +1,4 @@ >>> +inherit setuptools3 >>> +require python-automat.inc >>> + >>> +RDEPENDS_${PN} += "${PYTHON_PN}-enum " >>> >> >> > > ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2017-12-26 1:46 UTC | newest] Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2017-11-01 16:41 [meta-python][PATCH] python-automat: add an initial recipe for version 0.6.0 Derek Straka 2017-12-22 9:54 ` ChenQi 2017-12-22 14:18 ` Derek Straka 2017-12-26 1:46 ` ChenQi 2017-12-26 1:46 ` Derek Straka
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.