|
96 | 96 | # |
97 | 97 | # cython_test - Depend on lang/cython for tests. |
98 | 98 | # |
| 99 | +# cython3 - Depend on lang/cython3 at build-time. |
| 100 | +# |
| 101 | +# cython3_run - Depend on lang/cython3 at run-time. |
| 102 | +# |
| 103 | +# cython3_test - Depend on lang/cython3 for tests. |
| 104 | +# |
99 | 105 | # flavors - Force creation of flavors for Python 2 and 3 default |
100 | 106 | # versions, where applicable. |
101 | 107 | # |
@@ -331,6 +337,9 @@ _VALID_PYTHON_FEATURES= allflavors \ |
331 | 337 | cython \ |
332 | 338 | cython_run \ |
333 | 339 | cython_test \ |
| 340 | + cython3 \ |
| 341 | + cython3_run \ |
| 342 | + cython3_test \ |
334 | 343 | distutils \ |
335 | 344 | flavors \ |
336 | 345 | noegginfo \ |
@@ -624,16 +633,29 @@ TEST_DEPENDS+= ${CRYPTOGRAPHY_DEPENDS} |
624 | 633 | . endif |
625 | 634 |
|
626 | 635 | # cython* support |
| 636 | + |
627 | 637 | . if defined(_PYTHON_FEATURE_CYTHON) |
628 | | -BUILD_DEPENDS+= cython-${PYTHON_VER}:lang/cython@${PY_FLAVOR} |
| 638 | +BUILD_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}cython>=0.29.37<3:lang/cython@${PY_FLAVOR} |
629 | 639 | . endif |
630 | 640 |
|
631 | 641 | . if defined(_PYTHON_FEATURE_CYTHON_RUN) |
632 | | -RUN_DEPENDS+= cython-${PYTHON_VER}:lang/cython@${PY_FLAVOR} |
| 642 | +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}cython>=0.29.37<3:lang/cython@${PY_FLAVOR} |
633 | 643 | . endif |
634 | 644 |
|
635 | 645 | . if defined(_PYTHON_FEATURE_CYTHON_TEST) |
636 | | -TEST_DEPENDS+= cython-${PYTHON_VER}:lang/cython@${PY_FLAVOR} |
| 646 | +TEST_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}cython>=0.29.37<3:lang/cython@${PY_FLAVOR} |
| 647 | +. endif |
| 648 | + |
| 649 | +. if defined(_PYTHON_FEATURE_CYTHON3) |
| 650 | +BUILD_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}cython3>=3.0.12<3.1:lang/cython3@${PY_FLAVOR} |
| 651 | +. endif |
| 652 | + |
| 653 | +. if defined(_PYTHON_FEATURE_CYTHON3_RUN) |
| 654 | +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}cython3>=3.0.12<3.1:lang/cython3@${PY_FLAVOR} |
| 655 | +. endif |
| 656 | + |
| 657 | +. if defined(_PYTHON_FEATURE_CYTHON3_TEST) |
| 658 | +TEST_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}cython3>=3.0.12<3.1:lang/cython3@${PY_FLAVOR} |
637 | 659 | . endif |
638 | 660 |
|
639 | 661 | . if defined(_PYTHON_FEATURE_CONCURRENT) |
|
0 commit comments