dev-python/graphite-api: fixed timezone bug
This commit is contained in:
parent
4b7ad65eb5
commit
f88d6bb4aa
|
@ -0,0 +1,13 @@
|
|||
diff --git a/graphite_api/config.py b/graphite_api/config.py
|
||||
index 5e1e382..530e568 100644
|
||||
--- a/graphite_api/config.py
|
||||
+++ b/graphite_api/config.py
|
||||
@@ -42,7 +42,7 @@ default_conf = {
|
||||
'/srv/graphite/whisper',
|
||||
],
|
||||
},
|
||||
- 'time_zone': get_localzone().zone,
|
||||
+ 'time_zone': 'UTC',
|
||||
}
|
||||
if default_conf['time_zone'] == 'local': # tzlocal didn't find anything
|
||||
default_conf['time_zone'] = 'UTC'
|
|
@ -1,7 +1,7 @@
|
|||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="7"
|
||||
EAPI="8"
|
||||
|
||||
PYTHON_COMPAT=( python3_{6..10} )
|
||||
|
||||
|
@ -11,6 +11,10 @@ DESCRIPTION="Graphite-web, without the interface. Just the rendering HTTP API."
|
|||
HOMEPAGE="https://github.com/brutasse/graphite-api https://pypi.org/project/graphite-api/"
|
||||
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/01-timezone.patch"
|
||||
)
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 arm64 x86 amd64-linux x86-linux"
|
|
@ -1,17 +0,0 @@
|
|||
BDEPEND=python_targets_python3_8? ( dev-lang/python:3.8 ) python_targets_python3_9? ( dev-lang/python:3.9 ) python_targets_python3_10? ( dev-lang/python:3.10 ) >=dev-lang/python-exec-2:=[python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?,-python_single_target_python3_8(-),-python_single_target_python3_9(-),-python_single_target_python3_10(-)] >=dev-python/setuptools-42.0.2[python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?,-python_single_target_python3_8(-),-python_single_target_python3_9(-),-python_single_target_python3_10(-)]
|
||||
DEFINED_PHASES=compile configure install prepare test
|
||||
DEPEND=dev-python/setuptools[python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?,-python_single_target_python3_8(-),-python_single_target_python3_9(-),-python_single_target_python3_10(-)] test? ( dev-python/nose[python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?,-python_single_target_python3_8(-),-python_single_target_python3_9(-),-python_single_target_python3_10(-)] dev-python/pytest[python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?,-python_single_target_python3_8(-),-python_single_target_python3_9(-),-python_single_target_python3_10(-)] )
|
||||
DESCRIPTION=Graphite-web, without the interface. Just the rendering HTTP API.
|
||||
EAPI=7
|
||||
HOMEPAGE=https://github.com/brutasse/graphite-api https://pypi.org/project/graphite-api/
|
||||
INHERIT=distutils-r1
|
||||
IUSE=test python_targets_python3_8 python_targets_python3_9 python_targets_python3_10
|
||||
KEYWORDS=amd64 arm64 x86 amd64-linux x86-linux
|
||||
LICENSE=Apache-2.0
|
||||
RDEPEND=dev-python/flask[python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?,-python_single_target_python3_8(-),-python_single_target_python3_9(-),-python_single_target_python3_10(-)] dev-python/pyyaml[python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?,-python_single_target_python3_8(-),-python_single_target_python3_9(-),-python_single_target_python3_10(-)] dev-python/cairocffi[python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?,-python_single_target_python3_8(-),-python_single_target_python3_9(-),-python_single_target_python3_10(-)] >=dev-python/pyparsing-1.5.7[python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?,-python_single_target_python3_8(-),-python_single_target_python3_9(-),-python_single_target_python3_10(-)] dev-python/pytz[python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?,-python_single_target_python3_8(-),-python_single_target_python3_9(-),-python_single_target_python3_10(-)] dev-python/six[python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?,-python_single_target_python3_8(-),-python_single_target_python3_9(-),-python_single_target_python3_10(-)] dev-python/structlog[python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?,-python_single_target_python3_8(-),-python_single_target_python3_9(-),-python_single_target_python3_10(-)] dev-python/tzlocal[python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?,-python_single_target_python3_8(-),-python_single_target_python3_9(-),-python_single_target_python3_10(-)] www-servers/gunicorn python_targets_python3_8? ( dev-lang/python:3.8 ) python_targets_python3_9? ( dev-lang/python:3.9 ) python_targets_python3_10? ( dev-lang/python:3.10 ) >=dev-lang/python-exec-2:=[python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?,-python_single_target_python3_8(-),-python_single_target_python3_9(-),-python_single_target_python3_10(-)]
|
||||
REQUIRED_USE=|| ( python_targets_python3_8 python_targets_python3_9 python_targets_python3_10 )
|
||||
RESTRICT=!test? ( test )
|
||||
SLOT=0
|
||||
SRC_URI=mirror://pypi/g/graphite-api/graphite-api-1.1.3.tar.gz
|
||||
_eclasses_=multiprocessing cac3169468f893670dac3e7cb940e045 toolchain-funcs 24921b57d6561d87cbef4916a296ada4 multilib ebdbaed22e873a5abe6205f41349b479 multibuild 6b3d5ee849dafe6cdfd7b859c211fb01 python-utils-r1 6e84b7d3d8d0bb1ee12774f4a66909e2 python-r1 26e4ad0a4190b14f70973dc253e86535 distutils-r1 c21cf58c1e3c67e0ea53c96a7b37eddd
|
||||
_md5_=e13c68f2a424504b5844f98c4b85c5a7
|
|
@ -0,0 +1,17 @@
|
|||
BDEPEND=python_targets_python3_8? ( dev-lang/python:3.8 ) python_targets_python3_9? ( dev-lang/python:3.9 ) python_targets_python3_10? ( dev-lang/python:3.10 ) >=dev-lang/python-exec-2:=[python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?] >=dev-python/setuptools-42.0.2[python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?]
|
||||
DEFINED_PHASES=compile configure install prepare test
|
||||
DEPEND=dev-python/setuptools[python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?] test? ( dev-python/nose[python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?] dev-python/pytest[python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?] )
|
||||
DESCRIPTION=Graphite-web, without the interface. Just the rendering HTTP API.
|
||||
EAPI=8
|
||||
HOMEPAGE=https://github.com/brutasse/graphite-api https://pypi.org/project/graphite-api/
|
||||
INHERIT=distutils-r1
|
||||
IUSE=test python_targets_python3_8 python_targets_python3_9 python_targets_python3_10
|
||||
KEYWORDS=amd64 arm64 x86 amd64-linux x86-linux
|
||||
LICENSE=Apache-2.0
|
||||
RDEPEND=dev-python/flask[python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?] dev-python/pyyaml[python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?] dev-python/cairocffi[python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?] >=dev-python/pyparsing-1.5.7[python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?] dev-python/pytz[python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?] dev-python/six[python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?] dev-python/structlog[python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?] dev-python/tzlocal[python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?] www-servers/gunicorn python_targets_python3_8? ( dev-lang/python:3.8 ) python_targets_python3_9? ( dev-lang/python:3.9 ) python_targets_python3_10? ( dev-lang/python:3.10 ) >=dev-lang/python-exec-2:=[python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?]
|
||||
REQUIRED_USE=|| ( python_targets_python3_8 python_targets_python3_9 python_targets_python3_10 )
|
||||
RESTRICT=!test? ( test )
|
||||
SLOT=0
|
||||
SRC_URI=mirror://pypi/g/graphite-api/graphite-api-1.1.3.tar.gz
|
||||
_eclasses_=multiprocessing 61c959fc55c15c00bbb1079d6a71370b toolchain-funcs 9ea1c67b6f8315fdc2568abb674519aa multilib 4b66d835ec72e021e359bb81eacfe988 multibuild 05a584848db4901c97fcd94ae7cc3a97 python-utils-r1 655fe65f186504e455c2f3116808fda8 python-r1 e574a3642f886323f18f867ecc4d91c4 distutils-r1 252d4f554e611b0af601160a9c7be049
|
||||
_md5_=d0161923ce747ac723d41ee59cb7ae5f
|
Loading…
Reference in New Issue