[Buildroot] [PATCH 1/1] PyMySQL: new package

Arnout Vandecappelle arnout at mind.be
Tue Apr 5 07:40:26 UTC 2016



On 04/04/16 23:41, Steve Calfee wrote:
> Hi, Arnout, thanks for your time, see below.
>
> On Mon, Apr 4, 2016 at 2:17 PM, Arnout Vandecappelle <arnout at mind.be> wrote:
>> On 03/28/16 22:37, Steve Calfee wrote:
[snip]
>>> diff --git a/package/python-pymysql/Config.in
>>> b/package/python-pymysql/Config.in
>>> new file mode 100644
>>> index 0000000..a6de53d
>>> --- /dev/null
>>> +++ b/package/python-pymysql/Config.in
>>> @@ -0,0 +1,7 @@
>>> +config BR2_PACKAGE_PYTHON_PYMYSQL
>>> +       bool "python-pymysql"
>>> +       depends on BR2_PACKAGE_PYTHON
>>
>>
>>   Why? According to the website it supports python3 >= 3.3.
>
> What should I use, or in other words, what is the depends on for
> either python 2 or python 3? I use and have tested it in python 2.7...

  Nothing at all. package/Config.in already expresses the dependency on python 
|| python3. Look at any other python package, you'll only see a dependency on 
python or python3 if it doesn't work on the other one.

  Ideally you should also (build) test it with python3, but if you don't, the 
autobuilders will.

  Regards,
  Arnout

-- 
Arnout Vandecappelle      arnout dot vandecappelle at essensium dot com
Senior Embedded Software Architect . . . . . . +32-478-010353 (mobile)
Essensium, Mind division . . . . . . . . . . . . . . http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium . . . . . BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF




More information about the buildroot mailing list