summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-devtools/python
Commit message (Collapse)AuthorAgeFilesLines
* meta-openembedded/all: adapt to UNPACKDIR changesAlexander Kanavin2025-06-252-2/+1
| | | | | | | | | | | | | Please see https://git.yoctoproject.org/poky/commit/?id=4dd321f8b83afecd962393101b2a6861275b5265 for what changes are needed, and sed commands that can be used to make them en masse. I've verified that bitbake -c patch world works with these, but did not run a world build; the majority of recipes shouldn't need further fixups, but if there are some that still fall out, they can be fixed in followups. Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-psycopg: upgrade 3.2.6 -> 3.2.9Wang Mingyu2025-05-211-1/+1
| | | | | Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-psycopg: upgrade 3.2.5 -> 3.2.6Wang Mingyu2025-03-251-1/+1
| | | | | | | | Changelog: Fix connection semantic when using target_session_attrs=prefer-standby Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-psycopg: upgrade 3.2.4 -> 3.2.5Wang Mingyu2025-02-261-1/+1
| | | | | | | | Changelog: 3x faster UUID loading thanks to C implementation Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-psycopg: upgrade 3.2.3 -> 3.2.4Wang Mingyu2025-01-241-1/+1
| | | | | | | | | | | | | | | | | Changelog: =========== - Don't lose notifies received whilst the notifies() iterator is not running - Make sure that the notifies callback is called during the use of the notifies() generator - Raise the correct error returned by the database (such as AdminShutdown or IdleInTransactionSessionTimeout) instead of a generic OperationalError when a server error causes a client disconnection - Build macOS dependencies from sources instead using the Homebrew versions in order to avoid problems with MACOSX_DEPLOYMENT_TARGET - Bump libpq to 17.2 in Linux and macOS binary packages. - Bump libpq to 16.4 in Windows binary packages, using the vcpkg library Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-psycopg: upgrade 3.2.2 -> 3.2.3Wang Mingyu2024-10-141-1/+1
| | | | | | | | Changelog: Release binary packages including PostgreSQL 17 libpq Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-pefile: Remove recipeKhem Raj2024-09-302-31/+0
| | | | | | It has been moved to core layer Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-psycopg: upgrade 3.2.1 -> 3.2.2Wang Mingyu2024-09-181-1/+1
| | | | | | | | | | | Changelog: =========== - Drop TypeDef specifications as string from public modules, as they cannot be composed by users as typing objects previously could - Release Python 3.13 binary packages. Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-pefile: upgrade 2023.2.7 -> 2024.8.26Wang Mingyu2024-09-101-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changelog: ========== - Close the data attribute before reassigning it - Floor division (//) does mathematical division with the floor functio… - Update new dvrt type and Load Config filed adapt to Windows11 - fix PE.get_data - Fix ambiguous string syntax for PEid parsing regexp - fixed a memory leak that caused the pe file to be access locked. - Exphash from sha256 to md5 to match imphash - More readable calls to superclass - Fix cache_adjust_FileAlignment to work with files not aligned to 0x200 - [StepSecurity] Apply security best practices - Create sets using curly brackets - Change IOError to OSError - Apply isort to sort all imports - Remove "OC Patch" comments - Update tox.ini Python versions - Use with statement to write to file - Remove distutils use - Use chaining comparison operators - Replace list comprehension with set comprehension - Use not in operator - Replace base class name with super() - Increase readability and consistency - Tiny comment improvements - Update oleaut32.py from oleaut32.dll - Improve parse_rich_header - Include ordinals for wsock32.dll - Update ws2_32.py from ws2_32.dll - Update pefile.py for typo - Add parsing for IMAGE_DEBUG_TYPE_EX_DLLCHARACTERISTICS Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-psycopg: add v3.2.1Tim Orling2024-08-231-0/+14
| | | | | | | Psycopg 3 is a modern implementation of a PostgreSQL adapter for Python. Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-pefile: Move from meta-python to meta-oeKhem Raj2024-06-092-0/+31
| | | | | | | | - This recipe is needed by newer versions of fwupd from meta-oe - Add ptest support for python3-pefile - Add python3-pefile to PTESTS_FAST_META_OE since tests take < 30s Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-pycups: upgrade 2.0.1 -> 2.0.4Wang Mingyu2024-04-231-1/+1
| | | | | | | | Changelog: removes install_requires from setup.py, which is used for generating OS requirements. Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* remove obsolete PIP_INSTALL_PACKAGE and PIP_INSTALL_DIST_PATHalperak2024-03-091-2/+0
| | | | | | | All downloaded files and sstates for the recipes were cleaned, build was got from stratch and no errors were encoutered. Signed-off-by: alperak <alperyasinak1@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-apscheduler: add new recipeWang Mingyu2024-01-231-0/+13
| | | | | | | Add a new recipe for python3-apscheduler, a task scheduler and task queue system for Python. Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-apt: upgrade 2.5.2 -> 2.5.3Wang Mingyu2023-03-221-1/+1
| | | | | Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-apt: upgrade 2.5.0 -> 2.5.2Wang Mingyu2023-02-081-1/+1
| | | | | | | | | | | | | | Changelog: ========== * Allow sources.list.d to not exist * Fix Debian templates to fix FTBFS/test failure. We copied the URI regex from the templated section, so they had {{0,1}}, but these sections had a fixed codename, so there's no expansion, so it needs to be {0,1} here. * Update mirror lists Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-apt: upgrade 2.3.0 -> 2.5.0Wang Mingyu2022-12-051-1/+1
| | | | | Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Revert "python3-pycups: Inherit setuptools3 instead of ↵Khem Raj2022-07-181-1/+1
| | | | | | python_setuptools_build_meta" This reverts commit cb3d45c4124dba489ce98fb81d3b33bcc91a0329.
* python3-pycups: Inherit setuptools3 instead of python_setuptools_build_metaKhem Raj2022-07-151-1/+1
| | | | | | Adds missing dependency on python3-picobuild-native Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Update for setuptools_build_meta renamed to python_setuptools_build_metaRoss Burton2022-03-191-1/+1
| | | | | Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* meta-*: remove obsolete PYPA_WHEEL and PIP_INSTALL_PACKAGE assignmentsRoss Burton2022-03-111-2/+0
| | | | | | | | These variables are no longer used by pip_install_wheel, so remove them from all recipes that set them. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* recipes: Update LICENSE variable to use SPDX license identifiersKhem Raj2022-03-043-3/+3
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-distutils-extra; merge inc, fix wheel buildTim Orling2022-02-282-11/+6
| | | | | | | | | | | | 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>
* python3-pycups: Inherit setuptools_build_metaKhem Raj2022-02-281-1/+1
| | | | | | | | | Gets the wheel dependencies sorted during build Fixes | error: invalid command 'bdist_wheel' Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
* python3-apt: Point PYPA_WHEEL to custom locationKhem Raj2022-02-281-0/+2
| | | | | | | Standard deduction logic does not work so help the system a bit Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
* python3-apt: add new recipe version 2.3.0An?bal Lim?n2022-01-281-0/+17
| | | | | | | | | This recipe enables python3-apt wrapper to use apt in easy way from python3. Signed-off-by: Aníbal Limón <limon.anibal@gmail.com> Signed-off-by: Aníbal Limón <anibal@rzerosystems.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Add pycups - python bindings for CUPSClaus Stovgaard2021-12-211-0/+19
| | | | | | | | | Used for access cups and control printers from python. Placed in meta-oe together with the rest of printing support, as tools like system-config-printer depend on pycups. Signed-off-by: Claus Stovgaard <clst@ambu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Convert to new override syntaxMartin Jansa2021-08-031-1/+1
| | | | | | | | | | This is the result of automated script (0.9.1) conversion: oe-core/scripts/contrib/convert-overrides.py . converting the metadata to use ":" as the override character instead of "_". Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* distuils-extra: fix typo for DESCRIPTIONKonrad Weihmann2020-05-311-1/+1
| | | | | Signed-off-by: Konrad Weihmann <kweihmann@outlook.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-pygobject: remove this recipeChangqing Li2020-03-062-154/+0
| | | | | | | | | | | | python3-pygobject already in oe-core, previously, we have python-pygobject in meta-oe, but recently, in order to drop python2, we transfer python-pygobject to python3-pygobject, so duplicated with oe-core, meantime, this will cause test_signature failure when do yocto-check-layer for layer meta-oe. Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-pygobject: fix runtime dependency on pkgutils to use python3 variantMartin Jansa2020-01-221-1/+1
| | | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-pygobject: Install pkgconfig filesKhem Raj2020-01-221-5/+0
| | | | | | py2 version is gone Signed-off-by: Khem Raj <raj.khem@gmail.com>
* meta-oe: Remove using python2Khem Raj2020-01-2210-90/+5
| | | | | | | This change makes the parsing go though, we still might have build issues, which will be reported in world builds seprately Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python-six: Update to 1.13.0Khem Raj2019-11-131-0/+0
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python-cpuset: update to 1.6Oleksandr Kravchuk2019-09-161-1/+1
| | | | | Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python-pytoml: update to 0.1.21Oleksandr Kravchuk2019-09-162-2/+2
| | | | | Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python-pyobject: update to 3.34.0Oleksandr Kravchuk2019-09-161-2/+2
| | | | | Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python-futures: upgrade 3.2.0 -> 3.3.0Zang Ruochen2019-08-241-2/+2
| | | | | Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python-pygobject: remove build-dependency on setuptools and add dependency ↵Luca Boccassi2019-08-141-1/+2
| | | | | | | | | | | | | | on pkgutil Sync python-pygobject recipe with poky's python3-pygobject: Setuptools is not a mandatory build-dependency, so remove it. Pkgutil from the core library is needed at runtime, so add a dependency on it. Fixes: f8e1d0c17658 ("python-pygobject: move python-setuptools from RDEPENDS to DEPENDS") Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python-pygobject: move python-setuptools from RDEPENDS to DEPENDSLuca Boccassi2019-08-051-2/+1
| | | | | | | | | | | | | | python-setuptools is necessary to build pygobject but not to run it, as also documented by the upstream packaging guide: https://gitlab.gnome.org/GNOME/pygobject/blob/master/docs/packagingguide.rst Move it to DEPENDS to shrink the runtime dependency chain, as setuptools includes scripts to download other packages, which might not be desired on a minimal image. Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python-pygobject: upgrade 3.32.1 -> 3.32.2Zang Ruochen2019-07-101-2/+2
| | | | | | | -Upgrade from python-pygobject_3.32.1.bb to python-pygobject_3.32.2.bb. Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python-pygobject: fix install dir for python2Changqing Li2019-06-252-1/+126
| | | | | | | | | | | | | | | * after upgrade to 3.32.1, pygobject switch to build with meson, and default python option is python3, switch to python2 * default install dir get by python.install_sources and python.get_install_dir is get from python's sysconfig info, not like python3, for python2, the install dir include prefix of recipe-sysroot-native dir, like "build/tmp-glibc/work/core2-32-wrs-linux/ python-pygobject/3.32.1-r0/recipe-sysroot-native/usr/lib/python2.7/site-packages" add stagedir option for user to config correct install dir. Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python-pygobject: upgrade 3.28.3 -> 3.32.1Changqing Li2019-06-151-5/+9
| | | | | | | switch to meson build Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python-jsmin,python-pytoml,python-which: Add recipesKhem Raj2019-05-294-0/+44
| | | | | | These packages are needed for mozjs 60.x to build Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python-six: put python2/3 variant togetherAndreas Müller2019-05-291-0/+2
| | | | | | | | | | Upcoming 60.2.3 mozjs (meta-oe) requires python(2)-six-native for its configuration. Currently python(2)-six lives in meta-python and it could be moved to mozjs's home meta-oe but that would be just further clutter. Once applied here patch to meta-python will be send. Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
* python-pygobject: Tune remove operationNiko Mauno2018-12-021-1/+1
| | | | | | | | | Drop '-f, --force' operator from rm command as that will hide the fact if the removed artifacts cease to exist in later version of this recipe. Also drop a superfluous slash from artifact path. Signed-off-by: Niko Mauno <niko.mauno@iki.fi> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python-pygobject: Fix style issueNiko Mauno2018-12-021-1/+1
| | | | | | | Add missing space characters around the operator in SRCNAME declaration Signed-off-by: Niko Mauno <niko.mauno@iki.fi> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python-pygobject: Remove duplication in inheritNiko Mauno2018-12-021-1/+1
| | | | | | | | | Reflect following change in Pythonv3 variant of this recipe http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/meta?id=a195e0471d0df0ac26e00d6fcb3a2786e080a643 and drop redundant inherit for autotools and pkgconfig also here Signed-off-by: Niko Mauno <niko.mauno@iki.fi> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python-pygobject: Only check for even upstream versionsNiko Mauno2018-12-021-1/+1
| | | | | | | | | Reflect following change in Pythonv3 variant of this recipe http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/meta?id=fed093329b504cd46aa758983db6073b70c2af29 and add inherit for upstream-version-is-even.bbclass Signed-off-by: Niko Mauno <niko.mauno@iki.fi> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python-pygobject: Drop redundant dependenciesNiko Mauno2018-12-022-30/+1
| | | | | | | | | | | | | Simplify recipe by reflecting following changes introduced to Pythonv3 variant of this recipe in commits http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/meta?id=b663374cf41465c6dc94001d6fa73a5523542fb6 http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/meta?id=521ea98b2c622f5ae7e6d18849a0379fa7ed4e90 in which the gnome-common dependency was left out due to pygobject moving to autoconf-archive, and remaining configure.ac patch file was also deemed unnecessary. Signed-off-by: Niko Mauno <niko.mauno@iki.fi> Signed-off-by: Khem Raj <raj.khem@gmail.com>