Commit Graph

1664 Commits

Author SHA1 Message Date
Daniel Golle 264f7b2f5f
pyodbc: update to version 4.0.32
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2021-10-09 17:02:43 +01:00
Alexandru Ardelean 589c6bb2de python-pytz: bump to version 2021.3
And switch to AUTORELEASE for PKG_RELEASE.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-10-08 09:41:02 -07:00
Daniel Golle 2e17cb9a1b
Mako: add python markup library
Mako is needed for some packages to build.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2021-10-07 00:20:37 +01:00
Alexandru Ardelean 66f9fca58f
Merge pull request #16752 from paper42/python-websocket
python-websockets: new package
2021-10-01 13:55:46 +03:00
Alexandru Ardelean 94cdf89269 pillow: add webp support
Requested via: https://github.com/openwrt/packages/pull/16732

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-09-30 14:29:13 -07:00
Alexandru Ardelean c9c6287c97 openpyxl: bump to version 3.0.9
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-09-30 14:28:40 -07:00
Michal Vasilek d5212d38bc
python3-package.mk: fix syntax error in FindStdlibDepends
When running FindStdlib and running DependsCheckHostPipVersionMatch at
the same time, both commands were joined together resulting in a syntax
error.

Signed-off-by: Michal Vasilek <michal.vasilek@nic.cz>
2021-09-30 21:41:53 +02:00
Michal Vasilek bc10fbaebf
python-websockets: new package
Signed-off-by: Michal Vasilek <michal.vasilek@nic.cz>
2021-09-30 21:41:45 +02:00
Alexandru Ardelean a1d32499ca python3: enable bluetooth support by default
Bluetooth support requires bluez-libs present, but they are only required
for the build, and don't seem to be needed to be present on the target.

There isn't any linking required to libbluetooth. It's only the bluetooth.h
header that is required for building BT support into Python.

For testing, this snippet was used from `Lib/test/test_socket.py` (inside
cpython):
```
def _have_socket_bluetooth():
    """Check whether AF_BLUETOOTH sockets are supported on this host."""
    try:
        # RFCOMM is supported by all platforms with bluetooth support. Windows
        # does not support omitting the protocol.
        s = socket.socket(socket.AF_BLUETOOTH, socket.SOCK_STREAM, socket.BTPROTO_RFCOMM)
    except (AttributeError, OSError):
        return False
    else:
        s.close()
    return True
```

Fixes: https://github.com/openwrt/packages/issues/16544

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-09-27 11:01:07 -07:00
Javier Marcet 8bf9c058ad python3-texttable: update to version 1.6.4
- Fix alignment bug when deco is modified

Signed-off-by: Javier Marcet <javier@marcet.info>
2021-09-20 21:12:10 -07:00
Javier Marcet 313109e6a6 python-dotenv: update to v0.19.0
Changed:

 - Require Python 3.5 or a later version. Python 2 and 3.4 are no
 longer supported

 - Raise ValueError if quote_mode isn't one of always, auto or never
 in set_key

 - When writing a value to a .env file with set_key or dotenv set
 <key> <value>

Added:

 - The dotenv_path argument of set_key and unset_key now has a type of
 Union[str, os.PathLike] instead of just os.PathLike

Signed-off-by: Javier Marcet <javier@marcet.info>
2021-09-20 21:12:01 -07:00
Javier Marcet e652a8c958 python-docker: Update to 5.0.2
Bugfixes:

 - Fix disable_buffering regression

 - Bring back support for ssh identity file

 - Cleanup remaining python-2 dependencies

 - Fix image save example in docs

Miscellaneous:

 - Bump urllib3 to 1.26.5

 - Bump requests to 2.26.0

Signed-off-by: Javier Marcet <javier@marcet.info>
2021-09-20 21:11:51 -07:00
Matt Merhar 77ebd65f49 python3-speedtest-cli: update to 2.1.3
This includes a fix for a breaking change in the Speedtest API.

Signed-off-by: Matt Merhar <mattmerhar@protonmail.com>
2021-09-18 20:40:54 -04:00
Josef Schlehofer 1deaf6dbbe
python-astral: update to version 2.2
Update copyright

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2021-09-17 16:03:47 +02:00
Alexandru Ardelean c0742dfbe5
Merge pull request #16552 from turris-cz/awesomeversion
python-awesomeversion: add it to the repository
2021-09-16 15:54:58 +03:00
Josef Schlehofer ef3a04b886
python-awesomeversion: add it to the repository
This package is dependency for Home Assistant

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2021-09-15 12:15:52 +02:00
Alexandru Ardelean 526f219887 openpyxl: bump to version 3.0.8
And switch to AUTORELEASE for PKG_RELEASE.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-09-14 20:17:05 -07:00
Alexandru Ardelean 26988f905f python3: bump version to 3.9.7
Refreshed patches.
And apply hack for line-endings in pep517 (from pip).

