Lines 1-5
Link Here
|
1 |
PORTNAME= python-gitlab |
1 |
PORTNAME= python-gitlab |
2 |
PORTVERSION= 2.10.1 |
2 |
PORTVERSION= 3.0.0 |
3 |
CATEGORIES= devel python |
3 |
CATEGORIES= devel python |
4 |
MASTER_SITES= CHEESESHOP |
4 |
MASTER_SITES= CHEESESHOP |
5 |
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} |
5 |
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} |
Lines 17-23
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}httmock>0:www/py-httmock@${PY_FLAVOR} \
Link Here
|
17 |
${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} \ |
17 |
${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} \ |
18 |
${PYTHON_PKGNAMEPREFIX}responses>0:devel/py-responses@${PY_FLAVOR} |
18 |
${PYTHON_PKGNAMEPREFIX}responses>0:devel/py-responses@${PY_FLAVOR} |
19 |
|
19 |
|
20 |
USES= python:3.6+ |
20 |
USES= python:3.7+ |
21 |
USE_PYTHON= autoplist concurrent distutils |
21 |
USE_PYTHON= autoplist concurrent distutils |
22 |
|
22 |
|
23 |
NO_ARCH= yes |
23 |
NO_ARCH= yes |
Lines 29-37
OPTIONS_DEFAULT= AUTOCOMPLETE YAML
Link Here
|
29 |
AUTOCOMPLETE_DESC= Autocompletion via argcomplete |
29 |
AUTOCOMPLETE_DESC= Autocompletion via argcomplete |
30 |
YAML_DESC= YAML output |
30 |
YAML_DESC= YAML output |
31 |
|
31 |
|
32 |
AUTOCOMPLETE_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}argcomplete>=1.10.0<2:devel/py-argcomplete@${PY_FLAVOR} |
32 |
AUTOCOMPLETE_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}argcomplete>=1.10.0<3:devel/py-argcomplete@${PY_FLAVOR} |
33 |
|
33 |
|
34 |
DOCS_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Jinja2>0:devel/py-Jinja2@${PY_FLAVOR} \ |
34 |
DOCS_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}furo>0:textproc/py-furo@${PY_FLAVOR} \ |
|
|
35 |
${PYTHON_PKGNAMEPREFIX}Jinja2>0:devel/py-Jinja2@${PY_FLAVOR} \ |
36 |
${PYTHON_PKGNAMEPREFIX}myst-parser>0:textproc/py-myst-parser@${PY_FLAVOR} \ |
35 |
${PYTHON_PKGNAMEPREFIX}requests-toolbelt>=0.9.1:www/py-requests-toolbelt@${PY_FLAVOR} \ |
37 |
${PYTHON_PKGNAMEPREFIX}requests-toolbelt>=0.9.1:www/py-requests-toolbelt@${PY_FLAVOR} \ |
36 |
${PYTHON_PKGNAMEPREFIX}requests>=2.25.0:www/py-requests@${PY_FLAVOR} \ |
38 |
${PYTHON_PKGNAMEPREFIX}requests>=2.25.0:www/py-requests@${PY_FLAVOR} \ |
37 |
${PYTHON_PKGNAMEPREFIX}sphinx>=3.2.1,1:textproc/py-sphinx@${PY_FLAVOR} \ |
39 |
${PYTHON_PKGNAMEPREFIX}sphinx>=3.2.1,1:textproc/py-sphinx@${PY_FLAVOR} \ |
Lines 43-48
DOCS_VARS= PYDISTUTILS_BUILD_TARGET=build_sphinx \
Link Here
|
43 |
|
45 |
|
44 |
YAML_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}yaml>=5.2:devel/py-yaml@${PY_FLAVOR} |
46 |
YAML_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}yaml>=5.2:devel/py-yaml@${PY_FLAVOR} |
45 |
|
47 |
|
|
|
48 |
post-extract-DOCS-on: |
49 |
@${CP} ${FILESDIR}/changelog.md ${WRKSRC}/docs/ |
50 |
|
46 |
post-patch: |
51 |
post-patch: |
47 |
@${REINPLACE_CMD} -e 's|/etc|${LOCALBASE}/etc|g' ${WRKSRC}/gitlab/config.py |
52 |
@${REINPLACE_CMD} -e 's|/etc|${LOCALBASE}/etc|g' ${WRKSRC}/gitlab/config.py |
48 |
|
53 |
|