aboutsummaryrefslogtreecommitdiff
path: root/lang/python
Commit message (Collapse)AuthorAge
...
* | | | Merge pull request #9264 from cotequeiroz/bcryptRosen Penev2019-06-19
|\ \ \ \ | | | | | | | | | | bcrypt: add python-cffi/host build dependency
| * | | | bcrypt: add python-cffi/host build dependencyEneas U de Queiroz2019-06-18
| | |_|/ | |/| | | | | | | | | | Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
* | | | python: Clarify README for Python 2-only librariesJeffery To2019-06-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This clarifies that Python 2-only libraries will have a Python 3 version added, instead of being replaced by a Python 3 version (before the 2020 mass removal). Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* | | | Merge pull request #9224 from BKPepe/markdownJosef Schlehofer2019-06-19
|\ \ \ \ | | | | | | | | | | python-markdown: add a new package
| * | | | python-markdown: add a new packageKarel Kočí2019-06-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Karel Kočí <karel.koci@nic.cz> [Add me as maintainer] Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
* | | | | Merge pull request #9256 from BKPepe/pycurlRosen Penev2019-06-18
|\ \ \ \ \ | |_|/ / / |/| | | | python-curl: update to version 7.43.0.3
| * | | | python-curl: update to version 7.43.0.3Josef Schlehofer2019-06-18
| |/ / / | | | | | | | | | | | | | | | | | | | | Patch was accepted. Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
* | | | django-constance: convert to python pkg format + add python3 variantAlexandru Ardelean2019-06-18
| | | | | | | | | | | | | | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* | | | django: convert to python pkg format + add python3 variantAlexandru Ardelean2019-06-18
| | | | | | | | | | | | | | | | | | | | | | | | This also updates all dependencies to use the new `python-django` package. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* | | | python-pytz: remove host-buildAlexandru Ardelean2019-06-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | seafile-seahub was the only user of this. Remove this from the build. Having it here is a bit messy. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* | | | python-certifi: bump to 2019.6.16Eneas U de Queiroz2019-06-17
|/ / / | | | | | | | | | Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
* | | Merge pull request #9208 from BKPepe/zeroconfRosen Penev2019-06-10
|\ \ \ | | | | | | | | zeroconf: update to version 0.23.0
| * | | zeroconf: update to version 0.23.0Josef Schlehofer2019-06-10
| | | | | | | | | | | | | | | | Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
* | | | Merge pull request #9207 from BKPepe/ruamelRosen Penev2019-06-10
|\ \ \ \ | | | | | | | | | | ruamel-yaml: update to version 0.15.97
| * | | | ruamel-yaml: update to version 0.15.97Josef Schlehofer2019-06-09
| |/ / / | | | | | | | | | | | | Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
* | | | Merge pull request #9199 from jefferyto/python-config-staging-dir-hostRosen Penev2019-06-10
|\ \ \ \ | | | | | | | | | | python,python3: Move python-config to $(STAGING_DIR)/host
| * | | | python,python3: Move python-config to $(STAGING_DIR)/hostJeffery To2019-06-10
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Build/InstallDev is passed a second argument, a path where host binaries should be placed (ultimately $(STAGING_DIR)/host). This change moves python[3]-config to that directory. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* | | | Merge pull request #9213 from ja-pa/python3-flask-loginRosen Penev2019-06-10
|\ \ \ \ | | | | | | | | | | python3-flask-login: add new package
| * | | | python3-flask-login: add new packageJan Pavlinec2019-06-10
| | |_|/ | |/| | | | | | | | | | Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
* | | | Merge pull request #9214 from jefferyto/python-twisted-19.2.1Rosen Penev2019-06-10
|\ \ \ \ | | | | | | | | | | python-twisted: Update to 19.2.1
| * | | | python-twisted: Update to 19.2.1Jeffery To2019-06-10
| | |/ / | |/| | | | | | | | | | Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* | | | Merge pull request #9169 from ja-pa/flask-1.0.3Daniel Golle2019-06-10
|\ \ \ \ | | | | | | | | | | python3-flask: update to version 1.0.3
| * | | | 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>