FreeBSD Bugzilla – Attachment 230810 Details for
Bug 261026
devel/py-python-gitlab: Update to 3.0.0
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Update to 3.0.0
0001-devel-py-python-gitlab-Update-to-3.0.0.patch (text/plain), 4.27 KB, created by
Derek Schrock
on 2022-01-08 05:55:20 UTC
(
hide
)
Description:
Update to 3.0.0
Filename:
MIME Type:
Creator:
Derek Schrock
Created:
2022-01-08 05:55:20 UTC
Size:
4.27 KB
patch
obsolete
>From 71399240fe3946e35b6fe815a663742a214bf253 Mon Sep 17 00:00:00 2001 >From: Derek Schrock <dereks@lifeofadishwasher.com> >Date: Fri, 7 Jan 2022 22:11:11 -0500 >Subject: [PATCH] devel/py-python-gitlab: Update to 3.0.0 > >- Update to 3.0.0 [1] >- Add missing dist file docs/changelog.md [2] >- Add patch to fix sphinx 4.1 feature autodoc_typehints both [3][4] > >[1] https://github.com/python-gitlab/python-gitlab/releases/tag/v3.0.0 >[2] https://github.com/python-gitlab/python-gitlab/pull/1813 >[3] https://www.sphinx-doc.org/en/master/usage/extensions/autodoc.html >[4] https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=257116 >--- > devel/py-python-gitlab/Makefile | 13 +++++++++---- > devel/py-python-gitlab/distinfo | 6 +++--- > devel/py-python-gitlab/files/changelog.md | 2 ++ > devel/py-python-gitlab/files/patch-docs_conf.py | 11 +++++++++++ > 4 files changed, 25 insertions(+), 7 deletions(-) > create mode 100644 devel/py-python-gitlab/files/changelog.md > create mode 100644 devel/py-python-gitlab/files/patch-docs_conf.py > >diff --git a/devel/py-python-gitlab/Makefile b/devel/py-python-gitlab/Makefile >index 5d5c0b3f09..5713fe9013 100644 >--- a/devel/py-python-gitlab/Makefile >+++ b/devel/py-python-gitlab/Makefile >@@ -1,5 +1,5 @@ > PORTNAME= python-gitlab >-PORTVERSION= 2.10.1 >+PORTVERSION= 3.0.0 > CATEGORIES= devel python > MASTER_SITES= CHEESESHOP > PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} >@@ -17,7 +17,7 @@ TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}httmock>0:www/py-httmock@${PY_FLAVOR} \ > ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} \ > ${PYTHON_PKGNAMEPREFIX}responses>0:devel/py-responses@${PY_FLAVOR} > >-USES= python:3.6+ >+USES= python:3.7+ > USE_PYTHON= autoplist concurrent distutils > > NO_ARCH= yes >@@ -29,9 +29,11 @@ OPTIONS_DEFAULT= AUTOCOMPLETE YAML > AUTOCOMPLETE_DESC= Autocompletion via argcomplete > YAML_DESC= YAML output > >-AUTOCOMPLETE_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}argcomplete>=1.10.0<2:devel/py-argcomplete@${PY_FLAVOR} >+AUTOCOMPLETE_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}argcomplete>=1.10.0<3:devel/py-argcomplete@${PY_FLAVOR} > >-DOCS_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Jinja2>0:devel/py-Jinja2@${PY_FLAVOR} \ >+DOCS_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}furo>0:textproc/py-furo@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}Jinja2>0:devel/py-Jinja2@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}myst-parser>0:textproc/py-myst-parser@${PY_FLAVOR} \ > ${PYTHON_PKGNAMEPREFIX}requests-toolbelt>=0.9.1:www/py-requests-toolbelt@${PY_FLAVOR} \ > ${PYTHON_PKGNAMEPREFIX}requests>=2.25.0:www/py-requests@${PY_FLAVOR} \ > ${PYTHON_PKGNAMEPREFIX}sphinx>=3.2.1,1:textproc/py-sphinx@${PY_FLAVOR} \ >@@ -43,6 +45,9 @@ DOCS_VARS= PYDISTUTILS_BUILD_TARGET=build_sphinx \ > > YAML_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}yaml>=5.2:devel/py-yaml@${PY_FLAVOR} > >+post-extract-DOCS-on: >+ @${CP} ${FILESDIR}/changelog.md ${WRKSRC}/docs/ >+ > post-patch: > @${REINPLACE_CMD} -e 's|/etc|${LOCALBASE}/etc|g' ${WRKSRC}/gitlab/config.py > >diff --git a/devel/py-python-gitlab/distinfo b/devel/py-python-gitlab/distinfo >index 869f70ca28..c3105ff45f 100644 >--- a/devel/py-python-gitlab/distinfo >+++ b/devel/py-python-gitlab/distinfo >@@ -1,3 +1,3 @@ >-TIMESTAMP = 1630211085 >-SHA256 (python-gitlab-2.10.1.tar.gz) = 7afa7d7c062fa62c173190452265a30feefb844428efc58ea5244f3b9fc0d40f >-SIZE (python-gitlab-2.10.1.tar.gz) = 178899 >+TIMESTAMP = 1641516632 >+SHA256 (python-gitlab-3.0.0.tar.gz) = 89f82740b76820cf407cee9c43b75ca3ddb72f344f595902ee963837d7664986 >+SIZE (python-gitlab-3.0.0.tar.gz) = 210452 >diff --git a/devel/py-python-gitlab/files/changelog.md b/devel/py-python-gitlab/files/changelog.md >new file mode 100644 >index 0000000000..66efc0fecd >--- /dev/null >+++ b/devel/py-python-gitlab/files/changelog.md >@@ -0,0 +1,2 @@ >+```{include} ../CHANGELOG.md >+``` >diff --git a/devel/py-python-gitlab/files/patch-docs_conf.py b/devel/py-python-gitlab/files/patch-docs_conf.py >new file mode 100644 >index 0000000000..c88369dc6d >--- /dev/null >+++ b/devel/py-python-gitlab/files/patch-docs_conf.py >@@ -0,0 +1,11 @@ >+--- docs/conf.py.orig 2022-01-08 02:01:04 UTC >++++ docs/conf.py >+@@ -47,7 +47,7 @@ extensions = [ >+ "sphinxcontrib.autoprogram", >+ ] >+ >+-autodoc_typehints = "both" >++autodoc_typehints = "signature" >+ >+ # Add any paths that contain templates here, relative to this directory. >+ templates_path = ["_templates"] >-- >2.34.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 261026
:
230810
|
230936