python3Packages.yowsup: 2.5.7 -> 3.2.3
Introduced several new dependencies, including `dissononce`[1] and `consonance`[2]. See also: https://github.com/tgalal/yowsup/blob/master/CHANGELOG.md#323-2019-05-07 [1]d170246aae
[2]d8d34797d7
This commit is contained in:
parent
d8d34797d7
commit
80aab0ba4a
@ -1,13 +0,0 @@
|
||||
diff --git a/setup.py b/setup.py
|
||||
index 991e89c..7a96ccf 100755
|
||||
--- a/setup.py
|
||||
+++ b/setup.py
|
||||
@@ -5,7 +5,7 @@ import yowsup
|
||||
import platform
|
||||
import sys
|
||||
|
||||
-deps = ['python-dateutil', 'argparse', 'python-axolotl>=0.1.39', 'six==1.10']
|
||||
+deps = ['python-dateutil', 'python-axolotl>=0.1.39', 'six']
|
||||
|
||||
if sys.version_info < (2,7):
|
||||
deps += ['importlib', "protobuf==3.4.0"]
|
@ -1,10 +1,10 @@
|
||||
{ buildPythonPackage, stdenv, fetchFromGitHub, six, python-axolotl, pytest
|
||||
, isPy3k
|
||||
, isPy3k, consonance, appdirs
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "yowsup";
|
||||
version = "2.5.7";
|
||||
version = "3.2.3";
|
||||
|
||||
# The Python 2.x support of this package is incompatible with `six==1.11`:
|
||||
# https://github.com/tgalal/yowsup/issues/2416#issuecomment-365113486
|
||||
@ -14,7 +14,7 @@ buildPythonPackage rec {
|
||||
owner = "tgalal";
|
||||
repo = "yowsup";
|
||||
rev = "v${version}";
|
||||
sha256 = "1p0hdj5x38v2cxjnhdnqcnp5g7la57mbi365m0z83wa01x2n73w6";
|
||||
sha256 = "0wb8yl685nr1i3vx89hwan5m6a482x8g48f5ksvdlph538p720pm";
|
||||
};
|
||||
|
||||
checkInputs = [ pytest ];
|
||||
@ -22,9 +22,9 @@ buildPythonPackage rec {
|
||||
HOME=$(mktemp -d) py.test yowsup
|
||||
'';
|
||||
|
||||
patches = [ ./argparse-dependency.patch ];
|
||||
patches = [ ./dependency-fixes.patch ];
|
||||
|
||||
propagatedBuildInputs = [ six python-axolotl ];
|
||||
propagatedBuildInputs = [ six python-axolotl consonance appdirs ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = "https://github.com/tgalal/yowsup";
|
||||
|
@ -0,0 +1,13 @@
|
||||
diff --git a/setup.py b/setup.py
|
||||
index e3871a7..930bd6a 100755
|
||||
--- a/setup.py
|
||||
+++ b/setup.py
|
||||
@@ -5,7 +5,7 @@ import yowsup
|
||||
import platform
|
||||
import sys
|
||||
|
||||
-deps = ['consonance==0.1.2', 'argparse', 'python-axolotl==0.2.2', 'six==1.10', 'appdirs', 'protobuf>=3.6.0']
|
||||
+deps = ['consonance>=0.1', 'python-axolotl>=0.2', 'six>=1.10', 'appdirs', 'protobuf>=3.6.0']
|
||||
|
||||
if sys.version_info < (2, 7):
|
||||
deps.append('importlib')
|
Loading…
Reference in New Issue
Block a user