aboutsummaryrefslogtreecommitdiff
path: root/lang/python/files
Commit message (Collapse)AuthorAge
...
* | python: packetize some python modulesAlexandru Ardelean2015-03-06
|/ | | | | | | | | | | | | | Packetize some Python modules to reduce size of the overall Python package. Basically, a new package is introduced, call `python-light`, and everything that's extra (or big) is put in other packages. The `python` package becomes a metapackage that installs `python-light` along with the rest of the packages. Base work started by Jan Čermák. Signed-off-by: Jan Čermák <jan.cermak@nic.cz> Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python: change _PYTHON_HOST_PLATFORM to linux2Alexandru Ardelean2015-01-11
| | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* Merge pull request #744 from commodo/python-upg-2.7.9Steven Barth2015-01-06
|\ | | | | python: upgrade to version 2.7.9
| * python: upgrade to version 2.7.9Alexandru Ardelean2015-01-06
| | | | | | | | | | | | | | Release notes here: https://www.python.org/downloads/release/python-279/ Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* | python: add default PyPackage/filespec if not definedAlexandru Ardelean2015-01-06
| | | | | | | | | | | | Most packages will install in /usr/lib/python$(PYTHON_VERSION)/site-packages Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* | python: trim all whitespaces for the operator in the filespecAlexandru Ardelean2015-01-06
| | | | | | | | | | | | | | That would allow for files (in filespecs) to be indented. As it is now, the files need to be added at the begginning of the line. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* | python: whitespace fix for PYTHONPATHXuefer2015-01-06
|/ | | | | | | | | | | Seems that using += adds a space in the PYTHONPATH. Could be some other error, but at least this way it's sure to not leave any spaces. Thanks @Xuefer. Signed-off-by: Xuefer Tinys <xuefer@gmail.com> Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python: add $(PKG_INSTALL_DIR)/$(PYTHON_PKG_DIR) to PYTHONPATHAlexandru Ardelean2014-12-09
| | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python: add __PYENV_LAUNCHER__ env varAlexandru Ardelean2014-11-09
| | | | | | Mostly useful for setuptools and pip during build. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python: add PKG_USE_MIPS16:=0 + handle CONFIG_USE_MIPS16Alexandru Ardelean2014-11-07
| | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python: add PYTHONPATH var; this allows packages to configure itAlexandru Ardelean2014-11-07
| | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python: add HOST_PYTHON_LIB_DIR variable to python-package.mkAlexandru Ardelean2014-11-07
| | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python, python3: fix python*-package.mkNicolas Thill2014-10-23
| | | | | | Replace calls to getvar function recently removed Signed-off-by: Nicolas Thill <nico@openwrt.org>
* python: add _PYTHON_HOST_PLATFORM env var when cross-compiling C extensionsAlexandru Ardelean2014-10-19
| | | | | | | 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>
* python: add LD and LDSHARED env vars to Build/Compile/PyModAlexandru Ardelean2014-10-19
| | | | | | Tells the host Python to use the target's linker. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python: add PYTHON_INC_DIR var to CPPFLAGSAlexandru Ardelean2014-10-19
| | | | | | | The target's PYTHON_INC_DIR should take precedence over the host's include dir when cross-compiling. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python: export CC + CCSHARED env vars to cross-compile Python C extensions ↵Alexandru Ardelean2014-10-19
| | | | | | properly Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python: add ac_cv_buggy_getaddrinfo=no to config.site fileAlexandru Ardelean2014-10-17
| | | | | | Required when IPv6 support gets enabled. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python: enforce the existence of files in the filespecsAlexandru Ardelean2014-10-17
| | | | | | | | 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>
* python: reduce bloat by removing *.pyo and *.pyc filesAlexandru Ardelean2014-10-17
| | | | | | | Seems that if you add a package folder this would also include the compiled python files which increases fw size. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python: upgrade to version 2.7.8Alexandru Ardelean2014-10-15
|
* python: enforce version assignmentAlexandru Ardelean2014-10-15
| | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python: move python package versioning to python-package.mkAlexandru Ardelean2014-10-15
| | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python: add old python 2 package backAlexandru Ardelean2014-10-15
| | | | | | | | | | | | | | According to PEP394 (http://legacy.python.org/dev/peps/pep-0394/) the 'python' command should refer to 'python2'. In our case, this means we should reboot the old python package. We could rename the package name to python2, but that would just complicate things a bit with other packages, and since we're doing this reboot, such a complication would be unnecessary. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* rename folder to python3Agent 422014-10-13
|
* python: upgrade to version 3.4.1Alexandru Ardelean2014-10-06
| | | | | | | | | | | | | | | | | | | | | | Some notes: - Python 3 (at least version 3.4) is pretty cross-compiler-friendly, so a lot of patches were thrown away. - Arguments below were moved to ./files/config.site file, and disabled ac_cv_have_chflags=no \ ac_cv_have_lchflags=no \ ac_cv_py_format_size_t=no \ ac_cv_have_long_long_format=yes \ ac_cv_buggy_getaddrinfo=no \ - --without-ensurepip added, because the build wants to ensure that it works; that's a good idea, but for now, it requires special setup, and we can do that later - --without-pymalloc added, becase in Python 3, modules are suffixed with m; e.g. so some paths are python3.4m instead of python3.4 all this is detailed here: http://legacy.python.org/dev/peps/pep-3149/ Maybe it will be a good idea to re-add this back Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python: update copyright & maintainerAlexandru Ardelean2014-10-06
| | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python: import package as-is from old packagesAlexandru Ardelean2014-10-06
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>