Hack comment:
  # FIXME: [1] get rid of this asap; 'patch' doesn't like Windows endings, and this file is full of them...
  #        I actually tried this in a number of ways and the only way to fix this is to implement
  #        a poor-man's dos2unix using sed.
  #        The issue is with the pip package; it seems that it throws in some Windows line-endings
  #        and 'patch' won't handle them. So, we do a "dos2unix" and then patch.
  #        We can get rid of this once this is solved upstream and in pip:
  #            https://github.com/pypa/pep517/pull/130

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-09-09 14:31:46 -07:00
Alexandru Ardelean 7c2b02f682 django: bump to version 3.2.7
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-09-09 14:30:55 -07:00
Rosen Penev 75cd1b7f9d
Merge pull request #16542 from turris-cz/aiohttp
python-aiohttp: update to version 3.7.4post0
2021-09-08 07:35:33 -07:00
Rosen Penev 2ea9ca15ce
Merge pull request #16553 from turris-cz/yarl
python-yarl: update to version 1.6.3
2021-09-08 07:34:56 -07:00
Alexandru Ardelean b966f5161a pillow: bump to 8.3.2
And start using AUTORELEASE for PKG_RELEASE.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-09-08 07:28:26 -07:00
Josef Schlehofer 8ff4a2b087
python-yarl: update to version 1.6.3
Update Makefile copyright

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2021-09-07 13:41:44 +02:00
Josef Schlehofer 571326bd48
python-certifi: update to version 2021.5.30
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2021-09-06 16:08:43 +02:00
Josef Schlehofer 2c1fd3e5e2
python-aiohttp: update to version 3.7.4post0
Changelog:
- Bumped upper bound of the chardet runtime dependency to allow their v4.0 version stream.

From a1158c5389/CHANGES.rst

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2021-09-06 16:00:52 +02:00
Rosen Penev c71fbb72b1
Merge pull request #16513 from jefferyto/python-cryptography-3.4.8
python-cryptography: Update to 3.4.8
2021-09-01 14:08:38 -07:00
Kerma Gérald e34396fd0e fail2ban: initial package of fail2ban version 0.11.2
python3-pyinotify: initial package version 0.9.6 of pyinotify for python3

Signed-off-by: Kerma Gérald <gandalf@gk2.net>
2021-09-01 14:08:17 -07:00
Jeffery To 69ae9c29a2
python-cryptography: Update to 3.4.8
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2021-09-02 02:30:37 +08:00
Alexandru Ardelean 9725de1de4 python3-package.mk: add check for dependencies in host-pip-requirements
It often happens that we update a package to a new version (e.g. cffi) to a
newer version, but we forget to update the version for cffi in the
`lang/python/host-pip-requirements/cffi.txt` file.

This check adds a minimal check, so that when a build occurs for a Python
package, if there is a mention/listing of this package in
`lang/python/host-pip-requirements/` it will check that the versions match.

This way, when we update a package, we get a build failure and update the
host version as well.

This will omit packages (like Cython) that are not packaged for OpenWrt,
but are host-side dependencies only.
But until we find some mechanism to check for those, we will probably only
notice to update them when another build occurs (at the very least).

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-08-30 10:01:48 +03:00
Alexandru Ardelean 5e00a051d6 seafile-seahub: move Django-1.11.txt in package folder
Django 1.11 (host-build) is only needed for Seahub.
And won't ever be needed for anything else (hopefully).

This change moves it to the Seahub folder.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-08-30 10:01:48 +03:00
Michal Vasilek d7163a8607
python-websocket-client: update to 1.2.1
* update license (changed in 1.2.0)
* removed python3-six dependency (removed in 1.0.0)
* do not install tests

Signed-off-by: Michal Vasilek <michal.vasilek@nic.cz>
2021-08-27 13:02:58 +02:00
Alexandru Ardelean 96cac0a7a8 numpy: bump to version 1.21.2
Switch to AUTORELEASE for PKG_RELEASE.
And update Cython as well.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-08-25 10:06:11 +03:00
Alexandru Ardelean ff14602679 python-simplejson: bump to version 3.17.5
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-08-24 14:24:45 +03:00
Josef Schlehofer feaaacc10f
python3-setuptools: add _distutils_hack
I tried to install matplotlib by using pip and it failed with the following output:

