Commit Graph

1023 Commits

Author SHA1 Message Date
Hannu Nyman ccb650f109 Merge pull request #3737 from commodo/python3-upgrade
python3: upgrade to version 3.6.0
2017-01-02 22:11:39 +02:00
Alexandru Ardelean 2244ad9f56 python3: upgrade to version 3.6.0
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>
2017-01-02 21:46:03 +02:00
Daniel Engberg e862978eac lang/php7-pecl-http: Drop mbed TLS 1.3 (PolarSSL)
Drop mbed TLS 1.3 (PolarSSL) option as it's EOL.

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
2017-01-01 06:15:30 -06:00
Luiz Angelo Daros de Luca 9682a1d164 ruby: bump to 2.4.0
This is a stable feature release.

Notable changes:

- Introduce hash table improvement (by Vladimir Makarov)
- Binding#irb: Start a REPL session similar to binding.pry
- Unify Fixnum and Bignum into Integer
- String supports Unicode case mappings
- Performance improvements
- Thread#report_on_exception and Thread.report_on_exception changes
- Thread deadlock detection now shows threads with their backtrace and dependency
- Support OpenSSL 1.1.0 (drop support for 0.9.7 or prior)
- ext/tk is now removed from stdlib Feature #8539
- XMLRPC is now removed from stdlib Feature #12160

Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
2016-12-31 01:54:33 -02:00
Philip Prindeville b88eb1b6e1 perl-cgi: Bump version to latest
This version is no longer posted on CPAN so point to latest instead.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2016-12-27 16:45:56 +08:00
Michael Heimpold 333957fba9 php7-pecl-http: fix build for big endian (fixes #3691)
While at, improve pre-seeded dependency detection.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2016-12-23 23:08:29 +01:00
Michael Heimpold 6fa5f409e7 php7-pecl-http: upgrade to 3.1.0
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2016-12-22 10:27:26 +01:00
Michael Heimpold 200c52e9dd php7-pecl-dio: upgrade to 0.0.9
The upstream release has all the patches already included, so we can
drop them here.
This also fixes issues on 64-bit archs.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2016-12-22 10:27:26 +01:00
David Thornley 1542acaba7 luarocks: Fix seeded uname (s/m) in siteconfig
LUAROCKS_UNAME_S/LUAROCKS_UNAME_M were being set automatically to host’s architecture and system/kernel name (e.g.. x86 and Darwin for the macOS)
The variables can now be supplied to configure via the supplied patch.
They are currently _S being hardcoded to “Linux” and _M set to the target architecture in the MakeFile.

Signed-off-by: David Thornley <david.thornley@touchstargroup.com>
2016-12-22 18:12:15 +11:00
Hannu Nyman 7abd29bc7c Merge pull request #3659 from jow-/python-move-includes
python: move includes after common package variables
2016-12-16 10:41:49 +02:00
Alexandru Ardelean 985dcd4b28 python3: split python3-version.mk from python3-package.mk
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>
2016-12-16 09:07:44 +02:00
Jo-Philipp Wich 49cf5815e3 python: move includes after common package variables
Move the python-host.mk and python-package.mk includes after the definition of
common package variables. This is required to ensure that PKG_UNPACK is not set
to to the dummy "true" command which happens if PKG_SOURCE is not yet set.

Fixes the following error observed while attempting to build Python on a recent
LEDE version:

    make[2]: Entering directory '.../lang/python'
    true
    [ ! -d ./src/ ] || cp -fpR ./src/* .../Python-2.7.12

    Applying ./patches/001-enable-zlib.patch using plaintext:
    can't find file to patch at input line 14
    Perhaps you used the wrong -p or --strip option?
    [...]
    Patch failed!  Please fix ./patches/001-enable-zlib.patch!
    Makefile:242: recipe for target '.../Python-2.7.12/.prepared_...' failed

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2016-12-16 03:24:19 +01:00
Hannu Nyman 11078f3895 Merge pull request #3592 from commodo/python-setuptools-fix
python-setuptools,python3-setuptools: fix path creation in setup scripts
2016-11-28 22:52:06 +02:00
Alexandru Ardelean c3441865ca python3-setuptools: fix path creation in setup scripts
Same as for python-setuptools (in previous commit).

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2016-11-28 16:51:11 +02:00
Alexandru Ardelean df840c1e9f python-setuptools: fix path creation in setup scripts
This was fixed a few versions back.
But then python-setuptools changed.

The problem is that python scripts installed via setuptools
& pip would have `#!/build_dir_path/staging_dir/target-x86_64_musl-1.1.15/host/bin/python`
as the path in the script, rather than the path on the target (`/usr/bin/python`).

This fixes that.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2016-11-28 16:49:23 +02:00
Luiz Angelo Daros de Luca 12e314488b Merge pull request #3547 from luizluca/ruby-update
ruby: bump to 2.3.3
2016-11-22 14:58:55 -02:00
Luiz Angelo Daros de Luca b6a9980d40 ruby: bump to 2.3.3
This release contains a bug fix about Refinements and Module#prepend.
The mixture use of Module#refine and Module#prepend to the same Class
could cause unexpected NoMethodError. This is a regression on Ruby 2.3.2
released last week. See [Bug #12920] for details.

Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
2016-11-22 14:55:11 -02:00
Breuss Simon 7e1b756cd3 update micropython and micropython-lib to v1.8.6
Signed-off-by: Breuss Simon <simon.breuss@gmail.com>
2016-11-21 20:07:32 +01:00
Andrew McConachie 398109118c lang/python-pcapy: Added python-pcapy package
https://github.com/CoreSecurity/pcapy
Pcapy is a Python extension module that enables software written in Python to access the routines from the pcap packet capture library.

Signed-off-by: Andrew McConachie <andrew@depht.com>>
2016-11-19 13:12:19 -05:00
Luiz Angelo Daros de Luca 1f8432ab9a ruby: bump to 2.3.2
This release contains update of RubyGems 2.5.2 and update of included ssl certificates.

There are many bugfixes too. See the http://svn.ruby-lang.org/repos/ruby/tags/v2_3_2/ChangeLog
for details.

Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
2016-11-18 04:50:12 -02:00
Michael Heimpold 583af8565e php7: update to 7.0.13
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2016-11-16 21:12:39 +01:00
Alexandru Ardelean ee512fa36f python-dns: add python-setuptools/host as build dependency
After commit a4b0c0a9fb
python host does not install/have the built-in setuptools package.

So, for python-dns, we need to add it explicitly (since it's required).

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2016-11-09 09:35:19 +02:00
Alexandru Ardelean 556821951d python-dns: use --prefix & --root config options
Does not fix anything, just brings it inline with the
other python packages.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2016-11-09 09:28:34 +02:00
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
Alexandru Ardelean 6a670f42b1 python: move PYTHON_VERSION in own .mk file
Allows for more granularity with respect to python-host.mk
and python-package.mk inclusions.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2016-11-07 10:55:31 +02:00
Alexandru Ardelean 45bdb70e1e python: add include guard for python-host.mk and include in Makefile
So that it can be included twice.
python-package.mk include python-host.mk, but at some point
in time python-host.mk is not exported to staging_dir yet.

So, to have in python's Makefile, we need to include it
in the Makefile, and to prevent double inclusion (if
python-host.mk is exported from a previous build), the
include guard is added.

Also, moved the includes after some vars were set.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2016-11-07 09:27:20 +02:00
Gergely Kiss ed56b2ea43 python-urllib3: update to version 1.19
Signed-off-by: Gergely Kiss <mail.gery@gmail.com>
2016-11-06 17:36:20 +01:00
Hannu Nyman d015c6edfe Merge pull request #2922 from cshore/pull-request-fix-perl-utf8-dependency
lang/perlbase: Fix missing utf8 dependency on unicore
2016-11-06 11:57:42 +02:00
Hannu Nyman 2ae49e2b16 Merge pull request #3460 from Shulyaka/python-dns
python-dns: version update to 1.15.0
2016-11-04 09:28:37 +02:00
Denis Shulyaka 0e8e30eb6b python-dns: version update to 1.15.0
Signed-off-by: Denis Shulyaka <Shulyaka@gmail.com>
2016-11-03 18:15:55 +03:00
Jo-Philipp Wich 4a083de4a9 python3: avoid use of HOST_BUILD_PREFIX
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>
2016-11-01 12:57:41 +01:00
Jo-Philipp Wich 73b7f55424 python: avoid use of HOST_BUILD_PREFIX
Currently, the python-host.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
python-host.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 python-host.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>
2016-11-01 12:57:36 +01:00
Hannu Nyman b24ba82cce Merge pull request #3423 from commodo/python-include-host-build
python,python3: include host-build.mk in python-host.mk & python3-package.mk
2016-10-31 10:05:46 +02:00
Alexandru Ardelean e54d296a53 python,python3: include host-build.mk in python-host.mk & python3-package.mk
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2016-10-31 09:51:34 +02:00
Hannu Nyman 0c1950923f Merge pull request #3420 from kissg1988/python-urllib3
python-urllib3: update to version 1.18.1
2016-10-31 09:40:34 +02:00
Hannu Nyman 4f5eb2ffe7 Merge pull request #3419 from kissg1988/simplejson
simplejson: update to version 3.10.0
2016-10-31 09:40:17 +02:00
Gergely Kiss 74f897cbce vala: update to version 0.34.2
Signed-off-by: Gergely Kiss <mail.gery@gmail.com>
2016-10-30 23:01:52 +01:00
Gergely Kiss 99c51afc68 simplejson: update to version 3.10.0
Signed-off-by: Gergely Kiss <mail.gery@gmail.com>
2016-10-30 21:09:52 +01:00
Gergely Kiss 17b3c156cc python-urllib3: update to version 1.18.1
Signed-off-by: Gergely Kiss <mail.gery@gmail.com>
2016-10-30 20:56:06 +01:00
Amnon Paz d0697b488b lua-openssl: Fix makefile 2016-10-30 11:34:26 +02:00
Hannu Nyman 265f9595ed Merge pull request #3297 from NeoRaider/python
python, python3, python-*: use default prefix for host install
2016-10-27 16:43:15 +03:00
Hannu Nyman 8e8fdc4b4d Merge pull request #3307 from amnonpaz/feature-new-package-lua-openssl
lua-openssl: Introduce new package
2016-10-27 09:38:45 +03:00
Yousong Zhou 9f8dd657a1 Merge pull request #3352 from yousong/python-packages
python-packages: initial version 1.0
2016-10-21 10:27:51 -05:00
Yousong Zhou c6ddd3d7c0 python-packages: initial version 1.0
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2016-10-21 12:07:23 +08:00
Yousong Zhou 3a710acf93 python-pip: add host build
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2016-10-17 19:55:39 +08:00
Yousong Zhou fbba266e79 python: introduce Build/Compile/HostPyRun{Host,Target}
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2016-10-17 19:55:39 +08:00
Michael Heimpold 7122495899 php5/php5-pecl-*: R.I.P.
Remove the php5 stuff since php7 is in place for several weeks
and all depended in-tree packages has been migrated.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2016-10-16 20:56:14 +02:00
Michael Heimpold 80f0ea5728 php7: update to 7.0.12
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2016-10-16 20:53:46 +02:00