Commit Graph

22 Commits

Author SHA1 Message Date
Marcus Folkesson 436e462c64 python-yaml: create /host target
Make the python-yaml/host target available for the build environment
to be used with e.g. the PKG_BUILD_DEPENDS list.

This is needed for an upcoming package (libcamera).

Signed-off-by: Marcus Folkesson <marcus.folkesson@gmail.com>
2024-04-18 16:28:59 +02:00
krant bd84d97be6 python-yaml: fix build with Cython 3
Signed-off-by: krant <aleksey.vasilenko@gmail.com>
2024-02-24 12:20:49 -08:00
Fabrice Fontaine 94734c4bf9 lang/python/python-yaml: fix PKG_CPE_ID
There is not a single CVE linked to pyyaml_project:pyyaml so use
pyyaml:pyyaml instead:
https://nvd.nist.gov/products/cpe/search/results?keyword=cpe:2.3🅰️pyyaml:pyyaml

Fixes: c06a04c754 (python-yaml: update to version 5.1)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
2024-02-05 00:14:47 -08:00
Jeffery To 60315a6638
python-yaml: Update to 6.0.1
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-09-05 05:29:19 +08:00
Josef Schlehofer 1e1b2051db treewide: change my no longer used email
Since February 2023, I decided to no longer work with Turris, I mean CZ.NIC company
due to some reasons how the development goes and since that day my work address is not
available and not sure if there is some redirect to someone else, but if anyone wants to
reach me, use my email address, where they can find me.

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2023-09-04 16:02:56 +02:00
Jeffery To b1b008f42f
python-packages: Clean up build variables
* Rename PYTHON3_PKG_SETUP_VARS to PYTHON3_PKG_BUILD_VARS, and
  PYTHON3_PKG_SETUP_DIR to PYTHON3_PKG_BUILD_PATH

  The new variable names emphasize that these values apply to the new
  build process.

* Remove PYTHON3_PKG_SETUP_ARGS set to the empty string

  These were set to override the default arguments in the old build
  process and not applicable to the new build process.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-04-24 16:22:03 +08:00
Jeffery To 63d13aa15f
python-libraries: Update build options
This updates the build options for these packages to work with the
pyproject.toml-based build process, and removes
PYTHON3_PKG_FORCE_DISTUTILS_SETUP:=1.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-04-24 16:20:35 +08:00
Jeffery To e6ae9e29d5
python-libraries: Force old build process
These packages will need adjustments to work with pyproject.toml-based
builds, so set PYTHON3_PKG_FORCE_DISTUTILS_SETUP:=1 to force the old
build process (when pyproject.toml-based builds are in place) for now.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-04-24 16:19:49 +08:00
Jeffery To dcf551fbcf
python-cython: Add new host-only package
The host build replaces the use of the host pip requirements file. This
also updates the dependants of Cython to depend on the host build.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-03-31 13:06:33 +08:00
Alexandru Ardelean 1024d42ac6 python-yaml: bump to version 6.0
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-11-21 10:00:28 +02:00
Jeffery To 2210c4a60d python-packages: Clean up Makefiles
This removes:

* Python 3 variants (VARIANT:=python3)

* "for Python3" from package titles

* Package selection condition from package dependencies, e.g.
  +PACKAGE_python3-six:python3-light replaced with +python3-light

* "Default" package information sections, e.g.
  Package/python-six/Default removed and package details merged into
  Package/python3-six

* "(Variant for Python3)" from package descriptions

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-04-22 16:36:55 +08:00
Josef Schlehofer d6239f87d7 python-yaml: update to version 5.3.1
Fixes CVE-2020-1747

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2020-04-06 21:43:02 -10:00
Jeffery To 658b1b6758 python-libraries: Remove Python 2 variants
The Python 2 variants will be added to the abandoned packages feed.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-04-02 14:57:30 +08:00
Josef Schlehofer 683de0a44e
python-yaml: update to version 5.3
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2020-01-20 19:52:16 +01:00
Jeffery To 635cb1309c treewide: Use pypi.mk for Python packages
This updates all Python packages that download their source from PyPi to
use pypi.mk.

This will allow future improvements/changes to pypi.mk to affect all
relevant packages.

This also makes it easier for future Python packages to start using
pypi.mk, when it's clear how it is used in existing packages.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2019-10-30 23:16:18 +08:00
Josef Schlehofer 3cfbdbf25b
python-yaml: Update to version 5.1.2
PKG_NAME should match the name of the folder

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2019-09-01 09:56:04 +02:00
Josef Schlehofer bec7011401
python-yaml: update to version 5.1.1
Reorder one thing in Makefile and add two spaces in description

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2019-07-03 21:19:49 +02:00
Josef Schlehofer c06a04c754
python-yaml: update to version 5.1
- COPYING as a license is no longer available. It's LICENSE
- Add PKG_CPE_ID
- Add a description
- Add Python sources
- Add me as maintainer as the previous maintainer is inactive in OpenWrt
- Changed URL to Git repository, where you can find more details
- Moved TITLE to Default

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2019-04-07 14:50:28 +02:00
Rosen Penev 7ea11eefc6
python-yaml: Update to 3.13
Switch URL to use a more standard location.

Add HTTPS to everything.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-08-18 14:21:49 -07:00
Alexandru Ardelean 1476739d5f treewide: use local python-package.mk & python3-package.mk files
This guarantees for the package feeds that
the mk files will always be available for all packages.

Will need to see about external-feed Python packages
a bit later.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2018-01-10 23:06:23 +02:00
Daniel Golle 80cd2bb8b7 python-yaml: update source and build for python3
Update source to version 3.12 and build for both, python and python3.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2017-07-14 15:59:13 +02:00
Alexandru Ardelean 68312f49c0 python packages: move all things python under lang/python
I admit this may be be a bit aggressive, but the lang
folder is getting cluttered/filled up with Python, PHP, Perl,
Ruby, etc. packages.

Makes sense to try to group them into per-lang folders.

I took the Pythons.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-05-17 16:51:14 +03:00