Commit graph

1437 commits

Author SHA1 Message Date
Jeffery To
ac9aaa7ad2 python-parsley: add python3 variant
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2018-01-10 22:55:28 +08:00
Jeffery To
6bd2eaf415 python-ipaddress: update to 1.0.19
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2018-01-10 21:53:18 +08:00
Jeffery To
bbcd4b053a python-gmpy2: add python3 variant
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2018-01-10 21:37:30 +08:00
Jeffery To
f47dfab5ae python-cryptography: update to 2.1.4, refresh patches
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2018-01-10 19:55:42 +08:00
Jeffery To
320857993b python-attrs: update to 17.4.0, add python3 variant
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2018-01-10 17:35:11 +08:00
Matthias Schiffer
00fce347a5
treewide: fix incorrect *_BUILD_DEPENDS
Build depends refer to source package names, not binary package names.

In many cases, PKG_BUILD_DEPENDS simply duplicated runtime dependencies of
a source package's binary packages; as the corresponding source packages
are implicitly added as bulid dependencies, PKG_BUILD_DEPENDS can simply be
dropped in these cases. In the other cases, *_BUILD_DEPENDS is fixed to
refer to the correct source package name.

Dependency of mysql-server is adjusted from libncursesw to libncurses
(as libncursesw is a virtual package provided by libncurses), so the build
dependency on ncurses is emitted unconditionally.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
2018-01-09 16:36:02 +01:00
Alexandru Ardelean
c54b312043 python,python3: honour the SOURCE_DATE_EPOCH for the build-info
The Modules/getbuildinfo.c allows the use of DATE and TIME
macros to be defined via CFLAGS.

These vars, control the build date & time when the
interpreter is opened, and can be read via the
`platform._sys_version()` function.

So, a conversion from SOURCE_DATE_EPOCH to DATE & TIME
is required at build-time.

This is especially needed for `platform._sys_version()`
to work.
The installation of pip seems to rely on this.

The logic has been adapted from:
 https://wiki.debian.org/ReproducibleBuilds/TimestampsProposal#Makefile

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2018-01-08 15:32:47 +02:00
Jeffery To
c5cbd44cea python,python3: undo egg-info removal
This reverts commits 4333d1dcbf and
074d2863be, making Python packages
discoverable again by pkg_resources.

Fixes #5361.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2018-01-08 17:26:54 +08:00
Matthias Schiffer
6e3a609d07
treewide: remove superfluous + signs from PKG_BUILD_DEPENDS
A + sign does not have meaning in build depends.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
2018-01-07 20:08:31 +01:00
Matthias Schiffer
778af6722a
luaposix: move PKG_BUILD_DEPENDS to generic part of Makefile
Also remove the superfluous + sign in PKG_BUILD_DEPENDS (a + sign does not
have meaning in build depends).

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
2018-01-07 20:08:31 +01:00
Luiz Angelo Daros de Luca
22ede31af6
Merge pull request #5356 from luizluca/ruby-2.5.0
ruby: bump to 2.5.0
2018-01-05 22:30:59 -02:00
Luiz Angelo Daros de Luca
e22dc61d3f ruby: bump to 2.5.0
2.5.0 introduces many new features and performance improvements.
See: https://www.ruby-lang.org/en/news/2017/12/25/ruby-2-5-0-released/

Packaging changes:
* As date was promoted into a gem, ruby-datetime
  was splitted into ruby-date and ruby-time
* New packages for gemified stdlib files:
  - ruby-cmath (from ruby-math)
  - ruby-date (from ruby-datetime)
  - ruby-etc (from ruby-misc)
  - ruby-fcntl (from ruby-misc)
  - ruby-fileutils (from ruby-filelib)
  - ruby-ipaddr (from ruby-socket)
  - ruby-scanf (from ruby-misc)
  - ruby-stringio (from ruby-misc)
  - ruby-strscan (from ruby-misc)

Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
2018-01-05 22:09:47 -02:00
Michael Heimpold
9f4b18c757 php7: update to 7.2.1
Remove a patch which was included upstream.

While at, also add openssl configuration parameters when modules are selected
which depend on openssl (reported by Philip Prindeville).

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2018-01-04 20:43:57 +01:00
Alexandru Ardelean
36bb5706a2 python,python3: add zlib/host to HOST_BUILD_DEPENDS (ver 2)
This reverts commit 3c6d14021e.
( which is a revert of commit c764f77dc1 )

The initiall commit ( c764f77dc1 )
was reverted, becase zlib did not have a host-build.

Now it does:
 cbe71649bc

So, now it should be good to put this in.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2018-01-02 18:59:53 +02:00
Alexandru Ardelean
4ec5d3d62f python3: bump to version 3.6.4
Re-worked patch `003-do-not-run-distutils-tests.patch`
to reduce patch-size.

Removed `011-fix-ncursesw-definition-colisions.patch`
it is fixed upstream.

Refreshed with `make package/python3/refresh`

Resetting PKG_RELEASE to 1.
This variable was never used for pip3 & setuptools, since
VERSION is specified in the package definitions.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-12-31 17:58:34 +02:00
Hannu Nyman
750f19ab26
Merge pull request #5303 from commodo/python-source-date-epoch
python,python3: add support for SOURCE_DATE_EPOCH var
2017-12-31 10:56:39 +02:00
Hannu Nyman
f0cef0a021
Merge pull request #5334 from commodo/python-cffi-fix-host-build
python-cffi: fix host build/installation
2017-12-30 13:11:54 +02:00
Philip Prindeville
97efa62c22 php7: fix syntax issue in MIPS code for pcre
Copied from upstream (master).

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2017-12-29 17:41:12 -07:00
Alexandru Ardelean
77ee36c7c8 python-cffi: fix host build/installation
Fixes:
https://github.com/openwrt/packages/issues/5318

