[Buildroot] scanpypi package error adadfruit-ads1x15

Yegor Yefremov yegorslists at googlemail.com
Tue Jan 30 07:47:35 UTC 2018


On Tue, Jan 30, 2018 at 2:31 AM, Jesse Cobra <jessecobra at gmail.com> wrote:
> For some reason I had to apply the last chunk of the patch myself but this
> fixed my issue completely.
>
> Thank you so much for providing a fix.

Great. Then we are waiting for your patches.

Yegor

> On Jan 26, 2018 5:35 AM, "Yegor Yefremov" <yegorslists at googlemail.com>
> wrote:
>>
>> On Fri, Jan 26, 2018 at 1:48 PM, Yegor Yefremov
>> <yegorslists at googlemail.com> wrote:
>> > Hi Jesse,
>> >
>> > On Fri, Jan 26, 2018 at 5:21 AM, Jesse Cobra <jessecobra at gmail.com>
>> > wrote:
>> >> Made my own package by hand and it worked! Oh well...
>> >>
>> >> cat buildroot/package/python-ads1x15/*
>> >> config BR2_PACKAGE_PYTHON_ADS1X15
>> >
>> > This package depends on Adafruit-GPIO, so please add this package
>> > first and select it via select statement.
>> >
>> >>     bool "python-ADS1X15"
>> >>     help
>> >>       encoder, decoder, and lint/validator for JSON (JavaScript Object
>> >>       Notation) compliant with RFC 7159.
>> >
>> > Project URL is missing.
>> >
>> >>
>> >> ################################################################################
>> >> #
>> >> # python-ads1x15
>> >> #
>> >>
>> >> ################################################################################
>> >>
>> >> PYTHON_ADS1X15_VERSION = 1.0.2
>> >> PYTHON_ADS1X15_SOURCE =
>> >> Adafruit_ADS1x15-$(PYTHON_ADS1X15_VERSION).tar.gz
>> >> PYTHON_ADS1X15_SITE =
>> >>
>> >> https://pypi.python.org/packages/14/e8/c9935e32f61e6562abea08cb704fcbfbb78b39bd1d20bb9b12eb4c2c820c
>> >> PYTHON_ADS1X15_SETUP_TYPE = setuptools
>> >> PYTHON_ADS1X15_LICENSE = GNU Library or Lesser General Public License
>> >> (LGPL)
>> >
>> > please us SPDX short names for the licence type.
>> >
>> >> PYTHON_ADS1X15_LICENSE_FILES = LICENSE.txt
>> >>
>> >> $(eval $(python-package))
>> >>
>> >>
>> >> On Fri, Jan 26, 2018 at 1:27 AM, Jesse Cobra <jessecobra at gmail.com>
>> >> wrote:
>> >>>
>> >>> building for pi zero w on ubuntu 14.04 32 bit buildroot 2017.02.9
>> >>>
>> >>> utils/scanpypi adafruit-ads1x15 -o package
>> >>> buildroot package name for adafruit-ads1x15: python-adafruit-ads1x15
>> >>> Package: python-adafruit-ads1x15
>> >>> Fetching package adafruit-ads1x15
>> >>> Downloading package adafruit-ads1x15 from
>> >>>
>> >>> https://pypi.python.org/packages/14/e8/c9935e32f61e6562abea08cb704fcbfbb78b39bd1d20bb9b12eb4c2c820c/Adafruit_ADS1x15-1.0.2.tar.gz...
>> >>> Traceback (most recent call last):
>> >>>   File "utils/scanpypi", line 653, in <module>
>> >>>     main()
>> >>>   File "utils/scanpypi", line 604, in main
>> >>>     package.load_setup()
>> >>>   File "utils/scanpypi", line 247, in load_setup
>> >>>     os.chdir(self.tmp_extract)
>> >>> OSError: [Errno 2] No such file or directory:
>> >>> '/tmp/scanpypi-wzvU4f/python-adafruit-ads1x15/Adafruit-ADS1x15-1.0.2'
>> >>>
>> >>> Anyone point me in the right direction?
>> >
>> > The package is very strange. First tar name (Adafruit_ADS1x15) and
>> > meta name (Adafruit-ADS1x15) are different. Even if I fix this then
>> > there are issues with setup.py. I'll have to dig deeper.
>>
>> Please apply this patch [1] and try to add adafruit-ads1x15 again.
>>
>> [1] http://patchwork.ozlabs.org/patch/866316/
>>
>> Regards,
>> Yegor


More information about the buildroot mailing list