2021-08-18T11:52:26,171 Collecting matplotlib
2021-08-18T11:52:26,173   Created temporary directory: /tmp/pip-unpack-wuth2u0e
2021-08-18T11:52:26,565   Using cached matplotlib-3.4.3.tar.gz (37.9 MB)
2021-08-18T11:52:38,659   Added matplotlib from https://files.pythonhosted.org/packages/21/37/           197e68df384ff694f78d687a49ad39f96c67b8d75718bc61503e1676b617/matplotlib-3.4.3.tar.                       gz#sha256=fc4f526dfdb31c9bd6b8ca06bf9fab663ca12f3ec9cdf4496fb44bc680140318 to build tracker '/tmp/pip-   req-tracker-u30x8pht'
2021-08-18T11:52:38,660     Running setup.py (path:/tmp/pip-install-afiyiers/                            matplotlib_8e717e38862f4976a3d6cb1832ba3261/setup.py) egg_info for package matplotlib
2021-08-18T11:52:38,661     Created temporary directory: /tmp/pip-pip-egg-info-kbtiezxq
2021-08-18T11:52:38,662     Running command python setup.py egg_info
2021-08-18T11:52:38,831     Traceback (most recent call last):
2021-08-18T11:52:38,832       File "<string>", line 1, in <module>
2021-08-18T11:52:38,832       File "/usr/lib/python3.9/site-packages/setuptools/__init__.py", line 8, in <module>
2021-08-18T11:52:38,833     ModuleNotFoundError: No module named '_distutils_hack'

More details about it:
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=968410

Once I applied the patch from the bug tracker, I got further to install
it.

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2021-08-18 12:20:07 +02:00
Stepan Henek 4952a624f2
python-cachelib: update to version 0.3.0
Signed-off-by: Stepan Henek <stepan.henek@nic.cz>
2021-08-17 09:59:42 +02:00
Alexandru Ardelean 2577bb1eda django: bump to version 3.2.6
And switch to AUTORELEASE for PKG_RELEASE.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-08-13 10:04:27 +03:00
Josef Schlehofer 5fc396da2e
python-sqlalchemy: update to version 1.4.22
Update copyright

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2021-08-13 03:08:38 +02:00
Alexandru Ardelean 72ca8bf561
Merge pull request #16320 from turris-cz/babel
python-babel: update to version 2.9.1
2021-08-12 11:22:36 +03:00
Josef Schlehofer b8182477f9
python-curl: update to version 7.44.0
Changelog:
PycURL 7.44.0 - 2021-08-08
--------------------------

This release reinstates best effort Python 2 support, adds Python 3.9 and
Python 3.10 alpha support and implements support for several libcurl options.

Official Windows builds are currently not being produced.

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2021-08-12 00:07:26 +02:00
Josef Schlehofer e2932db1ce
python-babel: update to version 2.9.1
Changelog:
https://github.com/python-babel/babel/releases/tag/v2.9.1

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2021-08-11 10:11:37 +02:00
Jeffery To 4fa4cd8322
python-twisted: Update to 21.7.0, refresh patches
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2021-08-09 17:27:04 +08:00
Javier Marcet 0d4744f214 python3-distro: update to version 1.6.0
- BACKWARDS COMPATIBILITY:

  - Deprecated the distro.linux_distribution() function. Use
  distro.id(), distro.version() and distro.name() instead [#296]
  - Deprecated Python 2.7, 3.4 and 3.5 support. Further releases will
  only support Python 3.6+

- ENHANCEMENTS:

  - Added type hints to distro module [#269]
  - Added __version__ for checking distro version [#292]
  - Added support for arbitrary rootfs via the root_dir parameter
  [#247]
  - Added the --root-dir option to CLI [#161]
  - Added fallback to /usr/lib/os-release when /etc/os-release isn't
  available [#262]

- BUG FIXES:

  - Fixed subprocess.CalledProcessError when running lsb_release
  [#261]
  - Ignore /etc/iredmail-release file while parsing distribution
  [#268]
  - Use a binary file for /dev/null to avoid TextIOWrapper overhead
  [#271]

- RELEASE:

 - Moved repository from nir0s/distro to python-distro/distro on
 GitHub.

Signed-off-by: Javier Marcet <javier@marcet.info>
2021-08-03 16:17:35 +02:00
Tianling Shen b783386890 pyodbc: update hash
This package was updated without a hash change.

Fixes: c157522580 ("pyodbc: update to version 4.0.31")

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-08-01 17:58:59 +01:00
Daniel Golle 2abbf288ed
Flash: update to version 2.0.1
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2021-08-01 04:15:46 +01:00
Daniel Golle 7b5b9b9d11
Jinja2: update to version 3.0.1
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2021-08-01 04:15:41 +01:00
Daniel Golle 65c12b3c2f
Werkzeug: update to version 2.0.1
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2021-08-01 04:15:36 +01:00
Daniel Golle c30b804842
MarkupSafe: update to version 2.0.1
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2021-08-01 04:15:31 +01:00
Daniel Golle 01620b9cfb
click: update to version 8.0.1
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2021-08-01 04:15:27 +01:00
Daniel Golle 6ab3b605cf
itsdangerous: update to version 2.0.1
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2021-08-01 04:15:22 +01:00
Daniel Golle c157522580
pyodbc: update to version 4.0.31
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2021-08-01 04:15:17 +01:00