Not sure how this worked before.
The host python-cffi needs a libffi installed on the host side.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-12-29 21:04:58 +02:00
Michael Heimpold
97305e41b6 php7: disable valgrind support
The check to enable/disable this new feature of PHP 7.2 works
incorrectly when cross-compiling because it detects the host headers
only and there is no way to pass in a dedicated directory.

The wish to change this was reported upstream at:
https://bugs.php.net/bug.php?id=75722

For the meantime, use a self-cooked patch.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2017-12-28 22:00:07 +01:00
Michael Heimpold
f51dca14cd Merge branch 'php7-update-7.2.0' of https://github.com/pprindeville/packages
into pprindeville-php7-update-7.2.0

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2017-12-28 21:44:25 +01:00
champtar
8c69bc4436
Merge pull request #5061 from mrkiko/hostside-luarocks
luarocks: Allow building luarocks for the host
2017-12-23 15:29:21 -08:00
Luiz Angelo Daros de Luca
fc01053917 ruby: bump to 2.4.3
This release includes some bug fixes and a security fix.

CVE-2017-17405: Command injection vulnerability in Net::FTP

Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
2017-12-23 01:14:03 -02:00
Philip Prindeville
1d1d67e0b9 php7: update to 7.2.0
Also drop mcrypt module as it's deprecated.

Dropped patches have been accepted upstream or something homologous.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2017-12-22 18:26:04 -07:00
Alexandru Ardelean
1b6dd4781f python,python3: add support for SOURCE_DATE_EPOCH var
See:
https://github.com/openwrt/packages/issues/5278

This should make Python & Python3 packages reproducible
when building.
In my local tests, I got the same sha256 for a sample
.pyc file, so likely this is the solution that should address
this.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-12-20 00:11:47 +02:00
Philip Prindeville
249127bae2
Merge pull request #5236 from lynxis/rb_perl
perl: remove build timestamp
2017-12-16 13:41:23 -07:00
Hannu Nyman
3c6d14021e Revert "python,python3: add zlib/host to HOST_BUILD_DEPENDS"
This reverts commit c764f77dc1.

The commit caused warnings to be displayed at make defconfig etc.
  WARNING: Makefile 'package/feeds/packages/python/python/Makefile'
  has a host build dependency on 'zlib/host' but
  'package/libs/zlib/Makefile' does not implement a 'host' build type

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2017-12-16 17:02:45 +02:00
Hannu Nyman
96edbd3da9
Merge pull request #5274 from commodo/python-host-zlib
python,python3: add zlib/host to HOST_BUILD_DEPENDS
2017-12-16 12:23:10 +02:00
Michael Heimpold
ea9a7b5d45
Merge pull request #5237 from lynxis/rb_php7
php7: remove build timestamp
2017-12-15 22:55:49 +01:00
Alexander Couzens
5dbbb1ba11 php7: remove build timestamp
Build timestamp prevents reproducible builds [0].

[0] https://reproducible-builds.org/docs/timestamps/

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
2017-12-14 19:00:11 +01:00
Alexander Couzens
a73e96cb0c perl: remove build timestamp
Build timestamp prevents reproducible builds [0].

[0] https://reproducible-builds.org/docs/timestamps/

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
2017-12-14 18:59:10 +01:00
Alexandru Ardelean
c764f77dc1 python,python3: add zlib/host to HOST_BUILD_DEPENDS
This should fix the zlibmodule build on the host side.

Usually, if zlib is not found, Python/Python3 builds fine
without it, but there are some cases where the Python/Python3
interpreter on the host-side requires zlib to run.

At the moment, zlib does not have a host-build.
This should be available when this PR gets merged:
https://github.com/lede-project/source/pull/1329
[ or a similar one that contains host-build support for zlib ].

In the meantime, this change can go into Python/Python3.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-12-13 21:07:46 +02:00
Ted Hess
f0f4128850
Merge pull request #5218 from lynxis/rb_lua-rs232
lua-rs232: remove build timestamp
2017-12-12 09:30:28 -05:00
champtar
1484eee759
Merge pull request #5259 from valdi74/update_python-curl
python-curl: update to 7.43.0.1
2017-12-10 16:51:32 -08:00
Waldemar Konik
04f6b4cdce python-curl: update to 7.43.0.1
Signed-off-by: Waldemar Konik <informatyk74@interia.pl>
2017-12-10 23:26:55 +01:00
Alexandru Ardelean
59f0506622 python,python3: define config option for bluetooth support
It was reported via
https://github.com/openwrt/packages/pull/5122#issuecomment-347395472
that if bluez-libs is selected as an installable package,
then the error below will show up:
```
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for python-light:
 *	bluez-libs *
 * opkg_install_cmd: Cannot install package python-light.
```

This looks like a limitation in the design of package deps,
and maybe a misuse of conditional deps (i.e. PACKAGE_bluez-libs:bluez-libs).

So, to fix this, an idea we're adding an extra symbol
that enfoces installation of bluez-libs if selected.

We also need to add a way to disable bluetooth build
if PYTHON(3)_BLUETOOTH_SUPPORT is de-selected.
Otherwise, bluetooth is installed and the socket
module is broken due to linker errors.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-12-10 19:49:23 +02:00
Alexandru Ardelean
00bb46866b python-pip-conf: split package away from python package
This should improve build time if you only want to
build Python3 (and not Python).

Because python-pip-conf was part of the python package,
the whole python package (host + target) would get built if Python3
would need to get built.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-12-10 19:49:23 +02:00
Philip Prindeville
a13715ea39
Merge pull request #5220 from pprindeville/perl-cgi-4.38
perl-cgi: Update to 4.38
2017-12-03 16:31:18 -07:00
Philip Prindeville
55a7a610a2 perl-cgi: Update to 4.38
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2017-12-03 16:26:23 -07:00
Alexander Couzens
d36447fde4
lua-rs232: remove build timestamp
Build timestamp prevents reproducible builds [0].

