aboutsummaryrefslogtreecommitdiff
path: root/lang/python
Commit message (Collapse)AuthorAge
...
| * | | | python3-flask: update to version 1.0.3Jan Pavlinec2019-06-10
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changes: Makefile cleanup change url to https add src package Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
* | | | Merge pull request #9171 from ja-pa/python3-maxminddbJosef Schlehofer2019-06-10
|\ \ \ \ | |_|/ / |/| | | python3-maxminddb: add new package
| * | | python3-maxminddb: add new packageJan Pavlinec2019-06-10
| |/ / | | | | | | | | | Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
* / / python3-pyroute2: Update to version 0.5.6Martin Matějek2019-06-07
|/ / | | | | | | Signed-off-by: Martin Matějek <martin.matejek@gmx.com>
* | Merge pull request #9131 from jefferyto/python-bpo-35907Rosen Penev2019-06-05
|\ \ | | | | | | python,python3: Fix CVE-2019-9948 - local_file:// allowed in urllib
| * | python,python3: Fix CVE-2019-9948 - local_file:// allowed in urllibJeffery To2019-06-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These patches address issue: CVE-2019-9948: Unnecessary URL scheme exists to allow local_file:// reading file in urllib Link to Python issue: https://bugs.python.org/issue35907 Issue 35907 is still currently open, waiting for a decision for Python 3.5; these patches for Python 2.7 and 3.7 have been merged. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* | | Merge pull request #9129 from ysc3839/pycryptodomeHannu Nyman2019-06-04
|\ \ \ | | | | | | | | python-cryptodome: update to 3.8.2.
| * | | python-cryptodome: update to 3.8.2.Richard Yu2019-06-03
| | | | | | | | | | | | | | | | Signed-off-by: Richard Yu <yurichard3839@gmail.com>
* | | | Merge pull request #9114 from ↵Hannu Nyman2019-06-03
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | jefferyto/python-host-setuptools-pip-installed-pkg-release python,python3: Record PKG_RELEASE for host setuptools/pip
| * | | python,python3: Record PKG_RELEASE for host setuptools/pipJeffery To2019-06-01
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This changes the "patched" indicator files for host setuptools and pip to include their PKG_RELEASE values. This also removes host setuptools and/or pip before host install, if the installed copy does not match the version (and PKG_RELEASE) of the copy to be installed. This will allow added or removed patches to affect host setuptools / pip, since these changes will cause PKG_RELEASE to be incremented. This also fixes the host install error, when the install tries to patch an already patched copy of setuptools. (This error occurs because the existing indicator files do not have version numbers in their file names, whereas host install expected version numbers to be present.) Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* | | Merge pull request #9100 from jefferyto/isolate-host-pythonRosen Penev2019-06-03
|\ \ \ | | | | | | | | python,python3: Better isolate host Python
| * | | python,python3: Disable user site-packages for host PythonJeffery To2019-05-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Normally, Python will include the user's site-packages directory (~/.local/lib/python$(PYTHON_VERSION)/site-packages) in it's internal search path for modules. This disables this default inclusion for host Python. This change is applied during Host/Configure instead of as a patch to keep this setting unchanged for target Python. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
| * | | python,python3: Update host pip[3] install functionsJeffery To2019-05-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add --cache-dir option to set the pip cache to a directory in $(DL_DIR), instead of pip's default (build user's ~/.cache/pip), fixes #9066 * Add --disable-pip-version-check option, since the version check only prints a message saying a new version is available * Combine host_python_pip_install and host_python_pip_install_host into Build/Compile/HostPy[3]PipInstall * Remove --root and --prefix options, since this function is only used to install packages to host Python's default site-packages directory (setting these may serve to confuse pip) * Pass all of $(HOST_PYTHON[3]_PACKAGE_BUILD_DEPENDS) to the function, since pip can handle multiple arguments/packages Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* | | | Merge pull request #9121 from jefferyto/python-cryptography-2.7Rosen Penev2019-06-03
|\ \ \ \ | | | | | | | | | | python-cryptography: Update to 2.7
| * | | | python-cryptography: Update to 2.7Jeffery To2019-06-03
| | |/ / | |/| | | | | | | | | | Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* / | | python,python3: Fix CVE-2019-9740 and CVE-2019-9947Jeffery To2019-06-03
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These patches address issues: CVE-2019-9740: Python urllib CRLF injection vulnerability CVE-2019-9947: Header Injection in urllib Links to Python issues: https://bugs.python.org/issue36276 (resolved duplicated of 30458) https://bugs.python.org/issue35906 (resolved duplicated of 30458) https://bugs.python.org/issue30458 Issue 30458 is still currently open, waiting for a decision for Python 3.5; these patches for Python 2.7 and 3.7 have been merged. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* | | Merge pull request #9087 from BKPepe/urllib3Josef Schlehofer2019-05-30
|\ \ \ | | | | | | | | python-urllib3: update to version 1.25.3
| * | | python-urllib3: update to version 1.25.3Josef Schlehofer2019-05-26
| |/ / | | | | | | | | | Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
* | | Merge pull request #9103 from ↵Hannu Nyman2019-05-30
|\ \ \ | | | | | | | | | | | | | | | | jefferyto/python-host-patch-upgraded-setuptools-pip python,python3: Allow upgraded host setuptools/pip to be patched
| * | | python,python3: Allow upgraded host setuptools/pip to be patchedJeffery To2019-05-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds the current setuptools/pip version numbers to the indicator files' names, which should allow upgraded versions to be patched. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* | | | Merge pull request #9101 from jefferyto/python-setuptools-pip-installHannu Nyman2019-05-30
|\ \ \ \ | | | | | | | | | | python-setuptools,python-pip: Installation changes
| * | | | python3-setuptools,python3-pip: Use more predictable pycache cleanupJeffery To2019-05-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This uses two find commands to delete __pycache__ contents then the __pycache__ directories, rather than a for loop. The second command omits a -empty test, so that if the first command doesn't remove all directory contents for some reason, the second command will return an error (find will not delete a non-empty directory). Signed-off-by: Jeffery To <jeffery.to@gmail.com>
| * | | | python-setuptools,python-pip: Change prefix to /usrJeffery To2019-05-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This changes the --prefix option, passed to host pip when "installing" target setuptools and pip, to /usr, in case the prefix is recorded in the packages. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
| * | | | python-setuptools,python-pip: Set pip cache dir, disable version checkJeffery To2019-05-29
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds --cache-dir and --disable-pip-version-check options for host pip, when "installing" target setuptools and pip. This also changes the pip command to use $(HOST_PYTHON[3]_PIP) from python[3]-host.mk. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* | | | Merge pull request #9102 from jefferyto/python-cffi-cryptography-build-dependsHannu Nyman2019-05-30
|\ \ \ \ | |_|/ / |/| | | python-cffi,python-cryptography: Fix build depends
| * | | python-cffi,python-cryptography: Fix build dependsJeffery To2019-05-29
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | python-cryptography's build depends (host cffi, libffi) were transferred to python-cffi at some point; this corrects the situation. python-cryptography's host Python build depends is copied from its setup.py[1]. [1]: https://github.com/pyca/cryptography/blob/2.6.1/setup.py#L47 Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* | | Merge pull request #8979 from val-kulkov/python-curlHannu Nyman2019-05-29
|\ \ \ | | | | | | | | python-curl: remove hardcoded dependency on mbedtls
| * | | python-curl: remove hardcoded dependency on mbedtlsVal Kulkov2019-05-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes issue #8978. If libcurl's SSL library is set to an SSL library other than libmbedtls, compilation fails. This patch configures python-curl to use the currently selected SSL library for libcurl. Signed-off-by: Val Kulkov <val.kulkov@gmail.com>
* | | | Merge pull request #9093 from jefferyto/python-host-ensurepip-upgrade-uninstallHannu Nyman2019-05-29
|\ \ \ \ | | | | | | | | | | python,python3: Use ensurepip=upgrade for host Python
| * | | | python,python3: Use ensurepip=upgrade for host PythonJeffery To2019-05-28
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | This changes --with-ensurepip=install to upgrade, to upgrade host versions of setuptools and pip to the Python-bundled versions. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* | | | Merge pull request #9085 from commodo/readme-multi-package-feedsHannu Nyman2019-05-29
|\ \ \ \ | | | | | | | | | | lang: python: readme: document mechanism for corner-case python[3]-package.mk location
| * | | | lang: python: readme: document mechanism for corner-case ↵Alexandru Ardelean2019-05-28
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | python[3]-package.mk location After some thinking over this, documenting this behavior makes sense versus adding some functionst to handle this. There is some validity/use-cases where some users may want to reference a python[3]-package.mk from some other location as well as have the flexibility to change it (locally). One example can be when the local `packages` is renamed to something else. This does not fall on the responsibility of the Python maintainers, but it can be documented. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* / / / python,python3: Clear more fields for src packagesJeffery To2019-05-28
|/ / / | | | | | | | | | | | | | | | | | | This clears the CONFLICTS, PROVIDES, EXTRA_DEPENDS, and USERID fields for -src packages. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* | | Merge pull request #9060 from jefferyto/python-setuptools-reproducibleRosen Penev2019-05-25
|\ \ \ | | | | | | | | python-setuptools: Add reproducibility patches from Debian
| * | | python-setuptools: Add reproducibility patches from DebianJeffery To2019-05-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds the ability to patch setuptools (and pip), and adds 3 reproducibility patches from Debian[1]. (003-PKG-INFO-output-reproducible.patch addresses the issue identified in #9039.) The patching is not perfect, in that the patches are applied to setuptools and pip after they have been installed, since they are installed from wheels which are already "precompiled". Also, patching for the host install cannot be updated in place, for example if a patch is added or removed. [1]: https://sources.debian.org/patches/python-setuptools/40.8.0-1/ Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* | | | python-chardet: Rename Python 3 scriptJeffery To2019-05-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The Python 2 and 3 versions of chardet both install a script with the same name (/usr/bin/chardetect). This is the issue identified in #9006 (https://github.com/openwrt/packages/pull/9006#issuecomment-493709812). This renames the Python 3 script to chardetect3. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* | | | python-requests-oauthlib: add python3, clean depsEneas U de Queiroz2019-05-24
|/ / / | | | | | | | | | | | | | | | | | | | | | Added a python3 variant, and removed python-cryptography, and pyjwt from the dependencies. They are required only to run one test, that is not even being installed. Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
* | | Merge pull request #9047 from cotequeiroz/python-licenseRosen Penev2019-05-21
|\ \ \ | | | | | | | | python-{pip,setuptools}: add LICENSE, CPE information
| * | | python-python3-pip: add LICENSE informationEneas U de Queiroz2019-05-21
| | | | | | | | | | | | | | | | | | | | | | | | CVE id was left commented out as it is not handled by uscan. Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
| * | | python-python3-setuptools: add LICENSE informationEneas U de Queiroz2019-05-21
| | | | | | | | | | | | | | | | | | | | | | | | CVE id was left commented out as it is not handled by uscan. Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
* | | | openpyxl: bump to 2.6.2, add python3, fix dependsEneas U de Queiroz2019-05-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The current package does not work, due to missing dependencies, so they are being added now, along with python3 support. This versions brings many bugfixes, and the option to use defusedxml if available, protecting against many xml exploits. Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
* | | | python-et_xmlfile: restore & update removed packageEneas U de Queiroz2019-05-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a dependency of the openpyxl package. The package Makefile was reworked, and a python3 variant was added. Maintainer was changed to Alexandru Ardelean & Eneas U de Queiroz. Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
* | | | python-jdcal: restore & update removed packageEneas U de Queiroz2019-05-21
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | This is a dependency of the openpyxl package. The package Makefile was reworked, and a python3 variant was added. Maintainer was changed to Alexandru Ardelean & Eneas U de Queiroz. Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
* | | Merge pull request #8993 from cotequeiroz/rcssminRosen Penev2019-05-21
|\ \ \ | | | | | | | | python-rcssmin: restore & update removed package, add depend to django-compressor
| * | | django-compressor: add missing dependencies.Eneas U de Queiroz2019-05-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added python-rcssmin, and django-appconfig as dependencies, and a note in the package help text about not having a rjsmin package, so the jsmin (javascript) filter will not work. Adjusted the Makefile to conform to current python-package style, and to display the package title correctly in menuconfig. Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
| * | | python-rcssmin: restore & update removed packageEneas U de Queiroz2019-05-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a dependency of django-compressor. The package Makefile was reworked, and a python3 variant was added. Maintainer was changed to Alexandru Ardelean & Eneas U de Queiroz. Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
* | | | Merge pull request #9040 from cotequeiroz/python-licenseRosen Penev2019-05-21
|\ \ \ \ | | | | | | | | | | Python/python3: refresh license information
| * | | | python3: refresh LICENSE informationEneas U de Queiroz2019-05-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changed PKG_LICENSE to reflect spdx license tag, and PKG_LICENSE_FILES to include all lincense-related files applicable to the parts of the code we are actually using to build and/or distributing. The Windows-only files, and the python-bundled Tools we're not using have been left out. Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
| * | | | python: refresh LICENSE informationEneas U de Queiroz2019-05-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changed PKG_LICENSE to reflect spdx license tag, and PKG_LICENSE_FILES to include all lincense-related files applicable to the parts of the code we are actually using to build and/or distributing. The Windows-only files, and the python-bundled Tools we're not using have been left out. Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
* | | | | Merge pull request #9039 from cotequeiroz/python_conditionalRosen Penev2019-05-21
|\ \ \ \ \ | |/ / / / |/| | | | treewide: add PACKAGE_* DEPENDS conditionals to python packages building both variants, update README.md