File tree Expand file tree Collapse file tree 4 files changed +28
-24
lines changed Expand file tree Collapse file tree 4 files changed +28
-24
lines changed Original file line number Diff line number Diff line change
1
+ from pythonforandroid .recipe import PythonRecipe
2
+
3
+
4
+ class OmemoBackendSignalRecipe (PythonRecipe ):
5
+ name = 'omemo-backend-signal'
6
+ version = '0.2.2'
7
+ url = 'https://pypi.python.org/packages/source/o/omemo-backend-signal/omemo-backend-signal-{version}.tar.gz'
8
+ site_packages_name = 'omemo-backend-signal'
9
+ depends = [
10
+ ('python2' , 'python3crystax' ),
11
+ 'setuptools' ,
12
+ 'protobuf_cpp' ,
13
+ 'x3dh' ,
14
+ 'DoubleRatchet' ,
15
+ 'hkdf==0.0.3' ,
16
+ 'cryptography' ,
17
+ 'omemo' ,
18
+ ]
19
+ patches = ['wireformat.patch' ]
20
+ call_hostpython_via_targetpython = False
21
+
22
+
23
+ recipe = OmemoBackendSignalRecipe ()
Original file line number Diff line number Diff line change 1
- diff -urN OMEMO-0.7.1 .ori/omemo/signal/wireformat/ whispertextprotocol_pb2.py OMEMO-0.7.1/omemo/signal/wireformat /whispertextprotocol_pb2.py
2
- --- OMEMO-0.7.1 .ori/omemo/signal/wireformat /whispertextprotocol_pb2.py 2018-09-02 21:04:26.000000000 +0200
3
- +++ OMEMO-0.7.1/omemo/signal/wireformat /whispertextprotocol_pb2.py 2018-11-02 10:39:15.196715321 +0100
1
+ diff -urN omemo-backend-signal-0.2.2 .ori/omemo_backend_signal/ whispertextprotocol_pb2.py omemo-backend-signal-0.2.2/omemo_backend_signal /whispertextprotocol_pb2.py
2
+ --- omemo-backend-signal-0.2.2 .ori/omemo_backend_signal /whispertextprotocol_pb2.py 2018-09-02 21:04:26.000000000 +0200
3
+ +++ omemo-backend-signal-0.2.2/omemo_backend_signal /whispertextprotocol_pb2.py 2018-11-02 10:39:15.196715321 +0100
4
4
@@ -21,7 +21,6 @@
5
5
syntax='proto2',
6
6
serialized_pb=_b('\n\x19WhisperTextProtocol.proto\"R\n\rSignalMessage\x12\x16\n\x0e\x64h_ratchet_key\x18\x01 \x01(\x0c\x12\t\n\x01n\x18\x02 \x01(\r\x12\n\n\x02pn\x18\x03 \x01(\r\x12\x12\n\nciphertext\x18\x04 \x01(\x0c\"\x7f\n\x13PreKeySignalMessage\x12\x17\n\x0fregistration_id\x18\x05 \x01(\r\x12\x0f\n\x07otpk_id\x18\x01 \x01(\r\x12\x0e\n\x06spk_id\x18\x06 \x01(\r\x12\n\n\x02\x65k\x18\x02 \x01(\x0c\x12\n\n\x02ik\x18\x03 \x01(\x0c\x12\x16\n\x0esignal_message\x18\x04 \x01(\x0c')
Original file line number Diff line number Diff line change 3
3
4
4
class OmemoRecipe (PythonRecipe ):
5
5
name = 'omemo'
6
- version = '0.7.1 '
6
+ version = '0.10.3 '
7
7
url = 'https://pypi.python.org/packages/source/O/OMEMO/OMEMO-{version}.tar.gz'
8
8
site_packages_name = 'omemo'
9
9
depends = [
10
10
('python2' , 'python3crystax' ),
11
11
'setuptools' ,
12
- 'protobuf_cpp' ,
13
12
'x3dh' ,
14
- 'DoubleRatchet' ,
15
- 'hkdf==0.0.3' ,
13
+ 'cryptography' ,
16
14
]
17
- patches = ['remove_dependencies.patch' , 'wireformat.patch' ]
18
15
call_hostpython_via_targetpython = False
19
16
20
17
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments