Commit graph

370 commits

Author SHA1 Message Date
Sebastian Kemper
7cfabe8de4 python-mysql: include nls.mk, remove hack
mariadb was sorted out to include nls.mk. Update python-mysql to do the
same and remove the hack.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-07-13 22:58:54 +02:00
Karol Wrona
23b7d14b24 python3: fix libuuid missing dependency for python3-light
Signed-off-by: Karol Wrona <wrona.vy@gmail.com>
2018-07-13 12:57:44 +02:00
Hannu Nyman
666602f7f7
Merge pull request #6411 from crza/update-python
python3: update to python 3.7.0
2018-07-12 15:12:03 +03:00
Martin Strobel
2080550f76 python3: add override for uuid.h header check
Signed-off-by: Martin Strobel <arctus@crza.de>
2018-07-11 06:35:36 +02:00
Martin Strobel
fe01c8fc05 python3: update to python 3.7.0
Fixes python3 host SSL build -> host-pip can use https:// urls again.
Updates Pip to 10.0.1
rebased patches

Signed-off-by: Martin Strobel <arctus@crza.de>
2018-07-11 06:34:54 +02:00
Sebastian Kemper
230bfc96ac python-mysql: fix uclibc build failure
libmariadb 10.2.x needs to be linked in together with iconv. On uclibc
iconv is not included in libc and libiconv-full needs to be used. This
commit helps python-mysql find the shared library.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-07-08 10:44:29 +02:00
Sebastian Kemper
9d236132c6 python-mysql: fix download URL
During a previous pull request the PKG_NAME was first changed and then
reverted back. But the download URL was not changed accordingly.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-07-08 10:41:33 +02:00
Hannu Nyman
5a27e1c4cd
Merge pull request #6202 from cotequeiroz/seafile_openssl-1.1
seafile: upgrade to 6.3.0
2018-07-07 20:29:21 +03:00
Hannu Nyman
4eda808119
Merge pull request #6332 from micmac1/mysql-python-up
python-mysql: upgrade to 1.3.12
2018-07-06 23:26:55 +03:00
Sebastian Kemper
91c6f4f82c python-mysql: upgrade to 1.3.12
- change source from MySQL-python to mysqlclient, which is a fork of the
  former. The former project hasn't seen any updates in years.
- this is also in anticipation of the upgrade of MariaDB from 10.1.x to
  10.2.x. With the latter python-mysql does not compile - mysqlclient
  does.
