Hi Maxim,

I was missing python setuptools on my host. After installing it, I can add the package. Also, the added package is available in menuconfig

Thank you for the support!

On Thu, 9 Feb 2023 at 10:10, Maxim Kochetkov <fido_max@inbox.ru> wrote:


On 09.02.2023 12:03, Sourabh Hegde wrote:
> Hello Maxim,
>
> Update:
>
> The above issue resolved by itself!
>
> Now when I do: utils/scanpypi awscrt -o package , it says
>
> spdx_lookup module is not installed. This can lead to an inaccurate
> licence detection. Please install it via
> pip install spdx_lookup
> buildroot package name for awscrt: python-awscrt
> Package: python-awscrt
> Fetching package awscrt
> ERROR: Could not find package awscrt.
> Check syntax inside the python package index:
> https://pypi.python.org/pypi/ <https://pypi.python.org/pypi/>
>
> But the package is available at https://pypi.org/project/awscrt/
> <https://pypi.org/project/awscrt/>

It works fine for me:

buildroot package name for awscrt: python-awscrt
Package: python-awscrt
Fetching package awscrt
Downloading package awscrt from
https://files.pythonhosted.org/packages/ae/98/dda092078f2d47bad08e184ab9d364b8f89166497062bc1cf811c0bbbde2/awscrt-0.16.10.tar.gz...
Checking if package package/python-awscrt already exists...
Creating package/python-awscrt/python-awscrt.mk...
More than one file found for license: LICENSE, crt/aws-c-common/LICENSE,
crt/aws-c-io/LICENSE, crt/aws-lc/LICENSE,
crt/aws-lc/third_party/fiat/LICENSE, crt/aws-c-mqtt/LICENSE,
crt/aws-checksums/LICENSE, crt/aws-c-s3/LICENSE,
crt/aws-c-compression/LICENSE, crt/aws-c-http/LICENSE,
crt/aws-c-sdkutils/LICENSE, crt/s2n/LICENSE, crt/aws-c-cal/LICENSE,
crt/aws-c-auth/LICENSE, crt/aws-c-event-stream/LICENSE
Creating package/python-awscrt/python-awscrt.hash...
Creating package/python-awscrt/Config.in...
NOTE: Remember to also make an update to the DEVELOPERS file
       and include an entry for the pkg in packages/Config.in