aboutsummaryrefslogtreecommitdiff
path: root/lang/python
Commit message (Collapse)AuthorAge
...
| * | | | python3: split python3-urllib from python3-lightAlexandru Ardelean2019-02-26
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is the result of this discussion: https://github.com/openwrt/packages/issues/8285 `urllib.request` requires the `email` module/lib, which was part of python3-light. This change moves the Lib/urllib folder from the python3-light into it's own package, making it lighter. At least this way, users that want `urllib` (on top of `python3-light`) will be forced to install it via opkg and this will make sure `python3-email` gets installed as well. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* / / / python,python3: add Jeffery To as co-maintainerAlexandru Ardelean2019-02-27
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For a while now, Jeffery has helped quite a lot with Python, and is now unofficial go-to guy [for problems] with Python packages. This change adds him as co-maintainer [if he also agrees]. I'm not going away; I'll be still doing the same work for Python. This change serves to recognize Jeffery in an official way, since he's already taking on these things. And 2 co-maintainers is better in case one kicks the bucket [by accident]. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* | | Merge pull request #8263 from Cynerd/python-fix-collisionHannu Nyman2019-02-24
|\ \ \ | | | | | | | | python,python3: do not package binary files to base packages
| * | | python,python3: do not package binary files to base packagesKarel Kočí2019-02-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Thanks to fix 200a5a2eec896b2d34f1114d14df66d810c1f4bd all base packages now contain all binaries that are generated as part of python installation. That causes collision between those packages with package managers that consider this such as Turris updater-ng. This is also just wrong. Those binaries were not included and should not be after mentioned fix as well. This just adds empty install definition. The idea is to override the default one that is otherwise used. Signed-off-by: Karel Kočí <karel.koci@nic.cz>
* | | | Merge pull request #8273 from jefferyto/python-pkg-setup-dirHannu Nyman2019-02-23
|\ \ \ \ | | | | | | | | | | python,python3: Add PYTHON_PKG_SETUP_DIR
| * | | | python,python3: allow users to override python args & varsAlexandru Ardelean2019-02-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If users want to define these before including python[3]-package.mk, these vars will be overridden during the include. So, override these vars if they haven't been defined. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
| * | | | python,python3: Add PYTHON_PKG_SETUP_DIRJeffery To2019-02-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds a variable (PYTHON_PKG_SETUP_DIR / PYTHON3_PKG_SETUP_DIR) that allows a Python package Makefile to control the directory where setup.py is called (as part of PyBuild/Compile/Default / Py3Build/Compile/Default). Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* | | | | Merge pull request #8266 from BKPepe/urllib3Hannu Nyman2019-02-21
|\ \ \ \ \ | |/ / / / |/| | | | python-urllib3: add variant for Python3
| * | | | python-urllib3: add variant for Python3Josef Schlehofer2019-02-20
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
* | | | | multiple-python-packages: Update package dataJeffery To2019-02-20
| |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This updates the Python 2 and 3 versions of each package to share the same title field. (For packages that only had this change, their PKG_RELEASE were not incremented.) This also updates the package title, url and source urls, where necessary. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* | | | python-(automat|crypto|gmpy2|parsley): Use default compileJeffery To2019-02-19
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This updates these packages to use the default PyBuild/Compile, instead of defining their own Build/Compile. This also updates the Python 2 and 3 versions to use the same TITLE. This also updates the source url and adds src packages for python-gmpy2. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* | | Merge pull request #8251 from jefferyto/python3-twisted-installHannu Nyman2019-02-19
|\ \ \ | | | | | | | | python-twisted: Fix python3 install
| * | | python-twisted: Fix python3 installJeffery To2019-02-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The install routine was written before the fix in #8241, and wasn't sufficiently tested with that fix. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* | | | python-cffi: Update to 1.12.1Jeffery To2019-02-19
| | | | | | | | | | | | | | | | Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* | | | python-txsocks: Fix twisted dependencyJeffery To2019-02-19
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | This fixes the dependency on twisted, which was renamed to python-twisted earlier. This also changes the package to use the default PyBuild/Compile. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* | | Merge pull request #8240 from jefferyto/python-twistedHannu Nyman2019-02-18
|\ \ \ | | | | | | | | twisted: Rename package, fix errors
| * | | twisted: Rename package, fix errorsJeffery To2019-02-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This renames the Python 2 twisted package to python-twisted, and updates dependents (i.e. obfsproxy) to reference the updated name. This also fixes conflicts between the Python 2 and 3 packages. Twisted installs some scripts to /usr/bin, and previously scripts for both packages used the same names. This adds a "3" suffix to scripts installed by python3-twisted. This also adds python[3]-setuptools as a dependency, as the scripts installed to /usr/bin depend on pkg_resources (part of setuptools). Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* | | | python,python3: Fix calling default PyPackage/installJeffery To2019-02-18
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | This fixes Package/*/install to call PyPackage/*/install correctly. Previously, if a package used the default PyPackage/*/install, then it would not called. (A custom-defined PyPackage/*/install would be called with no issue.) Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* | | Merge pull request #8197 from Cynerd/python3-twistedHannu Nyman2019-02-13
|\ \ \ | | | | | | | | twisted: add Python3 variant
| * | | twisted: add Python3 variantKarel Kočí2019-02-12
| |/ / | | | | | | | | | Signed-off-by: Karel Kočí <karel.koci@nic.cz>
* | | python-pyopenssl: bump to version 19.0.0Alexandru Ardelean2019-02-12
| | | | | | | | | | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* | | python-lxml: bump to version 4.3.1Alexandru Ardelean2019-02-12
| | | | | | | | | | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* | | python-cryptography: bump to version 2.5Alexandru Ardelean2019-02-12
| | | | | | | | | | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* | | python-pyasn1-modules: bump to version 0.2.4Alexandru Ardelean2019-02-12
| | | | | | | | | | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* | | python,python3: fix CVE-2019-5010 - Denial of ServiceAlexandru Ardelean2019-02-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch addresses issue: [ssl][CVE-2019-5010] TALOS-2018-0758 Denial of Service Link to Python issue: https://bugs.python.org/issue35746 Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* | | python,python3: move shebang handle in install scriptAlexandru Ardelean2019-02-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This extends the Python[3] shebang fixup to all packages. Only Python scripts in `/usr/bin` will be handled at the moment. Later it may make sense to also cover executables in `/bin`, though typically Python executables shouldn't be placed there. Previously the shebang handling was only done for python[3]-pip & python[3]-setuptools. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* | | python,python3: make deletion tolerant for paths with spacesAlexandru Ardelean2019-02-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | Piping to xargs does not handle spaces in paths too well, because it splits up the paths. For deleting empty dirs, we also need to do several retries, otherwise `find` will try to go through the directories after they're deleted. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* | | python,python3: move .exe removal in `python-package-install.sh` scriptAlexandru Ardelean2019-02-04
|/ / | | | | | | | | | | | | It's a common operation for both Python & Python3, so move it to the script `python-package-install.sh` script. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* | Merge pull request #7921 from daniel-santos/python-idnaHannu Nyman2019-01-23
|\ \ | | | | | | python-idna: Add missing dependency on python(3)-codecs
| * | python-idna: Add missing dependency on python(3)-codecsDaniel Santos2019-01-12
| | | | | | | | | | | | | | | | | | This error is exposed when using python-minimal. Signed-off-by: Daniel Santos <daniel.santos@pobox.com>
* | | Merge pull request #7953 from neheb/patch-5Hannu Nyman2019-01-20
|\ \ \ | | | | | | | | pytz: Update to 2018.9
| * | | pytz: Update to 2018.9Rosen Penev2019-01-13
| | | | | | | | | | | | Signed-off-by: Rosen Penev <rosenp@gmail.com>
* | | | Merge pull request #7978 from cshoredaniel/pr-python-pkgconfigHannu Nyman2019-01-19
|\ \ \ \ | | | | | | | | | | python3: Add installation of pkconfig to InstallDev section.
| * | | | python3: install pkgconfig to stagingDaniel F. Dickinson2019-01-18
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some programs that use the Python C API have difficulties finding cross-compiled Python3 without the pkgconfig, so make sure we have python3.pc and python-3.7.pc in pkgconfig staging dir. CircleCI requires a package Makefile change to actually do the CI check, so bump PKG_RELEASE. Signed-off-by: Daniel F. Dickinson <cshored@thecshore.com>
* | | | Merge pull request #7948 from cshoredaniel/pr-add-bcryptHannu Nyman2019-01-18
|\ \ \ \ | |/ / / |/| | | bcrypt: Add python secure password hashing library
| * | | bcrypt: Add python secure password hashing libraryDaniel F. Dickinson2019-01-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bcrypt is a secure password hashing mechanism and is extremely useful for more secure Radicale authentication, so add it. Signed-off-by: Daniel F. Dickinson <cshored@thecshore.com>
* | | | python: Fix lib2to3 fixes searchJeffery To2019-01-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This is the patch from c98b12d9a920ede376d1eaef0da0c0da9d26d6b3 (#7931), applied for python 2. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* | | | Merge pull request #7900 from cshoredaniel/pr-add-vobjectHannu Nyman2019-01-12
|\ \ \ \ | | | | | | | | | | vobject: Add python vCard/vCalendar Library
| * | | | vobject: Add python libraryDaniel F. Dickinson2019-01-07
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | Lbrary for vCard and vCalendar support for Python{3}. vobject is used by Radicale2 so add it. Signed-off-by: Daniel F. Dickinson <cshored@thecshore.com>
* | | | Merge pull request #7931 from kidome/masterHannu Nyman2019-01-12
|\ \ \ \ | | | | | | | | | | python3: enable lib2to3 to also search .pyc files.
| * | | | python3: enable lib2to3 to also search and fix .pyc files.Nj Hsiong2019-01-09
| | |/ / | |/| | | | | | | | | | | | | | | | | | python3's lib2to3 would fail in silence if python3 and its packages are installed as compiled .pyc files. Root cause is, in Lib/lib2to3/refactor.py, the function get_all_fix_names only searches '.py' fix names. Signed-off-by: Nj Hsiong <nj.hsiong@gmail.com>
* | | | Merge pull request #7913 from commodo/python-readmeHannu Nyman2019-01-09
|\ \ \ \ | |/ / / |/| | | lang/python/README.md: add doc describing the lang/python subtree
| * | | lang/python/README.md: add doc describing the lang/python subtreeAlexandru Ardelean2019-01-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It was a semi-popular request a while back that I put off for a while. Here's a quick doc. I'll update it later as things change and I don't forget. It also lets other people update if something is wrong. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* | | | Merge pull request #7899 from cshoredaniel/pr-update-dateutilHannu Nyman2019-01-08
|\ \ \ \ | |/ / / |/| | | python-dateutil: update dateutil packaging
| * | | python-dateutil: Update packaging and add Python3 versionDaniel F. Dickinson2019-01-07
| |/ / | | | | | | | | | | | | | | | | | | | | | Update the packaging to use the generic bits by @commodo. Radicale 2.x requires Python3 and python-dateutils, so build for Python3 as well. Signed-off-by: Daniel F. Dickinson <cshored@thecshore.com>
* | | Merge pull request #7908 from cshoredaniel/pr-add-passlibHannu Nyman2019-01-08
|\ \ \ | | | | | | | | passlib: Add python library
| * | | passlib: Add python libraryDaniel F. Dickinson2019-01-08
| |/ / | | | | | | | | | | | | | | | | | | passlib is extremely useful for more secure Radicale authentication so add it. Signed-off-by: Daniel F. Dickinson <cshored@thecshore.com>
* | | Merge pull request #7903 from commodo/pyasn1-modulesHannu Nyman2019-01-08
|\ \ \ | | | | | | | | python-pyasn1-modules: bump to version 0.2.3
| * | | python-pyasn1-modules: bump to version 0.2.3Alexandru Ardelean2019-01-07
| |/ / | | | | | | | | | | | | | | | | | | This change upgrades the version of pyasn1-modules to version 0.2.3. Run-tested on an x86 VM. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* / / python-lxml: bump to version 4.3.0Alexandru Ardelean2019-01-07
|/ / | | | | | | | | | | | | This change upgrades the version of lxml to 4.3.0. Run-tested on an x86 VM. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>