File: 0001-Use-pycryptodome-as-dependency.patch

package info (click to toggle)
python-potr 1.0.2-7
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 256 kB
  • sloc: python: 1,688; makefile: 8
file content (35 lines) | stat: -rw-r--r-- 1,148 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
From: Emmanuel Arias <eamanu@yaerobi.com>
Date: Wed, 30 Sep 2020 22:00:59 -0300
Subject: Use pycryptodome as dependency

Upstream still use pycrypto as depedency. This patch remove the
pycrypto as instal_required from setup.py to don't break package build.
Upstream does not support pycryptodome yet[0], this patch must be
removed when upstream use pycryptodome.

[0] https://github.com/python-otr/pure-python-otr/issues/68
---
 setup.py | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/setup.py b/setup.py
index a986ddb..6ee449f 100644
--- a/setup.py
+++ b/setup.py
@@ -22,7 +22,6 @@ try:
 
     from setuptools.command.install_lib import install_lib
 
-    args['install_requires']=['pycrypto>=2.1']
 except ImportError:
     print('\n*** setuptools not found! Falling back to distutils\n\n')
     from distutils.core import setup
@@ -45,8 +44,6 @@ Install the potr Python module:
 
     sudo python setup.py install
 
-**Dependencies**: pycrypto >= 2.1 (see `dlitz/pycrypto <https://github.com/dlitz/pycrypto>`_)
-
 Usage Notes
 ===========
 This module uses pycrypto's RNG. If you use this package in your application and your application