aboutsummaryrefslogtreecommitdiff
path: root/lang
Commit message (Collapse)AuthorAge
* Flask: add packageDaniel Golle2017-07-14
| | | | | | | Flask is a microframework for Python based on Werkzeug, Jinja 2 and good intentions. And before you ask: It.s BSD licensed! Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* python: Werkzeug: add packageDaniel Golle2017-07-14
| | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* python: click: add packageDaniel Golle2017-07-14
| | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* python: itsdangerous: add packageDaniel Golle2017-07-14
| | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* python: MarkupSafe: add packageDaniel Golle2017-07-14
| | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* python: Jinja2: add packageDaniel Golle2017-07-14
| | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* pyodbc: assume SQL_C_WCHAR is native endianDaniel Golle2017-07-14
| | | | | | Bump PKG_REV and remove obsolete PKG_MD5SUM while at it. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* python-yaml: update source and build for python3Daniel Golle2017-07-14
| | | | | | Update source to version 3.12 and build for both, python and python3. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* Merge pull request #4558 from commodo/python-cleanup1Hannu Nyman2017-07-09
|\ | | | | python,python3: rename PyBuild/Compile rules & remove .egg-info from packages
| * python-lxml: override PyBuild/Compile & Py3Build/Compile rulesAlexandru Ardelean2017-07-07
| | | | | | | | | | | | | | | | | | And depend on python-light only if python-lxml is selected. Same thing for python3-lxml. Otherwise, this builds both Python & Python3 intepreters. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
| * python,python3: remove .egginfo directoriesAlexandru Ardelean2017-07-07
| | | | | | | | | | | | They don't seem needed, and makes packages a bit smaller Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
| * python,python3: define PyBuild/Compile & Py3Build/CompileAlexandru Ardelean2017-07-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Similar to LEDE/OpenWrt's Build/Compile/Default rule, and other similarities like this. This should allow Python packages to define PyBuild/Compile rules to do specific stuff per package. The advantage of using these (over just overriding Build/Compile) is the VARIANT mechanism that is in place to support packaging both for Python & Python3. So, PyBuild/Compile will get picked up for the Python variant build, and Py3Build/Compile will get picked up for the Python3 variant build. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* | python-gnupg: add packageDaniel Golle2017-07-08
| | | | | | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* | Merge pull request #4559 from commodo/python-pyodbc-fixDaniel Golle2017-07-07
|\ \ | | | | | | pyodbc: fix python-pyodbc variant ; wasn't working
| * | pyodbc: fix python-pyodbc variant ; wasn't workingAlexandru Ardelean2017-07-07
| |/ | | | | | | | | | | | | | | | | | | | | Python3 variant was working fine. Also add add PACKAGE_python-pyodbc conditional depend for python packages Otherwise, both Python & Python3 interpreters get built, even tho only one variant is selected. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* / python: fix intermitent build failureAlexandru Ardelean2017-07-06
|/ | | | | | | | | | Fixes: https://github.com/openwrt/packages/issues/4548 When running parallel jobs, there are chances that the Build/InstallDev rule may run before the Host/Install rule and fail the build. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* relocated upstream repo, update to upstream v1.1.2mrpace22017-07-05
| | | | Signed-off-by: Frank Edelhaeuser <mrpace2@gmail.com>
* python,python3: add dependency on CONFIG_PACKAGE_ symbols for setuptools & pipAlexandru Ardelean2017-07-03
| | | | | | | | | | | | If you build python/python3 and later decide to build python(3)-setuptools and/or python(3)-pip, the build won't re-run without adding `CONFIG_PACKAGE_python(3)-setuptools` and `CONFIG_PACKAGE_python(3)-pip`. Seems to resolve issue: https://github.com/openwrt/packages/issues/4529 Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python,python3: simplify `sed` expression for setuptools & pipAlexandru Ardelean2017-07-03
| | | | | | | | | A suggestion from comment (from Philip Prindeville): https://github.com/openwrt/packages/issues/4529#issuecomment-312518121 Avoids some escaping of slashes. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python,python3: fix underlinking issues with lrt (clock_gettime())Alexandru Ardelean2017-07-03
| | | | | | | | | | | | | | | | | Seems it's called underlinking that's happening only on Ubuntu 12.04 with libressl (that comes from LEDE's tools folder). Link here: https://ubuntuforums.org/showthread.php?t=1870586 I'm still reading about this a bit. Since I don't really get it. But applying that fix (as in the link) seems to fix compiling on Ubuntu 12.04, and tried also on 16.04 (to make sure). Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python-pyodbc: add packageDaniel Golle2017-07-01
| | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* python,python3: install mk files in the Host/Install phaseAlexandru Ardelean2017-06-29
| | | | | | | | The Build/InstallDev rule is activated only for target builds. But if someone needs only the host Python, then these files need to be installed in this phase, and not Build/InstallDev Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python-six: rename PKG_NAME to python-six, and adapt unpack cmd for buildAlexandru Ardelean2017-06-29
| | | | | | | | | | OVS has PKG_BUILD_DEPENDS:=python-six/host as dep. But that doesn't seem to work, since the PKG_NAME:=six So, this change renames the PKG_NAME to python-six, to make it clear it's Python package. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* Merge pull request #4485 from pprindeville/php7-enable-snmpMichael Heimpold2017-06-22
|\ | | | | php7: add SNMP module to bundle
| * php7: add SNMP module to bundlePhilip Prindeville2017-06-16
| | | | | | | | | | | | | | | | Add native support for SNMP manager functions, so scripts don't have to call system("snmpget -v2c ...") etc. Cuts down on fork/exec pairs and simplifies issues with parsing intermediate output. Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
* | Merge pull request #4429 from sdwalker/cleanupHannu Nyman2017-06-17
|\ \ | | | | | | packages: cleanup Makefile variables
| * | packages: cleanup Makefile variablesStephen Walker2017-06-03
| | | | | | | | | | | | | | | | | | Standard assignment is immediate expansion without any extraneous spacing, RFC822 compliant email addresses and consistent section assignments Signed-off-by: Stephen Walker <stephendwalker+github@gmail.com>
* | | python3: fix distutils path to package when using bytecodesAlexandru Ardelean2017-06-12
| |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | If there is only Python bytecodes, then the __init__.py script will be concatenated, and the __init__.pyc as well. This is becase this bit `path = os.path.join(path, '__init__'+extension)` is iterated twice. This is a bug in Python3, also because we ship bytecodes instead of source code [ with Python & Python3 ]. Python is not affected. Reported-by: Mirko Vogt <mirko@nanl.de> Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* | php7: update to 7.1.6Michael Heimpold2017-06-10
| | | | | | | | | | | | | | | | | | Removed patch 1008-fix-musl-sys-headers.patch which was integrated upstream. (Compile tested only so far) Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* | lpeg: Fix build with external toolchainsFlorian Fainelli2017-06-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We are not properly passing down TARGET_CFLAGS and TARGET_CPPFLAGS and this can be noticed with external toolchains with the following build error: mipsel-linux-gnu-gcc -Wall -Wextra -pedantic -Waggregate-return -Wcast-align -Wcast-qual -Wdisabled-optimization -Wpointer-arith -Wshadow -Wsign-compare -Wundef -Wwrite-strings -Wbad-function-cast -Wdeclaration-after-statement -Wmissing-prototypes -Wnested-externs -Wstrict-prototypes -O2 -std=c99 -I../lua/ -fPIC -c -o lpvm.o lpvm.c lpvm.c:10:17: fatal error: lua.h: No such file or directory #include "lua.h" ^ compilation terminated. make[4]: *** [lpvm.o] Error 1 Re-use COPT to pass our TARGET_CFLAGS and TARGET_CPPFLAGS Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
* | python-lxml: add initial version (with python3 variant included)Alexandru Ardelean2017-06-05
| | | | | | | | | | | | | | | | This package requires libxml2 & libxslt to be built, has some C code so it's not installable via pip. It needs cross-compilation. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* | php7-pecl-http: add a patch to fix a segfault during php startupMichael Heimpold2017-06-04
|/ | | | | | | | | | | The extensions tries to register some string constants after quering version strings from underlaying libcurl. However, depending on libcurl's configuration these strings could also be NULL, which was not handled properly. An upstream pull request for this patch is waiting for review. Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* python-six: add host-side buildAlexandru Ardelean2017-05-24
| | | | | | | Needed for Open vSwitch's python libs. And build. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python3-pip: override Package/python3-pip/install ruleAlexandru Ardelean2017-05-19
| | | | | | | | | | | | | | This is in essence fixes pip3. That means pip3 will ship without Python byte-codes for a while, until I'll find a better way to fix it. I couldn't think of a not-very hack-ish way of doing it. The only draw-back of this, will be that pip3 will run a bit slower ; but that should be ok for a while. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python3: remove __pycache__ folders pip & setuptoolsAlexandru Ardelean2017-05-19
| | | | | | | | | | | | | python3-pip & python3-setuptools have slightly different installation mechanisms. We need to remove the __pycache__ folders. Seems they're generated. This also reduces the size of the python3-pip & python3-setuptools packages. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python,python3: allow python packages to override Package/<pkg>/install ruleAlexandru Ardelean2017-05-19
| | | | | | | Python packages try to enforce their own. For some cases this may not be desired. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* python packages: move all things python under lang/pythonAlexandru Ardelean2017-05-17
| | | | | | | | | | | | I admit this may be be a bit aggressive, but the lang folder is getting cluttered/filled up with Python, PHP, Perl, Ruby, etc. packages. Makes sense to try to group them into per-lang folders. I took the Pythons. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* php7: update to 7.1.5Michael Heimpold2017-05-14
| | | | | | Remove patch 1006-fix-gettext.patch which was integrated upstream. Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* lang/perl: Upgraded to Perl 5.24.1Michail Frolov2017-05-10
| | | | Signed-off-by: Michail Frolov <frolovm@pobox.com>
* lua-bencode: download .tar.gz instead of using hgHannu Nyman2017-04-18
| | | | | | | | | | | | Avoid using 'hg' (Mercurial) to download sources. 'hg' is not an official prerequisite and it is not installed in all buildslaves in Openwrt and LEDE buildbots, which leads to frequent build failures. Download the .tar.gz source archive instead. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
* php7: use TARGET_CXXFLAGS instead of TARGET_CPPFLAGS for C++ optionMichael Heimpold2017-04-18
| | | | | | | | | This fixes a stupid typo from last commit which lead to the following compiler warning: cc1: warning: command line option '-std=c++11' is valid for C++/ObjC++ but not for C Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* php7: fix build of php7-mod-intlMichael Heimpold2017-04-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes the following build error (shortened paths for readability): -snip- In file included from .../php-7.1.4/ext/intl/intl_convertcpp.h:26:0, from .../php-7.1.4/ext/intl/intl_convertcpp.cpp:21: .../staging_dir/target-arm_arm926ej-s_musl_eabi/usr/include/unicode/unistr.h:56:16: error: 'UChar' does not name a type u_strlen(const UChar *s); ^ .../staging_dir/target-arm_arm926ej-s_musl_eabi/usr/include/unicode/unistr.h:80:19: error: 'char16_t' has not been declared char16_t *dest, int32_t destCapacity, ^ .../staging_dir/target-arm_arm926ej-s_musl_eabi/usr/include/unicode/unistr.h:81:25: error: 'char16_t' does not name a type const char16_t *src, int32_t srcLength, ^ In file included from .../php-7.1.4/ext/intl/intl_convertcpp.h:26:0, from .../php-7.1.4/ext/intl/intl_convertcpp.cpp:21: .../staging_dir/target-arm_arm926ej-s_musl_eabi/usr/include/unicode/unistr.h:462:16: error: 'char16_t' does not name a type const char16_t *srcChars) const; ^ [...] -snap- This build error was introduced by update of icu to 59.1. Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* php7: fix php build issues with musl headers (fixes #4263)Philip Prindeville2017-04-17
| | | | | | | | | | | MUSL is complaining about <sys/poll.h> instead of <poll.h>. Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com> [ Replaced the *-t1lib filtering stuff by simply removing the left-over configure option ] Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* php7: enable filter support by default (fixes #3831)Michael Heimpold2017-04-13
| | | | | | | | | Filter support brings several useful features which many PHP applications rely on. To make it easier for users who don't want to build own packages enable this by default. This slightly increases the binary SAPI packages, but since PHP is a huge monster anyway, I doubt this hurts anybody. Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* php7: update to 7.1.4Michael Heimpold2017-04-13
| | | | Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* php7: fix bind_textdomain_codeset detection (refs #4250)Michael Heimpold2017-04-11
| | | | | | | | The gettext extension is only useful when linked against libintl-full package, however, the detection did not work sucessfully. This patch by @Dimazhan fixes this. Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* perl-cgi: Update to 4.36Philip Prindeville2017-04-09
| | | | Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
* node: Move NPM into a separated pacakgeYgal Blum2017-04-06
| | | | | | | | | In order to reduce flash requirements and also to disallow running NPM on the target move NPM out of the default NodeJS package. In order to allow adding NPM via opkg install, move it to a separated directory Signed-off-by: Ygal Blum <ygal.blum@gmail.com>
* ruby: change source to .xzLuiz Angelo Daros de Luca2017-03-27
| | | | | | It will save about 2M of download. Thanks @diizzyy. Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
* php7-pecl-dio: upgrade to 0.1.0Michael Heimpold2017-03-27
| | | | Signed-off-by: Michael Heimpold <mhei@heimpold.de>