All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] scanpypi package error adadfruit-ads1x15
@ 2018-01-26  1:27 Jesse Cobra
  2018-01-26  4:21 ` Jesse Cobra
  0 siblings, 1 reply; 6+ messages in thread
From: Jesse Cobra @ 2018-01-26  1:27 UTC (permalink / raw)
  To: buildroot

building for pi zero w on ubuntu 14.04 32 bit buildroot 2017.02.9
<https://github.com/jumpnow/buildroot/commit/7da7a1f96f69b3dcd52af1d33d2b260d53af6bc3>

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?

Regards,
Jesse
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20180126/dd316be1/attachment.html>

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Buildroot] scanpypi package error adadfruit-ads1x15
  2018-01-26  1:27 [Buildroot] scanpypi package error adadfruit-ads1x15 Jesse Cobra
@ 2018-01-26  4:21 ` Jesse Cobra
  2018-01-26 12:48   ` Yegor Yefremov
  0 siblings, 1 reply; 6+ messages in thread
From: Jesse Cobra @ 2018-01-26  4:21 UTC (permalink / raw)
  To: buildroot

Made my own package by hand and it worked! Oh well...

cat buildroot/package/python-ads1x15/*
config BR2_PACKAGE_PYTHON_ADS1X15
    bool "python-ADS1X15"
    help
      encoder, decoder, and lint/validator for JSON (JavaScript Object
      Notation) compliant with RFC 7159.

################################################################################
#
# 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)
PYTHON_ADS1X15_LICENSE_FILES = LICENSE.txt

$(eval $(python-package))


On Fri, Jan 26, 2018 at 1:27 AM, Jesse Cobra <jessecobra@gmail.com> wrote:

> building for pi zero w on ubuntu 14.04 32 bit buildroot 2017.02.9
> <https://github.com/jumpnow/buildroot/commit/7da7a1f96f69b3dcd52af1d33d2b260d53af6bc3>
>
> 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/c9935e32f61e6562abea08cb704fcb
> fbb78b39bd1d20bb9b12eb4c2c820c/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?
>
> Regards,
> Jesse
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20180126/61b3416a/attachment.html>

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Buildroot] scanpypi package error adadfruit-ads1x15
  2018-01-26  4:21 ` Jesse Cobra
@ 2018-01-26 12:48   ` Yegor Yefremov
  2018-01-26 13:35     ` Yegor Yefremov
  0 siblings, 1 reply; 6+ messages in thread
From: Yegor Yefremov @ 2018-01-26 12:48 UTC (permalink / raw)
  To: buildroot

Hi Jesse,

On Fri, Jan 26, 2018 at 5:21 AM, Jesse Cobra <jessecobra@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@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.

Yegor

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Buildroot] scanpypi package error adadfruit-ads1x15
  2018-01-26 12:48   ` Yegor Yefremov
@ 2018-01-26 13:35     ` Yegor Yefremov
  2018-01-30  1:31       ` Jesse Cobra
  0 siblings, 1 reply; 6+ messages in thread
From: Yegor Yefremov @ 2018-01-26 13:35 UTC (permalink / raw)
  To: buildroot

On Fri, Jan 26, 2018 at 1:48 PM, Yegor Yefremov
<yegorslists@googlemail.com> wrote:
> Hi Jesse,
>
> On Fri, Jan 26, 2018 at 5:21 AM, Jesse Cobra <jessecobra@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@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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Buildroot] scanpypi package error adadfruit-ads1x15
  2018-01-26 13:35     ` Yegor Yefremov
@ 2018-01-30  1:31       ` Jesse Cobra
  2018-01-30  7:47         ` Yegor Yefremov
  0 siblings, 1 reply; 6+ messages in thread
From: Jesse Cobra @ 2018-01-30  1:31 UTC (permalink / raw)
  To: buildroot

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.

On Jan 26, 2018 5:35 AM, "Yegor Yefremov" <yegorslists@googlemail.com>
wrote:

> On Fri, Jan 26, 2018 at 1:48 PM, Yegor Yefremov
> <yegorslists@googlemail.com> wrote:
> > Hi Jesse,
> >
> > On Fri, Jan 26, 2018 at 5:21 AM, Jesse Cobra <jessecobra@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/c9935e32f61e6562abea08cb704fcb
> fbb78b39bd1d20bb9b12eb4c2c820c
> >> 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@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/c9935e32f61e6562abea08cb704fcb
> fbb78b39bd1d20bb9b12eb4c2c820c/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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20180129/f99dd002/attachment.html>

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Buildroot] scanpypi package error adadfruit-ads1x15
  2018-01-30  1:31       ` Jesse Cobra
@ 2018-01-30  7:47         ` Yegor Yefremov
  0 siblings, 0 replies; 6+ messages in thread
From: Yegor Yefremov @ 2018-01-30  7:47 UTC (permalink / raw)
  To: buildroot

On Tue, Jan 30, 2018 at 2:31 AM, Jesse Cobra <jessecobra@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@googlemail.com>
> wrote:
>>
>> On Fri, Jan 26, 2018 at 1:48 PM, Yegor Yefremov
>> <yegorslists@googlemail.com> wrote:
>> > Hi Jesse,
>> >
>> > On Fri, Jan 26, 2018 at 5:21 AM, Jesse Cobra <jessecobra@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@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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2018-01-30  7:47 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-26  1:27 [Buildroot] scanpypi package error adadfruit-ads1x15 Jesse Cobra
2018-01-26  4:21 ` Jesse Cobra
2018-01-26 12:48   ` Yegor Yefremov
2018-01-26 13:35     ` Yegor Yefremov
2018-01-30  1:31       ` Jesse Cobra
2018-01-30  7:47         ` Yegor Yefremov

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.