aboutsummaryrefslogtreecommitdiff
path: root/lang/python
Commit message (Collapse)AuthorAge
* python,python3: honour the SOURCE_DATE_EPOCH for the build-infoAlexandru Ardelean2018-01-08
| | | | | | | | | | | | | | | | | | | | | The Modules/getbuildinfo.c allows the use of DATE and TIME macros to be defined via CFLAGS. These vars, control the build date & time when the interpreter is opened, and can be read via the `platform._sys_version()` function. So, a conversion from SOURCE_DATE_EPOCH to DATE & TIME is required at build-time. This is especially needed for `platform._sys_version()` to work. The installation of pip seems to rely on this. The logic has been adapted from: https://wiki.debian.org/ReproducibleBuilds/TimestampsProposal#Makefile Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python,python3: undo egg-info removalJeffery To2018-01-08
| | | | | | | | | | This reverts commits 4333d1dcbfd67dde4ca7d08717bc345cc424fbf8 and 074d2863be48c1a9093fffcda91f7a328bc7d0cb, making Python packages discoverable again by pkg_resources. Fixes #5361. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* python,python3: add zlib/host to HOST_BUILD_DEPENDS (ver 2)Alexandru Ardelean2018-01-02
| | | | | | | | | | | | | | | This reverts commit 3c6d14021e62d68a7d9bdd4520b799c5c207fde1. ( which is a revert of commit c764f77dc1a62ce667b38520496ddb9bfaececab ) The initiall commit ( c764f77dc1a62ce667b38520496ddb9bfaececab ) was reverted, becase zlib did not have a host-build. Now it does: https://github.com/openwrt/openwrt/commit/cbe71649bc49ccc6ae96385482d0794c33336f68 So, now it should be good to put this in. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python3: bump to version 3.6.4Alexandru Ardelean2017-12-31
| | | | | | | | | | | | | | | | Re-worked patch `003-do-not-run-distutils-tests.patch` to reduce patch-size. Removed `011-fix-ncursesw-definition-colisions.patch` it is fixed upstream. Refreshed with `make package/python3/refresh` Resetting PKG_RELEASE to 1. This variable was never used for pip3 & setuptools, since VERSION is specified in the package definitions. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* Merge pull request #5303 from commodo/python-source-date-epochHannu Nyman2017-12-31
|\ | | | | python,python3: add support for SOURCE_DATE_EPOCH var
| * python,python3: add support for SOURCE_DATE_EPOCH varAlexandru Ardelean2017-12-20
| | | | | | | | | | | | | | | | | | | | | | | | | | See: https://github.com/openwrt/packages/issues/5278 This should make Python & Python3 packages reproducible when building. In my local tests, I got the same sha256 for a sample .pyc file, so likely this is the solution that should address this. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* | python-cffi: fix host build/installationAlexandru Ardelean2017-12-29
|/ | | | | | | | | | Fixes: https://github.com/openwrt/packages/issues/5318 Not sure how this worked before. The host python-cffi needs a libffi installed on the host side. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* Revert "python,python3: add zlib/host to HOST_BUILD_DEPENDS"Hannu Nyman2017-12-16
| | | | | | | | | | | This reverts commit c764f77dc1a62ce667b38520496ddb9bfaececab. The commit caused warnings to be displayed at make defconfig etc. WARNING: Makefile 'package/feeds/packages/python/python/Makefile' has a host build dependency on 'zlib/host' but 'package/libs/zlib/Makefile' does not implement a 'host' build type Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
* python,python3: add zlib/host to HOST_BUILD_DEPENDSAlexandru Ardelean2017-12-13
| | | | | | | | | | | | | | | | | This should fix the zlibmodule build on the host side. Usually, if zlib is not found, Python/Python3 builds fine without it, but there are some cases where the Python/Python3 interpreter on the host-side requires zlib to run. At the moment, zlib does not have a host-build. This should be available when this PR gets merged: https://github.com/lede-project/source/pull/1329 [ or a similar one that contains host-build support for zlib ]. In the meantime, this change can go into Python/Python3. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* Merge pull request #5259 from valdi74/update_python-curlchamptar2017-12-10
|\ | | | | python-curl: update to 7.43.0.1
| * python-curl: update to 7.43.0.1Waldemar Konik2017-12-10
| | | | | | | | Signed-off-by: Waldemar Konik <informatyk74@interia.pl>
* | python,python3: define config option for bluetooth supportAlexandru Ardelean2017-12-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It was reported via https://github.com/openwrt/packages/pull/5122#issuecomment-347395472 that if bluez-libs is selected as an installable package, then the error below will show up: ``` * satisfy_dependencies_for: Cannot satisfy the following dependencies for python-light: * bluez-libs * * opkg_install_cmd: Cannot install package python-light. ``` This looks like a limitation in the design of package deps, and maybe a misuse of conditional deps (i.e. PACKAGE_bluez-libs:bluez-libs). So, to fix this, an idea we're adding an extra symbol that enfoces installation of bluez-libs if selected. We also need to add a way to disable bluetooth build if PYTHON(3)_BLUETOOTH_SUPPORT is de-selected. Otherwise, bluetooth is installed and the socket module is broken due to linker errors. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* | python-pip-conf: split package away from python packageAlexandru Ardelean2017-12-10
|/ | | | | | | | | | | This should improve build time if you only want to build Python3 (and not Python). Because python-pip-conf was part of the python package, the whole python package (host + target) would get built if Python3 would need to get built. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* Merge pull request #4869 from apatrushev/masterchamptar2017-12-02
|\ | | | | micropython: updated to v1.9.2, micropython-lib: updated to v1.9
| * micropython: updated to v1.9.2, micropython-lib: updated to v1.9Anton Patrushev2017-09-23
| | | | | | | | Signed-off-by: Anton Patrushev <apatrushev@gmail.com>
* | python3-idna: Fix openwrt_repo 519, opkg segfault.mike mcginty2017-11-17
| | | | | | | | Signed-off-by: mike mcginty <mach327@gmail.com>
* | python,python3: build bluetooth support if bluez-libs selectedAlexandru Ardelean2017-11-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This should hopefully fix the Python3 build on buildbot. For a while I assumed it may be a build-bot issue, but then looking through the packages repo [and finding the bluez package] it looks like, if you try to build all packages, Python3 detects the bluetooth headers installed by bluez. It looks like Python's bluetooth support was somewhat broken ; it was not detecting the <bluetooth/bluetooth.h> header, so a backport from Python3 to Python fixed that. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* | pyodbc: update to version 4.0.21Daniel Golle2017-11-07
| | | | | | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* | python,python3: apply PKG_FIXUP:=autoreconfAlexandru Ardelean2017-11-06
| | | | | | | | | | | | | | Should hopefully provide more consistent results across distros. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* | python-asn1crypto: update to version 0.23.0Alexandru Ardelean2017-11-06
| | | | | | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* | python-cryptography: update to version 2.1.3Alexandru Ardelean2017-11-06
| | | | | | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* | python-cffi: update to version 1.11.2Alexandru Ardelean2017-11-06
| | | | | | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* | python-pyasn1-modules: update to version 0.1.5Alexandru Ardelean2017-11-06
| | | | | | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* | python-pyasn1: update to version 0.3.7Alexandru Ardelean2017-11-06
| | | | | | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* | python-lxml: upgrade to version 4.1.1Alexandru Ardelean2017-11-06
| | | | | | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* | python3: bump to version 3.6.3Alexandru Ardelean2017-11-06
| | | | | | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* | python3: package CGI componentMirko Vogt2017-10-31
| | | | | | | | Signed-off-by: Mirko Vogt <mirko-openwrt@nanl.de>
* | openpyxl: update to 2.5.0b1Gergely Kiss2017-10-29
| | | | | | | | Signed-off-by: Gergely Kiss <mail.gery@gmail.com>
* | django-constance: update to 2.0.0Gergely Kiss2017-10-29
| | | | | | | | Signed-off-by: Gergely Kiss <mail.gery@gmail.com>
* | django-restframework: update to 3.7.1Gergely Kiss2017-10-29
| | | | | | | | Signed-off-by: Gergely Kiss <mail.gery@gmail.com>
* | python-urllib3: update to 1.22Gergely Kiss2017-10-29
| | | | | | | | Signed-off-by: Gergely Kiss <mail.gery@gmail.com>
* | django-compressor: update to 2.2Gergely Kiss2017-10-29
| | | | | | | | Signed-off-by: Gergely Kiss <mail.gery@gmail.com>
* | django-picklefield: update to 1.0.0Gergely Kiss2017-10-29
| | | | | | | | Signed-off-by: Gergely Kiss <mail.gery@gmail.com>
* | gunicorn: update to 19.7.1Gergely Kiss2017-10-29
| | | | | | | | Signed-off-by: Gergely Kiss <mail.gery@gmail.com>
* | jdcal: update to 1.3Gergely Kiss2017-10-29
| | | | | | | | Signed-off-by: Gergely Kiss <mail.gery@gmail.com>
* | chardet: update to 3.0.4Gergely Kiss2017-10-29
| | | | | | | | Signed-off-by: Gergely Kiss <mail.gery@gmail.com>
* | pytz: update to 2017.2Gergely Kiss2017-10-29
| | | | | | | | Signed-off-by: Gergely Kiss <mail.gery@gmail.com>
* | simplejson: update to 3.11.1Gergely Kiss2017-10-29
| | | | | | | | Signed-off-by: Gergely Kiss <mail.gery@gmail.com>
* | django-postoffice: update to 3.0.3Gergely Kiss2017-10-29
| | | | | | | | Signed-off-by: Gergely Kiss <mail.gery@gmail.com>
* | python-dateutil: update to 2.6.1Gergely Kiss2017-10-29
| | | | | | | | Signed-off-by: Gergely Kiss <mail.gery@gmail.com>
* | django-statici18n: update to 1.4.0Gergely Kiss2017-10-29
| | | | | | | | Signed-off-by: Gergely Kiss <mail.gery@gmail.com>
* | django: update to 1.8.18Gergely Kiss2017-10-17
| | | | | | | | | | | | Fixes CVE-2017-7233 and CVE-2017-7234 Signed-off-by: Gergely Kiss <mail.gery@gmail.com>
* | python-lxml: update to version 4.1.0Alexandru Ardelean2017-10-16
| | | | | | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* | python,python3: add option to keep egg-info dirs for python packagesAlexandru Ardelean2017-10-03
| | | | | | | | | | | | | | That way some python packages can choose to keep their egg-info dirs, if they want to, or they're needed. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* | python-idna: update to version 2.6Alexandru Ardelean2017-09-23
| | | | | | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* | python-six: update to version 1.11.0Alexandru Ardelean2017-09-23
| | | | | | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* | python-pyopenssl: update to version 17.3.0Alexandru Ardelean2017-09-23
| | | | | | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* | python-pyasn1-modules: update to version 0.1.4Alexandru Ardelean2017-09-23
| | | | | | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* | python-pyasn1: update to version 0.3.5Alexandru Ardelean2017-09-23
| | | | | | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* | python-lxml: update to version 4.0.0Alexandru Ardelean2017-09-23
| | | | | | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>