aboutsummaryrefslogtreecommitdiff
path: root/lang/python
Commit message (Collapse)AuthorAge
* Merge pull request #8604 from ysc3839/pycryptodomeRosen Penev2019-04-08
|\ | | | | python-cryptodome: update to 3.8.1
| * python-cryptodome: update to 3.8.1Richard Yu2019-04-08
| | | | | | | | Signed-off-by: Richard Yu <yurichard3839@gmail.com>
* | python: Update readmeJeffery To2019-04-08
| | | | | | | | | | | | | | This adds more details on the PYTHON[3]_PKG_SETUP_* variables, the filespec format, and the build/install processes in general. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* | Merge pull request #8482 from BKPepe/pyamlJosef Schlehofer2019-04-07
|\ \ | | | | | | python-yaml: update to version 5.1
| * | python-yaml: update to version 5.1Josef Schlehofer2019-04-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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>
* | | Merge pull request #8325 from BKPepe/python3-curlJosef Schlehofer2019-04-07
|\ \ \ | | | | | | | | python-curl: Add variant for Python3
| * | | python-curl: Add variant for Python3Josef Schlehofer2019-04-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Use mbedTLS as default and add patches for it - Use files.pythonhosted.org in PKG_SOURCE_URL - Changed description - Reordered things in Makefile Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
* | | | python-voluptuous-serialize: add dependency for voluptuousJosef Schlehofer2019-04-07
| | | | | | | | | | | | | | | | Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
* | | | python,python3: Add PYTHON[3]_PKG_SETUP_GLOBAL_ARGSJeffery To2019-04-05
| |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some packages (PyYAML, https://github.com/openwrt/packages/pull/8482#discussion_r270692276) recognize "global" options to setup.py; these must appear before the "install" command on the command line. This adds PYTHON[3]_PKG_SETUP_GLOBAL_ARGS, which let packages set these global options. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* | | Merge pull request #8584 from jefferyto/python-compileall-recursion-levelRosen Penev2019-04-04
|\ \ \ | | | | | | | | python,python3: Increase max recursion level when generating bytecode
| * | | python,python3: Increase max recursion level when generating bytecodeJeffery To2019-04-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | "python -m compileall" has a default maximum recursion level of 10, i.e. it will descend up to 10 levels of subdirectories when looking for source files to compile. This is usually sufficient but there are packages that include more than 10 levels (botocore, https://github.com/openwrt/packages/pull/8214#discussion_r270056741). This adds the "-r" command line option to the call to compileall to increase the max recursion level (currently set to 20). This also patches Python 2's compileall.py to add this max recursion level option. (Python 3's compileall.py already supports this option.) This also applies some related changes to python-package-install.sh: * Use the "-delete" option with find instead of exec'ing rm / rmdir. For the case of removing empty directories (in delete_empty_dirs()), this has the added benefit of simplifying the code, as the "-delete" option implies "-depth", and thus find "does the right thing" (removing empty directories depth-first). * Remove the backslash in "-name" patterns (for find), as they are not regular expression but glob patterns. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* | | | Merge pull request #8516 from jefferyto/python-configRosen Penev2019-04-04
|\ \ \ \ | |/ / / |/| | | python,python3: Include python-config for target Python in InstallDev
| * | | python,python3: Include python-config for target Python in InstallDevJeffery To2019-03-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This installs python{2.7,3.7}-config in $(STAGING_DIR)/usr/bin as part of Build/InstallDev, to be used by other packages to get build configuration for target Python. The treatment for Python 2 and 3 are a bit different: * For Python 2, python-config is a Python script that is expected to be run with, and return data for, the installed Python interpreter. This installs a modified version of this script, to be run using host Python, and read/return data for target Python. * Python 3 includes a shell script version of python-config (expected to be used in cross-compilation scenarios). This simply installs the script into the right place. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* | | | Merge pull request #8550 from jefferyto/python-fix-bin-symlinksJosef Schlehofer2019-04-03
|\ \ \ \ | | | | | | | | | | python,python3: Fix overridden usr/bin symlinks
| * | | | python,python3: Fix overridden usr/bin symlinksJeffery To2019-04-03
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently, all files in usr/bin (presumably all Python scripts) are run through sed to replace the shebang; sed will overwrite the file whether or not a match is found. This causes symlinks to be overridden and made into copies of their targets. python[3]-base and python[3]-dev are affected by this. This adds the --follow-symlinks flag to sed, in addition to using $(SED), so that symlinks are not overridden. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* | | | Merge pull request #8526 from BKPepe/voluptuous-serializeJosef Schlehofer2019-04-01
|\ \ \ \ | | | | | | | | | | python-voluptuous-serialize: add package for Python3
| * | | | python-voluptuous-serialize: add package for Python3Josef Schlehofer2019-04-01
| | |_|/ | |/| | | | | | | | | | Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
* | | | Merge pull request #8485 from BKPepe/aiohttpJosef Schlehofer2019-04-01
|\ \ \ \ | | | | | | | | | | python-aiohttp: add a new package
| * | | | python-aiohttp: add a new packageJosef Schlehofer2019-04-01
| |/ / / | | | | | | | | | | | | Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
* | | | Merge pull request #8551 from BKPepe/pyotpJosef Schlehofer2019-04-01
|\ \ \ \ | | | | | | | | | | python-pyotp: add new package for Python3
| * | | | python-pyotp: add new package for Python3Josef Schlehofer2019-04-01
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
* | | | | Merge pull request #8481 from BKPepe/yarlJosef Schlehofer2019-04-01
|\ \ \ \ \ | | | | | | | | | | | | python-yarl: add a new package
| * | | | | python-yarl: add a new packageJosef Schlehofer2019-04-01
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
* | | | | | Merge pull request #8484 from BKPepe/async_timeoutJosef Schlehofer2019-04-01
|\ \ \ \ \ \ | | | | | | | | | | | | | | async-timeout: add a new package
| * | | | | | async-timeout: add a new packageJosef Schlehofer2019-04-01
| |/ / / / / | | | | | | | | | | | | | | | | | | Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
* | | | | | Merge pull request #8515 from BKPepe/python-slugifyJosef Schlehofer2019-04-01
|\ \ \ \ \ \ | | | | | | | | | | | | | | python-slugify: add new package for Python3
| * | | | | | python-slugify: add Python3 packageJosef Schlehofer2019-04-01
| | |_|/ / / | |/| | | | | | | | | | | | | | | | Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
* | | | | | Merge pull request #8503 from BKPepe/voluptuousJosef Schlehofer2019-04-01
|\ \ \ \ \ \ | | | | | | | | | | | | | | python-voluptuous: add a new package
| * | | | | | python-voluptuous: add a new packageJosef Schlehofer2019-03-28
| |/ / / / / | | | | | | | | | | | | | | | | | | Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
* | | | | | Merge pull request #8480 from BKPepe/multidictJosef Schlehofer2019-04-01
|\ \ \ \ \ \ | | | | | | | | | | | | | | python-multidict: add a new package
| * | | | | | python-multidict: add a new packageJosef Schlehofer2019-04-01
| | |/ / / / | |/| | | | | | | | | | | | | | | | Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
* | | | | | Merge pull request #8478 from BKPepe/python_astralJosef Schlehofer2019-03-31
|\ \ \ \ \ \ | | | | | | | | | | | | | | python-astral: add new package
| * | | | | | python-astral: add new packageKarel Kočí2019-03-28
| | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Karel Kočí <cynerd@email.cz> Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
* | | | | | Merge pull request #8511 from BKPepe/ruamel-yamlRosen Penev2019-03-31
|\ \ \ \ \ \ | | | | | | | | | | | | | | ruamel-yaml: add package
| * | | | | | ruamel-yaml: add packageJosef Schlehofer2019-03-28
| |/ / / / / | | | | | | | | | | | | | | | | | | Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
* | | | | | Merge pull request #8514 from BKPepe/text-unidecodeRosen Penev2019-03-31
|\ \ \ \ \ \ | |_|_|_|/ / |/| | | | | text-unidecode: add new package
| * | | | | text-unidecode: add new packageJosef Schlehofer2019-03-28
| |/ / / / | | | | | | | | | | | | | | | Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
* | | / / python,python3: Fix CVE-2019-9636 - urlsplit missing NFKC normalizationJeffery To2019-03-31
| |_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These patches address issue: CVE-2019-9636: urlsplit does not handle NFKC normalization Link to Python issue: https://bugs.python.org/issue36216 Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* | | | python,python3: Use only target package data for Build/InstallDevJeffery To2019-03-27
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This changes Build/InstallDev for both Python 2 and 3 to only copy files from target Python, not from host Python, since InstallDev files are used for target packages to link to other target packages. In particular, usr/lib/python{2.7,3.7}/_sysconfigdata.py holds system configuration data generated at build time, and is different for target Python and host Python. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* | | Merge pull request #8474 from jefferyto/python-cffi-1.12.2Hannu Nyman2019-03-22
|\ \ \ | | | | | | | | python-cffi: Update to latest version
| * | | python-cffi: Update to latest versionJeffery To2019-03-22
| | | | | | | | | | | | | | | | Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* | | | python-attrs: Update to latest versionJeffery To2019-03-22
|/ / / | | | | | | | | | Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* | | Merge pull request #8445 from cotequeiroz/python-requests-oauthlib_1.2.0Hannu Nyman2019-03-21
|\ \ \ | | | | | | | | python-requests-oauthlib: update to 1.2.0; python-oauthlib: update to 3.0.1
| * | | python-requests-oauthlib: update to 1.2.0Eneas U de Queiroz2019-03-18
| | | | | | | | | | | | | | | | | | | | | | | | This version adds compatibility with OAuthlib 3.0.0 and above. Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
| * | | python-oauthlib: update to 3.0.1Eneas U de Queiroz2019-03-18
| | | | | | | | | | | | | | | | | | | | | | | | This is a major update with bufixes, new features and API changes. Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
* | | | python-influxdb: update to 5.2.2Karel Kočí2019-03-20
| | | | | | | | | | | | | | | | Signed-off-by: Karel Kočí <karel.koci@nic.cz>
* | | | Merge pull request #8446 from cotequeiroz/python-qrcode_6.1Hannu Nyman2019-03-19
|\ \ \ \ | | | | | | | | | | python-qrcode: bump to 6.1, fix dependencies
| * | | | python-qrcode: bump to 6.1, fix dependenciesEneas U de Queiroz2019-03-11
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | The package was missing dependencies on pillow and python-setuptools. The Makefile was simplified. Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
* | | | python3: remove OpenSSL deprecated API patchAlexandru Ardelean2019-03-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes: https://github.com/openwrt/packages/issues/8399 These 2 patches cause some breakage for other packages. For now, we drop them and wait for upstream to finalize a fix. We can live with deprecated SSL APIs for a while. No need to hurry, since this doesn't seem to help. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* | | | Merge pull request #8381 from cotequeiroz/python-certifi_2019.3.9Hannu Nyman2019-03-17
|\ \ \ \ | | | | | | | | | | python-certifi: Update to 2019.3.9