Commit graph

30 commits

Author SHA1 Message Date
Alexandru Ardelean
9eca45fdf1 python, python3: unify HOST_ vars and get rid of HOST_CFLAGS
--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>
2016-11-07 10:55:34 +02:00
Alexandru Ardelean
7d89234b86 python,python3: get rid of HOST_CFLAGS
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>
2016-11-07 10:55:33 +02:00
Alexandru Ardelean
e81632ab90 python3: disable ensurepip on package & host builds
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2016-11-07 10:55:33 +02:00
Matthias Schiffer
b53342b9a4
python3: use default prefix for host install
Also fixes a few incorrect "$(STAGING_DIR_HOST)/host" paths.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
2016-10-04 01:00:05 +02:00
Alexandru Ardelean
b6993d544f python3: upgrade to version 3.5.2
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2016-09-13 14:22:08 +03:00
Alexandru Ardelean
2dee0cf070 python3: do not allow packaging of windows exe files
Thanks to @ryzhovau for reporting.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2016-06-27 15:38:24 +03:00
Alexandru Ardelean
06fbe038ab python3: revert $(STAGING_DIR)/host to $(STAGING_DIR_HOST) change
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>
2016-04-15 12:09:19 +03:00
Alexandru Ardelean
7ebd492f5f python3: change $(STAGING_DIR)/host to $(STAGING_DIR_HOST)
I ommitted 1 element when pushing.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2016-04-14 16:57:38 +03:00
Alexandru Ardelean
57d94bbd44 python3: upgrade to version 3.5.1
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2016-04-14 11:41:48 +03:00
Felix Fietkau
9f8e5aca34 treewide: use $(STAGING_DIR)/host instead of $(STAGING_DIR_HOST), sync with changes in trunk
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2016-01-20 21:56:03 +01:00
Florian Fieber
472b596bb1 python3: Add new packages python3-{dev,lib2to3}
Signed-off-by: Florian Fieber <florian@florianfieber.de>
2015-11-19 18:26:30 +01:00
Florian Fieber
b011c10eb5 python3: Download source archive via https
Signed-off-by: Florian Fieber <florian@florianfieber.de>
2015-11-18 12:03:13 +01:00
Alexandru Ardelean
6ce01594b6 python3: upgrade to version 3.5.0
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2015-09-16 21:56:40 +03:00
Jan Čermák
6156136903 python3: disable usage of wcsftime (broken in uClibc)
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>
2015-07-02 16:27:23 +02:00
Alexandru Ardelean
96d4953662 python3: override machine definition for i386 to build the decimal module
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2015-03-27 16:42:33 +02:00
Alexandru Ardelean
12bba35627 python3: revert puting the encodings folder into a python3-codecs
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>
2015-03-14 21:24:31 +02:00
Alexandru Ardelean
741fdfd1e0 python3: replicate packaging work done in python package
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2015-03-14 21:24:30 +02:00
Alexandru Ardelean
70df2d9a0c python3: upgrade to version 3.4.3
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2015-03-14 21:18:15 +02:00
Alexandru Ardelean
8c057f39d8 python3: update using python updates as template
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2015-01-19 20:22:41 +02:00
Alexandru Ardelean
ec10e7e2e4 python3 upgrade to version 3.4.2
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2014-11-28 21:15:20 +02:00
Alexandru Ardelean
84cf76e7a6 python3: sync build rules with python's
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2014-11-27 23:47:28 +02:00
Nicolas Thill
6243f35724 python3: create ./usr/bin directory at package/install
Signed-off-by: Nicolas Thill <nico@openwrt.org>
2014-10-24 16:32:29 +02:00
Alexandru Ardelean
1a0e9b3786 python3: enable shared python3 lib; make this the norm
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>
2014-10-20 20:04:54 +03:00
Alexandru Ardelean
a964feec68 python3: add python3 symlink to python exec as per PEP394 2014-10-15 09:13:24 +03:00
Alexandru Ardelean
72092dabf2 python3: suffix vars with 3 2014-10-15 09:12:41 +03:00
Alexandru Ardelean
e4d94961c3 python3: include python*-package.mk irespective of DUMP env var
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2014-10-15 09:11:00 +03:00
Alexandru Ardelean
9500f50f2b python3: avoid making python3 the default python command
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2014-10-15 09:08:09 +03:00
Alexandru Ardelean
d5d9442928 python3: fixup python-package.mk include
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2014-10-15 09:08:06 +03:00
Agent 42
1e6a88dde0 rename package name to python3 2014-10-13 12:21:16 +02:00
Agent 42
5e3393cf94 rename folder to python3 2014-10-13 12:20:34 +02:00
Renamed from lang/python/Makefile (Browse further)