dev-python/graphite-api: no longer supported/needed

Signed-off-by: Anton Fischl <github@fischl-online.de>
This commit is contained in:
Anton Fischl 2022-07-21 12:52:09 +02:00
parent 41b650fc70
commit d3249ce9a5
Signed by: anton
GPG Key ID: 87E4939135F3A567
11 changed files with 0 additions and 216 deletions

View File

@ -1 +0,0 @@
DIST graphite-api-1.1.3.tar.gz 75501 BLAKE2B a343db32532f03eff126d08af53f7543d37f2951b9c623a5e1087e4e62e4beddcfa9aed05b66a4d4be77ce2e7e73b3307ee4e81ae81815e33c70fbbca75b4703 SHA512 fc220288e03c238ce9913ff3a3c8802a6a5339f5baa96246ed71159fafc738c24af6334d481f620c19ca71a043e9619d2ddff5f3be72704199a050b842b1d525

View File

@ -1,13 +0,0 @@
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'

View File

@ -1,3 +0,0 @@
GRAPHITE_API_PORT="127.0.0.1:8081"
GRAPHITE_API_WORKERS="2"

View File

@ -1,23 +0,0 @@
search_index: /var/lib/graphite-api/index
finders:
- graphite_api.finders.whisper.WhisperFinder
functions:
- graphite_api.functions.SeriesFunctions
- graphite_api.functions.PieFunctions
whisper:
directories:
- /var/lib/graphite/whisper
time_zone: "Europe/Berlin"
carbon:
hosts:
- 127.0.0.1:7002
timeout: 1
retry_delay: 15
carbon_prefix: carbon
replication_factor: 1

View File

@ -1,23 +0,0 @@
#!/sbin/openrc-run
description="Graphite API Daemon"
supervisor=supervise-daemon
respawn_period="${respawn_period:-30}"
term_type="${term_type:-linux}"
command=/usr/bin/gunicorn
pidfile="/run/${RC_SVCNAME}.pid"
command_user="nobody:nobody"
command_args="graphite_api.app:app -w${GRAPHITE_API_WORKERS} -b ${GRAPHITE_API_PORT}"
depend() {
need net
}
start_pre() {
export EINFO_QUIET="${quiet:-yes}"
}
stop_pre()
{
export EINFO_QUIET="${quiet:-yes}"
}

View File

@ -1,55 +0,0 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{7..10} )
inherit distutils-r1
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"
IUSE="test"
RESTRICT="!test? ( test )"
RDEPEND="dev-python/flask[${PYTHON_USEDEP}]
dev-python/pyyaml[${PYTHON_USEDEP}]
dev-python/cairocffi[${PYTHON_USEDEP}]
>=dev-python/pyparsing-1.5.7[${PYTHON_USEDEP}]
dev-python/pytz[${PYTHON_USEDEP}]
dev-python/six[${PYTHON_USEDEP}]
dev-python/structlog[${PYTHON_USEDEP}]
dev-python/tzlocal[${PYTHON_USEDEP}]
www-servers/gunicorn
"
DEPEND="${RDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
dev-python/nose[${PYTHON_USEDEP}]
dev-python/pytest[${PYTHON_USEDEP}]
)"
python_test() {
nosetests --verbose || die
py.test -v -v || die
}
python_install_all() {
newconfd "${FILESDIR}/conf.d-graphite-api" "${PN}"
newinitd "${FILESDIR}/init.d-graphite-api" "${PN}"
insinto "/etc/"
doins "${FILESDIR}/graphite-api.yaml"
keepdir /var/lib/graphite-api/
fowners nobody:nobody /var/lib/graphite-api/
}

View File

@ -1,13 +0,0 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>github@fischl-online.de</email>
<name>Anton Fischl</name>
</maintainer>
<stabilize-allarches/>
<upstream>
<remote-id type="github">brutasse/graphite-api</remote-id>
<remote-id type="pypi">graphite-api</remote-id>
</upstream>
</pkgmetadata>

View File

@ -1,2 +0,0 @@
DIST structlog-20.1.0.tar.gz 332376 BLAKE2B 7481c924d7c4cb35bf451a441f66a018ffef2e435d3df6620637578718c689b1bea7e6f5f6f022d600e9256696f7c5a49f04f636a747e1ea54513cd697ef019b SHA512 87e4909e4a8cee396cc9b78212f13819632c303448bea28e78d574b981435aa29dc5620d59785788ae165af805761cbf97fa4d1ec49a3bf3b887ae76c91b18f3
DIST structlog-21.5.0.tar.gz 473089 BLAKE2B 70b8a5271a3d8cd40a7cbbc2a26813d9b082d517f8faec5b111280958bfcf204de5f943c3580dd6c2e06928f3dd91cb220aae420c9eff1bbb52f000de83d29ea SHA512 3183f9fe5b6638a39e2bce1670eed0fcef47b790811f286047ba5585887096cc1ae180bd6a268769c675fb4fe69b92f016e4917f200e7ed1dc451e39d89089c0

View File

@ -1,13 +0,0 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>github@fischl-online.de</email>
<name>Anton Fischl</name>
</maintainer>
<stabilize-allarches/>
<upstream>
<remote-id type="github">hynek/structlog</remote-id>
<remote-id type="pypi">structlog</remote-id>
</upstream>
</pkgmetadata>

View File

@ -1,31 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{6..10} )
inherit distutils-r1
DESCRIPTION="Structured Logging for Python"
HOMEPAGE="https://www.structlog.org/ https://pypi.org/project/structlog/"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="|| ( MIT Apache-2.0 )"
SLOT="0"
KEYWORDS="amd64 arm64 x86 amd64-linux x86-linux"
IUSE="test"
RESTRICT="!test? ( test )"
RDEPEND=""
DEPEND="${RDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
dev-python/nose[${PYTHON_USEDEP}]
dev-python/pytest[${PYTHON_USEDEP}]
)"
python_test() {
nosetests --verbose || die
py.test -v -v || die
}

View File

@ -1,39 +0,0 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{8..10} )
DISTUTILS_USE_SETUPTOOLS=pyproject.toml
inherit distutils-r1
DESCRIPTION="Structured Logging for Python"
HOMEPAGE="https://github.com/hynek/structlog/ https://pypi.org/project/structlog/ https://www.structlog.org/en/stable/"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="|| ( MIT Apache-2.0 )"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
RESTRICT="!test? ( test )"
DOCS="README.rst"
RDEPEND=""
BDEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
>=dev-python/flit_core-3.4[${PYTHON_USEDEP}]
<dev-python/flit_core-4[${PYTHON_USEDEP}]
test? (
dev-python/nose[${PYTHON_USEDEP}]
>=dev-python/pytest-6[${PYTHON_USEDEP}]
dev-python/pytest-asyncio[${PYTHON_USEDEP}]
>=dev-python/freezegun-0.2.8[${PYTHON_USEDEP}]
dev-python/simplejson[${PYTHON_USEDEP}]
)"
python_test() {
nosetests --verbose || die
py.test -v -v || die
}