[oe] [meta-python][PATCH v2 5/5] python-setuptools-scm: Add python-setuptools-scm bb

Derek Straka derek at asterius.io
Mon Jul 11 12:41:46 UTC 2016


Could you use PYPI_PACKAGE = "setuptools_scm" to override the default pypi
package name?

On Mon, Jul 11, 2016 at 5:23 AM, Yu, Mingli <mingli.yu at windriver.com> wrote:

>
>
> On 2016年07月09日 01:09, Tim Orling wrote:
>
>> Built ok for beaglebone.
>>
>> NOTE: SRC_URI probably not required with Derek's pypi.bbclass patch
>> https://patchwork.openembedded.org/patch/125551/ but I did not test for
>> that.
>>
> We still need this SRC_URI as we do translation for the package
> python-setuptools-scm as the previous packages name as
> python-setuptools_scm which includes underline, but the package name part
> can't include underline for a recipe name.
>
> Thanks,
> Grace
>
>>
>>
>> Acked-by: Tim Orling (Intel OpenSource Technology Center) <
>> ticotimo at gmail.com>
>>
>> On Mon, Jul 4, 2016 at 1:06 AM, <mingli.yu at windriver.com> wrote:
>>
>> From: Mingli Yu <mingli.yu at windriver.com>
>>>
>>> * Add python-setuptools-scm bb as python-pytest-runner depends
>>>    on python-setuptools-scm
>>>
>>> Signed-off-by: Mingli Yu <mingli.yu at windriver.com>
>>> ---
>>>   .../python/python-setuptools-scm_1.11.1.bb             | 18
>>> ++++++++++++++++++
>>>   1 file changed, 18 insertions(+)
>>>   create mode 100644 meta-python/recipes-devtools/python/
>>> python-setuptools-scm_1.11.1.bb
>>>
>>> diff --git a/meta-python/recipes-devtools/python/
>>> python-setuptools-scm_1.11.1.bb b/meta-python/recipes-devtools/python/
>>> python-setuptools-scm_1.11.1.bb
>>> new file mode 100644
>>> index 0000000..2a3b97d
>>> --- /dev/null
>>> +++ b/meta-python/recipes-devtools/python/
>>> python-setuptools-scm_1.11.1.bb
>>> @@ -0,0 +1,18 @@
>>> +SUMMARY = "the blessed package to manage your versions by scm tags"
>>> +LICENSE = "MIT"
>>> +LIC_FILES_CHKSUM = "file://LICENSE;md5=838c366f69b72c5df05c96dff79b35f2"
>>> +
>>> +inherit pypi setuptools
>>> +
>>> +SRCNAME = "setuptools_scm"
>>> +
>>> +SRC_URI = "
>>>
>>> https://pypi.python.org/packages/84/aa/c693b5d41da513fed3f0ee27f1bf02a303caa75bbdfa5c8cc233a1d778c4/${SRCNAME}-${PV}.tar.gz
>>> "
>>> +
>>> +SRC_URI[md5sum] = "4d19b2bc9580016d991f665ac20e2e8f"
>>> +SRC_URI[sha256sum] =
>>> "8c45f738a23410c5276b0ed9294af607f491e4260589f1eb90df8312e23819bf"
>>> +
>>> +S = "${WORKDIR}/${SRCNAME}-${PV}"
>>> +
>>> +RDEPENDS_${PN} = "python-py python-setuptools python-argparse
>>> python-debugger python-json"
>>> +
>>> +
>>> --
>>> 2.8.1
>>>
>>> --
>>> _______________________________________________
>>> Openembedded-devel mailing list
>>> Openembedded-devel at lists.openembedded.org
>>> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>>>
>>> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>



More information about the Openembedded-devel mailing list