1
0
python-python-jose/unpin-deps.patch
Tomáš Chvátal d907e187d3 Accepting request 693036 from home:jayvdb:django
- Activate test suite, using GitHub archive
- Add unpin-deps.patch to fix broken installed egg-info,
  and remove unused dependency on python-future
- Remove undesirable < comparator in build and runtime dependencies,
  and remove duplicated dependencies

OBS-URL: https://build.opensuse.org/request/show/693036
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-jose?expand=0&rev=3
2019-04-11 09:00:34 +00:00

30 lines
831 B
Diff

Index: python-jose-3.0.1/setup.py
===================================================================
--- python-jose-3.0.1.orig/setup.py
+++ python-jose-3.0.1/setup.py
@@ -23,8 +23,8 @@ def get_packages(package):
extras_require = {
'cryptography': ['cryptography'],
- 'pycrypto': ['pycrypto >=2.6.0, <2.7.0'],
- 'pycryptodome': ['pycryptodome >=3.3.1, <4.0.0'],
+ 'pycrypto': ['pycrypto >=2.6.0'],
+ 'pycryptodome': ['pycryptodome >=3.3.1'],
}
@@ -58,12 +58,10 @@ setup(
setup_requires=['pytest-runner'],
tests_require=[
'six',
- 'future',
'ecdsa',
'pytest',
- 'pytest-cov',
'pytest-runner',
'cryptography',
],
- install_requires=['six <2.0', 'ecdsa <1.0', 'rsa', 'future <1.0']
+ install_requires=['six', 'ecdsa', 'rsa']
)