aboutsummaryrefslogtreecommitdiff
path: root/lang/python/Makefile
Commit message (Collapse)AuthorAge
* python: upgrade to 2.7.10Alexandru Ardelean2015-05-27
| | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python: fix conflicts between python-light & python-baseAlexandru Ardelean2015-03-12
| | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python: revert previous patch and add a filespecAlexandru Ardelean2015-03-11
| | | | | | | | | Seems removing the PyPackage rule and/or adding dummy install rule causes some issues inside the build-system, where the libpython2.7.so.1.0 is not seen by packages that depend on python. Even though that libpython2.7.so.1.0 file is installed properly by `python-base`. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python: remove PyPackage rules for python packageAlexandru Ardelean2015-03-09
| | | | | | | | | | | Calling `PyPackage` will install some default install rules for python packages that are not required for the `python` package specifically are not required. That will lead to some conflicts with `python-light` because the `/usr/lib/python2.7/site-packages` folder (+contents) will be available in both packages. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* 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: removed ensurepip moduleJan Čermák2015-02-24
| | | | | | | | | | This module is not necessary in OpenWrt because the functionality it provides (i.e. installation of setuptools and PIP) is ensured by python-pip and python-setuptools packages. See: https://docs.python.org/2.7/library/ensurepip.html Signed-off-by: Jan Čermák <jan.cermak@nic.cz>
* python: add ncurses(w) include folders for host pythonAlexandru Ardelean2015-02-11
| | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python: fix goofAlexandru Ardelean2015-01-20
| | | | | | This should have gone in python3. 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>
* python: Install .pc files from Python package.Szilárd Pfeiffer2015-01-11
| | | | | Signed-off-by: Szilárd Pfeiffer <coroner@pfeifferszilard.hu> Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python: remove libffi/host; we're not using itAlexandru Ardelean2015-01-11
| | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python: enable pip installation of pip on the host-sideAlexandru Ardelean2015-01-11
| | | | | | | | Python packs some pip installation script during the build, which looks like a better idea to use for the python-pip and/or python-setuptools packages. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* 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: fix file conflict between python and python-base packagesGergely Kiss2014-12-15
| | | | | Signed-off-by: Gergely Kiss <mail.gery@gmail.com> Tested-by: Gergely Kiss <mail.gery@gmail.com>
* python: use Build/Prepare rule for the config.site fileAlexandru Ardelean2014-11-26
| | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python: add distutils back (selectively)Alexandru Ardelean2014-11-12
| | | | | | This patch reduces distutils from 1.7 MB to 0.7 MB. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python: update MAKE_FLAGSAlexandru Ardelean2014-11-12
| | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python: remove readline.so for nowAlexandru Ardelean2014-11-09
| | | | | | | | Some symbols are not found (tgetnum and BC). Looks like the termcap lib, which should be in libncurses(w) but maybe some build param would be required. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python: add some Build/InstallDev rules backAlexandru Ardelean2014-11-09
| | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python: add OPT and CONFIG_SITE vars to HOST_CONFIGURE_ARGSAlexandru Ardelean2014-11-09
| | | | | | Fixes some build issues. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python: add lib depsAlexandru Ardelean2014-11-09
| | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python: final switchAlexandru Ardelean2014-11-09
| | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python: exclude pdb.doc and webbrowser.pyAlexandru Ardelean2014-11-07
| | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python: remove +libcrypto dep; that's a openssl libAlexandru Ardelean2014-11-07
| | | | Signed-off-by: Alexandru Ardelean <ardeleanalex.com>
* python: cleanup Build/InstallDev ruleAlexandru Ardelean2014-11-07
| | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python: remove --without-ensurepip; not needed anymoreAlexandru Ardelean2014-11-07
| | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python: remove explicit rules in favor of using make/configure varsAlexandru Ardelean2014-11-07
| | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python: reboot all python packagesAlexandru Ardelean2014-11-07
| | | | | | | Redefine python-full as all-pages-minus-a-few-that-don't make sense. Remove all other packages. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python: add _sysconfigdata.py to python base packageAlexandru Ardelean2014-10-25
| | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python: fix source folder for libpythonAlexandru Ardelean2014-10-20
| | | | | | | | | | | This fix is quite critical since it fixes copying the libpython shared lib. The previous source folder we've used is ok, it has the shared lib, but libpython2.7.so is not a symlink of libpython2.7.so.1.0, but rather a copy of it. Which means that libpython2.7.so takes twice as much space on the target's flash. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python: use libncursesw instead of libncursesAlexandru Ardelean2014-10-19
| | | | | | | | | | | | | Python's build scripts prefer ncursesw, and if it is detected it will be used. The problem will occur when linking, since ncursesw libs may not be installed if not added as deps, but the sources will be compiled against ncursesw. Reference from Python's HISTORY file: Patch #1428494: Prefer linking against ncursesw over ncurses library. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python: enable shared python lib; make this the normAlexandru Ardelean2014-10-19
| | | | | | | | | | | | | | 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>
* python: do not install pyconfig.h on the targetAlexandru Ardelean2014-10-19
| | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python: add libopenssl and libcrypto as package depsAlexandru Ardelean2014-10-17
| | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python: _md5 + _sha libs are now grouped under _hashlibsAlexandru Ardelean2014-10-17
| | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python: upgrade to version 2.7.8Alexandru Ardelean2014-10-15
|
* python: add python2 symlink to python as per PEP394Alexandru Ardelean2014-10-15
|
* python: use command instead of 'ln -sf'Alexandru Ardelean2014-10-15
|
* python: include python*-package.mk irespective of DUMP env varAlexandru 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: reset packages and start off with minimal pythonAlexandru Ardelean2014-10-06
| | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* 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: reorganize packageAlexandru Ardelean2014-10-06
| | | | | | | | | | | | Make python-mini the top-level and default Python package. Make the other packages subpackages of the top-level python package. Make old python package the python-full package. Note: at this point, this package can be split/renamed to python-legacy should anyone need Python 2. After this commit it's going to be Python 3 all the way. 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>