Skip to content

Commit c6e9721

Browse files
committed
Pending problem with importing cryptography.x509.certificate_transparency
1 parent 663c698 commit c6e9721

6 files changed

Lines changed: 18 additions & 11 deletions

File tree

pythonforandroid/recipe.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -888,10 +888,8 @@ def build_compiled_components(self, arch):
888888
shprint(hostpython, 'setup.py', self.build_cmd, '-v',
889889
_env=env, *self.setup_extra_args)
890890

891-
# hostpython('setup.py', self.build_cmd, '-v', _env=env, _fg=True)
892-
893891
build_dir = glob.glob('build/lib.*')[0]
894-
shprint(sh.find, build_dir, '-name', '"*.o"', '-exec',
892+
shprint(sh.find, build_dir, '-name', '"*.so"', '-exec',
895893
env['STRIP'], '{}', ';', _env=env)
896894

897895
def install_hostpython_package(self, arch):

pythonforandroid/recipes/cryptography/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33

44
class CryptographyRecipe(CompiledComponentsPythonRecipe):
55
name = 'cryptography'
6-
version = 'master'
7-
url = 'git+https://github.com/pyca/cryptography.git'
6+
version = 'local'
7+
url = 'git+file:///home/enoch/cryptography'
88
depends = ['host_cffi', 'host_cython', 'host_setuptools', 'host_sh',
99
'idna', 'asn1crypto', 'six', 'cffi',
1010
'enum34', 'ipaddress', 'openssl']

pythonforandroid/recipes/kivy/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
class KivyRecipe(CythonRecipe):
99
name = 'kivy'
1010
version = 'master'
11-
url = 'git+https://github.com/kivy/kivy.git'
11+
url = 'git+file:///home/enoch/kivy'
1212

1313
depends = [('sdl2', 'pygame'), 'pyjnius']
1414

pythonforandroid/recipes/pyopenssl/__init__.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
1-
21
from pythonforandroid.toolchain import PythonRecipe
32

43

54
class PyOpenSSLRecipe(PythonRecipe):
6-
version = '17.4.0'
7-
url = 'https://pypi.python.org/packages/41/63/8759b18f0a240e91a24029e7da7c4a95ab75bca9028b02635ae0a9723c23/pyOpenSSL-17.4.0.tar.gz#md5=3abf7e09c38cb6d1019ef62ce7d1b1b2'
5+
version = 'master'
6+
url = 'git+file:///home/enoch/pyopenssl'
87
depends = ['cryptography', 'six']
98
site_packages_name = 'OpenSSL'
109

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
from pythonforandroid.toolchain import PythonRecipe
2+
3+
class RpdbRecipe(PythonRecipe):
4+
version = '0.1.6'
5+
url = 'https://pypi.python.org/packages/53/b7/6663ec9c0157cf7c766bd4c9dca957ca744f0b3b16c945be7e8f8d0b2142/rpdb-0.1.6.tar.gz#md5=1566f936f0f381172ecf918f7a65f882'
6+
depends = ['python2']
7+
site_packages_name = 'rpdb'
8+
call_hostpython_via_targetpython = False
9+
10+
recipe = RpdbRecipe()

pythonforandroid/recipes/twisted/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313

1414
class TwistedRecipe(CythonRecipe):
1515
name = 'twisted'
16-
version = '17.9.0'
17-
url = 'https://pypi.python.org/packages/a2/37/298f9547606c45d75aa9792369302cc63aa4bbcf7b5f607560180dd099d2/Twisted-17.9.0.tar.bz2#md5=6dbedb918f0c7288a4c670f59393ecf8'
16+
version = 'trunk'
17+
url = 'git+file:///home/enoch/twisted'
1818

1919
depends = ['setuptools', 'zope_interface', 'incremental', 'constantly']
2020

0 commit comments

Comments
 (0)