net-analyzer/graphite-web: fix deps, re-add USE=ldap, misc.
authorLouis Sautier <sbraz@gentoo.org>
Mon, 25 Jun 2018 10:11:53 +0000 (12:11 +0200)
committerLouis Sautier <sbraz@gentoo.org>
Mon, 25 Jun 2018 21:24:34 +0000 (23:24 +0200)
commitd4c60400f9bcd7871e8aa78426f86904d1099118
treed483a28e825059d6b2e540951ac3363546eb0b79
parent71a8fb5b33bd6d2b7075976ce5737889ddb28c97
net-analyzer/graphite-web: fix deps, re-add USE=ldap, misc.

* Sort dependencies.
* Do not require python[sqlite], it is never directly used.
* Do not require twisted or txAMQP, they are not directly
  used by graphite-web.
* Do not require zope-interface, it was removed in
  https://github.com/graphite-project/graphite-web/commit/bed2d5b82d128b751ea080d86a4ccb9c27bb6c58
* Do not require whisper. It is optional and in the future we could
  probably use carbon with ceres instead of whisper.
* pytz and pyparsing are not bundled any more, remove the call to rm.
* Use python_prepare_all instead of src_prepare.
* Install examples only once in the _all function. Use dodoc instead of
  doins. Do not compress them.
* Use the recommended way to configure the app instead of re-creating
  manage.py.
* Do not remove build-index from install but rename it.
* Run build-index during pkg_config() instead of just creating an empty
  file. This allows us to drop the complex python file parsing.
* Mention build-index in the postinst message. Only display the message
  for new installs. Use elog instead of einfo.
* Create the /var/{lib,log}/graphite-web directories which are
  referenced in local_settings.py.
* Add the example database location to the FHS-style settings patch.
* Fix STATIC_ROOT in the FHS-style settings patch.
* Add missing || die to the ln call.
* bump to EAPI=7.

Closes: https://github.com/gentoo/gentoo/pull/8962
Package-Manager: Portage-2.3.40, Repoman-2.3.9
net-analyzer/graphite-web/files/graphite-web-1.1.3-fhs-paths.patch
net-analyzer/graphite-web/graphite-web-1.1.3-r1.ebuild [new file with mode: 0644]
net-analyzer/graphite-web/graphite-web-1.1.3.ebuild [deleted file]