Skip to content

Commit f1a1205

Browse files
authored
Merge pull request #1393 from goffi-contrib/twisted_incremental
twisted: added a patch to disable incremental during setup [pyconfr18]
2 parents dd6c5a5 + 5b5c47d commit f1a1205

File tree

2 files changed

+20
-1
lines changed

2 files changed

+20
-1
lines changed

pythonforandroid/recipes/twisted/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,10 @@ class TwistedRecipe(CythonRecipe):
66
url = 'https://github.com/twisted/twisted/archive/twisted-{version}.tar.gz'
77

88
depends = ['setuptools', 'zope_interface', 'incremental', 'constantly']
9+
patches = ['incremental.patch']
910

1011
call_hostpython_via_targetpython = False
11-
install_in_hostpython = True
12+
install_in_hostpython = False
1213

1314
def prebuild_arch(self, arch):
1415
super(TwistedRecipe, self).prebuild_arch(arch)
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
diff -Naur twisted-twisted-17.9.0/src/twisted/python/_setup.py twisted-twisted-17.9.0_patched/src/twisted/python/_setup.py
2+
--- twisted-twisted-17.9.0/src/twisted/python/_setup.py 2017-09-23 07:56:08.000000000 +0200
3+
+++ twisted-twisted-17.9.0_patched/src/twisted/python/_setup.py 2018-10-05 11:06:23.305860722 +0200
4+
@@ -227,14 +227,11 @@
5+
requirements = ["zope.interface >= 3.6.0"]
6+
7+
requirements.append("constantly >= 15.1")
8+
- requirements.append("incremental >= 16.10.1")
9+
requirements.append("Automat >= 0.3.0")
10+
requirements.append("hyperlink >= 17.1.1")
11+
12+
arguments.update(dict(
13+
packages=find_packages("src"),
14+
- use_incremental=True,
15+
- setup_requires=["incremental >= 16.10.1"],
16+
install_requires=requirements,
17+
entry_points={
18+
'console_scripts': _CONSOLE_SCRIPTS

0 commit comments

Comments
 (0)