mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-30 22:48:07 -07:00
dev-python/flower: version bump to 0.9.1
Package-Manager: portage-2.3.2
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST flower-0.8.4.tar.gz 2224949 SHA256 982c2aff14b1b01024cf3356ff90309bc19fba99f47faba3cdb6c3262331c66e SHA512 1f6dc52b011fabff4ea09180338fdc5a155da035daba378a0afb262964bf54bd5d6c90c68ece9a5740ab7e6e99d50e12b566fcd66d6de392163ea859f740f244 WHIRLPOOL 48556c044c7e6ad956288a96066ee985675d7f43116d3a8c749ec1aa3ab7090fb3e061f3e738ea57ef946c5a39e9a8b9290efc4cd8eeb2c8ef6d94a568645e03
|
||||
DIST flower-0.9.1.tar.gz 3880608 SHA256 bdd926b731e8024779a5373fa33bff4a30e2a2ae6cf3a591beb83fbde3dc352f SHA512 519d92209dbdb7956fde30c604956d1cbbc8ec7180ff160ea088847b5b63310cd42dc949d02eef1197588b0353470a0f3ac96b44b2e3ebb093a254d8f94fb407 WHIRLPOOL 3595137d6f83e2ace3d93281daa19bf3b46432f30467489ec46bef4ff437bbbd3975230c31d4bd3134fb54616ee0a6eea1136d23c088f3543a45da1f6a495db3
|
||||
|
||||
56
dev-python/flower/flower-0.9.1.ebuild
Normal file
56
dev-python/flower/flower-0.9.1.ebuild
Normal file
@@ -0,0 +1,56 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
PYTHON_COMPAT=( python{2_7,3_{4,5}} )
|
||||
|
||||
inherit distutils-r1 systemd user
|
||||
|
||||
DESCRIPTION="Real-time monitor and web admin for Celery distributed task queue"
|
||||
HOMEPAGE="https://${PN}.readthedocs.org/ https://github.com/mher/${PN}/ https://pypi.python.org/pypi/${PN}"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND=">=dev-python/celery-3.1.0[${PYTHON_USEDEP}]
|
||||
>=www-servers/tornado-4.2.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pytz-2015.7[${PYTHON_USEDEP}]
|
||||
>=dev-python/Babel-2.2.0[${PYTHON_USEDEP}]
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup ${PN}
|
||||
enewuser ${PN} -1 -1 /dev/null ${PN}
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
eapply_user
|
||||
sed -e 's:tornado==4.2.0:tornado>=4.2.0:' \
|
||||
-i requirements/default.txt || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
distutils-r1_src_install
|
||||
insinto /etc/flower
|
||||
doins "${FILESDIR}/config.py"
|
||||
newinitd "${FILESDIR}/${PN}.initd" "${PN}"
|
||||
newconfd "${FILESDIR}/${PN}.confd" "${PN}"
|
||||
systemd_dounit "${FILESDIR}/${PN}.service"
|
||||
keepdir /var/log/${PN}
|
||||
fowners ${PN}:${PN} /var/log/${PN}
|
||||
insinto /etc/logrotate.d
|
||||
newins "${FILESDIR}/${PN}.logrotated" "${PN}"
|
||||
}
|
||||
|
||||
python_install() {
|
||||
distutils-r1_python_install --install-scripts "${EPREFIX}/usr/libexec/flower"
|
||||
}
|
||||
|
||||
python_test() {
|
||||
esetup.py test || die
|
||||
}
|
||||
Reference in New Issue
Block a user