Commit Graph
100 Commits
Author SHA1 Message Date
Tim Orling f8d66f3174 python3-yappi: upgrade 1.4.0 -> 1.6.0; fix ptests
* Switch to the python_setuptools_build_meta PEP-517 backend
* Refactor and submit 0001-Fix-imports-for-ptests.patch
  - split out the Windows -> Unix line endings conversion
  - https://github.com/sumerc/yappi/pull/164
* Drop 0002-add-3.11-to-the-setup.patch; upstream added 3.11 and 3.12
* Drop install of yappi.py in ptest; use site-packages as intended
* Drop complex run-ptest and simply run 'pytest --automake'
* Move out of "problems" group to "slow" group in ptest-packageslists-meta-python.inc
  - can now build meta-python-image-ptest-python3-yappi
  - tests take about 45 seconds

https://github.com/sumerc/yappi/blob/1.6.0/CHANGELOG

1.6.0 (2023-12-07)

- Drop support 2.7-3.5 and clean backward compatible code (pull/152)
- Add Python 3.12 wheels

1.5.1 (2023-12-06)

- Add support for Python 3.12
- Fix child callgrind functions disappear

Signed-off-by: Tim Orling <ticotimo@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-12-29 09:04:23 -08:00
Tim Orling 1872badd73 python3-pydantic: enable ptest
* Add to ptest-packelists-meta-python.inc "FAST" under 30 s

Signed-off-by: Tim Orling <ticotimo@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-12-21 08:00:42 -08:00
Tim Orling b48af247b8 python3-cloudpickle: add v3.0.0
Dependency for python3-pydantic ptests.

"""
cloudpickle makes it possible to serialize Python constructs not
supported by the default pickle module from the Python standard
library.

cloudpickle is especially useful for cluster computing where Python
code is shipped over the network to execute on remote hosts, possibly
close to the data.
"""

Signed-off-by: Tim Orling <ticotimo@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-12-21 08:00:42 -08:00
Tim Orling 446124784b python3-pydantic-core: enable ptest
* Add to ptest-packagelists-meta-python.inc "FAST" under 30 seconds

Signed-off-by: Tim Orling <ticotimo@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-12-21 08:00:42 -08:00
Tim Orling e592a8ce9a python3-dirty-equals: add v0.7.1
Dependency for python3-pydantic-core ptests.

"""
dirty-equals is a python library that (mis)uses the __eq__ method to make
python code (generally unit tests) more declarative and therefore easier
to read and write.

dirty-equals can be used in whatever context you like, but it comes into
its own when writing unit tests for applications where you're commonly
checking the response to API calls and the contents of a database.

Signed-off-by: Tim Orling <ticotimo@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-12-21 08:00:41 -08:00
Tim Orling 537a9e24c6 python3-pydantic: fix RDEPENDS
* Newer python3-pydantic offloaded some of its code to python3-pydantic-core
* Add python3-annotated-types to RDEPENDS.
* Add DESCRIPTION and trim SUMMARY.

Signed-off-by: Tim Orling <ticotimo@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-12-21 08:00:41 -08:00
Tim Orling 0b1b5efeb5 python3-annotated-types: add v0.6.0
Run-time dependency for python3-pydantic

"""
PEP-593 added typing.Annotated as a way of adding context-specific
metadata to existing types, and specifies that Annotated[T, x] should
be treated as T by any tool or library without special logic for x.

