aboutsummaryrefslogtreecommitdiff
path: root/lang
Commit message (Collapse)AuthorAge
* python: don't use libressl for host buildAlexandru Ardelean2017-01-06
| | | | | | | | | | | | | | | | | Fixes: https://github.com/openwrt/packages/issues/3767 Since commit: https://github.com/lede-project/source/commit/f6e6341d896adb78f9b496f71aab8f45e1742d5a libressl is built on the host-side. Python picks it up [ via the openssl/* headers ] and assumes it has SSL libs. Compiling works fine, linking fails. Doesn't look like it's because: https://github.com/lede-project/source/commit/2fd5ce9488d11c7e6eee7dc30f128bd12be889f5 Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* Merge pull request #3755 from commodo/python3-update-buildHannu Nyman2017-01-04
|\ | | | | python3: sync makefiles with python package
| * 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>
* | python: upgrade to version 2.7.13Alexandru Ardelean2017-01-04
| | | | | | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* | python: simplify/unify default build rules for python packagesAlexandru Ardelean2017-01-04
| | | | | | | | | | | | | | | | | | Most python packages use the same build rules & vars. So, adding them in python-package.mk. Also, preparing for using VARIANTs for python/python3 packages. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* | python-dev: add python-lib2to3 as dependencyAlexandru Ardelean2017-01-04
| | | | | | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* | python: update PYTHON_FOR_BUILD (based on python3)Alexandru Ardelean2017-01-04
| | | | | | | | | | | | | | | | | | PYTHON_FOR_BUILD is used to build the target python. Nomally Python scripts detect fine the Python host interpreter to use for building the Python target interpreter. But, let's not leave it up to chance anymore. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* | python: remove argument for `--with-system-ffi` configure arg (based on python3)Alexandru Ardelean2017-01-04
|/ | | | | | | | | | And apparently `--with-system-ffi` does not take any arguments. But it's only in Python 3.6 that a check was added for that. After checking, Python 2.7 does not take any args either for `--with-system-ffi` ; so, remove it [for the case when this change may get backported]. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* Merge pull request #3737 from commodo/python3-upgradeHannu Nyman2017-01-02
|\ | | | | python3: upgrade to version 3.6.0
| * 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>
* | lang/php7-pecl-http: Drop mbed TLS 1.3 (PolarSSL)Daniel Engberg2017-01-01
|/ | | | | | Drop mbed TLS 1.3 (PolarSSL) option as it's EOL. Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
* ruby: bump to 2.4.0Luiz Angelo Daros de Luca2016-12-31
| | | | | | | | | | | | | | | | | | | 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>
* perl-cgi: Bump version to latestPhilip Prindeville2016-12-27
| | | | | | This version is no longer posted on CPAN so point to latest instead. Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
* php7-pecl-http: fix build for big endian (fixes #3691)Michael Heimpold2016-12-23
| | | | | | While at, improve pre-seeded dependency detection. Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* php7-pecl-http: upgrade to 3.1.0Michael Heimpold2016-12-22
| | | | Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* php7-pecl-dio: upgrade to 0.0.9Michael Heimpold2016-12-22
| | | | | | | | 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>
* luarocks: Fix seeded uname (s/m) in siteconfigDavid Thornley2016-12-22
| | | | | | | | 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>
* Merge pull request #3659 from jow-/python-move-includesHannu Nyman2016-12-16
|\ | | | | python: move includes after common package variables
| * python: move includes after common package variablesJo-Philipp Wich2016-12-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | 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>
* Merge pull request #3592 from commodo/python-setuptools-fixHannu Nyman2016-11-28
|\ | | | | python-setuptools,python3-setuptools: fix path creation in setup scripts
| * python3-setuptools: fix path creation in setup scriptsAlexandru Ardelean2016-11-28
| | | | | | | | | | | | Same as for python-setuptools (in previous commit). Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
| * python-setuptools: fix path creation in setup scriptsAlexandru Ardelean2016-11-28
| | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | Merge pull request #3547 from luizluca/ruby-updateLuiz Angelo Daros de Luca2016-11-22
|\ \ | | | | | | ruby: bump to 2.3.3
| * | ruby: bump to 2.3.3Luiz Angelo Daros de Luca2016-11-22
| |/ | | | | | | | | | | | | | | | | 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>
* / update micropython and micropython-lib to v1.8.6Breuss Simon2016-11-21
|/ | | | Signed-off-by: Breuss Simon <simon.breuss@gmail.com>
* lang/python-pcapy: Added python-pcapy packageAndrew McConachie2016-11-19
| | | | | | | 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>>
* ruby: bump to 2.3.2Luiz Angelo Daros de Luca2016-11-18
| | | | | | | | | 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>
* php7: update to 7.0.13Michael Heimpold2016-11-16
| | | | Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* python-dns: add python-setuptools/host as build dependencyAlexandru Ardelean2016-11-09
| | | | | | | | | After commit a4b0c0a9fb4a767f1e7fe344423f77ef1f10d991 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>
* python-dns: use --prefix & --root config optionsAlexandru Ardelean2016-11-09
| | | | | | | Does not fix anything, just brings it inline with the other python 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>
* python: move PYTHON_VERSION in own .mk fileAlexandru Ardelean2016-11-07
| | | | | | | Allows for more granularity with respect to python-host.mk and python-package.mk inclusions. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python: add include guard for python-host.mk and include in MakefileAlexandru Ardelean2016-11-07
| | | | | | | | | | | | | | | 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>
* python-urllib3: update to version 1.19Gergely Kiss2016-11-06
| | | | Signed-off-by: Gergely Kiss <mail.gery@gmail.com>
* Merge pull request #2922 from cshore/pull-request-fix-perl-utf8-dependencyHannu Nyman2016-11-06
|\ | | | | lang/perlbase: Fix missing utf8 dependency on unicore
| * lang/perlbase: Fix missing utf8 dependency on unicoreDaniel Dickinson2016-07-04
| | | | | | | | | | | | | | perlbase-utf8 depends on perlbase-unicore however that dependency was missing. This patch fixes that. Signed-off-by: Daniel Dickinson <lede@daniel.thecshore.com>
* | Merge pull request #3460 from Shulyaka/python-dnsHannu Nyman2016-11-04
|\ \ | | | | | | python-dns: version update to 1.15.0
| * | python-dns: version update to 1.15.0Denis Shulyaka2016-11-03
| | | | | | | | | | | | Signed-off-by: Denis Shulyaka <Shulyaka@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: avoid use of HOST_BUILD_PREFIXJo-Philipp Wich2016-11-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | Merge pull request #3423 from commodo/python-include-host-buildHannu Nyman2016-10-31
|\ \ \ | | | | | | | | python,python3: include host-build.mk in python-host.mk & python3-package.mk
| * | | python,python3: include host-build.mk in python-host.mk & python3-package.mkAlexandru Ardelean2016-10-31
| |/ / | | | | | | | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* | | Merge pull request #3420 from kissg1988/python-urllib3Hannu Nyman2016-10-31
|\ \ \ | | | | | | | | python-urllib3: update to version 1.18.1
| * | | python-urllib3: update to version 1.18.1Gergely Kiss2016-10-30
| |/ / | | | | | | | | | Signed-off-by: Gergely Kiss <mail.gery@gmail.com>
* | | Merge pull request #3419 from kissg1988/simplejsonHannu Nyman2016-10-31
|\ \ \ | | | | | | | | simplejson: update to version 3.10.0
| * | | simplejson: update to version 3.10.0Gergely Kiss2016-10-30
| |/ / | | | | | | | | | Signed-off-by: Gergely Kiss <mail.gery@gmail.com>
* / / vala: update to version 0.34.2Gergely Kiss2016-10-30
|/ / | | | | | | Signed-off-by: Gergely Kiss <mail.gery@gmail.com>