- the patch is dropped as libmaria is threadsafe anyway.
- add variant for Python3.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-06-26 19:27:57 +02:00
Jeffery To
4269a8b8ff twisted: update to 18.4.0, refresh patches
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2018-06-25 04:00:16 +08:00
Jeffery To
a8c87eb1e4 python-zope-interface: update to 4.5.0
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2018-06-25 02:33:11 +08:00
Jeffery To
6d733be85c python-pyasn1: update to 0.4.3
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2018-06-25 02:32:26 +08:00
Jeffery To
e977641b58 python-ply: update to 3.11
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2018-06-25 02:31:52 +08:00
Jeffery To
9645c2fa13 python-ipaddress: update to 1.0.22
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2018-06-25 02:31:02 +08:00
Jeffery To
76ccf6c556 python-hyperlink: update to 18.0.0
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2018-06-25 02:30:39 +08:00
Jeffery To
6e0c997405 python-automat: update to 0.7.0, refresh patches
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2018-06-25 02:30:08 +08:00
Jeffery To
1cede43ab7 python-attrs: update to 18.1.0
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2018-06-25 02:29:34 +08:00
Eneas U de Queiroz
65b01bb752 pyjwt: add new package
JSON Web Token implementation in Python.
This package is a direct dependency of python-requests-oauthlib, a
dependency of seafile-seahub.

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
2018-06-23 17:00:51 -03:00
Eneas U de Queiroz
441e270e2f python-oauthlib: add new package
A generic, spec-compliant, thorough implementation of the OAuth
request-signing logic.
This package is a direct dependency of python-requests-oauthlib, a
dependency of seafile-seahub.

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
2018-06-23 16:59:01 -03:00
Eneas U de Queiroz
d53997d59a python-requests-oauthlib: add new package
OAuthlib authentication support for Requests.
This package is a direct dependency of seafile-seahub.

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
2018-06-23 16:57:21 -03:00
Eneas U de Queiroz
1f74df5b95 python-certifi: add new package
Python package for providing Mozilla's CA Bundle.
This package is a direct dependency of python-requests, a dependency of
seafile-seahub.

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
2018-06-23 16:55:55 -03:00
Eneas U de Queiroz
01d9b705bc python-requests: add new package
HTTP library for Python.
This package is a direct dependency of seafile-seahub.

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
2018-06-23 16:55:05 -03:00
Eneas U de Queiroz
2f6a99991d python-qrcode: add new package
QR Code image generator.
This package is a direct dependency of seafile-seahub.

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
2018-06-23 16:50:49 -03:00
Eneas U de Queiroz
c6ce18f25c django-webpack-loader: add new package
Transparently use webpack with django.
This package is a direct dependency of seafile-seahub.

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
2018-06-23 16:48:01 -03:00
Eneas U de Queiroz
ac62fb6188 django-ranged-response: add new package
Modified Django FileResponse that adds Content-Range headers.
This package is a direct dependency of django-simple-captcha, a
dependency of seafile-seahub.

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
2018-06-23 16:45:26 -03:00
Eneas U de Queiroz
84afee131d django-simple-captcha: add new package
A very simple, yet powerful, Django captcha application.
This package is a direct dependency of seafile-seahub.

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
2018-06-23 16:38:24 -03:00
Eneas U de Queiroz
d9ad4b14cf django-formtools: add new package
A set of high-level abstractions for Django forms.
This package is a direct dependency of seafile-seahub.

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
2018-06-23 16:33:31 -03:00
Alexandru Ardelean
81894aa414 python-cryptography: bump to version 2.2.2
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2018-06-11 12:02:40 +03:00
Alexandru Ardelean
61929b083e python-idna: bump to version 2.7
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2018-06-11 12:02:40 +03:00
Alexandru Ardelean
ee26caa72b python-cffi: bump to version 1.11.5
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2018-06-11 12:02:40 +03:00
Alexandru Ardelean
5ab6fb2c06 python-lxml: bump to version 4.2.1
Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com>
2018-06-11 12:02:40 +03:00
Alexandru Ardelean
fc0844e40a python-asn1crypto: bump to version 0.24.0
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2018-06-11 12:02:40 +03:00
Alexandru Ardelean
6c1cc1a8db python-pyopenssl: bump to version 18.0.0
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2018-06-11 12:02:40 +03:00
Hannu Nyman
d4b7b2b571
Merge pull request #5620 from kvuorine/python-pyserial
python-pyserial: Update to version 3.4
2018-06-06 21:38:22 +03:00
Waldemar Konik
c888c876d7 python-curl: Fix compilation error after upgrade to 7.43.0.2
Signed-off-by: Waldemar Konik <informatyk74@interia.pl>
2018-06-05 00:32:20 +02:00
Waldemar Konik
fda40dbb3a python-curl: update to 7.43.0.2
Signed-off-by: Waldemar Konik <informatyk74@interia.pl>
2018-06-04 10:12:26 +02:00
Alexandru Ardelean
995b48121e python,python3: remove --ignore-installed flag for host packages
This was copied over from python-packages, when support for installing
packages host-side (via pip) was added.

Based on the discussion on this commit:
  612c53fc6c
it was mentioned that removing this may add more benefit in terms of
reducing build time, because packages won't get reinstalled every time.