This package provides metadata objects which can be used to represent
common constraints such as upper and lower bounds on scalar values and
collection sizes, a Predicate marker for runtime checks, and descriptions
of how we intend these metadata to be interpreted. In some cases, we also
note alternative representations which do not require this package.
"""

References:
https://peps.python.org/pep-0593/

Signed-off-by: Tim Orling <ticotimo@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-12-21 08:00:41 -08:00
Tim Orling e67a62b44c python3-pydantic-core: add v2.14.5
Runtime dependency for current python3-pydantic

This package provides the core functionality for pydantic validation and serialization.

Pydantic-core is currently around 17x faster than pydantic V1. See tests/benchmarks/ for details.
https://github.com/pydantic/pydantic-core/tree/v2.14.5/tests/benchmarks

Signed-off-by: Tim Orling <ticotimo@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-12-21 08:00:41 -08:00
Tim Orling 405264645c debsums: remove old recipe
The debsums recipe has not been substantially touched since 2020
when it was moved to dynamic-layers.

In meta-openembedded ecosystem, it is the only known recipe that
depends on po4a, which is being removed in a separate commit.

According to the layerindex, no known recipes depend on debsums:
https://layers.openembedded.org/layerindex/branch/master/recipes/?q=depends%3Adebsums

Signed-off-by: Tim Orling <ticotimo@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-10-18 20:24:12 -07:00
Tim Orling 194f6cd864 po4a: remove old recipe
po4a has been failing AUH upgrades for a long time now.
The latest attempt to get ptests working for it can be found at:
https://git.openembedded.org/meta-openembedded-contrib/log/?h=timo/po4a_0.69%2bptest

If you care about this recipe, please continue the effort above and get ptests functional.

According to the layerindex, the po4a recipe is not depended upon by any other known recipes:
https://layers.openembedded.org/layerindex/branch/master/recipes/?q=depends%3Apo4a

(debsums in meta-oe dynamic-layers will be removed in another commit)

Signed-off-by: Tim Orling <ticotimo@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-10-18 20:24:12 -07:00
Tim Orling 8d353c0491 libmodule-build-tiny-perl: upgrade 0.045 -> 0.046
* Drop redundant do_install
* Use four spaces for indent in RDEPENDS
* RDEPENDS:
  - += not =
  - sort alphabetically
  - Add perl-module-perl-ostype
  - Add perl-module-extutils-cbuilder-base
  - Replace perl-module-ipc-open3 with -ipc-cmd
  - Add perl-module-metadata
  - Add perl-module-parse-cpan-meta
  - Add perl-module-extutils-install
  - Add perl-module-encode-encoding
* Enable ptest
* RDEPENDS for ptest:
  - Add perl-module-ipc-open2
  - Add perl-module-blib
  - Add packagegroup-core-buildessential
  - Add perl-dev (for "EXTERN.h")
* INSANE_SKIP dev-deps for -ptest

0.046 2023-06-01 19:31:21+02:00 Europe/Amsterdam
      - Add src/ to include paths

License-Update: Updated Artistic-1.0 (Perl) text

Signed-off-by: Tim Orling <ticotimo@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-08-08 20:32:03 -07:00
Tim Orling cd97171f02 python3-argh: upgrade 0.26.2 -> 0.28.1
* Switch inherit from setuptools3 to python_flit_core
* Correct SUMMARY
* Add DESCRIPTION
* Add python3-argcomplete to RDEPENDS (found with poky/scripts/pythondeps)

https://github.com/neithere/argh/blob/v0.28.1/CHANGES

License-Update: use COPYING.LESSER, change to LGPL-3.0-or-later

NOTE: Includes COPYING which is GPL-3.0 but README clearly states LGPL-3.0-or-later
https://github.com/neithere/argh/blob/v0.28.1/README.rst#licensing

Signed-off-by: Tim Orling <ticotimo@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-07-09 19:27:00 -07:00
Tim Orling 90589558e9 meta-perl-ptest*-image: enable BBCLASSEXTEND parallel execution
Similar to "core-image-ptest: Switch to BBCLASSEXTEND parallel execution"

Refactor meta-perl-ptest-image.bb for an image per ptest in the form of
meta-perl-ptest-image-XXX using class extensions.

* Add meta-perl-ptest-all-image.bb depends on ALL meta-perl-ptest-image-XXX in meta-perl
* Add meta-perl-ptest-fast-image.bb depends on meta-perl ptests which take less than ~30s

This allows parallel execution of the tests.

The downside to this approach is the parsing time of an image generating
this number of class extensions is slow but making it easier to execute
and collect test data should outweigh that.

A useful advantage is that the dependencies of each ptest package are
checked/tested individually.

Add to local.conf:
IMAGE_CLASSES += "testimage"

All the meta-perl-ptest-image-XXX can be built with:
$ bitbake meta-perl-ptest-all-image

Subsequently, all the ptest images can be run with:
$ bitbake -c testimage meta-perl-ptest-all-image

You will likely want to limit the number of parallel image tests:

BB_NUMBER_THREADS = "4"

based on the number of TAP devices you have defined or the number of simultaneous
QEMU sessions your server can support.

Results can be summarized with:

$ resulttool report tmp/log/oeqa/testresults.json

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-04-04 13:39:46 -07:00
Tim Orling fdc87348a0 recipes-perl/images: move to recipes-core
Be consistent with other layers like oe-core, meta-oe and meta-python

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-04-04 13:39:46 -07:00
Tim Orling 480985d35e recipes-perl/packagegroups: move to recipes-core/
Be consistent with other layers, like oe-core, meta-oe and meta-python

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-04-04 13:39:46 -07:00
Tim Orling 99972beb1d ptest-packagelists-meta-perl.inc: add ptest recipes
Similar to ptest-packagelists.inc in oe-core, this list enables
per image ptest (isolated ptests for a given recipe)

* Add recipes to PTEST_FAST_META_PERL for ptests which take less than ~30s
* Add recipes to PTEST_SLOW_META_PERL for ptests which take longer
* Add recipes to PTEST_PROBLEMS_META_PERL for ptests which have failing tests
  or other issues with ptest package

The initial list was taken from:

meta_perl_ptest_recipes=$(bitbake-layers show-recipes --recipes-only \
    --layer meta-perl --inherits ptest --bare | tr '\n' ' ' | \
    pcregrep -o1 '^NOTE:.+===(.+)$')

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-04-04 13:39:46 -07:00
Tim Orling c09cc8ddde python3-aspectlib: fix ptest
* ptest RDEPENDS on pytest
* Use python3-unittest-automake-output instead of using sed to reformat
  the output use this new module.

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-04-04 13:39:45 -07:00
Tim Orling 80e9601cc8 meta-python-ptest*-image: enable BBCLASSEXTEND parallel execution
Similar to "core-image-ptest: Switch to BBCLASSEXTEND parallel execution"

Refactor meta-python-ptest-image.bb for an image per ptest in the form of
meta-python-ptest-image-XXX using class extensions.

* Add meta-python-ptest-all-image.bb depends on ALL meta-python-ptest-image-XXX in meta-python
* Add meta-python-ptest-fast-image.bb depends on meta-python ptests which take less than ~30s

This allows parallel execution of the tests.

The downside to this approach is the parsing time of an image generating
this number of class extensions is slow but making it easier to execute
and collect test data should outweigh that.

A useful advantage is that the dependencies of each ptest package are
checked/tested individually.

Add to local.conf:
IMAGE_CLASSES += "testimage"

All the meta-python-ptest-image-XXX can be built with:
$ bitbake meta-python-ptest-all-image

Subsequently, all the ptest images can be run with:
$ bitbake -c testimage meta-python-ptest-all-image

You will likely want to limit the number of parallel image tests:

BB_NUMBER_THREADS = "4"

based on the number of TAP devices you have defined or the number of simultaneous
QEMU sessions your server can support.

Results can be summarized with:

$ resulttool report tmp/log/oeqa/testresults.json

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-04-04 13:39:45 -07:00
Tim Orling 69d921a342 ptest-packagelists-meta-python.inc: add ptest recipes
Similar to ptest-packagelists.inc in oe-core, this list enables
per image ptest (isolated ptests for a given recipe)

* Add recipes to PTEST_FAST_META_PYTHON for ptests which take less than ~30s
* Add recipes to PTEST_SLOW_META_PYTHON for ptests which take longer
* Add recipes to PTEST_PROBLEMS_META_PYTHON for ptests which have failing tests
  or other issues with ptest package

The initial list was taken from:

meta_python_ptest_recipes=$(bitbake-layers show-recipes --recipes-only \
      --layer meta-python --inherits ptest --bare | tr '\n' ' ' | \
      pcregrep -o1 '^NOTE:.+===(.+)$')

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-04-04 13:39:45 -07:00
Tim Orling ec3760af48 meta-oe-ptest*-image: enable BBCLASSEXTEND parallel execution
Similar to "core-image-ptest: Switch to BBCLASSEXTEND parallel execution"

Refactor meta-oe-ptest-image.bb for an image per ptest in the form of
meta-oe-ptest-image-XXX using class extensions.

* Add meta-oe-ptest-all-image.bb depends on ALL meta-oe-ptest-image-XXX in meta-oe
* Add meta-oe-ptest-fast-image.bb depends on meta-oe ptests which take less than ~30s

This allows parallel execution of the tests.

The downside to this approach is the parsing time of an image generating
this number of class extensions is slow but making it easier to execute
and collect test data should outweigh that.

A useful advantage is that the dependencies of each ptest package are
checked/tested individually.

Add to local.conf:
IMAGE_CLASSES += "testimage"

All the meta-oe-ptest-image-XXX can be built with:
$ bitbake meta-oe-ptest-all-image

Subsequently, all the ptest images can be run with:
$ bitbake -c testimage meta-oe-ptest-all-image

You will likely want to limit the number of parallel image tests:

BB_NUMBER_THREADS = "4"

based on the number of TAP devices you have defined or the number of simultaneous
QEMU sessions your server can support.

Results can be summarized with:

$ resulttool report tmp/log/oeqa/testresult.json

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-04-02 17:43:22 -07:00
Tim Orling d094f80089 ptest-packagelists-meta-oe.inc: add ptest recipes
Similar to ptest-packagelists.inc in oe-core, this list enables
per image ptest (isolated ptests for a given recipe)

* Add recipes to PTEST_FAST_META_OE for ptests which take less than ~30s
* Add recipes to PTEST_SLOW_META_OE for ptests which take longer
* Add recipes to PTEST_PROBLEMS_META_OE for ptests which have failing tests
  or other issues with ptest package

The initial list was taken from:

meta_oe_ptest_recipes=$(bitbake-layers show-recipes --recipes-only \
  --layer meta-oe --inherits ptest --bare | tr '\n' ' ' | \
  pcregrep -o1 '^NOTE:.+===(.+)$')

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-04-02 17:43:22 -07:00
Tim Orling 0fc5f550d3 span-lite: do not inherit ptest
This recipe provides no run-ptest script.

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-04-02 17:43:22 -07:00
Tim Orling 306a92cdba cli11: do not inherit ptest
This recipe provides no run-ptest script.

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-04-02 17:43:22 -07:00
Tim Orling 7024c34289 libtest-warnings-perl: move to oe-core
This is now a dependency for liburi-perl-ptest.

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-11-19 08:11:45 -08:00
Tim Orling cb49e28956 libio-socket-ssl-perl: upgrade 2.075 -> 2.076
* RDEPENDS on libmozilla-ca-perl
* Inherit ptest-perl; drop run-ptest
* Add RDEPENDS for ptest

2.076 2022/11/12
- added curl like tracing based on contribution from jddurand
  https://github.com/noxxi/p5-io-socket-ssl/pull/117
- fixed race condition in t/sni_verify.t based on analysis from jddurand
  https://github.com/noxxi/p5-io-socket-ssl/issues/97

https://metacpan.org/release/SULLR/IO-Socket-SSL-2.076

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-11-19 08:11:45 -08:00
Tim Orling 7f661f98c2 libmozilla-ca-perl: add recipe for 20221114
Mozilla::CA - Mozilla's CA cert bundle in PEM format

Declared runtime dependency for libio-socket-ssl-perl

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-11-19 08:11:45 -08:00
Tim Orling b6383d47e3 libio-pty-perl: upgrade 1.16 -> 1.17; enable ptest
* Fix RDEPENDS for a minimal image
* Inherit ptest-perl and add RDEPENDS

1.17 2022-11-11 Todd Rinaldo <toddr@cpan.org>
    * Switch changelog entries to metacpan friendly format
    * #29 - Fix printf format conversion specifiers in croak to support size_t on all platforms
    * #11,#30 - Tty.pm: pre-allocate buffer for ioctl but leave it length 0
    * #28 - Use $arg to match @ARGV in Makefile.PL

https://metacpan.org/release/TODDR/IO-Tty-1.17

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-11-18 11:10:25 -08:00
Tim Orling ad10d0d3b5 libio-compress-perl: upgrade 2.096 -> 2.201
https://metacpan.org/release/PMQS/IO-Compress-2.201/source/Changes

* Add RDEPENDS on perl-module-time-local

License-Update: Update copyright years

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-11-07 08:39:05 -08:00
Tim Orling fb35ae0d4b libio-compress-lzma-perl: upgrade 2.096 -> 2.201
https://metacpan.org/release/PMQS/IO-Compress-Lzma-2.201/source/Changes

License-Update: Update copyright years.

* 2.201 25 June 2022

  * 2.201
    Sat Jun 25 09:06:51 2022 +0100
    3287f4e9f60e1bc04cf73ef66a73423e08e29acd

    * Add perl 5.36
      Sun Jun 5 13:37:53 2022 +0100
      130eaba57953355c04b0c9a4945530416f05c6cf

* 2.103 3 April 2022

  * No changes

* 2.101 20 February 2021

  * fix version numbers in meta files

* 2.100 7 January 2021

  * trim whitespace
    8980603bdb827e60bad8f039c94cc55add63a031

  * Avoid indirect calls
    871231f020e064978af9e2a0fc3954511467534b

  * fix typo
    7f580a0df76ff1dbbac76b72dab45aa012cfde47

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-11-07 08:39:05 -08:00
Tim Orling 085bfca807 libcompress-raw-zlib-perl: upgrade 2.096 -> 2.202
https://metacpan.org/release/PMQS/Compress-Raw-Zlib-2.202/source/Changes

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-11-07 08:39:05 -08:00
Tim Orling 926bcef2ed libcompress-raw-lzma-perl: upgrade 2.096 -> 2.201
https://metacpan.org/dist/Compress-Raw-Lzma/changes

License-Update: Update copyright years.

* 2.201 25 June 2022

  * 2.201
    Sat Jun 25 09:50:04 2022 +0100
    367f6414d5eb54e5f0d1d07ceb1c909ce5ac84d8

  * 2.103 3 April 2022

    * No changes

  * 2.101 20 February 2021

    * fix version numbers in meta files

  * 2.100 7 January 2021

    * Expose liblzma's 'preset_dict' feature
      https://github.com/pmqs/Compress-Raw-Lzma/pull/6
      4d9d4e596c4f567c87626a827e39c4435e62472d fix typo
      dc394d53b0575edf8f72e28829a2ff9faea7e729 Add t/10preset_dict.t
      c5afb68e2a3a4b2fc4e548ffa61d2a3a383b5c96 Add cast to deRef
      32f9085aba510c4d99d4a374406e734b13b82eef fix minor typos
      55b8d6a6f65a1d6426c55f5b51aefdba6dabfbb3 fix merge issue
      9eb88de7abaaefe736d475260c73de525e7ae39f Merge branch 'master'
      of https://github.com/pmqs/Compress-Raw-Lzma
      3432a769b283ac5dc9fd757e973cc8aefc1e2345 Merge pull request #6
      from anall/wip/preset_dictionary
      68fe695c16b14a983f39c8c8567557148bbc43ca Expose the preset_dict
      feature from liblzma when creating a Lzma filter

    * trim whitespace
      4ca252f1e1d740489dbd3736ab1f74e1492dff6d

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-11-07 08:39:05 -08:00
Tim Orling 9fbc1bdc4b libcompress-raw-bzip2-perl: upgrade 2.096 -> 2.201
https://metacpan.org/dist/Compress-Raw-Bzip2/changes

License-Update: Update copyright years.

2.201 25 June 2022

* 2.201
  Sat Jun 25 08:46:32 2022 +0100
  92a318bb03b85e2dcb4991f4b958fbce6ce9913f

  * Add perl 5.36
    Sun Jun 5 13:45:55 2022 +0100
    23064d78dcd14f0898aeb64ce408914dac0805a0

* 2.103 3 April 2022

  * Silence uninitialized warnings
    https://github.com/pmqs/Compress-Raw-Bzip2/pull/5
    ff3d907325091287ac1525db384b99a968d763d7
    641a440ec6229c1d368b9ead48f4968b955c0115

* 2.101 20 February 2021

  * fix version numbers in meta files

* 2.100 7 January 2021

  * trim whitespace
    f5bb5c5d254f2a9ac6c6e67a5a4823d0f67e7ecb

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-11-07 08:39:05 -08:00
Tim Orling 3f20244401 packagegroup-meta-perl: mv libcompress-raw-*-perl
Renamed compress-raw-*-perl to libcompress-raw-*-perl, update the
packagegroup accordingly.

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-10-30 23:01:26 -07:00
Tim Orling 5c927fc443 libcompress-raw-*-perl: cleanup; fixes
* Add SUMMARY
* Fix HOMEPAGE
* Fix RDEPENDS
* Use README for LIC_FILES_CHKSUM

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-10-30 23:01:26 -07:00
Tim Orling 74c84f4c11 libio-compress*-perl: cleanup; fixes
* Fix hardcoded PV in SRC_URI
* Use README for LIC_FILES_CHKSUM
* Fix HOMEPAGE
* Add SUMMARY
* Use upstream README for DESCRIPTION
* Correct libcompression-*-perl RDEPENDS
* Fix RDEPENDS

Handy on-target check for dependencies:
for path in $(find /usr/lib/perl5/vendor_perl/5.36.0/IO -name *.pm | sed
-e 's~/usr/lib/perl5/vendor_perl/5.36.0/~~' -e 's~/~::~g' -e 's~.pm~~');
do perl -M${path} -e'print'; done

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-10-30 23:01:26 -07:00
Tim Orling 0b3e25a3c1 libcompress-raw*-perl: move from libio/compress-*
These modules do not follow our Debian naming and should never have been
allowed to be added as libio/compress-raw*.bb.

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-10-30 23:01:25 -07:00
Tim Orling fc176683e6 libmime-types-perl: upgrade 2.17 -> 2.22
Fix RDEPENDS, in particular perl-module-perlio-encoding and
perl-module-encode-encoding were needed to be able to open the database in
/usr/lib/perl5/5.36.0/vendor_perl/MIME/types.db... even though no
warnings or errors were reported.

bin/collect-types was dropped in 2.18

Upstream release notes:

version 2.22: Wed 27 Oct 16:54:38 CEST 2021

        Changes:
        - webm keeps on producting unexpected results [issue #11, Даша
	  Федорова]
        - iana updates

version 2.21: Fri 28 May 12:01:00 CEST 2021

        Changes:
        - application/octet-stream is better for .dat [issue #11, Даша
	  Федорова]
        - add video/webm which Google forgot to register [issue #12,
	  Brent Laabs]
        - add image/webp which Google registered too late [issue #12,
	  Brent Laabs]

version 2.20: Thu 22 Apr 12:48:35 CEST 2021

        Fixes:
        - problems with PAUSE cause the previous release to show-up in
          the wrong location.  Let's hope this release solves it.

        Changes:
        - heif/heic/heifs/heics/hif fix [issue #9, Даша Федорова]
        - no 'and' and 'or' extensions [issue #9, Даша Федорова]
        - application/octet-stream is better for .bin [issue #10, Даша
	  Федорова]

version 2.19: Fri 16 Apr 11:47:10 CEST 2021

        Improvements:
        - update with the newest data from IANA and Apache httpd

        Changes:
        - mp4 preference is video/mp4 [issue #5, Даша Федорова]
        - yt preference is video/vnd.youtube.yt [issue #6, Даша
	  Федорова]
        - 3gp and 3gpp preference is video/3gpp [issue #7, Даша
	  Федорова]

version 2.18: Wed  9 Dec 10:29:46 CET 2020

        Improvements:
        - update with newest data

        Changes:
        - Mojo 6.0 changed types() into mapping() [Dmitry Latin]
        - Mojo 7.94 adds experimental file_type()
        - Mojo 7.94 adds experimental content_type()

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-10-30 17:49:08 -07:00
Tim Orling 818f782df7 packagegroup-meta-python: drop recipes moved to core
Drop the recipes moved to core in the python3-cryptography move.

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: tgamblin <trevor.gamblin@windriver.com>
2022-03-16 09:25:28 -04:00
Tim Orling 888570237a python3-pytz: move to oe-core
This recipe has been moved to oe-core in support of
python3-cryptography.

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: tgamblin <trevor.gamblin@windriver.com>
2022-03-16 09:25:28 -04:00
Tim Orling 996bfa2f91 python3-pytest-subtests: move to oe-core
This recipe has been moved to oe-core in support of
python3-cryptography.

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: tgamblin <trevor.gamblin@windriver.com>
2022-03-16 09:25:28 -04:00
Tim Orling 2c1423850d python3-pretend: move to oe-core
This recipe has been moved to oe-core in support of
python3-cryptography.

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: tgamblin <trevor.gamblin@windriver.com>
2022-03-16 09:25:28 -04:00
Tim Orling e97f8df274 python3-poetry-core: move to oe-core
The poetry_core.bbclass (renamed to python_poetry_core) has been moved
to oe-core, as has this recipe, in support of python3-cryptography.

The recipe that needed poetry-core is python3-iso8601.

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: tgamblin <trevor.gamblin@windriver.com>
2022-03-16 09:25:28 -04:00
Tim Orling c563ea16e8 python3-ply: move to oe-core
This recipe has been moved to oe-core in support of
python3-cryptography.

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: tgamblin <trevor.gamblin@windriver.com>
2022-03-16 09:25:28 -04:00
Tim Orling 81402595ee python3-iso8601: move to oe-core
This recipe has been moved to oe-core in support of
python3-cryptography.

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: tgamblin <trevor.gamblin@windriver.com>
2022-03-16 09:25:28 -04:00
Tim Orling d740ecb8c4 poetry_core: add helper class
poetry.core.masonry.api is one of the common PEP-517 build backends.

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-03-03 08:50:19 -08:00
Tim Orling c340e94cd0 python3-aiofiles: inherit poetry_core
Use PEP-517 build-backend instead of setuptools3.

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2022-03-03 08:48:07 -08:00
Tim Orling c2b210d209 python3-pymisp: inherit poetry_core
* Use PEP-517 build-backend instead of setuptools3.
* Also set PIP_INSTALL_PACKAGE = "pymisp"

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2022-03-03 08:48:07 -08:00
Tim Orling be04fddedc python3-isort: inherit poetry_core
Use PEP-517 build-backend instead of setuptools3.

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2022-03-03 08:48:07 -08:00
Tim Orling 604bba13fd python3-rsa: inherit poetry_core
Use PEP-517 build-backend instead of setuptools3.

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2022-03-03 08:48:07 -08:00
Tim Orling c4df283929 python3-iso8601: inherit poetry_core
Use PEP-517 build-backend instead of setuptools3.

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2022-03-03 08:48:07 -08:00
Tim Orling b9943b26ad python3-pkgconfig: inherit poetry_core
Use PEP-517 build-backend instead of setuptools3.

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2022-03-03 08:48:06 -08:00
Tim Orling 325166ecb2 python3-dnspython: inherit poetry_core
Use PEP-517 build-backend instead of setuptools3.

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2022-03-03 08:48:06 -08:00
Tim Orling 006c409677 python3-poetry-core: add v1.0.8
A PEP 517 build backend implementation developed for Poetry. This project
is intended to be a light weight, fully compliant, self-contained package
allowing PEP 517 compatible build frontends to build Poetry managed projects.

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2022-03-03 08:48:06 -08:00
Tim Orling df077258b6 python3-ipy: drop recipe
Does not build with bdist_wheel. If you need this package please work
with upstream to update to PEP-517 packaging.

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2022-03-03 08:48:06 -08:00
Tim Orling d6dcffc754 distutils*.bbclass: move from oe-core
distutils has been deprecated in Python 3.10 and will be removed in
Python 3.12 (predicted release date October 2023). For now, move these
classes from oe-core to allow users to migrate.

A deprecation warning has been added to each class.

Documentation is also being dropped in oe-core, but users can refer to
3.4 documentation for the legacy variables and classes.

[YOCTO #14610]

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-03-01 09:13:42 -08:00
Tim Orling 4c1065c55c python3-meh: patch to use setuptools
* Add patch to switch from 'distutils' to 'setuptools'
* Set PIP_INSTALL_PACKAGE = "python_meh"
* Install files to ${datadir} as intended

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2022-03-01 09:06:56 -08:00
Tim Orling fbb90ed4ee python3-pyiface: upgrade to latest git
Upstream hasn't done a release, but has commits which among other things
switches from distutils to setuptools.

Now DEPENDS on python3-setuptools-scm-native

Set PV to what the version of the 'wheel' is.

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2022-03-01 09:06:56 -08:00
Tim Orling 2dcff9296a python3-pynetlinux: patch to use setuptools
setup.py bdist_wheel does not work with distutils (which is deprecated
anyway). Add a patch to switch to setuptools to allow the wheel to be
built.

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2022-03-01 09:06:56 -08:00
Tim Orling 42c0a75600 python3-sdnotify: patch to use setuptools
setup.py bdist_wheel does not work with distutils (which is deprecated
anyway). Add a patch to switch to setuptools to allow the wheel to be
built.

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2022-03-01 09:06:56 -08:00
Tim Orling 62a5f30896 python3-twofish: patch to use setuptools
setup.py bdist_wheel does not work with distutils (which is deprecated
anyway). Add a patch to switch to setuptools to allow wheel to be built.

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2022-03-01 09:06:56 -08:00
Tim Orling 870a9bd263 python3-systemd: patch to use setuptools
setup.py bdist_wheel does not work with ditutils (which is deprecated
anyway). Add a patch to switch to setuptools to allow wheel to be built.

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2022-03-01 09:06:56 -08:00
Tim Orling 2481bc359f python3-configobj: backport patch for setuptools
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2022-03-01 09:06:56 -08:00
Tim Orling fcd5c793a7 python3-pako: remove duplicate LICENSE
The LICENSE is already included in the wheel and therefore packaged like
any other wheel. Remove the duplicate LICENSE erroneously installed in
/usr/pako/LICENSE.

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2022-02-28 08:32:19 -08:00
Tim Orling b0878793f3 python3-geomet: fix wheel build
Recipe does not inherit pypi nor would PN be a good guess at the name of
the wheel. Set PIP_INSTALL_PACKAGE appropriately.

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2022-02-28 08:32:19 -08:00
Tim Orling 54ed60507b python3-monotonic: fix wheel build
Recipe does not inherit pypi nor would PN be a good guess for the wheel
name so set PIP_INSTALL_PACKAGE appropriately.

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2022-02-28 08:32:19 -08:00
Tim Orling 4ee3cc1ac5 python3-twofish: drop recipe
The code has not been touched since 2013 and does not build with
bdist_wheel. If you depend upon this recipe, please work with upstream
to update the package to PEP-517 packaging.

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2022-02-28 08:32:19 -08:00
Tim Orling 9cd74b558f python3-pykickstart: fix wheel build
Recipe does not inherit pypi, nor is PN a reasonable guess for the wheel
name so set PIP_INSTALL_PACKAGE appropriately.

The wheel is built in ${S}/dist rather than ${B}/dist so set
PIP_INSTALL_DIST_PATH appropriately.

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2022-02-28 08:32:19 -08:00
Tim Orling 33ac9025c6 python3-xlrd: fix wheel build
Recipe does not inherit pypi nor would PN resolve to a useful name for
the wheel. Set PIP_INSTALL_PACKAGE appropriately.

Recipe builds wheel in ${S}/dist so set PIP_INSTALL_DIST_PATH
appropriately.

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2022-02-28 08:32:19 -08:00
Tim Orling b56940049d python3-pillow: fix wheel build
Recipe does not inherit pypi nor would PN resolve to the name of the
wheel so we must set PIP_INSTALL_PACKAGE appropriately.

The recipe also builds its wheel in ${S}/dist so we must set
PIP_INSTALL_DIST_PATH appropriately.

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2022-02-28 08:32:19 -08:00
Tim Orling 770cba1d55 python3-twisted: also ship Twisted-*.dist-info
With the PEP-517 packaging, we need to ship additional FILES-${PN} (the
wheel dist-info standard files).

This recipe may be overly complicated. This commit is only an attempt to
fix the install of the wheel.

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2022-02-28 08:32:19 -08:00
Tim Orling 9e5f9a7e2d python3-pyserial: also remove /usr/bin/__pycache__
PEP-517 packaging tries to also ship ${bindir}/__pycache__,
since we are removing all the scripts from ${bindir}, remove the cache
as well.

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2022-02-28 08:32:19 -08:00
Tim Orling 645452c8df python3-ptyprocess: inherit flit_core
Upstream provides a pyproject.toml which declares a flit_core.buildapi
build backend for PEP-517 packaging.

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2022-02-28 08:32:19 -08:00
Tim Orling ff10588f47 python3-distutils-extra; merge inc, fix wheel build
We have not supported Python2 for quite some time now, so there is no
reason to maintain a separate inc file.

This recipe does not inherit pypi and the PN does not match the built
wheel. Set PIP_INSTALL_PACKAGE appropriately so the wheel can be found.

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2022-02-28 08:32:19 -08:00
Tim Orling 63856541d4 python3-backcall: inherit flit_core
Upstream provides a pyproject.toml which declares the flit_core.buildapi
backend for PEP-517 packaging.

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2022-02-28 08:32:19 -08:00
Tim Orling 7b0c8989bf python3-pyruvate: fix wheel build
Like python3-setuptools-rust-native, the wheel is being built in
${S}/dist rather than ${B}/dist so set PIP_INSTALL_DIST_PATH
accordingly.

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2022-02-28 08:32:19 -08:00
Tim Orling d605093bc1 python3-cryptography: fix wheel build
Like python3-setuptools-rust-native, this is building its wheel in
${S}/dist rather than ${B}/dist. Set PIP_INSTALL_DIST_PATH accordingly.

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2022-02-28 08:32:19 -08:00
Tim Orling efcbd827a4 python3-setuptools-rust-native: fix wheel build
Add comment that setuptools_build_meta is currently broken and stick
with setuptools3 for now.

For some reason, the wheel is built in ${S}/dist and not ${B}/dist.
Set PIP_INSTALL_DIST_PATH accordingly as a workaround.

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2022-02-28 08:32:19 -08:00
Tim Orling 1c53fcca6e python3-test-generator: drop recipe
python3-nose still contains Python 2 code which causes errors in
do_compile when using bdist_wheel or PEP-517 packaging.

Like nose, test-generator has not been touched since 2016.

Drop this recipe unless someone fixes the issues in python3-nose

[YOCTO #14638]

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2022-02-24 08:30:26 -08:00
Tim Orling d0a8873a66 python3-pyruvate: disable 64 bit atomics for mips
Use the same approach as librsvg to disable 64-bit atomics on platforms
which have 32-bit pointers or are otherwise not supported.

https://github.com/crossbeam-rs/crossbeam/blob/master/no_atomic.rs

https://doc.rust-lang.org/std/sync/atomic/#portability
"PowerPC and MIPS platforms with 32-bit pointers do not have AtomicU64
or AtomicI64 types."

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2022-01-19 08:58:09 -08:00
Tim Orling 0e59a23901 setuptools3_rust.bbclass: setuptoools Rust plugin
setuptools-rust is a plugin for setuptools to build Rust Python extensions
implemented with PyO3 or rust-cpython.

Compile and distribute Python extensions written in Rust as easily as if
they were written in C.

This class inherits pyo3.bbclass (and therefore cargo.bbclass) and
setuptools3.bbclass to make it easier to build Python modules with Rust
extensions.

Need to call pyo3_do_configure to properly setup the PyO3 environment
for cross-compiling.

Need to call cargo_common_do_configure to setup cargo_home/config so
that the linker properly finds e.g. crti.o and crtbeginS.o

It is strongly recommended to provide crates needed for your recipe
using the crate:// fetcher. This can be helped with the cargo-bitbake
command [1].

If you choose not to use the crate fetcher, bitbake vendoring will not
work with setuptools-rust, as it errors out immediately because it cannot
find pyo3 or some other crate. The (strongly discouraged) workaround for
this is to set:

CARGO_DISABLE_BITBAKE_VENDORING = "1"

[1] https://crates.io/crates/cargo-bitbake

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2022-01-18 12:53:38 -08:00
Tim Orling 5c7d63a437 pyo3.bbclass: add class for PyO3 cross-compilation
PyO3 provides Rust bindings for Python, including tools for creating native
Python extension modules. Running and interacting with Python code from a
Rust binary is also supported.

This class sets up the cross-compilation environment.

Export PYO3_CROSS, PYO3_CROSS_LIB_DIR, PYO3_CROSS_INCLUDE_DIR and CARGO_BUILD_TARGET
to inform tools like setuptools-rust we are cross-compiling.

Export RUSTFLAGS so cargo can find 'std' and 'core' for target

Dynamically generate PyO3 config file and export PYO3_CONFIG_FILE
absolute path. This is the trick that finally made pyo3 work.

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2022-01-18 12:53:38 -08:00
Tim Orling 2a93580169 cmocka: use https protocol for fetching
Upstream gitlab instance is refusing git:// protocol.

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-01-18 09:01:51 -08:00
Tim Orling 3a723d762b tiptop: update download URL and HOMEPAGE
HOMEPAGE is now https://team.inria.fr/pacap/software/tiptop/
Download link is now https://files.inria.fr/pacap/tiptop/tiptop-2.3.1.tar.gz

Use HOMEPAGE url for UPSTREAM_CHECK_URI.

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-01-18 09:01:51 -08:00
Tim Orling 1946eca308 gammu: upgrade 1.32.0 -> 1.42.0
For changes, see https://wammu.eu/news/gammu/

* Update HOMEPAGE to https://wammu.eu/
* Update download URL
* python-gammu is now a separate code base

License-Update: whitespace changes

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-01-18 09:01:51 -08:00
Tim Orling 8589b69f9f python3-cryptography: upgrade 3.3.2 -> 36.0.1
See https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst#3601---2021-12-14
for changes

* Add PSF-2.0 license and explicitly add checksums for the LICENSE files that
  are packaged.
* RDEPENDS on python3-hypothesis (in oe-core) for ptest so we can drop the
  patch for skipping.
* Drop backported patch for openssl3 support.
* inherit new setuptools_rust class (which inherits new pyo3 class, which
  inherits cargo and python3-dir).
* RDEPENDS on python3-pytest-subtests for ptest
* Copy pyproject.toml for ptest as it defines the pytest.marker(s) needed
* Cleanup and alphabetize the RDEPENDS
* Use 'cargo bitbake' to generate the crate:// SRC_URIs
   - Needed some hacks to the Cargo.toml in src/rust/ to make this work (probably
     only package.repository was strictly required):

     [package]
     description = "cryptography includes both high level recipes and low level interfaces to common cryptographic algorithms such as symmetric ciphers, message digests, and key derivation functions."
     homepage = "https://github.com/pyca/cryptography"
     repository = "https://github.com/pyca/cryptography"

* Add patches to src/rust/Cargo.toml to fix cargo errors including  pem version
* Add check-memfree.py to ptest to check for sufficient free memory

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2022-01-18 08:59:58 -08:00
Tim Orling 6fecc88338 python3-cryptography-vectors: upgrade 35.0.0 => 36.0.1
Add note to remind contributors to keep this recipe in lock-step with
python3-cryptography. They must be at the same version.

5bd0c10d allow parsing of nonstandard country name and jurisdiction country name (#6641)
78c2dd8a add AES SIV vectors (#6608)
c451c1df add AES OCB3 test vectors (#6606)
4da2a681 Allow parsing CSR extensions with the critical bit having an explicitly encoded default (#6600)
bb05d4b5 allow multiple identical pem blocks (#6551)
f4871a21 add accvraiz1 bmpstring test vector (#6503)
667e7a5f Add new PKCS12 test vectors (#6383)
703de3af Accept combined PEM files with multiple sections (#6365)
51221b2c support legacy PEM headers for certificate and CSR (#6356)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2022-01-18 08:59:58 -08:00
Tim Orling d77bddfca8 python3-pytest-subtests: upgrade 0.5.0 -> 0.6.0
0.6.0 (2022-01-15)
* pytest>=6.0 is now required.
* Added official support for Python 3.10.
* Dropped support for Python 3.5.
* Users no longer need to configure a warnings filter for the internal A private pytest class or function was used pytest warning (#52).
* Experimental: Use SUBPASS and , for passed subtests instead of general PASSED, SUBFAIL and u for failed ones instead of FAILED (#30).

References:
https://github.com/pytest-dev/pytest-subtests/pull/52
https://github.com/pytest-dev/pytest-subtests/pull/30

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2022-01-18 08:59:58 -08:00
Tim Orling 3748086ec5 python3-pyruvate: add recipe for v1.1.2
Pyruvate is a reasonably fast, multithreaded, non-blocking WSGI server
implemented in Rust.

This recipe uses the new setuptools3_rust and pyo3 classes.

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2022-01-18 08:59:58 -08:00
Tim Orling bfe587c3bc python3-setuptools-rust-native: add v1.1.2 recipe
Dependency for python3-cryptography 3.4.x+

Only native rustc is supported at this time in oe-core,
therefore it makes no sense to try to build for target.

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2022-01-18 08:59:58 -08:00
Tim Orling 6d54262497 python3-gammu: add recipe for v3.2.4
The Python bindings for gammu have been moved into a separate package
python-gammu.

Send patch upstream to replace distutils.version.StrictVersion with
packaging.version.parse and .Version

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2022-01-18 08:59:58 -08:00
Tim Orling c60b17bf08 gnome-calendar: upgrade 3.38.1 -> 41.0
Upstream changed version scheme.

Drop libhandy patch merged upstream.

inherit  mime-xdg, fixes:
QA Issue: package contains desktop file with key 'MimeType' but does not inhert mime-xdg

For changes, see:
https://download.gnome.org/sources/gnome-calendar/41/gnome-calendar-41.0.news

Signed-off-by: Tim Orling <ticotimo@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-10-19 09:23:08 -07:00
Tim Orling 1f5d21858e gfbgraph: patch to build with latest rest
librest 0.8.1 declares rest-1.0 and was released four years ago.

Also inherit pkgconfig so that dependencies can be found by pkg-config

References:
https://gitlab.gnome.org/GNOME/libgfbgraph/-/merge_requests/6

Signed-off-by: Tim Orling <ticotimo@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-10-19 09:23:08 -07:00
Tim Orling 8de56ffd07 colord: inherit pkgconfig
meson can't find gio-2.0 without pkg-config

Signed-off-by: Tim Orling <ticotimo@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-10-19 09:23:08 -07:00
Tim Orling 0a68c4ad97 libgweather: upgrade 3.36.2 -> 40.0
Upstream changed version schemes.

Sort DEPENDS, add python3-pygobject-native

For changes, see:
https://gitlab.gnome.org/GNOME/libgweather/-/blob/main/NEWS

Signed-off-by: Tim Orling <ticotimo@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-10-19 09:23:08 -07:00
Tim Orling 4e0f4f4a84 gnome-screenshot: add recipe for 40.0
GNOME Screenshot is a small utility that takes a screenshot of the whole
desktop; the currently focused window; or an area of the screen.

Also add to packagegroup-gnome-apps

Signed-off-by: Tim Orling <ticotimo@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-10-19 09:23:08 -07:00
Tim Orling 845b15cdff unicode-ucd: upgrade 12.1.0 -> 14.0.0
Fetch license.html rather than keep possibly stale
version in files/.

License-Update: Update copyright years; update lines used

Signed-off-by: Tim Orling <ticotimo@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-10-14 07:16:58 -07:00
Tim Orling 961755a7bd python3-django_2.2.x: only check upstream 2.2.x
AUH currently sees this recipe needing to upgrade to 3.x but we do
not want that. We are intentionally pinning at the 2.2.x LTS for this
recipe.

References:
https://www.djangoproject.com/download/

Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2021-08-26 09:57:25 -07:00
Tim Orling 3548503d13 bootchart: drop; unfetchable
This was replaced by bootchart2 long ago in oe-core.
gitorious.org no longer exists, so this is unfetchable.

Also, this has seen no development since bootchart2 was
created.

Signed-off-by: Tim Orling <ticotimo@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-08-20 09:26:18 -07:00
Tim Orling 35ce791ea9 logcheck: upgrade 1.3.20 -> 1.3.23
logcheck (1.3.23) unstable; urgency=medium

  * v.i.d/logcheck-sudo: adjust 'session opened' rule to match uid, thanks to
    Marco d'Itri  for the patch (closes: #985166)
  * v.i.d/logcheck-su: allow 'none' as pseudo terminal, thanks to Marco d'Itri
    for the patch

 -- Hannes von Haugwitz <hannes@vonhaugwitz.com>  Thu, 01 Apr 2021 21:19:39 +0200

logcheck (1.3.22) unstable; urgency=medium

  * d/t/01-logcheck: use temporary log file

 -- Hannes von Haugwitz <hannes@vonhaugwitz.com>  Mon, 01 Feb 2021 22:28:20 +0100

logcheck (1.3.21) unstable; urgency=medium

  [ Debian Janitor ]
  * Set debhelper-compat version in Build-Depends.
  * Fix day-of-week for changelog entries 1.2.23, 1.2.17, 1.1.1-7.3, 1.1.1-7.
  * Update standards version to 4.4.1, no changes needed.

  [ Simó Albert i Beltran ]
  * ignore.d.server/ssh:
    - match port
    - match more variants of 'Disconnected from' message
    - match 'Connection reset' message

  [ Ville Salomäki ]
  * v.i.d/logcheck-su, v.i.d/logcheck-sudo: allow '.' and '_' in usernames

  [Lee Maguire]
  * src/logcheck: support systemd journal as log source (closes: #876420)

  [ Hannes von Haugwitz ]
  * Switch to debhelper 13
  * Update standards version to 4.5.1, no changes needed.
  * Update debian/copyright
  * Set Rules-Requires-Root to no
  * Add autopkgtest
  * Adjust rules for PAM open session messages to match new format
  * Update 'su' rules to match changed format (closes: #931770)
  * i.d.s/dnsmasq: allow '.' in interface names, thanks to Craig Small for the
    patch (closes: #732655)
  * i.d.s/openvpn: match 'VERIFY X509NAME OK' message (closes: #751292)
  * i.d.s/spamd:
    - match autolearn_force field
    - properly match IPv6 addresses
    thanks to Craig Small for the patch (closes: #755374)
  * i.d.s/postfix: match sasl_sender field (closes: #700851)
  * i.d.s/su, v.i.d/logcheck-su:
    - match 'su-l:session'
    - match '(to <substitute-user>) <user>' message
  * i.d.s/systemd-logind: new
    - match logind session messages
  * i.d.s/systemd: match some Succeeded/Finished messages
  * i.d.s/dhclient: adjust 'DHCPREQUEST' rule

 -- Hannes von Haugwitz <hannes@vonhaugwitz.com>  Sun, 31 Jan 2021 23:01:29 +0100

Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-07-13 09:39:15 -07:00
Tim Orling 446080cb04 libtest-warnings-perl: upgrade 0.028 -> 0.030
0.030     2020-03-21 16:56:30Z
          - fix tests that can fail when there is already an installed module
            named Foo::Bar::Baz (RT#132140)

0.029     2020-03-14 05:27:59Z
          - new :report_warnings feature, for printing all of the (unexpected)
            warning content when had_no_warnings() is called (Tina Mueller, PR#10)

Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-07-13 09:39:15 -07:00