1 |
commit: b0b22a8a24d0b65709feca02971a0fa73d198f80 |
2 |
Author: Fabian Groffen <grobian <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Feb 12 10:50:53 2020 +0000 |
4 |
Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Feb 12 10:50:53 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b0b22a8a |
7 |
|
8 |
net-analyzer/graphite-web-1.1.3-r1: drop old (old django dep) |
9 |
|
10 |
Closes: https://bugs.gentoo.org/709320 |
11 |
Package-Manager: Portage-2.3.84, Repoman-2.3.20 |
12 |
Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org> |
13 |
|
14 |
net-analyzer/graphite-web/Manifest | 1 - |
15 |
.../graphite-web/graphite-web-1.1.3-r1.ebuild | 100 --------------------- |
16 |
2 files changed, 101 deletions(-) |
17 |
|
18 |
diff --git a/net-analyzer/graphite-web/Manifest b/net-analyzer/graphite-web/Manifest |
19 |
index 4f5f75d3c2b..b2a84682aab 100644 |
20 |
--- a/net-analyzer/graphite-web/Manifest |
21 |
+++ b/net-analyzer/graphite-web/Manifest |
22 |
@@ -1,2 +1 @@ |
23 |
-DIST graphite-web-1.1.3.tar.gz 1171342 BLAKE2B f18c84d707f93d897553ec05d7b910a3dba97c6068498d1b216f178ea8a1f64baf59bb572b433a56f5e417a2873c018a38a19c3b8c765f667d7c3fbb38b9ed0a SHA512 3f9de216bd55e4e8de7391087e9b876a16e4f137fd60932a6d5855804c3d9868422645177776258e74486b97ec7a853b63a6d89b1de9b325bcb50ad694208436 |
24 |
DIST graphite-web-1.1.5.tar.gz 1173809 BLAKE2B 94a1b4deab3159d3bde2d3c8b6f9664f39942cb1b815ce042b196be3c0e769ee1acac4b619135e9471360849308b90e02e1df4f7d6b7d0ef31e46d38ee2425e5 SHA512 b2097609ca77a40e6e7d83a3141335e2208d69e7f4edbac8ce3505ed9dd654589836a3b3498bfb7f7585332bceeb8e367f0c10f3cf6afdb5ad6b96377338a7bb |
25 |
|
26 |
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 |
27 |
deleted file mode 100644 |
28 |
index cd145d29ab6..00000000000 |
29 |
--- a/net-analyzer/graphite-web/graphite-web-1.1.3-r1.ebuild |
30 |
+++ /dev/null |
31 |
@@ -1,100 +0,0 @@ |
32 |
-# Copyright 1999-2020 Gentoo Authors |
33 |
-# Distributed under the terms of the GNU General Public License v2 |
34 |
- |
35 |
-EAPI=7 |
36 |
-PYTHON_COMPAT=( python3_6 ) |
37 |
- |
38 |
-inherit distutils-r1 prefix |
39 |
- |
40 |
-DESCRIPTION="Enterprise scalable realtime graphing" |
41 |
-HOMEPAGE="https://graphiteapp.org/" |
42 |
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
43 |
- |
44 |
-LICENSE="Apache-2.0" |
45 |
-SLOT="0" |
46 |
-KEYWORDS="~amd64 ~x86" |
47 |
-IUSE="+carbon ldap mysql memcached postgres +sqlite" |
48 |
- |
49 |
-DEPEND="" |
50 |
-RDEPEND=" |
51 |
- carbon? ( dev-python/carbon[${PYTHON_USEDEP}] ) |
52 |
- ldap? ( dev-python/python-ldap[${PYTHON_USEDEP}] ) |
53 |
- memcached? ( dev-python/python-memcached[${PYTHON_USEDEP}] ) |
54 |
- mysql? ( |
55 |
- || ( |
56 |
- dev-python/mysql-python[${PYTHON_USEDEP}] |
57 |
- dev-python/mysqlclient[${PYTHON_USEDEP}] |
58 |
- ) |
59 |
- ) |
60 |
- postgres? ( dev-python/psycopg:2[${PYTHON_USEDEP}] ) |
61 |
- >=dev-python/django-1.8[sqlite?,${PYTHON_USEDEP}] |
62 |
- <dev-python/django-1.11.99[sqlite?,${PYTHON_USEDEP}] |
63 |
- >=dev-python/django-tagging-0.4.3[${PYTHON_USEDEP}] |
64 |
- dev-python/cairocffi[${PYTHON_USEDEP}] |
65 |
- dev-python/pyparsing[${PYTHON_USEDEP}] |
66 |
- dev-python/pytz[${PYTHON_USEDEP}] |
67 |
- dev-python/scandir[${PYTHON_USEDEP}] |
68 |
- dev-python/six[${PYTHON_USEDEP}] |
69 |
- dev-python/urllib3[${PYTHON_USEDEP}] |
70 |
- media-libs/fontconfig |
71 |
-" |
72 |
- |
73 |
-PATCHES=( |
74 |
- # Do not install the configuration and data files. We install them |
75 |
- # somewhere sensible by hand. |
76 |
- "${FILESDIR}"/${PN}-1.1.3-fhs-paths.patch |
77 |
-) |
78 |
- |
79 |
-python_prepare_all() { |
80 |
- # Use a less common name |
81 |
- mv bin/build-index bin/${PN}-build-index || die |
82 |
- # use FHS-style paths |
83 |
- export GRAPHITE_NO_PREFIX=yes |
84 |
- distutils-r1_python_prepare_all |
85 |
- eprefixify \ |
86 |
- conf/graphite.wsgi.example \ |
87 |
- webapp/graphite/local_settings.py.example |
88 |
-} |
89 |
- |
90 |
-python_install_all() { |
91 |
- distutils-r1_python_install_all |
92 |
- keepdir /var/{lib,log}/${PN} |
93 |
- docinto examples |
94 |
- docompress -x "/usr/share/doc/${PF}/examples" |
95 |
- dodoc \ |
96 |
- examples/example-graphite-vhost.conf \ |
97 |
- conf/dashboard.conf.example \ |
98 |
- conf/graphite.wsgi.example |
99 |
-} |
100 |
- |
101 |
-python_install() { |
102 |
- distutils-r1_python_install \ |
103 |
- --install-data="${EPREFIX}"/usr/share/${PN} |
104 |
- |
105 |
- insinto /etc/${PN} |
106 |
- newins webapp/graphite/local_settings.py.example local_settings.py |
107 |
- pushd "${D}/$(python_get_sitedir)"/graphite > /dev/null || die |
108 |
- ln -s ../../../../../etc/${PN}/local_settings.py local_settings.py || die |
109 |
- popd > /dev/null || die |
110 |
-} |
111 |
- |
112 |
-pkg_config() { |
113 |
- "${EROOT}"/usr/bin/django-admin.py migrate \ |
114 |
- --settings=graphite.settings --run-syncdb |
115 |
- "${EROOT}"/usr/bin/${PN}-build-index |
116 |
-} |
117 |
- |
118 |
-pkg_postinst() { |
119 |
- # Only display this for new installs |
120 |
- if [[ -z ${REPLACING_VERSIONS} ]]; then |
121 |
- elog "You need to configure ${PN} to run with a WSGI server of your choice." |
122 |
- elog "For example using Apache, you can use www-apache/mod_wsgi," |
123 |
- elog " using Nginx, you can use www-servers/uwsgi." |
124 |
- elog "Don't forget to edit local_settings.py in ${EPREFIX}/etc/${PN}" |
125 |
- elog "See https://graphite.readthedocs.org/en/latest/config-local-settings.html" |
126 |
- elog "Run emerge --config =${PN}-${PVR} if this is a fresh install." |
127 |
- elog "" |
128 |
- elog "If you want to update the search index regularily, you should consider running" |
129 |
- elog "the '${PN}-build-index' script in a crontab." |
130 |
- fi |
131 |
-} |