[Buildroot] [PATCH] python-smbus-cffi: new package

Yegor Yefremov yegorslists at googlemail.com
Fri Jan 1 09:21:57 UTC 2016


Hi Baruch,

On Fri, Jan 1, 2016 at 6:27 AM, Baruch Siach <baruch at tkos.co.il> wrote:
> Hi Yegor,
>
> On Thu, Dec 31, 2015 at 11:08:30PM +0100, Yegor Yefremov wrote:
>> +config BR2_PACKAGE_PYTHON_SMBUS_CFFI
>> +     bool "python-smbus-cffi"
>> +     select BR2_PACKAGE_PYTHON_CFFI
>
> You don't add python-cffi to <pkg>_DEPENDENCIES below. Is this a run-time
> dependency? If so please add a comment to clarify that.

Yes, python-cffi is a run-time dependency and host-python-cffi is a
build-time dependency. I'll send v2.

> [snip]
>
>> +PYTHON_SMBUS_CFFI_VERSION = 0.5.1
>> +PYTHON_SMBUS_CFFI_SOURCE = smbus-cffi-$(PYTHON_SMBUS_CFFI_VERSION).tar.gz
>> +PYTHON_SMBUS_CFFI_SITE = https://pypi.python.org/packages/source/s/smbus-cffi
>> +PYTHON_SMBUS_CFFI_SETUP_TYPE = setuptools
>> +PYTHON_SMBUS_CFFI_LICENSE = GPLv2+
>> +PYTHON_SMBUS_CFFI_LICENSE_FILES = LICENSE
>> +PYTHON_SMBUS_CFFI_DEPENDENCIES = host-python-cffi
>> +
>> +$(eval $(python-package))
>
> baruch
>
> --
>      http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
> =}------------------------------------------------ooO--U--Ooo------------{=
>    - baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -



More information about the buildroot mailing list