aboutsummaryrefslogtreecommitdiff
path: root/lang/python3
Commit message (Collapse)AuthorAge
* python packages: move all things python under lang/pythonAlexandru Ardelean2017-05-17
| | | | | | | | | | | | I admit this may be be a bit aggressive, but the lang folder is getting cluttered/filled up with Python, PHP, Perl, Ruby, etc. packages. Makes sense to try to group them into per-lang folders. I took the Pythons. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python3: upgrade to version 3.6.1Alexandru Ardelean2017-03-27
| | | | | | | | | Dropped patch `002-do-not-add-include-dirs-when-cross-compiling.patch` Seems upstream also fixed it (yay). Refreshed patch `011-fix-ncursesw-definition-colisions.patch` Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python,python3: bump PKG_RELEASEsAlexandru Ardelean2017-03-09
| | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python3: split source packages away from compiled packagesAlexandru Ardelean2017-03-09
| | | | | | Same as for python. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python,python3: drop remove .pyc & .pyo filesAlexandru Ardelean2017-03-09
| | | | | | We'll control in the install phase what we ship [byte-codes or source files] Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python,python3: drop tests from all core packagesAlexandru Ardelean2017-03-09
| | | | | | | Well, this slipped by for some time. This should make the Python core packages even more lighter. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python3: make sure $(1)/usr/lib path exists for python3-dev packageAlexandru Ardelean2017-03-09
| | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python,python3: move PyPackage install rules in the beggining of the Package ↵Alexandru Ardelean2017-03-09
| | | | | | | | | install rules So that we can process Python sources installed by those rules, if we need to. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python3: move filespec shell code into fileAlexandru Ardelean2017-03-09
| | | | | | Same as for python. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python,python3: fix goof with multiline command breakAlexandru Ardelean2017-03-09
| | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python3: fix ncursesw definition collisionsAlexandru Ardelean2017-02-13
| | | | | | | | setup.py seems to add the host's /usr/include/ncursesw header. Reported-by: Arturo Rinaldi <arturo@arduino.org> Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python,python3: override python setuptools & pip versionsAlexandru Ardelean2017-02-09
| | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python,python3: add python-pip-conf package to be used by both python-pip & ↵Alexandru Ardelean2017-01-23
| | | | | | python3-pip Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* pip,setuptools: move as part of python,python3 buildAlexandru Ardelean2017-01-23
| | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python,python3: install built-in pip and setuptoolsAlexandru Ardelean2017-01-23
| | | | | | Easier than using external package. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python3: sync changes from pythonAlexandru Ardelean2017-01-19
| | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* treewide: replace $(STAGING_DIR)/host and $(HOST_BUILD_PREFIX) with ↵Matthias Schiffer2017-01-10
| | | | | | | | | | | | | | | | | | $(STAGING_DIR_HOSTPKG) As both LEDE and OpenWrt have STAGING_DIR_HOSTPKG now, we can start to rely on it. See 73b7f55424de52d8179a9ad808252fe3bf8dcc9d for more information on STAGING_DIR_HOSTPKG. STAGING_DIR_HOSTPKG won't actually be changed before the first LEDE release (it is equivalent to $(STAGING_DIR)/host), so this simple search/replace cleanup is safe to apply. Doing this cleanup now will be useful for the Gluon project (an OpenWrt/LEDE based firmware framework) for experimenting with modifying STAGING_DIR_HOSTPKG before doing this in the LEDE upstream. Also fixes a typo in the dbus Makefile ("STAGIND_DIR"). Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* python{,3}: remove STAGING_DIR_HOSTPKG fallback definitionMatthias Schiffer2017-01-10
| | | | | | | STAGING_DIR_HOSTPKG is now defined in both OpenWrt and LEDE, so we can start to rely on it. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* python3: sync makefiles with python packageAlexandru Ardelean2017-01-04
| | | | | | | | | Technically, this just updates build details. No functionality change to package itself. So, no need to increase PKG_RELEASE on this change. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python3: upgrade to version 3.6.0Alexandru Ardelean2017-01-02
| | | | | | | | | | | | | Python 3.6 comes with some new cross-compilation logic that generates filenames/paths with arch, abiflags and mach included (in filename & path). Problem is that the generated paths/filenames are not consistent across archs (noticed on x86_64 & ar71xx), so patch `016-adjust-config-paths.patch` was added to mitigate this (by removing extra stuff in paths). Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python3: split `python3-version.mk` from `python3-package.mk`Alexandru Ardelean2016-12-16
| | | | | | | | And move \`python3-package.mk\` include, same as in python package. This is mostly to have consistency/similarity between python & python3 packages. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python, python3: unify HOST_ vars and get rid of HOST_CFLAGSAlexandru Ardelean2016-11-07
| | | | | | | --sysconfigdir and --sbindir are obtained from --prefix and --exec-prefix, so no need to have them explicitly Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python,python3: get rid of HOST_CFLAGSAlexandru Ardelean2016-11-07
| | | | | | | | They rely on system paths and are a bit misleading/confusing. As seen here: https://github.com/openwrt/packages/issues/3339 Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python3: disable ensurepip on package & host buildsAlexandru Ardelean2016-11-07
| | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python3: avoid use of HOST_BUILD_PREFIXJo-Philipp Wich2016-11-01
| | | | | | | | | | | | | | | | | | | | | | | | | Currently, the python3-package.mk framework relies on HOST_BUILD_PREFIX to refer to the $(STAGING_DIR)/host directory but using the HOST_BUILD_PREFIX variable requires the use of include/host-build.mk which in turn includes python3-package.mk, leading to target redefinition errors. In order to provide a global, uniform way to refer to the host staging directory, LEDE introduced a new variable STAGING_DIR_HOSTPKG which points to $(STAGING_DIR)/host for now with the purpose of eventually being able to relocate that directory in the future. This commit changes python3-package.mk to ... - stop including include/host-build.mk (revert of #3423) - replace usages of $(HOST_BUILD_PREFIX) with $(STAGING_DIR_HOSTPKG) - warn and fallback to $(STAGING_DIR)/host if STAGING_DIR_HOSTPKG is unavailable The fallback code will ensure that the python host build infrastructure continues to work properly on older OpenWrt and LEDE versions until the STAGING_DIR_HOSTPKG is fully settled in and can be removed some time in the future. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* python,python3: include host-build.mk in python-host.mk & python3-package.mkAlexandru Ardelean2016-10-31
| | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python3: use default prefix for host installMatthias Schiffer2016-10-04
| | | | | | Also fixes a few incorrect "$(STAGING_DIR_HOST)/host" paths. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* python3: upgrade to version 3.5.2Alexandru Ardelean2016-09-13
| | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* 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>