aboutsummaryrefslogtreecommitdiff
path: root/lang/python3
Commit message (Collapse)AuthorAge
* python3: do not allow packaging of windows exe filesAlexandru Ardelean2016-06-27
| | | | | | Thanks to @ryzhovau for reporting. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python3: revert $(STAGING_DIR)/host to $(STAGING_DIR_HOST) changeAlexandru Ardelean2016-04-15
| | | | | | | | | Also, override all prefix args in the HOST_CONFIGURE_ARGS so that this works fine on CC/15.05. There are some changes in core regarding package builds that require this. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python3: change $(STAGING_DIR)/host to $(STAGING_DIR_HOST)Alexandru Ardelean2016-04-14
| | | | | | I ommitted 1 element when pushing. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python3: upgrade to version 3.5.1Alexandru Ardelean2016-04-14
| | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* treewide: use $(STAGING_DIR)/host instead of $(STAGING_DIR_HOST), sync with ↵Felix Fietkau2016-01-20
| | | | | | changes in trunk Signed-off-by: Felix Fietkau <nbd@openwrt.org>
* python3: Add new packages python3-{dev,lib2to3}Florian Fieber2015-11-19
| | | | Signed-off-by: Florian Fieber <florian@florianfieber.de>
* python3: Port changes from python-package.mk to python3-package.mkFlorian Fieber2015-11-19
| | | | | | | - Add configure arguments for distutils path detection - Add '_python_*' env vars to host python Signed-off-by: Florian Fieber <florian@florianfieber.de>
* python3: Download source archive via httpsFlorian Fieber2015-11-18
| | | | Signed-off-by: Florian Fieber <florian@florianfieber.de>
* python3: upgrade to version 3.5.0Alexandru Ardelean2015-09-16
| | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python3: disable usage of wcsftime (broken in uClibc)Jan Čermák2015-07-02
| | | | | | | | | | | | Python 3 prefers usage of wcsftime() over strftime() if it's available, however this function returns just an empty string in some older uClibc versions. Proposed solution disables detection of wcsftime() in ./configure that results in HAVE_WCSFTIME being undefined, effectively disabling branches of code that use possibly broken wcsftime(). See: http://lists.busybox.net/pipermail/uclibc/2014-November/048718.html Signed-off-by: Jan Čermák <jan.cermak@nic.cz>
* python3: add python3-package-lzma.mkAlexandru Ardelean2015-04-24
| | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python3: do not prefer ncursesw over ncursesAlexandru Ardelean2015-04-21
| | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python3: replace with libncursesw with libncursesAlexandru Ardelean2015-04-21
| | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python3: override machine definition for i386 to build the decimal moduleAlexandru Ardelean2015-03-27
| | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python3: revert puting the encodings folder into a python3-codecsAlexandru Ardelean2015-03-14
| | | | | | | | | | | | | | | | | | Some notes about the 'encodings' module, which is about 1.7 MB. Unfortunately that one cannot be moved into the 'python3-codecs' package, because Python tries to load up all available encodings at startup. Some efforts to add a dummy folder/python file have failed so far, since there's a C code (Python/codecs.c) that tries to evaluate that all encodings (in the encodings folder/module) are valid. Basically the encodings module is a repository of encodings, and it seemst there are quite a few of them. Maybe a request to upstream Python would work for this, to make encodings a bit more decoupled from the interpreter. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python3: port some patches from pythonAlexandru Ardelean2015-03-14
| | | | | | | | Based on the idea that 'what-works-on-python-should-work-on-python3' because they share the same trunk, these patches have been copied over from the python package. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python3: replicate packaging work done in python packageAlexandru Ardelean2015-03-14
| | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python3: upgrade to version 3.4.3Alexandru Ardelean2015-03-14
| | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python3: re-number patchesAlexandru Ardelean2015-03-14
| | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python3: update using python updates as templateAlexandru Ardelean2015-01-19
| | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python3: add $(PKG_INSTALL_DIR)/$(PYTHON3_PKG_DIR) to PYTHON3PATHAlexandru Ardelean2014-12-09
| | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python3: disable Python3 bytecode generation by defaultAlexandru Ardelean2014-12-09
| | | | | | Same as python. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python3 upgrade to version 3.4.2Alexandru Ardelean2014-11-28
| | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python3: sync build rules with python'sAlexandru Ardelean2014-11-27
| | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python3: create ./usr/bin directory at package/installNicolas Thill2014-10-24
| | | | Signed-off-by: Nicolas Thill <nico@openwrt.org>
* python, python3: fix python*-package.mkNicolas Thill2014-10-23
| | | | | | Replace calls to getvar function recently removed Signed-off-by: Nicolas Thill <nico@openwrt.org>
* python3: add _PYTHON_HOST_PLATFORM env var when cross-compiling C extensionsAlexandru Ardelean2014-10-20
| | | | | | | This mostly helps to avoid confusion when modules are cross-compiled. Otherwise build folders are named with the host's platform name. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python3: enable shared python3 lib; make this the normAlexandru Ardelean2014-10-20
| | | | | | | | | | | | | | This will reduce the bloat when users will want to compile in their Python C extensions. There will be a initial bloat (several kb) if just Python is installed, but that will be compensated when users will add more C extensions. During the build we also have to add Python's PKG_BUILD_DIR so that the shared lib is found when compiling Python's built-in C extensions. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python3: add LD and LDSHARED env vars to Build/Compile/Py3ModAlexandru Ardelean2014-10-20
| | | | | | Tells the host Python to use the target's linker. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python3: add PYTHON3_INC_DIR var to CPPFLAGSAlexandru Ardelean2014-10-20
| | | | | | | The target's PYTHON3_INC_DIR should take precedence over the host's include dir when cross-compiling. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python3: export CC + CCSHARED env vars to cross-compile Python C extensions ↵Alexandru Ardelean2014-10-20
| | | | | | properly Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python3: add patch to disable package compiles/tests during cross-builtsAlexandru Ardelean2014-10-20
| | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python: add ac_cv_buggy_getaddrinfo=no to config.site fileAlexandru Ardelean2014-10-20
| | | | | | Required when IPv6 support gets enabled. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python3: patch setup.py so that it does not include system include dirsAlexandru Ardelean2014-10-20
| | | | | | | | | | | Seems that the Python C extensions were being (or at least trying to be) build using '/usr/include' as the first include folder. Seems this issue was already fixed on MacOS X and now we've extended it for our case. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python3: enforce the existence of files in the filespecsAlexandru Ardelean2014-10-20
| | | | | | | | Seems that this allows some goofs, because some files silently do not get copied and the build succeeds, even though it shouldn't. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python3: reduce bloat by removing *.pyo and *.pyc filesAlexandru Ardelean2014-10-20
| | | | | | | Seems that if you add a package folder this would also include the compiled python3 files which increases fw size. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python3: fix python host pathAlexandru Ardelean2014-10-15
|
* python3: add python3 symlink to python exec as per PEP394Alexandru Ardelean2014-10-15
|
* python3: suffix vars with 3Alexandru Ardelean2014-10-15
|
* python3: include python*-package.mk irespective of DUMP env varAlexandru Ardelean2014-10-15
| | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python3: enforce version assignmentAlexandru Ardelean2014-10-15
| | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python3: avoid making python3 the default python commandAlexandru Ardelean2014-10-15
| | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python3: fixup python-package.mk includeAlexandru Ardelean2014-10-15
| | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* renaming python-package.mk to python3-package.mkAgent 422014-10-13
|
* rename package name to python3Agent 422014-10-13
|
* rename folder to python3Agent 422014-10-13