[0] https://reproducible-builds.org/docs/timestamps/

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
2017-12-03 14:26:45 +01:00
champtar
411b85b664
Merge pull request #4869 from apatrushev/master
micropython: updated to v1.9.2, micropython-lib: updated to v1.9
2017-12-02 15:13:09 -08:00
champtar
a999828a64
Merge pull request #5148 from mach327/openwrt_519
python3-idna: Fix openwrt/openwrt#519, opkg package list segfault.
2017-12-02 12:50:04 -08:00
Michael Heimpold
2abc95402a php7-mod-imap: add missing dependency for libpam
When libpam is selected, then mod_imap pulls in a dep to libpam,
and there seems no way to disable it via configure arguments.
So add this dep here conditionally.

Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2017-12-02 10:00:05 +01:00
Lucian Cristian
ab82aa0997 php7: try fix imap build-bot build
Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
2017-12-01 01:28:27 +02:00
Michael Heimpold
9a901e05e9 php7: try to fix compilation on LEDE buildbots
Detection of U8T_DECOMPOSE seems to be broken when cross-compiling,
so needs to be preseeded.

-snip-
checking for utf8_mime2text signature... new
checking for U8T_DECOMPOSE...
configure: error: utf8_mime2text() has new signature, but U8T_CANONICAL
 is missing. This should not happen. Check config.log for additional information.
-snap-

This requires also a patch for PHP to make the preseeding working.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2017-11-26 22:07:45 +01:00
Michael Heimpold
9e24f18a5a php7: update to 7.1.12
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2017-11-25 13:08:50 +01:00
Michael Heimpold
020807de9b php7-pecl-http: add dependency to php7-mod-hash
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2017-11-25 13:08:18 +01:00
Michael Heimpold
0809a949f2
Merge pull request #5066 from lucize/php7imap
php7: add php7-mod-imap
2017-11-25 07:31:52 +01:00
Tomasz Maciej Nowak
ccfc8ed013 perl-uri: upgrade to 1.72
Fixes #5089

Signed-off-by: Tomasz Maciej Nowak <tomek_n@o2.pl>
2017-11-22 12:57:08 +01:00
Val Kulkov
e5d785ca3b php7-mod-gd: add Freetype 2 support
Add Freetype 2 support to php7-mod-gd. Introduce a configuration
parameter to disable Freetype 2 support if the increased package
size is a concern.

Signed-off-by: Val Kulkov <val.kulkov@gmail.com>
2017-11-19 10:30:31 -05:00
mike mcginty
0815c0211c python3-idna: Fix openwrt_repo 519, opkg segfault.
Signed-off-by: mike mcginty <mach327@gmail.com>
2017-11-17 22:27:13 -05:00
Michael Heimpold
84e5012e88 php7: re-enable system timezone data usage
This part of the Makefile was commented out during update from
PHP 5.x to 7.x and not re-enabled in the meanswhile, so fix this finally.

Reported-by: Val Kulkov <val.kulkov@gmail.com>
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2017-11-15 21:01:30 +01:00
Alexandru Ardelean
c2b3496977 python,python3: build bluetooth support if bluez-libs selected
This should hopefully fix the Python3 build on buildbot.

For a while I assumed it may be a build-bot issue, but
then looking through the packages repo [and finding
the bluez package] it looks like, if you try
to build all packages, Python3 detects the bluetooth
headers installed by bluez.

It looks like Python's bluetooth support was somewhat
broken ; it was not detecting the <bluetooth/bluetooth.h>
header, so a backport from Python3 to Python fixed that.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-11-14 13:50:14 +02:00
Philip Prindeville
2feef328ed
Merge pull request #5113 from pprindeville/perl-text-csv_xs-update-1.34
perl-text-csv_xs: update to 1.34
2017-11-12 14:24:18 -07:00
Philip Prindeville
babba99c69 perl-text-csv_xs: update to 1.34
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2017-11-12 13:50:59 -07:00
Val Kulkov
50308e4fd7 php7: add configuration files to conffiles
Two important configuration files, /etc/php7-fpm.conf and
/etc/php7-fpm.d/www.conf are silently overwritten on each php7-fpm
upgrade or lost on a sysupgrade.

This commit adds the conffiles section for php7-fpm and revises
the conffiles section for php7.

Signed-off-by: Val Kulkov <val.kulkov@gmail.com>
2017-11-10 19:50:34 -05:00
Karl Palsson
dbec5d9f69 lua-mosquitto: bump to 0.3 release
Minor additions of bindings.

Signed-off-by: Karl Palsson <karlp@etactica.com>
2017-11-10 09:20:40 +00:00
Karl Palsson
92f9377610 lua-mosquitto: update maintainer email
Signed-off-by: Karl Palsson <karlp@remake.is>
Signed-off-by: Karl Palsson <karlp@etactica.com>
2017-11-10 09:20:40 +00:00
Lucian Cristian
dbaaedef99 php7: add php7-mod-imap
Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
2017-11-08 21:44:38 +02:00
Philip Prindeville
ee41431af8 perl-inline-c: extutils not a run-time dependency
Just about everything needs extutils to be built.  But very little
requires it to run.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2017-11-07 17:40:09 -07:00
Philip Prindeville
09f4be311e perl-inline-c: update to 0.78
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2017-11-07 17:40:09 -07:00
Philip Prindeville
e69441be6f
Merge pull request #5083 from pprindeville/perl-inline-c-fix-makefile_pl
perl-inline-c: patch Makefile.PL to not eval undef
2017-11-07 23:30:45 +00:00
Philip Prindeville
5470c60a91 perl-inline-c: patch Makefile.PL to not eval undef
Our build wrappers don't like Makefile.PL scripts which evaluate
to undef.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2017-11-07 16:15:58 -07:00
Philip Prindeville
f03cd7b5ac perlmod: redux handling odd Makefile.PL eval value
It seems that Inline::C evaluates to undef which is problematic, so
we need to handle this better.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2017-11-07 16:13:02 -07:00
Philip Prindeville
4776a50114
Merge pull request #5052 from pprindeville/perl-text-csv_xs
perl: package Text::CSV_XS module
2017-11-07 04:27:29 +00:00
Daniel Golle
d7253f8bcb pyodbc: update to version 4.0.21
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2017-11-07 01:30:02 +01:00
Enrico Mioso
764fdfd49b ldbus: add new package
This package contains "ldbus": LUA bindings to interact with the DBUS
message bus, and services connected to it.
See https://github.com/daurnimator/ldbus
for more details.

