Skip to content
Snippets Groups Projects
Commit cc5ed8e2 authored by André's avatar André Committed by Philipp Hörist
Browse files

Use PEP-440 compatible version comparison

https://www.python.org/dev/peps/pep-0440/
parent 59f0403f
No related branches found
No related tags found
No related merge requests found
......@@ -49,6 +49,24 @@ cleanup:
- '*.la'
modules:
- name: python3-pyparsing
buildsystem: simple
build-commands:
- pip3 install --prefix=/app pyparsing-2.4.7-py2.py3-none-any.whl
sources:
- type: file
url: https://files.pythonhosted.org/packages/8a/bb/488841f56197b13700afd5658fc279a2025a39e22449b7cf29864669b15d/pyparsing-2.4.7-py2.py3-none-any.whl
sha256: ef9d7589ef3c200abe66653d3f1ab1033c3c419ae9b9bdb1240a85b024efc88b
- name: python3-packaging
buildsystem: simple
build-commands:
- pip3 install --prefix=/app packaging-20.3-py2.py3-none-any.whl
sources:
- type: file
url: https://files.pythonhosted.org/packages/62/0a/34641d2bf5c917c96db0ded85ae4da25b6cd922d6b794648d4e7e07c88e5/packaging-20.3-py2.py3-none-any.whl
sha256: 82f77b9bee21c1bafbf35a84905d604d5d1223801d639cf3ed140bd651c08752
- name: python3-pycparser
buildsystem: simple
build-commands:
......
......@@ -56,9 +56,9 @@
from urllib.parse import unquote
from io import StringIO
from datetime import datetime, timedelta
from distutils.version import LooseVersion as V
from encodings.punycode import punycode_encode
from functools import wraps
from packaging.version import Version as V
from nbxmpp.namespaces import Namespace
from nbxmpp.const import Role
......
......@@ -22,7 +22,7 @@
import platform
from ctypes import CDLL, byref, create_string_buffer
from ctypes.util import find_library
from distutils.version import LooseVersion as V
from packaging.version import Version as V
from gajim.common import i18n
......
......@@ -23,6 +23,7 @@ install_requires =
css-parser
keyring
nbxmpp>=0.9.94
packaging
precis-i18n>=1.0.0
pyOpenSSL>=16.2
pycairo>=1.16.0
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment