aboutsummaryrefslogtreecommitdiff
path: root/lang/python
Commit message (Collapse)AuthorAge
...
* python3: backport three security patchesJosef Schlehofer2019-09-29
| | | | | | Fixes: CVE-2019-16935 Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
* Merge pull request #10083 from BKPepe/sentrysdkRosen Penev2019-09-27
|\ | | | | python-sentry-sdk: Update to version 0.12.2
| * python-sentry-sdk: Update to version 0.12.2Josef Schlehofer2019-09-26
| | | | | | | | Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
* | python-cryptodome: update to 3.9.0Richard Yu2019-09-27
| | | | | | | | Signed-off-by: Richard Yu <yurichard3839@gmail.com>
* | python-urllib3: Update to version 1.25.6Josef Schlehofer2019-09-26
|/ | | | Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
* treewide: add PKG_CPE_ID for cvescannerJan Pavlinec2019-09-24
| | | | Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
* gunicorn: convert to Python packaging format + add Python3 variantAlexandru Ardelean2019-09-20
| | | | | | | | | | | | | | | | | | | | | | | | | And splitting the gunicorn[3] binary/executable away from the python[3]-gunicorn libraries. This was inspired from Debian packaging. The gunicorn[3] binaries require the new `python[3]-pkg-resources` libraries to run, which add ~1.1 MB on the [ram]disk when uncompressed. For the Python2 variant, the `_gaiohttp.py` is dropped as it fails to compile, so it would likely be unusable anyway: ``` File "/usr/lib/python2.7/site-packages/gunicorn/workers/_gaiohttp.py", line 84 yield from self.wsgi.close() ^ SyntaxError: invalid syntax ``` People around the web recommend this as well: https://stackoverflow.com/questions/25611140/syntax-error-installing-gunicorn https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=803170 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=803202 Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python,python3: add Py[3]Shebang functions & move outside of scriptAlexandru Ardelean2019-09-20
| | | | | | | | | | | | | | | | Some packages just install some Python binaries, that may need their shebang fixed. This change adds some utilities to help with that and try to centralize the sed rules a bit. It also removes the logic from the `python-package-install.sh` into the `python-package[3].mk` files. This does 2 things: 1. It minimizes the need for the shell script to know the Python version 2/3 2. Makes the logic re-usable in packages; especially if the install rules differ a bit Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python,python3: split python[3]-pkg-resources from setuptoolsAlexandru Ardelean2019-09-20
| | | | | | | | | | This package is required by other packages to run some binaries via `load_entry_point`. So, this splits this package away from setuptools. setuptools is pretty big, akd pkg-resources is also big, but not as big. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python: change condition check for legacy opt for Python3Alexandru Ardelean2019-09-20
| | | | | | | | As I remember this worked. But since `set -e` is set, I am a bit paranoid about it. In the sense that it may fail if `ver` != 3. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python-certifi: bump to 2019.9.11Eneas U de Queiroz2019-09-19
| | | | Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
* django: Update to 1.11.24Rosen Penev2019-09-18
| | | | | | | | | | | | | | | Fixes a whole bunchs of CVEs: CVE-2019-3498 CVE-2019-6975 CVE-2019-12308 CVE-2019-12781 CVE-2019-14232 CVE-2019-14233 CVE-2019-14234 CVE-2019-14235 Signed-off-by: Rosen Penev <rosenp@gmail.com>
* python-schema: update to version 0.7.1Karel Kočí2019-09-16
| | | | Signed-off-by: Karel Kočí <karel.koci@nic.cz>
* Merge pull request #9705 from commodo/python-mysqlclientRosen Penev2019-09-12
|\ | | | | python-mysql[client]: rename to python-mysqlclient & bump to version 1.4.4
| * python-mysql: rename to python-mysqlclient & bump to version 1.4.4Alexandru Ardelean2019-09-02
| | | | | | | | | | | | | | | | | | | | | | | | | | The package on PyPi is named `mysqlclient`. This should have been named `python-mysqlclient` from the start. There is a `mysql` package on PyPi already but that's a different code/package. Doing this should avoid any future confusion. There is no good time to do this rename; at least 19.07 has been branched already and this can go into the next release [in a year or so]. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* | treewide: Change .*GPL.*+ licenses to SPDX compatible identifierSven Eckelmann2019-09-10
| | | | | | | | | | | | | | | | The CONTRIBUTING.md requests an (or multiple) SPDX identifier for GPL licenses. But a lot of packages did use a different, non-SPDX style with a "+" at the end instead of "-or-later". Signed-off-by: Sven Eckelmann <sven@narfation.org>
* | Merge pull request #9885 from BKPepe/voluptuousRosen Penev2019-09-03
|\ \ | | | | | | Voluptuous & Voluptuous Serialize: update to their latest versions
| * | python-voluptuous-serialize: Update to version 2.2.0Josef Schlehofer2019-09-01
| | | | | | | | | | | | Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
| * | python-voluptuous: Update to version 0.11.7Josef Schlehofer2019-09-01
| | | | | | | | | | | | Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
* | | Merge pull request #9887 from BKPepe/sqlalchemyRosen Penev2019-09-03
|\ \ \ | | | | | | | | python-sqlalchemy: Update to version 1.3.7
| * | | python-sqlalchemy: Update to version 1.3.7Josef Schlehofer2019-09-01
| |/ / | | | | | | | | | Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
* | | Merge pull request #9895 from BKPepe/sentryRosen Penev2019-09-03
|\ \ \ | | | | | | | | python-sentry-sdk: Update to version 0.11.2
| * | | python-sentry-sdk: Update to version 0.11.2Josef Schlehofer2019-09-01
| |/ / | | | | | | | | | Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
* | | Merge pull request #9888 from BKPepe/slugifyDaniel Engberg2019-09-03
|\ \ \ | | | | | | | | python-slugify: Update to version 3.0.3
| * | | python-slugify: Update to version 3.0.3Josef Schlehofer2019-09-01
| |/ / | | | | | | | | | | | | | | | Change indentation in dependencies and as well in description Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
* | / python-pyasn1: Update to 0.4.7Jeffery To2019-09-03
| |/ |/| | | | | Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* | python-yaml: Update to version 5.1.2Josef Schlehofer2019-09-01
|/ | | | | | PKG_NAME should match the name of the folder Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
* python-oauthlib: bump to 3.1.0Eneas U de Queiroz2019-08-22
| | | | | | | This is a feature release including improvement to OIDC and security enhancements, as well as bugfixes. Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
* python-sentry-sdk: Update to version 0.11.1Josef Schlehofer2019-08-21
| | | | Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
* ruamel-yaml: Update to version 0.15.100Josef Schlehofer2019-08-21
| | | | Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
* Merge pull request #9757 from BKPepe/sentrysdkRosen Penev2019-08-17
|\ | | | | python-sentry-sdk: Update to version 0.10.2
| * python-sentry-sdk: Update to version 0.10.2Josef Schlehofer2019-08-16
| | | | | | | | Signed-off-by: Josef Schlehofer <josef.schlehofer@nic.cz>
* | python,python3: Fix host Python compilation for macOSJeffery To2019-08-17
|/ | | | | | | | | | | | | | | | | | | | | | | | | | * Remove $$$$(pkg-config --static --libs libcrypto libssl) from HOST_LDFLAGS Having this leads to an "unknown type name 'u_int'" error on Mac. Removing it doesn't appear to affect Python's ability to find buildroot LibreSSL. * Change -Wl,-rpath=... to -Wl,-rpath,... in HOST_LDFLAGS The equals sign version is not supported by the Mac linker (appears to be an GNU extension). The comma version is supported; -rpath and its argument will be separated by a space when passed to the linker. * Add ac_cv_header_libintl_h=no to HOST_CONFIGURE_VARS for Mac Python on Mac doesn't expect to use libintl, but if gettext-full is compiled for host, it will try, leading to undefined symbol errors during compilation. This prevents configure from finding libintl.h. Fixes #7171. Fixes #9621. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* python-twisted: Update to 19.7.0, refresh patchesJeffery To2019-08-14
| | | | Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* django-simple-captcha: bump to 0.5.12Eneas U de Queiroz2019-08-14
| | | | | | | This is a bugfix release. Relevant to openwrt, it removes the binary flag while opening the dictionary file. Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
* Merge pull request #9698 from commodo/python-ver-bumpsHannu Nyman2019-08-12
|\ | | | | pytz,lxml,dateutil: bump package versions
| * python-dateutil: bump to version 2.8.0Alexandru Ardelean2019-08-12
| | | | | | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
| * python-lxml: bump to version 4.4.1Alexandru Ardelean2019-08-12
| | | | | | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
| * python-pytz: bump to version 2019.2Alexandru Ardelean2019-08-12
| | | | | | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* | Merge pull request #9696 from commodo/python-srcHannu Nyman2019-08-12
|\ \ | | | | | | python-{asn1crypto,evdev,lxml}: add -src packages
| * | python-{asn1crypto,evdev,lxml}: add -src packagesAlexandru Ardelean2019-08-12
| |/ | | | | | | | | | | | | They seem to have become popular, so adding src packages for these as well. Not bumping PKG_RELEASE intentionally, since these packages are new. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* / django: move django* packages under django submenuEneas U de Queiroz2019-08-12
|/ | | | | | | | | | | This changes the python[3]-django dependencies in packages to be non-selecting, and adds an MDEPENDS line so that the *-src packages get placed inside the django menu as well. Added MENU:= to the src-package definitions in python[3]-package.mk, so it does not import that setting from the binary package. Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
* Merge pull request #9648 from jefferyto/python-pyasn1-0.4.6Rosen Penev2019-08-04
|\ | | | | python-pyasn1: Update to 0.4.6
| * python-pyasn1: Update to 0.4.6Jeffery To2019-08-05
| | | | | | | | Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* | python-pyasn1-modules: Update to 0.2.6Jeffery To2019-08-05
|/ | | | | | Requires python-pyasn1 0.4.6 (#9648). Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* python: Replace utime with utimesRosen Penev2019-07-30
| | | | | | | | Optionally fixes compilation with uClibc-ng. Based on the surrounding code, this looks like an oversight. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* Merge pull request #9454 from BKPepe/markupsafeRosen Penev2019-07-25
|\ | | | | MarkupSafe: Makefile polishing and add src package
| * MarkupSafe: Makefile polishing and add src packageJosef Schlehofer2019-07-11
| | | | | | | | | | | | | | | | - Improve TITLE and Description - Remove PKG_UNPACK as it is not necessary - Correct LICENSE file Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
* | Merge pull request #9489 from BKPepe/egenixRosen Penev2019-07-25
|\ \ | | | | | | python-egenix-mx-base: Makefile polishing
| * | python-egenix-mx-base: Makefile polishingJosef Schlehofer2019-07-17
| | | | | | | | | | | | | | | | | | Correct SPDX License Identifier Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>