Signed-off-by: Enrico Mioso <mrkiko.rs@gmail.com>
2017-11-07 00:05:47 +01:00
Enrico Mioso
181460a7f1 luarocks: allow building for the host
Allow building luarocks for the host-side, thus making luarocks-based LUA
modules packging easier.

Signed-off-by: Enrico Mioso <mrkiko.rs@gmail.com>
2017-11-06 23:29:06 +01:00
Hannu Nyman
b7119e4ae9
Merge pull request #5071 from commodo/python-batch-upgrade
Python batch upgrade
2017-11-06 21:14:30 +02:00
Alexandru Ardelean
8750a59d3d python,python3: apply PKG_FIXUP:=autoreconf
Should hopefully provide more consistent results
across distros.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-11-06 18:06:02 +02:00
Alexandru Ardelean
007c7a1428 python-asn1crypto: update to version 0.23.0
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-11-06 18:06:02 +02:00
Alexandru Ardelean
9f232051b8 python-cryptography: update to version 2.1.3
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-11-06 18:06:02 +02:00
Alexandru Ardelean
6b31702827 python-cffi: update to version 1.11.2
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-11-06 18:06:02 +02:00
Alexandru Ardelean
3a7d2c6794 python-pyasn1-modules: update to version 0.1.5
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-11-06 18:06:02 +02:00
Alexandru Ardelean
7eadc0912f python-pyasn1: update to version 0.3.7
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-11-06 18:06:02 +02:00
Alexandru Ardelean
2f3cc6eada python-lxml: upgrade to version 4.1.1
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-11-06 18:06:02 +02:00
Alexandru Ardelean
652553e552 python3: bump to version 3.6.3
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-11-06 18:05:59 +02:00
Philip Prindeville
62267be558
Merge pull request #5067 from pprindeville/perl-cgi-update-4.37
perl-cgi: update to 4.37
2017-11-06 04:09:42 +00:00
Philip Prindeville
200312325f perl-cgi: update to 4.37
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2017-11-05 20:36:27 -07:00
Philip Prindeville
941c7f5120 perl: add Text::CSV_XS for iptables-mod-geoip
There are scripts to download and preprocess the GeoIP database
for iptables-mod-geoip which require this Perl module.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2017-11-01 19:12:03 -06:00
Mirko Vogt
32b60fa32b python3: package CGI component
Signed-off-by: Mirko Vogt <mirko-openwrt@nanl.de>
2017-10-31 13:45:29 +01:00
Michael Heimpold
dddfd6c00a php7: update to 7.1.11
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2017-10-31 12:44:53 +01:00
Philip Prindeville
4bf720985e
Merge pull request #5027 from pprindeville/perl-makefile_pl-failure
perl: when Makefile.PL fails give more feedback
2017-10-29 20:17:50 +00:00
Gergely Kiss
fdb8267c2d openpyxl: update to 2.5.0b1
Signed-off-by: Gergely Kiss <mail.gery@gmail.com>
2017-10-29 07:28:12 +01:00
Gergely Kiss
8a54d94325 django-constance: update to 2.0.0
Signed-off-by: Gergely Kiss <mail.gery@gmail.com>
2017-10-29 07:24:43 +01:00
Gergely Kiss
430dce852a django-restframework: update to 3.7.1
Signed-off-by: Gergely Kiss <mail.gery@gmail.com>
2017-10-29 07:21:42 +01:00
Gergely Kiss
e8dac18034 python-urllib3: update to 1.22
Signed-off-by: Gergely Kiss <mail.gery@gmail.com>
2017-10-29 07:17:18 +01:00
Gergely Kiss
bc1b9fa0e3 django-compressor: update to 2.2
Signed-off-by: Gergely Kiss <mail.gery@gmail.com>
2017-10-29 07:13:03 +01:00
Gergely Kiss
467582f7d9 django-picklefield: update to 1.0.0
Signed-off-by: Gergely Kiss <mail.gery@gmail.com>
2017-10-29 07:09:55 +01:00
Gergely Kiss
2c9a1f9b4e gunicorn: update to 19.7.1
Signed-off-by: Gergely Kiss <mail.gery@gmail.com>
2017-10-29 07:07:20 +01:00
Gergely Kiss
68f0085fe2 jdcal: update to 1.3
Signed-off-by: Gergely Kiss <mail.gery@gmail.com>
2017-10-29 07:04:19 +01:00
Gergely Kiss
e3a971558a chardet: update to 3.0.4
Signed-off-by: Gergely Kiss <mail.gery@gmail.com>
2017-10-29 07:00:58 +01:00
Gergely Kiss
90173afbbb pytz: update to 2017.2
Signed-off-by: Gergely Kiss <mail.gery@gmail.com>
2017-10-29 06:56:07 +01:00
Gergely Kiss
e6010224b5 simplejson: update to 3.11.1
Signed-off-by: Gergely Kiss <mail.gery@gmail.com>
2017-10-29 06:52:08 +01:00
Gergely Kiss
23fc92b308 django-postoffice: update to 3.0.3
Signed-off-by: Gergely Kiss <mail.gery@gmail.com>
2017-10-29 06:47:27 +01:00
Gergely Kiss
0bcfa490ef python-dateutil: update to 2.6.1
Signed-off-by: Gergely Kiss <mail.gery@gmail.com>
2017-10-29 06:43:47 +01:00
Gergely Kiss
1ae1024041 django-statici18n: update to 1.4.0
Signed-off-by: Gergely Kiss <mail.gery@gmail.com>
2017-10-29 06:36:29 +01:00
Philip Prindeville
a4aaaf8d8f perl: when Makefile.PL fails give more feedback
There are a few packages which mysteriously fail during the configure
stage.  Give us better means of understanding why.