I'm not entirely sure about any potential side-effects of this, but it's
worth trying it out.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2018-05-14 12:11:00 +03:00
Alexandru Ardelean
b7d1d2149e python3: update to version 3.6.5
Add PKG_RELEASE for setuptools and pip.
Refresh all patches.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2018-05-03 14:46:35 +03:00
Alexandru Ardelean
2ef484615d python: update to version 2.7.15
This also updates pip and setuptools.
With this occasion, they also get PKG_RELEASEs of their own.

Dropped patch 011-remove-setupterm-definition.patch
Manually re-applied 005-fix-bluetooth-support.patch
Ran make package/python/refresh to refresh other patches.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2018-05-03 14:46:12 +03:00
Hauke Mehrtens
f9016b5977 python/python3: remove zlib/host dependency
zlib is now a host tool and the zlib/host package was removed. this
dependency is not needed any more as there will always be a zlib host
library.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2018-04-28 16:20:44 +02:00
Alexandru Ardelean
b6973e5deb python,python3: remove --with-system-ffi=no config arg
Report https://github.com/openwrt/packages/issues/5638
It was mentioned that this causes build failures on Mac OS X.

The default behavior [in the setup.py script] is to check whether
`--with-system-ffi` is present in the CONFIG_ARGS env var.

However that back-fires a bit when `--with-system-ffi=no`, because the
condition `not '--with-system-ffi' in sysconfig.get_config_var("CONFIG_ARGS")`
evaluates to true.

This is a small bug in the `setup.py` script, but it looks like the
easiest/cleanest way to address it on our end is to just remove it entirely
from the HOST_CONFIGURE_ARGS.
At least that's how it looks like when testing on a Linux machine.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2018-03-14 16:21:41 +02:00
Alexandru Ardelean
ea62d1217c python,python3: limit underlinking behavior to linux platforms
This change was introduced in commit 1c54e2b0fb to address build
issues on Ubuntu 12.04.

However it was reported to cause issues on Mac OS X.
Report: https://github.com/openwrt/packages/issues/5310

It was also reported that removing this on MacOS X fixes the issue.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2018-03-14 16:18:30 +02:00
Alexandru Ardelean
f53904ebda lang/python/python-package-install.sh: assign SOURCE_DATE_EPOCH to PYTHONHASHSEED
Following a discussion on bugs.python.org:
* https://bugs.python.org/issue29708
* https://bugs.python.org/msg313384

It seems that setting a fixed value to PYTHONHASHSEED guarantees that
the bytecodes are generated consistently/in a reproducible manner.

Hopefully, this is the last bit to make Python3 build reproducible.
Tested this locally on a few files [that were not reproducible without
this change].

The PYTHONHASHSEED is only assigned to the host Python/Python3 during
compilation of byte-codes [from python source].

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2018-03-07 20:52:15 +02:00
Gergely Kiss
3d34c3a94d pytz: update to version 2018.3
Signed-off-by: Gergely Kiss <mail.gery@gmail.com>
2018-02-23 21:29:32 +01:00
Kimmo Vuorinen
acfed5352c python-pyserial: Update to version 3.4
Update to version 3.4
Add build for python3
Add source packages

Signed-off-by: Kimmo Vuorinen <kimmo.vuorinen@gmail.com>
2018-02-16 15:48:16 +02:00
Gergely Kiss
14ddd5d4da django-statici18n: update to 1.6.1
Signed-off-by: Gergely Kiss <mail.gery@gmail.com>
2018-01-28 01:55:52 +01:00
Hannu Nyman
7ced677124
Merge pull request #5456 from jefferyto/python-automat
python-automat: new package
2018-01-19 18:03:13 +02:00
Hannu Nyman
fbae202394
Merge pull request #5455 from jefferyto/python-hyperlink
python-hyperlink: new package
2018-01-19 18:03:02 +02:00
Hannu Nyman
9da7e1eaf4
Merge pull request #5454 from jefferyto/python-incremental
python-incremental: new package
2018-01-19 18:02:53 +02:00