* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/graphite-web/
@ 2016-01-31 16:27 Fabian Groffen
0 siblings, 0 replies; 21+ messages in thread
From: Fabian Groffen @ 2016-01-31 16:27 UTC (permalink / raw
To: gentoo-commits
commit: a91187579584c042cdb7de09df71dcdbff5813fc
Author: Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 31 16:26:53 2016 +0000
Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Sun Jan 31 16:27:22 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a9118757
net-analyzer/graphite-web: revbump for changed examples installation, bug #556852
Package-Manager: portage-2.2.26
.../graphite-web/graphite-web-0.9.13-r2.ebuild | 99 ++++++++++++++++++++++
1 file changed, 99 insertions(+)
diff --git a/net-analyzer/graphite-web/graphite-web-0.9.13-r2.ebuild b/net-analyzer/graphite-web/graphite-web-0.9.13-r2.ebuild
new file mode 100644
index 0000000..134bc3f
--- /dev/null
+++ b/net-analyzer/graphite-web/graphite-web-0.9.13-r2.ebuild
@@ -0,0 +1,99 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+PYTHON_COMPAT=( python2_7 )
+
+inherit distutils-r1 python-utils-r1 prefix
+
+DESCRIPTION="Enterprise scalable realtime graphing"
+HOMEPAGE="http://graphite.readthedocs.org/"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz
+ https://raw.githubusercontent.com/graphite-project/graphite-web/522d84fed687bd946878e48d85982d59f7bd1267/webapp/content/img/share.png -> ${P}-share.png"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="ldap mysql memcached +sqlite"
+
+DEPEND=""
+RDEPEND="dev-lang/python[sqlite?]
+ || ( >=dev-python/django-1.4[sqlite?,mysql?,${PYTHON_USEDEP}]
+ ( >=dev-python/django-1.6[sqlite?,${PYTHON_USEDEP}]
+ mysql? ( || ( dev-python/mysql-python dev-python/mysqlclient ) ) ) )
+ >=dev-python/twisted-core-10.0[${PYTHON_USEDEP}]
+ >=dev-python/django-tagging-0.3.1[${PYTHON_USEDEP}]
+ dev-python/pycairo[${PYTHON_USEDEP}]
+ dev-python/zope-interface[${PYTHON_USEDEP}]
+ dev-python/pytz[${PYTHON_USEDEP}]
+ dev-python/pyparsing[${PYTHON_USEDEP}]
+ dev-python/txAMQP[${PYTHON_USEDEP}]
+ dev-python/carbon[${PYTHON_USEDEP}]
+ dev-python/whisper[${PYTHON_USEDEP}]
+ media-libs/fontconfig
+ memcached? ( dev-python/python-memcached[${PYTHON_USEDEP}] )
+ ldap? ( dev-python/python-ldap[${PYTHON_USEDEP}] )"
+
+PATCHES=(
+ # Do not install the configuration and data files. We install them
+ # somewhere sensible by hand.
+ "${FILESDIR}"/${P}-fhs-paths.patch
+ "${FILESDIR}"/${P}-system-libs.patch
+)
+
+EXAMPLES=(
+ examples/example-graphite-vhost.conf
+ conf/dashboard.conf.example
+ conf/graphite.wsgi.example
+)
+
+src_prepare() {
+ # use FHS-style paths
+ rm setup.cfg || die
+ # make sure we don't use bundled stuff
+ rm -Rf webapp/graphite/thirdparty
+ distutils-r1_src_prepare
+ eprefixify \
+ conf/graphite.wsgi.example \
+ webapp/graphite/local_settings.py.example
+}
+
+python_install() {
+ distutils-r1_python_install \
+ --install-data="${EPREFIX}"/usr/share/${PN}
+
+ # make manage.py available from an easier location/name
+ dodir /usr/bin
+ mv "${D}"/$(python_get_sitedir)/graphite/manage.py \
+ "${ED}"/usr/bin/${PN}-manage || die
+ chmod 0755 "${ED}"/usr/bin/${PN}-manage || die
+ python_fix_shebang "${ED}"/usr/bin/${PN}-manage
+
+ # shortener image isn't included for some reason
+ cp "${DISTDIR}"/"${P}"-share.png "${ED}"/usr/share/${PN}/webapp/content/img/
+
+ insinto /etc/${PN}
+ newins webapp/graphite/local_settings.py.example local_settings.py
+ pushd "${D}"/$(python_get_sitedir)/graphite > /dev/null || die
+ ln -s ../../../../../etc/${PN}/local_settings.py local_settings.py
+ popd > /dev/null || die
+}
+
+pkg_config() {
+ "${ROOT}"/usr/bin/${PN}-manage syncdb --noinput
+ local idx=$(grep 'INDEX_FILE =' "${EROOT}"/etc/local_settings.py 2>/dev/null)
+ if [[ -n ${idx} ]] ; then
+ idx=${idx##*=}
+ idx=$(echo ${idx})
+ eval "idx=${idx}"
+ touch "${ROOT}"/"${idx}"/index
+ fi
+}
+
+pkg_postinst() {
+ einfo "You will need to ${PN} it with Apache (mod_wsgi) or nginx (uwsgi)."
+ einfo "Don't forget to edit local_settings.py in ${EPREFIX}/etc/${PN}"
+ einfo "See http://graphite.readthedocs.org/en/latest/config-local-settings.html"
+ einfo "Run emerge --config =${PN}-${PVR} if this is a fresh install."
+}
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/graphite-web/
@ 2016-04-11 3:12 Matt Thode
0 siblings, 0 replies; 21+ messages in thread
From: Matt Thode @ 2016-04-11 3:12 UTC (permalink / raw
To: gentoo-commits
commit: 86c4cf43974d7ac942816592f2dc2b18b6296350
Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
AuthorDate: Mon Apr 11 03:11:26 2016 +0000
Commit: Matt Thode <prometheanfire <AT> gentoo <DOT> org>
CommitDate: Mon Apr 11 03:11:26 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=86c4cf43
net-analyzer/graphite-web: update for bug 556732
Package-Manager: portage-2.2.26
.../graphite-web/graphite-web-0.9.13-r3.ebuild | 108 +++++++++++++++++++++
net-analyzer/graphite-web/metadata.xml | 1 +
2 files changed, 109 insertions(+)
diff --git a/net-analyzer/graphite-web/graphite-web-0.9.13-r3.ebuild b/net-analyzer/graphite-web/graphite-web-0.9.13-r3.ebuild
new file mode 100644
index 0000000..9e20d1f
--- /dev/null
+++ b/net-analyzer/graphite-web/graphite-web-0.9.13-r3.ebuild
@@ -0,0 +1,108 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+PYTHON_COMPAT=( python2_7 )
+
+inherit distutils-r1 python-utils-r1 prefix
+
+DESCRIPTION="Enterprise scalable realtime graphing"
+HOMEPAGE="http://graphite.readthedocs.org/"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz
+ https://raw.githubusercontent.com/graphite-project/graphite-web/522d84fed687bd946878e48d85982d59f7bd1267/webapp/content/img/share.png -> ${P}-share.png"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="+carbon ldap mysql memcached postgres +sqlite"
+
+DEPEND=""
+RDEPEND="
+ dev-lang/python[sqlite?]
+ sqlite? ( >=dev-python/django-1.4[sqlite?,${PYTHON_USEDEP}] )
+ mysql? ( >=dev-python/django-1.4[${PYTHON_USEDEP}]
+ || (
+ dev-python/mysql-python[${PYTHON_USEDEP}]
+ dev-python/mysqlclient[${PYTHON_USEDEP}]
+ )
+ )
+ postgres? (
+ >=dev-python/django-1.4[${PYTHON_USEDEP}]
+ dev-python/psycopg:2[${PYTHON_USEDEP}]
+ )
+ >=dev-python/twisted-core-10.0[${PYTHON_USEDEP}]
+ >=dev-python/django-tagging-0.3.1[${PYTHON_USEDEP}]
+ dev-python/pycairo[${PYTHON_USEDEP}]
+ dev-python/zope-interface[${PYTHON_USEDEP}]
+ dev-python/pytz[${PYTHON_USEDEP}]
+ dev-python/pyparsing[${PYTHON_USEDEP}]
+ dev-python/txAMQP[${PYTHON_USEDEP}]
+ carbon? ( dev-python/carbon[${PYTHON_USEDEP}] )
+ dev-python/whisper[${PYTHON_USEDEP}]
+ media-libs/fontconfig
+ memcached? ( dev-python/python-memcached[${PYTHON_USEDEP}] )
+ ldap? ( dev-python/python-ldap[${PYTHON_USEDEP}] )"
+
+PATCHES=(
+ # Do not install the configuration and data files. We install them
+ # somewhere sensible by hand.
+ "${FILESDIR}"/${P}-fhs-paths.patch
+ "${FILESDIR}"/${P}-system-libs.patch
+)
+
+EXAMPLES=(
+ examples/example-graphite-vhost.conf
+ conf/dashboard.conf.example
+ conf/graphite.wsgi.example
+)
+
+src_prepare() {
+ # use FHS-style paths
+ rm setup.cfg || die
+ # make sure we don't use bundled stuff
+ rm -Rf webapp/graphite/thirdparty
+ distutils-r1_src_prepare
+ eprefixify \
+ conf/graphite.wsgi.example \
+ webapp/graphite/local_settings.py.example
+}
+
+python_install() {
+ distutils-r1_python_install \
+ --install-data="${EPREFIX}"/usr/share/${PN}
+
+ # make manage.py available from an easier location/name
+ dodir /usr/bin
+ mv "${D}"/$(python_get_sitedir)/graphite/manage.py \
+ "${ED}"/usr/bin/${PN}-manage || die
+ chmod 0755 "${ED}"/usr/bin/${PN}-manage || die
+ python_fix_shebang "${ED}"/usr/bin/${PN}-manage
+
+ # shortener image isn't included for some reason
+ cp "${DISTDIR}"/"${P}"-share.png "${ED}"/usr/share/${PN}/webapp/content/img/
+
+ insinto /etc/${PN}
+ newins webapp/graphite/local_settings.py.example local_settings.py
+ pushd "${D}"/$(python_get_sitedir)/graphite > /dev/null || die
+ ln -s ../../../../../etc/${PN}/local_settings.py local_settings.py
+ popd > /dev/null || die
+}
+
+pkg_config() {
+ "${ROOT}"/usr/bin/${PN}-manage syncdb --noinput
+ local idx=$(grep 'INDEX_FILE =' "${EROOT}"/etc/local_settings.py 2>/dev/null)
+ if [[ -n ${idx} ]] ; then
+ idx=${idx##*=}
+ idx=$(echo ${idx})
+ eval "idx=${idx}"
+ touch "${ROOT}"/"${idx}"/index
+ fi
+}
+
+pkg_postinst() {
+ einfo "You will need to ${PN} it with Apache (mod_wsgi) or nginx (uwsgi)."
+ einfo "Don't forget to edit local_settings.py in ${EPREFIX}/etc/${PN}"
+ einfo "See http://graphite.readthedocs.org/en/latest/config-local-settings.html"
+ einfo "Run emerge --config =${PN}-${PVR} if this is a fresh install."
+}
diff --git a/net-analyzer/graphite-web/metadata.xml b/net-analyzer/graphite-web/metadata.xml
index 14056ae..5118985 100644
--- a/net-analyzer/graphite-web/metadata.xml
+++ b/net-analyzer/graphite-web/metadata.xml
@@ -7,6 +7,7 @@
</maintainer>
<use>
<flag name="memcached">Enable memcached support</flag>
+ <flag name="carbon">Enable carbon support</flag>
</use>
<upstream>
<remote-id type="pypi">graphite-web</remote-id>
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/graphite-web/
@ 2016-04-27 15:17 Fabian Groffen
0 siblings, 0 replies; 21+ messages in thread
From: Fabian Groffen @ 2016-04-27 15:17 UTC (permalink / raw
To: gentoo-commits
commit: 5b18944507b1f91a67ba4a77d20be0d428425654
Author: Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 27 15:16:28 2016 +0000
Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Wed Apr 27 15:16:57 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b189445
net-analyzer/graphite-web: add dep on django, for it doesn't work with 1.9
Package-Manager: portage-2.2.26
.../graphite-web/graphite-web-0.9.13-r1.ebuild | 99 ----------------------
.../graphite-web/graphite-web-0.9.13-r2.ebuild | 99 ----------------------
.../graphite-web/graphite-web-0.9.13-r3.ebuild | 3 +-
3 files changed, 2 insertions(+), 199 deletions(-)
diff --git a/net-analyzer/graphite-web/graphite-web-0.9.13-r1.ebuild b/net-analyzer/graphite-web/graphite-web-0.9.13-r1.ebuild
deleted file mode 100644
index 51720e9..0000000
--- a/net-analyzer/graphite-web/graphite-web-0.9.13-r1.ebuild
+++ /dev/null
@@ -1,99 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-PYTHON_COMPAT=( python2_7 )
-
-inherit distutils-r1 python-utils-r1 prefix
-
-DESCRIPTION="Enterprise scalable realtime graphing"
-HOMEPAGE="http://graphite.readthedocs.org/"
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz
- https://raw.githubusercontent.com/graphite-project/graphite-web/522d84fed687bd946878e48d85982d59f7bd1267/webapp/content/img/share.png -> ${P}-share.png"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="ldap mysql memcached +sqlite"
-
-DEPEND=""
-RDEPEND="dev-lang/python[sqlite?]
- || ( >=dev-python/django-1.4[sqlite?,mysql?,${PYTHON_USEDEP}]
- ( >=dev-python/django-1.6[sqlite?,${PYTHON_USEDEP}]
- mysql? ( || ( dev-python/mysql-python dev-python/mysqlclient ) ) ) )
- >=dev-python/twisted-core-10.0[${PYTHON_USEDEP}]
- >=dev-python/django-tagging-0.3.1[${PYTHON_USEDEP}]
- dev-python/pycairo[${PYTHON_USEDEP}]
- dev-python/zope-interface[${PYTHON_USEDEP}]
- dev-python/pytz[${PYTHON_USEDEP}]
- dev-python/pyparsing[${PYTHON_USEDEP}]
- dev-python/txAMQP[${PYTHON_USEDEP}]
- dev-python/carbon[${PYTHON_USEDEP}]
- dev-python/whisper[${PYTHON_USEDEP}]
- media-libs/fontconfig
- memcached? ( dev-python/python-memcached[${PYTHON_USEDEP}] )
- ldap? ( dev-python/python-ldap[${PYTHON_USEDEP}] )"
-
-PATCHES=(
- # Do not install the configuration and data files. We install them
- # somewhere sensible by hand.
- "${FILESDIR}"/${P}-fhs-paths.patch
- "${FILESDIR}"/${P}-system-libs.patch
-)
-
-EXAMPLES=(
- examples/example-graphite-vhost.conf
-)
-
-src_prepare() {
- # use FHS-style paths
- rm setup.cfg || die
- # make sure we don't use bundled stuff
- rm -Rf webapp/graphite/thirdparty
- distutils-r1_src_prepare
- eprefixify \
- conf/graphite.wsgi.example \
- webapp/graphite/local_settings.py.example
-}
-
-python_install() {
- distutils-r1_python_install \
- --install-data="${EPREFIX}"/usr/share/${PN}
-
- # make manage.py available from an easier location/name
- dodir /usr/bin
- mv "${D}"/$(python_get_sitedir)/graphite/manage.py \
- "${ED}"/usr/bin/${PN}-manage || die
- chmod 0755 "${ED}"/usr/bin/${PN}-manage || die
- python_fix_shebang "${ED}"/usr/bin/${PN}-manage
-
- # shortener image isn't included for some reason
- cp "${DISTDIR}"/"${P}"-share.png "${ED}"/usr/share/${PN}/webapp/content/img/
-
- insinto /etc/${PN}
- newins webapp/graphite/local_settings.py.example local_settings.py
- pushd "${D}"/$(python_get_sitedir)/graphite > /dev/null || die
- ln -s ../../../../../etc/${PN}/local_settings.py local_settings.py
- popd > /dev/null || die
- doins conf/dashboard.conf.example
- doins conf/graphite.wsgi.example
-}
-
-pkg_config() {
- "${ROOT}"/usr/bin/${PN}-manage syncdb --noinput
- local idx=$(grep 'INDEX_FILE =' "${EROOT}"/etc/local_settings.py 2>/dev/null)
- if [[ -n ${idx} ]] ; then
- idx=${idx##*=}
- idx=$(echo ${idx})
- eval "idx=${idx}"
- touch "${ROOT}"/"${idx}"/index
- fi
-}
-
-pkg_postinst() {
- einfo "You will need to ${PN} it with Apache (mod_wsgi) or nginx (uwsgi)."
- einfo "Don't forget to edit local_settings.py in ${EPREFIX}/etc/${PN}"
- einfo "See http://graphite.readthedocs.org/en/latest/config-local-settings.html"
- einfo "Run emerge --config =${PN}-${PVR} if this is a fresh install."
-}
diff --git a/net-analyzer/graphite-web/graphite-web-0.9.13-r2.ebuild b/net-analyzer/graphite-web/graphite-web-0.9.13-r2.ebuild
deleted file mode 100644
index 134bc3f..0000000
--- a/net-analyzer/graphite-web/graphite-web-0.9.13-r2.ebuild
+++ /dev/null
@@ -1,99 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-PYTHON_COMPAT=( python2_7 )
-
-inherit distutils-r1 python-utils-r1 prefix
-
-DESCRIPTION="Enterprise scalable realtime graphing"
-HOMEPAGE="http://graphite.readthedocs.org/"
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz
- https://raw.githubusercontent.com/graphite-project/graphite-web/522d84fed687bd946878e48d85982d59f7bd1267/webapp/content/img/share.png -> ${P}-share.png"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="ldap mysql memcached +sqlite"
-
-DEPEND=""
-RDEPEND="dev-lang/python[sqlite?]
- || ( >=dev-python/django-1.4[sqlite?,mysql?,${PYTHON_USEDEP}]
- ( >=dev-python/django-1.6[sqlite?,${PYTHON_USEDEP}]
- mysql? ( || ( dev-python/mysql-python dev-python/mysqlclient ) ) ) )
- >=dev-python/twisted-core-10.0[${PYTHON_USEDEP}]
- >=dev-python/django-tagging-0.3.1[${PYTHON_USEDEP}]
- dev-python/pycairo[${PYTHON_USEDEP}]
- dev-python/zope-interface[${PYTHON_USEDEP}]
- dev-python/pytz[${PYTHON_USEDEP}]
- dev-python/pyparsing[${PYTHON_USEDEP}]
- dev-python/txAMQP[${PYTHON_USEDEP}]
- dev-python/carbon[${PYTHON_USEDEP}]
- dev-python/whisper[${PYTHON_USEDEP}]
- media-libs/fontconfig
- memcached? ( dev-python/python-memcached[${PYTHON_USEDEP}] )
- ldap? ( dev-python/python-ldap[${PYTHON_USEDEP}] )"
-
-PATCHES=(
- # Do not install the configuration and data files. We install them
- # somewhere sensible by hand.
- "${FILESDIR}"/${P}-fhs-paths.patch
- "${FILESDIR}"/${P}-system-libs.patch
-)
-
-EXAMPLES=(
- examples/example-graphite-vhost.conf
- conf/dashboard.conf.example
- conf/graphite.wsgi.example
-)
-
-src_prepare() {
- # use FHS-style paths
- rm setup.cfg || die
- # make sure we don't use bundled stuff
- rm -Rf webapp/graphite/thirdparty
- distutils-r1_src_prepare
- eprefixify \
- conf/graphite.wsgi.example \
- webapp/graphite/local_settings.py.example
-}
-
-python_install() {
- distutils-r1_python_install \
- --install-data="${EPREFIX}"/usr/share/${PN}
-
- # make manage.py available from an easier location/name
- dodir /usr/bin
- mv "${D}"/$(python_get_sitedir)/graphite/manage.py \
- "${ED}"/usr/bin/${PN}-manage || die
- chmod 0755 "${ED}"/usr/bin/${PN}-manage || die
- python_fix_shebang "${ED}"/usr/bin/${PN}-manage
-
- # shortener image isn't included for some reason
- cp "${DISTDIR}"/"${P}"-share.png "${ED}"/usr/share/${PN}/webapp/content/img/
-
- insinto /etc/${PN}
- newins webapp/graphite/local_settings.py.example local_settings.py
- pushd "${D}"/$(python_get_sitedir)/graphite > /dev/null || die
- ln -s ../../../../../etc/${PN}/local_settings.py local_settings.py
- popd > /dev/null || die
-}
-
-pkg_config() {
- "${ROOT}"/usr/bin/${PN}-manage syncdb --noinput
- local idx=$(grep 'INDEX_FILE =' "${EROOT}"/etc/local_settings.py 2>/dev/null)
- if [[ -n ${idx} ]] ; then
- idx=${idx##*=}
- idx=$(echo ${idx})
- eval "idx=${idx}"
- touch "${ROOT}"/"${idx}"/index
- fi
-}
-
-pkg_postinst() {
- einfo "You will need to ${PN} it with Apache (mod_wsgi) or nginx (uwsgi)."
- einfo "Don't forget to edit local_settings.py in ${EPREFIX}/etc/${PN}"
- einfo "See http://graphite.readthedocs.org/en/latest/config-local-settings.html"
- einfo "Run emerge --config =${PN}-${PVR} if this is a fresh install."
-}
diff --git a/net-analyzer/graphite-web/graphite-web-0.9.13-r3.ebuild b/net-analyzer/graphite-web/graphite-web-0.9.13-r3.ebuild
index 9e20d1f..e1f8001 100644
--- a/net-analyzer/graphite-web/graphite-web-0.9.13-r3.ebuild
+++ b/net-analyzer/graphite-web/graphite-web-0.9.13-r3.ebuild
@@ -33,6 +33,7 @@ RDEPEND="
)
>=dev-python/twisted-core-10.0[${PYTHON_USEDEP}]
>=dev-python/django-tagging-0.3.1[${PYTHON_USEDEP}]
+ <dev-python/django-1.9[${PYTHON_USEDEP}]
dev-python/pycairo[${PYTHON_USEDEP}]
dev-python/zope-interface[${PYTHON_USEDEP}]
dev-python/pytz[${PYTHON_USEDEP}]
@@ -91,7 +92,7 @@ python_install() {
pkg_config() {
"${ROOT}"/usr/bin/${PN}-manage syncdb --noinput
- local idx=$(grep 'INDEX_FILE =' "${EROOT}"/etc/local_settings.py 2>/dev/null)
+ local idx=$(grep 'INDEX_FILE =' "${EROOT}"/etc/graphite-web/local_settings.py 2>/dev/null)
if [[ -n ${idx} ]] ; then
idx=${idx##*=}
idx=$(echo ${idx})
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/graphite-web/
@ 2016-05-03 13:06 Patrick Lauer
0 siblings, 0 replies; 21+ messages in thread
From: Patrick Lauer @ 2016-05-03 13:06 UTC (permalink / raw
To: gentoo-commits
commit: 38ec1e691b783a31e43cb0df42fd89d0f4e0de55
Author: Patrick Lauer <patrick <AT> gentoo <DOT> org>
AuthorDate: Tue May 3 13:05:54 2016 +0000
Commit: Patrick Lauer <patrick <AT> gentoo <DOT> org>
CommitDate: Tue May 3 13:06:14 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=38ec1e69
net-analyzer/graphite-web: Fix wording in pkg_postinst
Package-Manager: portage-2.2.28
net-analyzer/graphite-web/graphite-web-0.9.13-r3.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-analyzer/graphite-web/graphite-web-0.9.13-r3.ebuild b/net-analyzer/graphite-web/graphite-web-0.9.13-r3.ebuild
index e1f8001..544dd8d 100644
--- a/net-analyzer/graphite-web/graphite-web-0.9.13-r3.ebuild
+++ b/net-analyzer/graphite-web/graphite-web-0.9.13-r3.ebuild
@@ -102,7 +102,7 @@ pkg_config() {
}
pkg_postinst() {
- einfo "You will need to ${PN} it with Apache (mod_wsgi) or nginx (uwsgi)."
+ einfo "You need to configure ${PN} to run with a WSGI server of your choice."
einfo "Don't forget to edit local_settings.py in ${EPREFIX}/etc/${PN}"
einfo "See http://graphite.readthedocs.org/en/latest/config-local-settings.html"
einfo "Run emerge --config =${PN}-${PVR} if this is a fresh install."
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/graphite-web/
@ 2017-11-26 23:11 David Seifert
0 siblings, 0 replies; 21+ messages in thread
From: David Seifert @ 2017-11-26 23:11 UTC (permalink / raw
To: gentoo-commits
commit: f943ab2af7b4aabfd94af00968e67ad0ca152282
Author: David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 26 12:38:13 2017 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sun Nov 26 23:09:56 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f943ab2a
net-analyzer/graphite-web: [QA] Consistent whitespace in metadata.xml
net-analyzer/graphite-web/metadata.xml | 20 ++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)
diff --git a/net-analyzer/graphite-web/metadata.xml b/net-analyzer/graphite-web/metadata.xml
index 51189851a34..851f07a3b53 100644
--- a/net-analyzer/graphite-web/metadata.xml
+++ b/net-analyzer/graphite-web/metadata.xml
@@ -1,15 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <maintainer type="person">
- <email>grobian@gentoo.org</email>
- <name>Fabian Groffen</name>
- </maintainer>
- <use>
- <flag name="memcached">Enable memcached support</flag>
+ <maintainer type="person">
+ <email>grobian@gentoo.org</email>
+ <name>Fabian Groffen</name>
+ </maintainer>
+ <use>
+ <flag name="memcached">Enable memcached support</flag>
<flag name="carbon">Enable carbon support</flag>
- </use>
- <upstream>
- <remote-id type="pypi">graphite-web</remote-id>
- </upstream>
+ </use>
+ <upstream>
+ <remote-id type="pypi">graphite-web</remote-id>
+ </upstream>
</pkgmetadata>
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/graphite-web/
@ 2018-06-12 11:01 Fabian Groffen
0 siblings, 0 replies; 21+ messages in thread
From: Fabian Groffen @ 2018-06-12 11:01 UTC (permalink / raw
To: gentoo-commits
commit: 112d6bb5c8696354f96dcd4d32d1f3d62e3c1dfe
Author: Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Tue Jun 12 11:01:31 2018 +0000
Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Tue Jun 12 11:01:31 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=112d6bb5
net-analyzer/graphite-web: remove false-positive unneeded empty line
Package-Manager: Portage-2.3.40, Repoman-2.3.9
net-analyzer/graphite-web/graphite-web-1.1.3.ebuild | 1 -
1 file changed, 1 deletion(-)
diff --git a/net-analyzer/graphite-web/graphite-web-1.1.3.ebuild b/net-analyzer/graphite-web/graphite-web-1.1.3.ebuild
index 7ca11c643e1..e8d0e6ccfcb 100644
--- a/net-analyzer/graphite-web/graphite-web-1.1.3.ebuild
+++ b/net-analyzer/graphite-web/graphite-web-1.1.3.ebuild
@@ -75,7 +75,6 @@ python_install() {
import os
import sys
-
if __name__ == "__main__":
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "graphite.settings")
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/graphite-web/
@ 2018-06-25 21:24 Louis Sautier
0 siblings, 0 replies; 21+ messages in thread
From: Louis Sautier @ 2018-06-25 21:24 UTC (permalink / raw
To: gentoo-commits
commit: 71a8fb5b33bd6d2b7075976ce5737889ddb28c97
Author: Louis Sautier <sautier.louis <AT> gmail <DOT> com>
AuthorDate: Sun Jun 10 20:44:14 2018 +0000
Commit: Louis Sautier <sbraz <AT> gentoo <DOT> org>
CommitDate: Mon Jun 25 21:24:34 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=71a8fb5b
net-analyzer/graphite-web: update HOMEPAGE, add GitHub to metadata.xml
Package-Manager: Portage-2.3.40, Repoman-2.3.9
net-analyzer/graphite-web/graphite-web-0.9.13-r3.ebuild | 4 ++--
net-analyzer/graphite-web/graphite-web-1.1.3.ebuild | 2 +-
net-analyzer/graphite-web/metadata.xml | 2 ++
3 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/net-analyzer/graphite-web/graphite-web-0.9.13-r3.ebuild b/net-analyzer/graphite-web/graphite-web-0.9.13-r3.ebuild
index 437a290d101..f0fed573df9 100644
--- a/net-analyzer/graphite-web/graphite-web-0.9.13-r3.ebuild
+++ b/net-analyzer/graphite-web/graphite-web-0.9.13-r3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -7,7 +7,7 @@ PYTHON_COMPAT=( python2_7 )
inherit distutils-r1 python-utils-r1 prefix
DESCRIPTION="Enterprise scalable realtime graphing"
-HOMEPAGE="http://graphite.readthedocs.org/"
+HOMEPAGE="https://graphiteapp.org/"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz
https://raw.githubusercontent.com/graphite-project/graphite-web/522d84fed687bd946878e48d85982d59f7bd1267/webapp/content/img/share.png -> ${P}-share.png"
diff --git a/net-analyzer/graphite-web/graphite-web-1.1.3.ebuild b/net-analyzer/graphite-web/graphite-web-1.1.3.ebuild
index e8d0e6ccfcb..a51361a091c 100644
--- a/net-analyzer/graphite-web/graphite-web-1.1.3.ebuild
+++ b/net-analyzer/graphite-web/graphite-web-1.1.3.ebuild
@@ -7,7 +7,7 @@ PYTHON_COMPAT=( python{2_7,3_{4,5,6}} )
inherit distutils-r1 python-utils-r1 prefix
DESCRIPTION="Enterprise scalable realtime graphing"
-HOMEPAGE="http://graphite.readthedocs.org/"
+HOMEPAGE="https://graphiteapp.org/"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="Apache-2.0"
diff --git a/net-analyzer/graphite-web/metadata.xml b/net-analyzer/graphite-web/metadata.xml
index 851f07a3b53..d4f9fa58262 100644
--- a/net-analyzer/graphite-web/metadata.xml
+++ b/net-analyzer/graphite-web/metadata.xml
@@ -11,5 +11,7 @@
</use>
<upstream>
<remote-id type="pypi">graphite-web</remote-id>
+ <remote-id type="github">graphite-project/graphite-web</remote-id>
+ <bugs-to>https://github.com/graphite-project/graphite-web/issues</bugs-to>
</upstream>
</pkgmetadata>
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/graphite-web/
@ 2018-08-16 10:13 Fabian Groffen
0 siblings, 0 replies; 21+ messages in thread
From: Fabian Groffen @ 2018-08-16 10:13 UTC (permalink / raw
To: gentoo-commits
commit: f9f3a84fbb4222f389779e9f434a5c2a2712eb0c
Author: Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 16 10:13:17 2018 +0000
Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Thu Aug 16 10:13:17 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f9f3a84f
net-analyzer/graphite-web: add stronger hint about wsgi install
Closes: https://bugs.gentoo.org/618030
Package-Manager: Portage-2.3.40, Repoman-2.3.9
net-analyzer/graphite-web/graphite-web-1.1.3-r1.ebuild | 2 ++
1 file changed, 2 insertions(+)
diff --git a/net-analyzer/graphite-web/graphite-web-1.1.3-r1.ebuild b/net-analyzer/graphite-web/graphite-web-1.1.3-r1.ebuild
index 1f67a202f1f..28df7679980 100644
--- a/net-analyzer/graphite-web/graphite-web-1.1.3-r1.ebuild
+++ b/net-analyzer/graphite-web/graphite-web-1.1.3-r1.ebuild
@@ -88,6 +88,8 @@ pkg_postinst() {
# Only display this for new installs
if [[ -z ${REPLACING_VERSIONS} ]]; then
elog "You need to configure ${PN} to run with a WSGI server of your choice."
+ elog "For example using Apache, you can use www-apache/mod_wsgi,"
+ elog " using Nginx, you can use www-servers/uwsgi."
elog "Don't forget to edit local_settings.py in ${EPREFIX}/etc/${PN}"
elog "See https://graphite.readthedocs.org/en/latest/config-local-settings.html"
elog "Run emerge --config =${PN}-${PVR} if this is a fresh install."
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/graphite-web/
@ 2019-12-29 9:56 David Seifert
0 siblings, 0 replies; 21+ messages in thread
From: David Seifert @ 2019-12-29 9:56 UTC (permalink / raw
To: gentoo-commits
commit: e5454365db759e28c3d6fe10f6f6bd04ff285544
Author: David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 29 09:55:23 2019 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sun Dec 29 09:55:23 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e5454365
net-analyzer/graphite-web: [QA] Remove explicit python-utils-r1 inherit
Package-Manager: Portage-2.3.83, Repoman-2.3.20
Signed-off-by: David Seifert <soap <AT> gentoo.org>
net-analyzer/graphite-web/graphite-web-1.1.3-r1.ebuild | 2 +-
net-analyzer/graphite-web/graphite-web-1.1.5.ebuild | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/net-analyzer/graphite-web/graphite-web-1.1.3-r1.ebuild b/net-analyzer/graphite-web/graphite-web-1.1.3-r1.ebuild
index f28381633f8..31b50ea3cd5 100644
--- a/net-analyzer/graphite-web/graphite-web-1.1.3-r1.ebuild
+++ b/net-analyzer/graphite-web/graphite-web-1.1.3-r1.ebuild
@@ -4,7 +4,7 @@
EAPI=7
PYTHON_COMPAT=( python{2_7,3_{5,6}} )
-inherit distutils-r1 python-utils-r1 prefix
+inherit distutils-r1 prefix
DESCRIPTION="Enterprise scalable realtime graphing"
HOMEPAGE="https://graphiteapp.org/"
diff --git a/net-analyzer/graphite-web/graphite-web-1.1.5.ebuild b/net-analyzer/graphite-web/graphite-web-1.1.5.ebuild
index f52246ead38..cf9bb71329e 100644
--- a/net-analyzer/graphite-web/graphite-web-1.1.5.ebuild
+++ b/net-analyzer/graphite-web/graphite-web-1.1.5.ebuild
@@ -4,7 +4,7 @@
EAPI=7
PYTHON_COMPAT=( python{2_7,3_{5,6}} ) # 3.7 dropped due to dep-hell
-inherit distutils-r1 python-utils-r1 prefix
+inherit distutils-r1 prefix
DESCRIPTION="Enterprise scalable realtime graphing"
HOMEPAGE="https://graphiteapp.org/"
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/graphite-web/
@ 2020-01-25 20:54 Michał Górny
0 siblings, 0 replies; 21+ messages in thread
From: Michał Górny @ 2020-01-25 20:54 UTC (permalink / raw
To: gentoo-commits
commit: 8413ab1a3c7654792014d63ce90d7b4d79aff773
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 25 20:40:09 2020 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Jan 25 20:54:08 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8413ab1a
net-analyzer/graphite-web: Remove Python 2
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
net-analyzer/graphite-web/graphite-web-1.1.3-r1.ebuild | 2 +-
net-analyzer/graphite-web/graphite-web-1.1.5.ebuild | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/net-analyzer/graphite-web/graphite-web-1.1.3-r1.ebuild b/net-analyzer/graphite-web/graphite-web-1.1.3-r1.ebuild
index 15d71752cb7..cd145d29ab6 100644
--- a/net-analyzer/graphite-web/graphite-web-1.1.3-r1.ebuild
+++ b/net-analyzer/graphite-web/graphite-web-1.1.3-r1.ebuild
@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-PYTHON_COMPAT=( python{2_7,3_6} )
+PYTHON_COMPAT=( python3_6 )
inherit distutils-r1 prefix
diff --git a/net-analyzer/graphite-web/graphite-web-1.1.5.ebuild b/net-analyzer/graphite-web/graphite-web-1.1.5.ebuild
index 4b7b3208892..25a6afa9f35 100644
--- a/net-analyzer/graphite-web/graphite-web-1.1.5.ebuild
+++ b/net-analyzer/graphite-web/graphite-web-1.1.5.ebuild
@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-PYTHON_COMPAT=( python{2_7,3_6} ) # 3.7 dropped due to dep-hell
+PYTHON_COMPAT=( python3_6 ) # 3.7 dropped due to dep-hell
inherit distutils-r1 prefix
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/graphite-web/
@ 2020-02-12 10:51 Fabian Groffen
0 siblings, 0 replies; 21+ messages in thread
From: Fabian Groffen @ 2020-02-12 10:51 UTC (permalink / raw
To: gentoo-commits
commit: b0b22a8a24d0b65709feca02971a0fa73d198f80
Author: Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Wed Feb 12 10:50:53 2020 +0000
Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Wed Feb 12 10:50:53 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b0b22a8a
net-analyzer/graphite-web-1.1.3-r1: drop old (old django dep)
Closes: https://bugs.gentoo.org/709320
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>
net-analyzer/graphite-web/Manifest | 1 -
.../graphite-web/graphite-web-1.1.3-r1.ebuild | 100 ---------------------
2 files changed, 101 deletions(-)
diff --git a/net-analyzer/graphite-web/Manifest b/net-analyzer/graphite-web/Manifest
index 4f5f75d3c2b..b2a84682aab 100644
--- a/net-analyzer/graphite-web/Manifest
+++ b/net-analyzer/graphite-web/Manifest
@@ -1,2 +1 @@
-DIST graphite-web-1.1.3.tar.gz 1171342 BLAKE2B f18c84d707f93d897553ec05d7b910a3dba97c6068498d1b216f178ea8a1f64baf59bb572b433a56f5e417a2873c018a38a19c3b8c765f667d7c3fbb38b9ed0a SHA512 3f9de216bd55e4e8de7391087e9b876a16e4f137fd60932a6d5855804c3d9868422645177776258e74486b97ec7a853b63a6d89b1de9b325bcb50ad694208436
DIST graphite-web-1.1.5.tar.gz 1173809 BLAKE2B 94a1b4deab3159d3bde2d3c8b6f9664f39942cb1b815ce042b196be3c0e769ee1acac4b619135e9471360849308b90e02e1df4f7d6b7d0ef31e46d38ee2425e5 SHA512 b2097609ca77a40e6e7d83a3141335e2208d69e7f4edbac8ce3505ed9dd654589836a3b3498bfb7f7585332bceeb8e367f0c10f3cf6afdb5ad6b96377338a7bb
diff --git a/net-analyzer/graphite-web/graphite-web-1.1.3-r1.ebuild b/net-analyzer/graphite-web/graphite-web-1.1.3-r1.ebuild
deleted file mode 100644
index cd145d29ab6..00000000000
--- a/net-analyzer/graphite-web/graphite-web-1.1.3-r1.ebuild
+++ /dev/null
@@ -1,100 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-PYTHON_COMPAT=( python3_6 )
-
-inherit distutils-r1 prefix
-
-DESCRIPTION="Enterprise scalable realtime graphing"
-HOMEPAGE="https://graphiteapp.org/"
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="+carbon ldap mysql memcached postgres +sqlite"
-
-DEPEND=""
-RDEPEND="
- carbon? ( dev-python/carbon[${PYTHON_USEDEP}] )
- ldap? ( dev-python/python-ldap[${PYTHON_USEDEP}] )
- memcached? ( dev-python/python-memcached[${PYTHON_USEDEP}] )
- mysql? (
- || (
- dev-python/mysql-python[${PYTHON_USEDEP}]
- dev-python/mysqlclient[${PYTHON_USEDEP}]
- )
- )
- postgres? ( dev-python/psycopg:2[${PYTHON_USEDEP}] )
- >=dev-python/django-1.8[sqlite?,${PYTHON_USEDEP}]
- <dev-python/django-1.11.99[sqlite?,${PYTHON_USEDEP}]
- >=dev-python/django-tagging-0.4.3[${PYTHON_USEDEP}]
- dev-python/cairocffi[${PYTHON_USEDEP}]
- dev-python/pyparsing[${PYTHON_USEDEP}]
- dev-python/pytz[${PYTHON_USEDEP}]
- dev-python/scandir[${PYTHON_USEDEP}]
- dev-python/six[${PYTHON_USEDEP}]
- dev-python/urllib3[${PYTHON_USEDEP}]
- media-libs/fontconfig
-"
-
-PATCHES=(
- # Do not install the configuration and data files. We install them
- # somewhere sensible by hand.
- "${FILESDIR}"/${PN}-1.1.3-fhs-paths.patch
-)
-
-python_prepare_all() {
- # Use a less common name
- mv bin/build-index bin/${PN}-build-index || die
- # use FHS-style paths
- export GRAPHITE_NO_PREFIX=yes
- distutils-r1_python_prepare_all
- eprefixify \
- conf/graphite.wsgi.example \
- webapp/graphite/local_settings.py.example
-}
-
-python_install_all() {
- distutils-r1_python_install_all
- keepdir /var/{lib,log}/${PN}
- docinto examples
- docompress -x "/usr/share/doc/${PF}/examples"
- dodoc \
- examples/example-graphite-vhost.conf \
- conf/dashboard.conf.example \
- conf/graphite.wsgi.example
-}
-
-python_install() {
- distutils-r1_python_install \
- --install-data="${EPREFIX}"/usr/share/${PN}
-
- insinto /etc/${PN}
- newins webapp/graphite/local_settings.py.example local_settings.py
- pushd "${D}/$(python_get_sitedir)"/graphite > /dev/null || die
- ln -s ../../../../../etc/${PN}/local_settings.py local_settings.py || die
- popd > /dev/null || die
-}
-
-pkg_config() {
- "${EROOT}"/usr/bin/django-admin.py migrate \
- --settings=graphite.settings --run-syncdb
- "${EROOT}"/usr/bin/${PN}-build-index
-}
-
-pkg_postinst() {
- # Only display this for new installs
- if [[ -z ${REPLACING_VERSIONS} ]]; then
- elog "You need to configure ${PN} to run with a WSGI server of your choice."
- elog "For example using Apache, you can use www-apache/mod_wsgi,"
- elog " using Nginx, you can use www-servers/uwsgi."
- elog "Don't forget to edit local_settings.py in ${EPREFIX}/etc/${PN}"
- elog "See https://graphite.readthedocs.org/en/latest/config-local-settings.html"
- elog "Run emerge --config =${PN}-${PVR} if this is a fresh install."
- elog ""
- elog "If you want to update the search index regularily, you should consider running"
- elog "the '${PN}-build-index' script in a crontab."
- fi
-}
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/graphite-web/
@ 2020-03-06 7:36 Fabian Groffen
0 siblings, 0 replies; 21+ messages in thread
From: Fabian Groffen @ 2020-03-06 7:36 UTC (permalink / raw
To: gentoo-commits
commit: 6b116a0dc9c0f424756c05d1f4b583c233981f3a
Author: Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 6 07:36:01 2020 +0000
Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Fri Mar 6 07:36:01 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b116a0d
net-analyzer/graphite-web: update django deps now we're py3 only
Closes: https://bugs.gentoo.org/711626
Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>
.../{graphite-web-1.1.5.ebuild => graphite-web-1.1.5-r1.ebuild} | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/net-analyzer/graphite-web/graphite-web-1.1.5.ebuild b/net-analyzer/graphite-web/graphite-web-1.1.5-r1.ebuild
similarity index 96%
rename from net-analyzer/graphite-web/graphite-web-1.1.5.ebuild
rename to net-analyzer/graphite-web/graphite-web-1.1.5-r1.ebuild
index 25a6afa9f35..f0dbbc3d667 100644
--- a/net-analyzer/graphite-web/graphite-web-1.1.5.ebuild
+++ b/net-analyzer/graphite-web/graphite-web-1.1.5-r1.ebuild
@@ -27,8 +27,7 @@ RDEPEND="
)
)
postgres? ( dev-python/psycopg:2[${PYTHON_USEDEP}] )
- >=dev-python/django-1.8[sqlite?,${PYTHON_USEDEP}]
- <dev-python/django-2.1.99[sqlite?,${PYTHON_USEDEP}]
+ >=dev-python/django-1.11.19[sqlite?,${PYTHON_USEDEP}]
>=dev-python/django-tagging-0.4.6[${PYTHON_USEDEP}]
dev-python/cairocffi[${PYTHON_USEDEP}]
dev-python/pyparsing[${PYTHON_USEDEP}]
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/graphite-web/
@ 2020-04-25 18:03 Fabian Groffen
0 siblings, 0 replies; 21+ messages in thread
From: Fabian Groffen @ 2020-04-25 18:03 UTC (permalink / raw
To: gentoo-commits
commit: 73507ec0d077ce6841f33d1661e255b85bd20000
Author: Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 25 18:03:08 2020 +0000
Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Sat Apr 25 18:03:08 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=73507ec0
net-analyzer/graphite-web: drop obsolete dep for dev-python/mysql-python
Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>
net-analyzer/graphite-web/graphite-web-1.1.5-r1.ebuild | 9 ++-------
1 file changed, 2 insertions(+), 7 deletions(-)
diff --git a/net-analyzer/graphite-web/graphite-web-1.1.5-r1.ebuild b/net-analyzer/graphite-web/graphite-web-1.1.5-r1.ebuild
index f0dbbc3d667..3d688856dc8 100644
--- a/net-analyzer/graphite-web/graphite-web-1.1.5-r1.ebuild
+++ b/net-analyzer/graphite-web/graphite-web-1.1.5-r1.ebuild
@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-PYTHON_COMPAT=( python3_6 ) # 3.7 dropped due to dep-hell
+PYTHON_COMPAT=( python3_6 ) # 3.{7,8} dropped due to dep-hell
inherit distutils-r1 prefix
@@ -20,12 +20,7 @@ RDEPEND="
carbon? ( dev-python/carbon[${PYTHON_USEDEP}] )
ldap? ( dev-python/python-ldap[${PYTHON_USEDEP}] )
memcached? ( dev-python/python-memcached[${PYTHON_USEDEP}] )
- mysql? (
- || (
- dev-python/mysql-python[${PYTHON_USEDEP}]
- dev-python/mysqlclient[${PYTHON_USEDEP}]
- )
- )
+ mysql? ( dev-python/mysqlclient[${PYTHON_USEDEP}] )
postgres? ( dev-python/psycopg:2[${PYTHON_USEDEP}] )
>=dev-python/django-1.11.19[sqlite?,${PYTHON_USEDEP}]
>=dev-python/django-tagging-0.4.6[${PYTHON_USEDEP}]
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/graphite-web/
@ 2020-05-09 10:27 Fabian Groffen
0 siblings, 0 replies; 21+ messages in thread
From: Fabian Groffen @ 2020-05-09 10:27 UTC (permalink / raw
To: gentoo-commits
commit: 8572bec1b953cb0fbdf348097b62b140208500cc
Author: Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Sat May 9 10:27:19 2020 +0000
Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Sat May 9 10:27:26 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8572bec1
net-analyzer/graphite-web-1.1.5-r1: add support for Python-3.7
Drop dep on scandir, as the built-in version from Python-3.5+ is tried
first, so we don't need the dep (which additionally doesn't support
Python-3.8 yet).
Can't add support for Python-3.8 due to python-memcached.
Bug: https://bugs.gentoo.org/718418
Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>
net-analyzer/graphite-web/graphite-web-1.1.5-r1.ebuild | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/net-analyzer/graphite-web/graphite-web-1.1.5-r1.ebuild b/net-analyzer/graphite-web/graphite-web-1.1.5-r1.ebuild
index 3d688856dc8..35eb0f1c76f 100644
--- a/net-analyzer/graphite-web/graphite-web-1.1.5-r1.ebuild
+++ b/net-analyzer/graphite-web/graphite-web-1.1.5-r1.ebuild
@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-PYTHON_COMPAT=( python3_6 ) # 3.{7,8} dropped due to dep-hell
+PYTHON_COMPAT=( python3_{6,7} ) # 3.8 dropped due to dep on python-memcached
inherit distutils-r1 prefix
@@ -27,7 +27,6 @@ RDEPEND="
dev-python/cairocffi[${PYTHON_USEDEP}]
dev-python/pyparsing[${PYTHON_USEDEP}]
dev-python/pytz[${PYTHON_USEDEP}]
- dev-python/scandir[${PYTHON_USEDEP}]
dev-python/six[${PYTHON_USEDEP}]
dev-python/urllib3[${PYTHON_USEDEP}]
media-libs/fontconfig
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/graphite-web/
@ 2020-11-01 8:40 Fabian Groffen
0 siblings, 0 replies; 21+ messages in thread
From: Fabian Groffen @ 2020-11-01 8:40 UTC (permalink / raw
To: gentoo-commits
commit: eb3e00242c8bf57a2cd677bae5dcbf9444406ded
Author: Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 1 08:40:30 2020 +0000
Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Sun Nov 1 08:40:38 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb3e0024
net-analyzer/graphite-web: allow python3.8 now python-memcached got support
Closes: https://bugs.gentoo.org/718418
Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>
net-analyzer/graphite-web/graphite-web-1.1.5-r1.ebuild | 2 +-
net-analyzer/graphite-web/graphite-web-1.1.7.ebuild | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/net-analyzer/graphite-web/graphite-web-1.1.5-r1.ebuild b/net-analyzer/graphite-web/graphite-web-1.1.5-r1.ebuild
index 35eb0f1c76f..4eb15c40b8c 100644
--- a/net-analyzer/graphite-web/graphite-web-1.1.5-r1.ebuild
+++ b/net-analyzer/graphite-web/graphite-web-1.1.5-r1.ebuild
@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-PYTHON_COMPAT=( python3_{6,7} ) # 3.8 dropped due to dep on python-memcached
+PYTHON_COMPAT=( python3_{6,7,8} )
inherit distutils-r1 prefix
diff --git a/net-analyzer/graphite-web/graphite-web-1.1.7.ebuild b/net-analyzer/graphite-web/graphite-web-1.1.7.ebuild
index 74a4e43dac9..2cdf6cbba79 100644
--- a/net-analyzer/graphite-web/graphite-web-1.1.7.ebuild
+++ b/net-analyzer/graphite-web/graphite-web-1.1.7.ebuild
@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-PYTHON_COMPAT=( python3_{6,7} ) # 3.8 dropped due to dep on python-memcached
+PYTHON_COMPAT=( python3_{6,7,8} )
# 1.1.7 supports up to 3.9, so it's a matter of deps
inherit distutils-r1 prefix
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/graphite-web/
@ 2020-11-02 9:51 Fabian Groffen
0 siblings, 0 replies; 21+ messages in thread
From: Fabian Groffen @ 2020-11-02 9:51 UTC (permalink / raw
To: gentoo-commits
commit: a621519a8314153d9237e7f8809f3ae19b501c77
Author: Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 2 09:27:30 2020 +0000
Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Mon Nov 2 09:50:56 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a621519a
net-analyzer/graphite-web-1.1.7: set DISTUTILS_USE_SETUPTOOLS
Closes: https://bugs.gentoo.org/751685
Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>
net-analyzer/graphite-web/graphite-web-1.1.7.ebuild | 1 +
1 file changed, 1 insertion(+)
diff --git a/net-analyzer/graphite-web/graphite-web-1.1.7.ebuild b/net-analyzer/graphite-web/graphite-web-1.1.7.ebuild
index 2cdf6cbba79..96b7920163d 100644
--- a/net-analyzer/graphite-web/graphite-web-1.1.7.ebuild
+++ b/net-analyzer/graphite-web/graphite-web-1.1.7.ebuild
@@ -4,6 +4,7 @@
EAPI=7
PYTHON_COMPAT=( python3_{6,7,8} )
# 1.1.7 supports up to 3.9, so it's a matter of deps
+DISTUTILS_USE_SETUPTOOLS=no # export USE_SETUPTOOLS to activate
inherit distutils-r1 prefix
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/graphite-web/
@ 2021-06-05 19:20 Fabian Groffen
0 siblings, 0 replies; 21+ messages in thread
From: Fabian Groffen @ 2021-06-05 19:20 UTC (permalink / raw
To: gentoo-commits
commit: b19dd5c5aed07dd84c3515ccb56471b449fa9849
Author: Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 5 19:19:27 2021 +0000
Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Sat Jun 5 19:19:27 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b19dd5c5
net-analyzer/graphite-web-1.1.7: enable python3.9 now deps are sorted
Package-Manager: Portage-3.0.18, Repoman-3.0.2
Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>
net-analyzer/graphite-web/graphite-web-1.1.7.ebuild | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/net-analyzer/graphite-web/graphite-web-1.1.7.ebuild b/net-analyzer/graphite-web/graphite-web-1.1.7.ebuild
index 8e52c1895dc..53bd930f12a 100644
--- a/net-analyzer/graphite-web/graphite-web-1.1.7.ebuild
+++ b/net-analyzer/graphite-web/graphite-web-1.1.7.ebuild
@@ -1,9 +1,8 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-PYTHON_COMPAT=( python3_{7,8} )
- # 1.1.7 supports up to 3.9, so it's a matter of deps
+PYTHON_COMPAT=( python3_{7..9} )
DISTUTILS_USE_SETUPTOOLS=no # export USE_SETUPTOOLS to activate
inherit distutils-r1 prefix
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/graphite-web/
@ 2022-01-06 16:23 Fabian Groffen
0 siblings, 0 replies; 21+ messages in thread
From: Fabian Groffen @ 2022-01-06 16:23 UTC (permalink / raw
To: gentoo-commits
commit: 384bdf68aa06b676e324c6b9c84a1d4e6bdaecc3
Author: Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 6 16:22:47 2022 +0000
Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Thu Jan 6 16:23:00 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=384bdf68
net-analyzer/graphite-web-1.1.8-r1: revbump to drop pyparsing restriction
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>
.../{graphite-web-1.1.8.ebuild => graphite-web-1.1.8-r1.ebuild} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-analyzer/graphite-web/graphite-web-1.1.8.ebuild b/net-analyzer/graphite-web/graphite-web-1.1.8-r1.ebuild
similarity index 98%
rename from net-analyzer/graphite-web/graphite-web-1.1.8.ebuild
rename to net-analyzer/graphite-web/graphite-web-1.1.8-r1.ebuild
index d3392bd0c712..2fa1a1ef5fed 100644
--- a/net-analyzer/graphite-web/graphite-web-1.1.8.ebuild
+++ b/net-analyzer/graphite-web/graphite-web-1.1.8-r1.ebuild
@@ -26,7 +26,7 @@ RDEPEND="
>=dev-python/django-1.11.19[sqlite?,${PYTHON_USEDEP}]
>=dev-python/django-tagging-0.4.6[${PYTHON_USEDEP}]
dev-python/cairocffi[${PYTHON_USEDEP}]
- <dev-python/pyparsing-3[${PYTHON_USEDEP}]
+ dev-python/pyparsing[${PYTHON_USEDEP}]
dev-python/pytz[${PYTHON_USEDEP}]
dev-python/six[${PYTHON_USEDEP}]
dev-python/urllib3[${PYTHON_USEDEP}]
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/graphite-web/
@ 2022-01-07 9:04 Fabian Groffen
0 siblings, 0 replies; 21+ messages in thread
From: Fabian Groffen @ 2022-01-07 9:04 UTC (permalink / raw
To: gentoo-commits
commit: ffa0b5efc22797f863a1c511c4904aecbfe046df
Author: Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 7 09:04:23 2022 +0000
Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Fri Jan 7 09:04:39 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ffa0b5ef
net-analyzer/graphite-web-1.1.8-r2: fix python pre-compiled files
Closes: https://bugs.gentoo.org/808863
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>
.../{graphite-web-1.1.8-r1.ebuild => graphite-web-1.1.8-r2.ebuild} | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/net-analyzer/graphite-web/graphite-web-1.1.8-r1.ebuild b/net-analyzer/graphite-web/graphite-web-1.1.8-r2.ebuild
similarity index 93%
rename from net-analyzer/graphite-web/graphite-web-1.1.8-r1.ebuild
rename to net-analyzer/graphite-web/graphite-web-1.1.8-r2.ebuild
index 2fa1a1ef5fed..933b28b75a8c 100644
--- a/net-analyzer/graphite-web/graphite-web-1.1.8-r1.ebuild
+++ b/net-analyzer/graphite-web/graphite-web-1.1.8-r2.ebuild
@@ -67,8 +67,11 @@ python_install() {
distutils-r1_python_install \
--install-data="${EPREFIX}"/usr/share/${PN}
- insinto /etc/${PN}
- newins webapp/graphite/local_settings.py.example local_settings.py
+ # copy the file once, to keep the timestamps correct, #808863
+ if [[ ! -e ${ED}/etc/${PN}/local_settings.py ]] ; then
+ insinto /etc/${PN}
+ newins webapp/graphite/local_settings.py.example local_settings.py
+ fi
pushd "${D}/$(python_get_sitedir)"/graphite > /dev/null || die
ln -s ../../../../../etc/${PN}/local_settings.py local_settings.py || die
popd > /dev/null || die
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/graphite-web/
@ 2022-02-04 9:26 Fabian Groffen
0 siblings, 0 replies; 21+ messages in thread
From: Fabian Groffen @ 2022-02-04 9:26 UTC (permalink / raw
To: gentoo-commits
commit: 3fff85c120c9f41653401f2a2fc3c2f601c005f0
Author: Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 4 09:25:53 2022 +0000
Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Fri Feb 4 09:26:08 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3fff85c1
net-analyzer/graphite-web-1.1.8-r3: revbump to correct django dep
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>
.../{graphite-web-1.1.8-r2.ebuild => graphite-web-1.1.8-r3.ebuild} | 1 +
1 file changed, 1 insertion(+)
diff --git a/net-analyzer/graphite-web/graphite-web-1.1.8-r2.ebuild b/net-analyzer/graphite-web/graphite-web-1.1.8-r3.ebuild
similarity index 98%
rename from net-analyzer/graphite-web/graphite-web-1.1.8-r2.ebuild
rename to net-analyzer/graphite-web/graphite-web-1.1.8-r3.ebuild
index 933b28b75a8c..ba068f3f4c1a 100644
--- a/net-analyzer/graphite-web/graphite-web-1.1.8-r2.ebuild
+++ b/net-analyzer/graphite-web/graphite-web-1.1.8-r3.ebuild
@@ -24,6 +24,7 @@ RDEPEND="
mysql? ( dev-python/mysqlclient[${PYTHON_USEDEP}] )
postgres? ( dev-python/psycopg:2[${PYTHON_USEDEP}] )
>=dev-python/django-1.11.19[sqlite?,${PYTHON_USEDEP}]
+ <dev-python/django-4[sqlite?,${PYTHON_USEDEP}]
>=dev-python/django-tagging-0.4.6[${PYTHON_USEDEP}]
dev-python/cairocffi[${PYTHON_USEDEP}]
dev-python/pyparsing[${PYTHON_USEDEP}]
^ permalink raw reply related [flat|nested] 21+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/graphite-web/
@ 2022-07-02 16:39 Fabian Groffen
0 siblings, 0 replies; 21+ messages in thread
From: Fabian Groffen @ 2022-07-02 16:39 UTC (permalink / raw
To: gentoo-commits
commit: c3d2fb45629514c2caec1c061ca12b7a8d2ae67e
Author: Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Sat Jul 2 16:38:07 2022 +0000
Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Sat Jul 2 16:38:59 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c3d2fb45
net-analyzer/graphite-web-1.1.10: version bump, support for Python 3.10
Closes: https://bugs.gentoo.org/846107
Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>
net-analyzer/graphite-web/Manifest | 1 +
.../graphite-web/graphite-web-1.1.10.ebuild | 100 +++++++++++++++++++++
2 files changed, 101 insertions(+)
diff --git a/net-analyzer/graphite-web/Manifest b/net-analyzer/graphite-web/Manifest
index d34c717db751..28489bc090a5 100644
--- a/net-analyzer/graphite-web/Manifest
+++ b/net-analyzer/graphite-web/Manifest
@@ -1 +1,2 @@
+DIST graphite-web-1.1.10.tar.gz 1192965 BLAKE2B cd60e38a70c124c2be53c12394e994f4772a3fcdbae5fa8f26097e79de3de326ec90d5ee23b4e2e8c696e50d7d7ba897b6bb441a1fc7692d1b6e581c11a3da04 SHA512 fb0a2ed5cfa4a8c12bbb7f64f0c7846b439d8094a0b415e5750fe175bbcc2c047fccad50fdeda7696aee0ed9532eb75948f3a376ee34e188cacf226c02bbb3f9
DIST graphite-web-1.1.8.tar.gz 1177214 BLAKE2B 20e058feff0fa7f12393cfd41acca7cf05ff6a3995aa5f6547764fae3b8824e8b424efb8d5d47227eb2b5591ae6b45ab960da30f810acb4f1fbd0b9ae78ec47b SHA512 4637a541e61f56c1ac69bf18e7eab88ecf93f59099dc3e8022d8bf8fb1b204672bc0a1b5302e5031701714db17aabb316ba40f4cfabb2bf4fb0dedb8f412e4a9
diff --git a/net-analyzer/graphite-web/graphite-web-1.1.10.ebuild b/net-analyzer/graphite-web/graphite-web-1.1.10.ebuild
new file mode 100644
index 000000000000..ca42298c3bf5
--- /dev/null
+++ b/net-analyzer/graphite-web/graphite-web-1.1.10.ebuild
@@ -0,0 +1,100 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+PYTHON_COMPAT=( python3_{7..10} )
+DISTUTILS_USE_SETUPTOOLS=no # export USE_SETUPTOOLS to activate
+
+inherit distutils-r1 prefix
+
+DESCRIPTION="Enterprise scalable realtime graphing"
+HOMEPAGE="https://graphiteapp.org/"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="+carbon ldap mysql memcached postgres +sqlite"
+
+DEPEND=""
+RDEPEND="
+ carbon? ( dev-python/carbon[${PYTHON_USEDEP}] )
+ ldap? ( dev-python/python-ldap[${PYTHON_USEDEP}] )
+ memcached? ( dev-python/python-memcached[${PYTHON_USEDEP}] )
+ mysql? ( dev-python/mysqlclient[${PYTHON_USEDEP}] )
+ postgres? ( dev-python/psycopg:2[${PYTHON_USEDEP}] )
+ >=dev-python/django-1.11.19[sqlite?,${PYTHON_USEDEP}]
+ <dev-python/django-4[sqlite?,${PYTHON_USEDEP}]
+ >=dev-python/django-tagging-0.4.6[${PYTHON_USEDEP}]
+ dev-python/cairocffi[${PYTHON_USEDEP}]
+ dev-python/pyparsing[${PYTHON_USEDEP}]
+ dev-python/pytz[${PYTHON_USEDEP}]
+ dev-python/six[${PYTHON_USEDEP}]
+ dev-python/urllib3[${PYTHON_USEDEP}]
+ media-libs/fontconfig
+"
+
+PATCHES=(
+ # Do not install the configuration and data files. We install them
+ # somewhere sensible by hand.
+ "${FILESDIR}"/${PN}-1.1.7-fhs-paths.patch
+)
+
+python_prepare_all() {
+ # Use a less common name
+ mv bin/build-index bin/${PN}-build-index || die
+ # use FHS-style paths
+ export GRAPHITE_NO_PREFIX=yes
+ distutils-r1_python_prepare_all
+ eprefixify \
+ conf/graphite.wsgi.example \
+ webapp/graphite/local_settings.py.example
+}
+
+python_install_all() {
+ distutils-r1_python_install_all
+ keepdir /var/{lib,log}/${PN}
+ docinto examples
+ docompress -x "/usr/share/doc/${PF}/examples"
+ dodoc \
+ examples/example-graphite-vhost.conf \
+ conf/dashboard.conf.example \
+ conf/graphite.wsgi.example
+}
+
+python_install() {
+ distutils-r1_python_install \
+ --install-data="${EPREFIX}"/usr/share/${PN}
+
+ # copy the file once, to keep the timestamps correct, #808863
+ if [[ ! -e ${ED}/etc/${PN}/local_settings.py ]] ; then
+ insinto /etc/${PN}
+ newins webapp/graphite/local_settings.py.example local_settings.py
+ fi
+ pushd "${D}/$(python_get_sitedir)"/graphite > /dev/null || die
+ ln -s ../../../../../etc/${PN}/local_settings.py local_settings.py || die
+ popd > /dev/null || die
+
+ python_optimize
+}
+
+pkg_config() {
+ "${EROOT}"/usr/bin/django-admin.py migrate \
+ --settings=graphite.settings --run-syncdb
+ "${EROOT}"/usr/bin/${PN}-build-index
+}
+
+pkg_postinst() {
+ # Only display this for new installs
+ if [[ -z ${REPLACING_VERSIONS} ]]; then
+ elog "You need to configure ${PN} to run with a WSGI server of your choice."
+ elog "For example using Apache, you can use www-apache/mod_wsgi,"
+ elog " using Nginx, you can use www-servers/uwsgi."
+ elog "Don't forget to edit local_settings.py in ${EPREFIX}/etc/${PN}"
+ elog "See https://graphite.readthedocs.org/en/latest/config-local-settings.html"
+ elog "Run emerge --config =${PN}-${PVR} if this is a fresh install."
+ elog ""
+ elog "If you want to update the search index regularily, you should consider running"
+ elog "the '${PN}-build-index' script in a crontab."
+ fi
+}
^ permalink raw reply related [flat|nested] 21+ messages in thread
end of thread, other threads:[~2022-07-02 17:58 UTC | newest]
Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-27 15:17 [gentoo-commits] repo/gentoo:master commit in: net-analyzer/graphite-web/ Fabian Groffen
-- strict thread matches above, loose matches on Subject: below --
2022-07-02 16:39 Fabian Groffen
2022-02-04 9:26 Fabian Groffen
2022-01-07 9:04 Fabian Groffen
2022-01-06 16:23 Fabian Groffen
2021-06-05 19:20 Fabian Groffen
2020-11-02 9:51 Fabian Groffen
2020-11-01 8:40 Fabian Groffen
2020-05-09 10:27 Fabian Groffen
2020-04-25 18:03 Fabian Groffen
2020-03-06 7:36 Fabian Groffen
2020-02-12 10:51 Fabian Groffen
2020-01-25 20:54 Michał Górny
2019-12-29 9:56 David Seifert
2018-08-16 10:13 Fabian Groffen
2018-06-25 21:24 Louis Sautier
2018-06-12 11:01 Fabian Groffen
2017-11-26 23:11 David Seifert
2016-05-03 13:06 Patrick Lauer
2016-04-11 3:12 Matt Thode
2016-01-31 16:27 Fabian Groffen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox