Skip to content

Commit da45a66

Browse files
Update build instructions for future (emscripten-forge#2623)
* Update build instructions for future * Update import test
1 parent b982699 commit da45a66

3 files changed

Lines changed: 11 additions & 6 deletions

File tree

recipes/recipes_emscripten/future/build.sh

Lines changed: 0 additions & 2 deletions
This file was deleted.

recipes/recipes_emscripten/future/recipe.yaml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,15 @@ source:
1010
sha256: bd2968309307861edae1458a4f8a4f3598c03be43b97521076aebf5d94c07b05
1111

1212
build:
13-
number: 1
13+
number: 2
14+
script: ${{ PYTHON }} -m pip install . ${{ PIP_ARGS }}
1415

1516
requirements:
1617
build:
1718
- python
1819
- pip
1920
- ${{ compiler("cxx") }}
21+
- cross-python_${{ target_platform }}
2022
host:
2123
- python
2224

@@ -31,9 +33,9 @@ tests:
3133
run:
3234
- pytester-run
3335

34-
3536
about:
36-
homepage: http://python-future.org
37+
homepage: https://python-future.org
38+
repository: https://github.com/PythonCharmers/python-future
3739
license: MIT
3840
license_family: MIT
3941
license_file: LICENSE.txt
Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
11

22
def test_import_future():
3-
import __future__
3+
from future.builtins import iterators
4+
from future.utils import (old_div, istext, isbytes, native, PY2, PY3,
5+
native_str, raise_, as_native_str, ensure_new_type,
6+
bytes_to_native_str, raise_from)
7+
from future.tests.base import expectedFailurePY3
8+
from future.tests.base import unittest, skip26

0 commit comments

Comments
 (0)