Also, some Makefile.PL's have "use" statements which reference
files which are in or under ".".

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2017-10-27 18:22:13 -06:00
Philip Prindeville
c79911b66d perl: modules failing due to dot not in @INC
5.26.1 introduced default_inc_excludes_dot which is causing
perl-html-tags and possibly other modules to fail.  Add explict
dot back when invoking module's ./Makefile.PL.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2017-10-27 15:43:14 -06:00
Philip Prindeville
aacfbb244a Merge pull request #4956 from pprindeville/perl-update-5.26.1
perl: update to 5.26.1
2017-10-26 01:28:49 +01:00
Philip Prindeville
4a94479f96 perl: update to 5.26.1
Required changes:

* Add qualifying '.' to scripts or to @INC, as appropriate since we're
  enabling default_inc_excludes_dot;

* Add new platform/library definitions like double-double format and
  locale library functions/headers;

* Delete patch 020 as it's been upstreamed;

Optional changes:

* Instead of using -@rm and having that fail, emit an error message,
  and be ignored, just use @rm -f instead which will always succeed.

Security
[CVE-2017-12837] Heap buffer overflow in regular expression compiler

Compiling certain regular expression patterns with the case-insensitive
modifier could cause a heap buffer overflow and crash perl. This has
now been fixed. [perl #131582]

[CVE-2017-12883] Buffer over-read in regular expression parser

For certain types of syntax error in a regular expression pattern, the
error message could either contain the contents of a random, possibly
large, chunk of memory, or could crash perl. This has now been fixed.
[perl #131598]

[CVE-2017-12814] $ENV{$key} stack buffer overflow on Windows

A possible stack buffer overflow in the %ENV code on Windows has been
fixed by removing the buffer completely since it was superfluous anyway.
[perl #131665]

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2017-10-24 11:40:34 -06:00
Gergely Kiss
69d3e1fbc4 vala: bump to version 0.34.5
Signed-off-by: Gergely Kiss <mail.gery@gmail.com>
2017-10-18 21:58:38 +02:00
Hannu Nyman
d57926cfea Merge pull request #4954 from kissg1988/django
django: update to 1.8.18
2017-10-18 19:16:15 +03:00
Gergely Kiss
326c336bd9 django: update to 1.8.18
Fixes CVE-2017-7233 and CVE-2017-7234

Signed-off-by: Gergely Kiss <mail.gery@gmail.com>
2017-10-17 22:15:30 +02:00
Philip Prindeville
d58ac19c9f perl: put -rdynamic in proper build variable
The standard way to pass -rdynamic (or -Wl,--dynamic-export) is via
the $ccdlflags variable.  Do what is best practice.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2017-10-16 16:40:22 -06:00
Philip Prindeville
b392cd595a perl: simplify passing in ldflags
Originally as PR #2383 but rewritten.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
Signed-off-by: Alexander Ryzhov <openwrt@ryzhov-al.ru>
2017-10-16 16:40:22 -06:00
Alexandru Ardelean
8d011baf89 python-lxml: update to version 4.1.0
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-10-16 16:01:04 +03:00
Hannu Nyman
52157ed602 Merge pull request #4897 from commodo/python-egg-info-disable
python,python3: add option to keep egg-info dirs for python packages
2017-10-04 22:22:38 +03:00
Michael Heimpold
848ded4157 php7: upgrade to 7.1.10
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2017-10-03 12:55:07 +02:00
Alexandru Ardelean
074d2863be python,python3: add option to keep egg-info dirs for python packages
That way some python packages can choose
to keep their egg-info dirs, if they want to, or they're needed.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-10-03 10:40:26 +03:00
Michael Heimpold
6e706bb593 php7: add conditional dependency to libstdcpp for FPM
This should fix buildbot breakage introduced by last commit.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2017-09-27 20:45:50 +02:00
Michael Heimpold
7ba5a7f6d1 php7: drop dependency to cgi for fpm sapi (refs #4522)
The FPM SAPI works fine without the CGI SAPI installed. It seems that
this is a copy & paste error introduced a long time ago, when FPM support
was added - and nobody noticed.
So drop the dependency now to allow smaller footprints on installations
which only use FPM.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2017-09-26 23:19:40 +02:00
champtar
3d47220c14 Merge pull request #4848 from commodo/python-updates3
python: update interpreter to 2.7.14 & update some packages
2017-09-23 16:23:38 -07:00
champtar
f64cd74ce3 Merge pull request #4826 from nxhack/node-cylon_fix_PKG_NODE_VERSION
node-cylon: fix PKG_NODE_VERSION
2017-09-23 16:10:23 -07:00
champtar
088c66a5ef Merge pull request #4824 from nxhack/node-arduino-firmata_fix_depends
node-arduino-firmata: Correct multiple DEPENDS lines
2017-09-23 16:09:57 -07:00
champtar
db62bfbcef Merge pull request #4827 from nxhack/node-serialport_fix_PKG_NODE_VERSION
node-serialport: fix PKG_NODE_VERSION
2017-09-23 15:20:32 -07:00
champtar
5016a3c4dc Merge pull request #4825 from nxhack/node-hid_fix_depends
node-hid: Correct multiple DEPENDS lines
2017-09-23 15:19:35 -07:00
Anton Patrushev
dc0b2e60a7 micropython: updated to v1.9.2, micropython-lib: updated to v1.9
Signed-off-by: Anton Patrushev <apatrushev@gmail.com>
2017-09-23 16:51:06 +05:00
Alexandru Ardelean
c0912ed80b python-idna: update to version 2.6
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-09-23 11:45:48 +03:00
Alexandru Ardelean
0ffa20d07e python-six: update to version 1.11.0
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-09-23 11:45:48 +03:00
Alexandru Ardelean
a6f2c15791 python-pyopenssl: update to version 17.3.0
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-09-23 11:45:48 +03:00
Alexandru Ardelean
aa1149b105 python-pyasn1-modules: update to version 0.1.4
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-09-23 11:45:48 +03:00
Alexandru Ardelean
f05f3c7513 python-pyasn1: update to version 0.3.5
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-09-23 11:45:48 +03:00
Alexandru Ardelean
a51bf20d08 python-lxml: update to version 4.0.0
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-09-23 11:45:48 +03:00
Alexandru Ardelean
630679cb14 python-cffi: update to version 1.11.0
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-09-23 11:45:48 +03:00
Alexandru Ardelean
79276ef7b7 python: bump to version 2.7.14
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-09-23 11:45:44 +03:00
Luiz Angelo Daros de Luca
699d9bef30 ruby: bump to 2.4.2
This release contains some security fixes.

 CVE-2017-0898: Buffer underrun vulnerability in Kernel.sprintf
 CVE-2017-10784: Escape sequence injection vulnerability in the Basic authentication of WEBrick
 CVE-2017-14033: Buffer underrun vulnerability in OpenSSL ASN1 decode
 CVE-2017-14064: Heap exposure in generating JSON
 Multiple vulnerabilities in RubyGems
 Update bundled libyaml to version 0.1.7.

And many other bugfix.

Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
2017-09-20 09:17:38 -03:00
Alexandru Ardelean
21a18bd97f python3: fix install mk filenames
Copy + paste error.

Seems I fixed it while testing but forgot to update PR with this.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-09-15 08:59:47 +03:00
champtar
622894c3fc Merge pull request #4632 from smutt/python-dpkt
python-dpkt:Add package lang/python-dpkt
2017-09-14 17:43:47 -07:00
Hannu Nyman
2f6c2a2e3e Merge pull request #4478 from valdi74/add_package_python-curl
python-curl: add new package
2017-09-14 17:27:36 +03:00
Alexandru Ardelean
2eb3979d28 python,python3: install mk files in both host build and InstallDev part
Not sure how it can happen that the files are not
installed via the host build.

Maybe some SDK-like build.

Let's make sure they are installed via InstallDev rule too.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-09-14 11:44:01 +03:00
Alexandru Ardelean
4d0a44d31a python,python3: add host-flags/settings to host pip install rules
The host pip install should have the host's CFLAGS, LDFLAGS, etc
available.
And not the target's flags.
Otherwise, weird things can happen when installing
packages (host-side) that need to build C code.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-09-14 11:44:01 +03:00
Hirokazu MORIKAWA
1bfa3503e2 node-serialport: fix PKG_NODE_VERSION
and modify position of DEPENDS line

Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
2017-09-13 14:59:14 +09:00
Hirokazu MORIKAWA
9eb23306d3 node-hid: Correct multiple DEPENDS lines
Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
2017-09-13 14:56:11 +09:00
Hirokazu MORIKAWA
1e60a2c07d node-cylon: fix PKG_NODE_VERSION
and modify position of DEPENDS line

Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
2017-09-13 14:51:52 +09:00
Hirokazu MORIKAWA
617441d0a9 node-arduino-firmata: Correct multiple DEPENDS lines & fix PKG_NODE_VERSION
Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
2017-09-13 14:46:20 +09:00
Hirokazu MORIKAWA
dd3dbcfd07 node: delete unnecessary TAB characters at the end of a line
Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
2017-09-11 12:49:04 +09:00
Hirokazu MORIKAWA
5a607c58a0 node: fix typo
https://github.com/openwrt/packages/issues/4742

Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
2017-09-07 10:17:03 +09:00
Michael Heimpold
71c34e55c7 php7: upgrade to 7.1.9
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2017-09-04 20:54:26 +02:00
Etienne Champetier
4006865ae8 treewide: run "make check FIXUP=1"
fix Makefile chmod (644)
replace MD5SUM with HASH
add PKG_MIRROR_HASH when PKG_SOURCE_PROTO:=git

(PKG_SOURCE_PROTO:=svn tarballs are not reproducible for now)

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
2017-08-29 21:41:14 -07:00
Hannu Nyman
d228496352 Merge pull request #3074 from paulo-raca/python-evdev
python-evdev: new package
2017-08-22 18:05:45 +03:00
Michael Heimpold
7cdb6c7031 Merge pull request #4550 from pprindeville/php-multiline-syslog-fix
php7: error_log shouldn't squirt multi-line messages into syslog()
2017-08-19 21:46:15 +02:00
Philip Prindeville
f2641e9fb2 php7: backport upstream fix for multiline logging
See: https://github.com/php/php-src/pull/2674

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2017-08-19 11:31:42 -06:00
Paulo Costa
0141c529b0 python-evdev: new package
This build script supports both Python 2.x (python-evdev) and 3.x (python3-evdev)

From the README:

This package provides bindings to the generic input event interface in Linux.
The evdev interface serves the purpose of passing events generated in the kernel
directly to userspace through character devices that are typically located in /dev/input/.

This package also comes with bindings to uinput, the userspace input subsystem.
Uinput allows userspace programs to create and handle input devices that can inject
events directly into the input subsystem.

Signed-off-by: Paulo Costa <me@paulo.costa.nom.br>
2017-08-18 16:43:56 -03:00
Waldemar Konik
253bcd2ce1 python-curl: add new package
Signed-off-by: Waldemar Konik <informatyk74@interia.pl>
2017-08-18 08:16:10 +02:00
Andrew McConachie
ca2dd7d576 python-dpkt: Add package python-dpkt
Signed-off-by: Andrew McConachie <andrew@depht.com>
2017-08-17 16:28:57 -04:00
Jo-Philipp Wich
12cf3d7511 Merge pull request #3751 from ianchi/node
Node: update error & fix compile error
2017-08-17 15:45:12 +02:00
Karl Palsson
08192ae89e lang/penlight: Update maintainer email
Signed-off-by: Karl Palsson <karlp@remake.is>
Signed-off-by: Karl Palsson <karlp@etactica.com>
2017-08-17 11:42:13 +00:00
Karl Palsson
f561f3faac lang/penlight: Update to 1.5.4
Major release from old 1.3.2.  See
https://github.com/stevedonovan/Penlight/blob/master/CHANGES.md

Changes, fixes and features.

Signed-off-by: Karl Palsson <karlp@etactica.com>
2017-08-17 11:42:13 +00:00
Adrian Panella
2a42edabdb node: fix path patch
Signed-off-by: Adrian Panella <ianchi74@outlook.com>
2017-08-17 01:06:13 -05:00
Adrian Panella
162c6a70c9 node: bump version and add maintainer
Signed-off-by: Adrian Panella <ianchi74@outlook.com>
2017-08-16 21:02:35 -05:00
Adrian Panella
653e9ff9ac node: bump version and tweak config
Bump version to 6.11.0
Add ICU dependency when using i18n
Tweak fpu configs

Signed-off-by: Adrian Panella <ianchi74@outlook.com>
2017-08-16 21:02:35 -05:00
Daniel Golle
1b6e716edb python-gnupg: switch to python-gnupg 0.4.1
Aparently there are two python gnupg wrappers around
https://pypi.python.org/pypi/python-gnupg/
and
https://pypi.python.org/pypi/gnupg/

We used to package the latter, now we switched to the prior.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2017-08-14 18:59:13 +02:00
Alexandru Ardelean
439b0939fc python-pyopenssl: bump to 17.2.0 ; add python3 variant ; add myself co-maintainer
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-08-13 17:11:32 +03:00
Alexandru Ardelean
d062793042 python-cryptography: bump to version 2.0.3
The dependency has changed from needing `pyasn1`
to needing `asn1crypto`.
Oh well...

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-08-11 17:09:15 +03:00
Alexandru Ardelean
fae2b22537 python-asn1crypto: add new package (needed for python-cryptography)
Unfortunately python-cryptography (after version 2.0.<something>)
decided to replace `pyasn1` with `asn1crypto`.

Unfortunately `pyasn1` is needed for another package,
so it can't be dropped just yet.
Not sure if dropping it would bother people.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-08-11 17:09:15 +03:00
Alexandru Ardelean
70381b8d67 pyasn1-modules: bump to version 0.0.11 ; add python3 variant ; add myself as maintainer
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-08-11 16:31:52 +03:00
Alexandru Ardelean
4cf90c157a python-pyasn1: bump to version 0.3.2
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-08-11 15:55:31 +03:00
Alexandru Ardelean
d7fe1c624f python,python3: fix opkg collisions with -src packages
Fixes:
 https://github.com/openwrt/packages/issues/4681

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-08-08 23:52:40 +03:00
Michael Heimpold
5a6956347d php7: upgrade to 7.1.8
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2017-08-07 21:21:22 +02:00
Michael Heimpold
3e0f4efe51 php7: upgrade to 7.1.7
This fixes several CVEs:
 - in mbstring: CVE-2017-9224, CVE-2017-9226, CVE-2017-9227,
                CVE-2017-9228, CVE-2017-9229
 - in gd: CVE-2017-7890

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2017-07-29 15:37:07 +02:00
Alexandru Ardelean
6cbed9fe15 python-cryptography: bump to version 1.9 and add python3 variant
And add myself as 2nd maintainer.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-07-27 14:07:51 +03:00
Alexandru Ardelean
b6ba77b289 python-cffi: install host-side via pip + add myself 2nd maintainer
python-cryptography needs this dep to build
the sources.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-07-27 14:07:39 +03:00
Alexandru Ardelean
8291361cc7 python-idna: bump to version 2.5 and add python3 variant
And add myself as 2nd maintainer.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-07-27 14:05:48 +03:00
Alexandru Ardelean
990ddfffe2 python-pyasn1: bump to version 0.2.3 and add python3 variant
And add myself as 2nd maintainer.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-07-27 14:05:03 +03:00
Alexandru Ardelean
b61864cdce python-six: add python3-six variant + add myself as 2nd maintainer
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-07-27 14:04:13 +03:00
Alexandru Ardelean
5986c5f5cd python3: refresh patches make package/python3/refresh cmd
This was a bit overdue.
I did not know about this methodology.
Reduces patch fuzz.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-07-26 23:56:51 +03:00
Alexandru Ardelean
1660549e92 python: refresh patches make package/python/refresh cmd
This was a bit overdue.
I did not know about this methodology.
Reduces patch fuzz.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-07-26 23:56:14 +03:00
Hannu Nyman
eaac2b03b0 Merge pull request #4601 from commodo/python-cffi-upgrade
python-cffi: upgrade to 1.10.0 (together with dependencies)
2017-07-25 09:49:15 +03:00
Alexandru Ardelean
77bf1f09ad python3: upgrade to version 3.6.2
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-07-24 13:57:54 +03:00
Alexandru Ardelean
2ac7e0b6c8 python-cffi: bump to version 1.10.0
And drop the host-build.
This was needed, simply to cross-build the package.

I'm not a religious man, but "praise the lord" for
dropping this :D

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-07-19 16:55:18 +03:00
Alexandru Ardelean
69a86dbb88 python-pycparser: bump to version 2.17 and drop host-build
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-07-19 16:51:38 +03:00
Alexandru Ardelean
4bec8be130 python-ply: bump to version 3.10 and drop the host-build
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-07-19 16:51:38 +03:00
Alexandru Ardelean
612c53fc6c python,python3: add host python pip install support
To install Python packages host side, that
may be needed for a build.

The intent, is to try to reduce host-side Python
packages being installed via LEDE/OpenWrt build system.
Because those seem like a pain to maintain.

The idea is adapted from Yousong's `python-packages`
package.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-07-19 16:50:25 +03:00
Alexandru Ardelean
93a6545591 python,python3: drop HostPy/Compile/Default rules
Not used, and will not be used.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-07-19 16:50:25 +03:00
Alexandru Ardelean
0df253cc04 python,python3: drop PKG_MD5SUM fields ; will use only PKG_HASH
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-07-19 16:50:25 +03:00
Alexandru Ardelean
84202f17e1 python,python3: remove multi-arch support, and /usr/local paths
This should hopefully reduce weird behaviour caused
by the host system.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-07-19 16:50:25 +03:00
Alexandru Ardelean
e066fdaf11 python,python3: handle install script errors better
Depending on execution order the `python-package-install.sh`
script would return a non-zero err code.

So, this enforces that all commands in the script
don't fail (via the `set -e` directive).

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-07-19 16:50:25 +03:00
Daniel Golle
7a2623d12d pyodbc: use WORDS_BIGENDIAN instead of OS-specific defines
Python provides the WORDS_BIGENDIAN macro, use it to figure out the
native endian of the host.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2017-07-17 14:36:48 +02:00
Daniel Golle
667674731f pyodbc: really fix endianess of SQL_WCHAR
auto-endian auf UTF-16 doesn't work with all drivers, some fail to
interpret the byte-order-marking. Hence explicitely use UTF16BE on
big-endian systems and UTF16LE otherwise.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2017-07-16 11:58:31 +02:00
Daniel Golle
7524d8558a Flask: add package
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>
2017-07-14 17:09:30 +02:00
Daniel Golle
30c7c71e3f python: Werkzeug: add package
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2017-07-14 17:00:58 +02:00
Daniel Golle
fb8dc3ffd4 python: click: add package
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2017-07-14 17:00:58 +02:00
Daniel Golle
4feb91a915 python: itsdangerous: add package
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2017-07-14 17:00:58 +02:00
Daniel Golle
7772c9e10b python: MarkupSafe: add package
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2017-07-14 17:00:58 +02:00
Daniel Golle
7d65ecb3e7 python: Jinja2: add package
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2017-07-14 17:00:58 +02:00
Daniel Golle
7b53052f4e
pyodbc: assume SQL_C_WCHAR is native endian
Bump PKG_REV and remove obsolete PKG_MD5SUM while at it.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2017-07-14 16:50:06 +02:00
Daniel Golle
80cd2bb8b7 python-yaml: update source and build for python3
Update source to version 3.12 and build for both, python and python3.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2017-07-14 15:59:13 +02:00
Hannu Nyman
3c29561888 Merge pull request #4558 from commodo/python-cleanup1
python,python3: rename PyBuild/Compile rules & remove .egg-info from packages
2017-07-09 21:04:38 +03:00
Daniel Golle
ac5ddd96e5 python-gnupg: add package
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2017-07-08 21:32:53 +02:00
Daniel Golle
1ae46e7de2 Merge pull request #4559 from commodo/python-pyodbc-fix
pyodbc: fix python-pyodbc variant ; wasn't working
2017-07-07 18:54:16 +02:00
Alexandru Ardelean
316b41e856 pyodbc: fix python-pyodbc variant ; wasn't working
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>
2017-07-07 18:14:22 +03:00
Alexandru Ardelean
f9dddb6bb0 python-lxml: override PyBuild/Compile & Py3Build/Compile rules
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>
2017-07-07 18:07:10 +03:00
Alexandru Ardelean
4333d1dcbf python,python3: remove .egginfo directories
They don't seem needed, and makes packages a bit smaller

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2017-07-07 18:07:10 +03:00
Alexandru Ardelean
8db8c927ed python,python3: define PyBuild/Compile & Py3Build/Compile
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>
2017-07-07 18:07:10 +03:00
Alexandru Ardelean
1588b532fb python: fix intermitent build failure
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>
2017-07-06 16:49:27 +08:00
mrpace2
e240ae9561 relocated upstream repo, update to upstream v1.1.2
Signed-off-by: Frank Edelhaeuser <mrpace2@gmail.com>
2017-07-05 20:26:17 +02:00
Alexandru Ardelean
3fa0c06d48 python,python3: add dependency on CONFIG_PACKAGE_ symbols for setuptools & pip
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>
2017-07-03 16:11:57 +03:00
Alexandru Ardelean
a2b76b5403 python,python3: simplify sed expression for setuptools & pip
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>
2017-07-03 16:11:52 +03:00
Alexandru Ardelean
1c54e2b0fb python,python3: fix underlinking issues with lrt (clock_gettime())
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>
2017-07-03 09:28:41 +03:00