FreeBSD Bugzilla – Attachment 193920 Details for
Bug 228681
[NEW PORT] textproc/py-openstackdocstheme: OpenStack Docs Theme
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
py-openstackdocstheme.patch
py-openstackdocstheme.patch (text/plain), 4.79 KB, created by
Kai Knoblich
on 2018-06-02 14:31:16 UTC
(
hide
)
Description:
py-openstackdocstheme.patch
Filename:
MIME Type:
Creator:
Kai Knoblich
Created:
2018-06-02 14:31:16 UTC
Size:
4.79 KB
patch
obsolete
>Index: py-openstackdocstheme/Makefile >=================================================================== >--- py-openstackdocstheme/Makefile (nonexistent) >+++ py-openstackdocstheme/Makefile (working copy) >@@ -0,0 +1,37 @@ >+# $FreeBSD$ >+ >+PORTNAME= openstackdocstheme >+DISTVERSION= 1.21.0 >+CATEGORIES= textproc python >+MASTER_SITES= CHEESESHOP >+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} >+ >+MAINTAINER= freebsd_ports@k-worx.org >+COMMENT= OpenStack Docs Theme >+ >+LICENSE= APACHE20 >+LICENSE_FILE= ${WRKSRC}/LICENSE >+ >+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pbr>=2.0.0:devel/py-pbr@${PY_FLAVOR} >+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pbr>=2.0.0:devel/py-pbr@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}dulwich>=0.15.0:devel/dulwich@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}sphinx>=0:textproc/py-sphinx@${PY_FLAVOR} >+ >+USES= python >+USE_PYTHON= distutils concurrent autoplist >+ >+NO_ARCH= yes >+PORTDOCS= * >+ >+OPTIONS_DEFINE= DOCS >+DOCS_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>=0:textproc/py-sphinx@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}dulwich>=0.15.0:devel/dulwich@${PY_FLAVOR} >+DOCS_VARS= PYDISTUTILS_BUILD_TARGET+="build_sphinx -a -E" >+ >+post-install-DOCS-on: >+ @${MKDIR} ${STAGEDIR}${DOCSDIR} >+ (cd ${WRKSRC}/doc/build/html && \ >+ ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} \ >+ "! -name .buildinfo -and ! -name objects.inv") >+ >+.include <bsd.port.mk> > >Property changes on: py-openstackdocstheme/Makefile >___________________________________________________________________ >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:keywords >## -0,0 +1 ## >+FreeBSD=%H >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: py-openstackdocstheme/distinfo >=================================================================== >--- py-openstackdocstheme/distinfo (nonexistent) >+++ py-openstackdocstheme/distinfo (working copy) >@@ -0,0 +1,3 @@ >+TIMESTAMP = 1527880367 >+SHA256 (openstackdocstheme-1.21.0.tar.gz) = 20df88482739f76c9007385c6314de7b787ad5c7bdcd23df5aa5c9c012f32d92 >+SIZE (openstackdocstheme-1.21.0.tar.gz) = 1191580 > >Property changes on: py-openstackdocstheme/distinfo >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: py-openstackdocstheme/files/patch-openstackdocstheme_ext.py >=================================================================== >--- py-openstackdocstheme/files/patch-openstackdocstheme_ext.py (nonexistent) >+++ py-openstackdocstheme/files/patch-openstackdocstheme_ext.py (working copy) >@@ -0,0 +1,23 @@ >+--- openstackdocstheme/ext.py.orig 2018-03-29 20:08:16 UTC >++++ openstackdocstheme/ext.py >+@@ -95,13 +95,13 @@ def _html_page_context(app, pagename, te >+ global _html_context_data >+ if _html_context_data is None: >+ _html_context_data = {} >+- try: >+- _html_context_data['gitsha'] = subprocess.check_output( >+- ['git', 'rev-parse', 'HEAD'], >+- ).decode('utf-8').strip() >+- except Exception: >+- logger.warning('Cannot get gitsha from git repository.') >+- _html_context_data['gitsha'] = 'unknown' >++ #try: >++ # _html_context_data['gitsha'] = subprocess.check_output( >++ # ['git', 'rev-parse', 'HEAD'], >++ # ).decode('utf-8').strip() >++ #except Exception: >++ # logger.warning('Cannot get gitsha from git repository.') >++ _html_context_data['gitsha'] = 'unknown' >+ >+ doc_path = _get_doc_path(app) >+ repo_name = app.config.repository_name > >Property changes on: py-openstackdocstheme/files/patch-openstackdocstheme_ext.py >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: py-openstackdocstheme/pkg-descr >=================================================================== >--- py-openstackdocstheme/pkg-descr (nonexistent) >+++ py-openstackdocstheme/pkg-descr (working copy) >@@ -0,0 +1,4 @@ >+Theme and extension support for Sphinx documentation that is published to >+docs.openstack.org and developer.openstack.org. >+ >+WWW: https://pypi.org/project/openstackdocstheme/ > >Property changes on: py-openstackdocstheme/pkg-descr >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
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 228681
: 193920