commit: 0bf14982f356e7f99af2a4c7fab425fdc94b28e9 Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org> AuthorDate: Wed Sep 5 17:00:37 2018 +0000 Commit: Matt Thode <prometheanfire <AT> gentoo <DOT> org> CommitDate: Wed Sep 5 17:01:01 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0bf14982
sys-cluster/heat: 9.0.5 and 10.0.2 bump Package-Manager: Portage-2.3.48, Repoman-2.3.10 sys-cluster/heat/Manifest | 4 + sys-cluster/heat/heat-10.0.2.ebuild | 163 ++++++++++++++++++++++++++++++++++ sys-cluster/heat/heat-9.0.5.ebuild | 169 ++++++++++++++++++++++++++++++++++++ 3 files changed, 336 insertions(+) diff --git a/sys-cluster/heat/Manifest b/sys-cluster/heat/Manifest index 123494e7512..e8fad270050 100644 --- a/sys-cluster/heat/Manifest +++ b/sys-cluster/heat/Manifest @@ -1,9 +1,13 @@ DIST heat-10.0.1.tar.gz 2353949 BLAKE2B 401cc24ebc2c5105666719a9d89a55116f4f8139dd7fb4a5b5e37f3da39240dfedb3b61b810f72750390e4f9dc0f8e6b69499c1b921f222064a610fd85cd8b84 SHA512 019df95a16f7d5f89a726248d33780ef4fa7fc2ff91b9a0a756548fa91993eb625097b9ab0dd232019669161ccf6fbf43132237d4666bf200f141173bbb07782 +DIST heat-10.0.2.tar.gz 2355489 BLAKE2B 5fe952f029bc4ad510b300ebc7d1be069e110a2c96312d254c1f5a44be580b5204cc2e58faa6371bed47a46cd21896f68790a93e8cc1a52ce65e5569b0bd1fa3 SHA512 b028b5ddee6b17edab91ecd2f78fa5fd29bcc431d21af34104d2c4a1023ef355affd4391061986056c21c72374c528f46178c1fcafe1c39b1cba6fe8f205ff86 DIST heat-11.0.0.tar.gz 2316538 BLAKE2B c7c56d273761af1846ef69d2a29563f96550afa97022ef749ac5fbd5c62117214bcfd0bd802a315168ea97d94cdf647c5e9c655803dc6f798ca7d64e0f1a9339 SHA512 bc38b062e273d4dfb11ba72c558b4c0ed7a9220a083cf1cc22b42583b864cc4bce8fb80acaa5a88f8f3e1658d585ee2950466d35ca5cb367390141a28aed1e6f DIST heat-9.0.4.tar.gz 2365172 BLAKE2B 069ee142fc8f8dba7eb6cdd9386a4fa32db85cb9a2bc454da1e4290acfd17d364de34706a3199fb7b68b4a4ce1c24d1b8d7781b4d1b984e6171e78ff32335008 SHA512 fd75a7cd9e656c58e81d47292687024ba6b61cccdbeab3ce2472f05f238a944ef4dfa120b39b6f2285aa434b3386ea13d3ca07a48b70d1f53798384a344c53a2 +DIST heat-9.0.5.tar.gz 2365613 BLAKE2B 36ae4d2e4221d5ae21607ee5833c7a6486e9b8c603276ae34ac18be9d662fc69b62bebb99ab6d64daeab18645ff1804a2cce1c8424f8f5122b9b23f6f7eefd54 SHA512 9aab590769c764e46b3d5e0ea88e7e7bdd410b36a00740d5a3b503d328b2c8fba70547b07db56548809feb3ece0e2579278b9cd662ae81ecc40d461754c4416e DIST heat.conf.sample-10.0.1 92161 BLAKE2B 745cdb4eb6006079201cfe31b6486a5d759a93d1deceb42c3e9c5224b9512437013a5f44eb0f81694949efad648559a1b4e436992a91986206e50b65c69a09b8 SHA512 44b9f0e5779a21afc73a2720181ffaf778d5e54f61db7b177b59a777985c6155dac1d6b535eed311be372236f4d39d0601a8814c5ad7aa0c48acf3771bf65120 +DIST heat.conf.sample-10.0.2 92161 BLAKE2B 745cdb4eb6006079201cfe31b6486a5d759a93d1deceb42c3e9c5224b9512437013a5f44eb0f81694949efad648559a1b4e436992a91986206e50b65c69a09b8 SHA512 44b9f0e5779a21afc73a2720181ffaf778d5e54f61db7b177b59a777985c6155dac1d6b535eed311be372236f4d39d0601a8814c5ad7aa0c48acf3771bf65120 DIST heat.conf.sample-11.0.0 89219 BLAKE2B 6db6b6476c90bedb8bccb88d6e792fd62d599bf4721153f9cd79fc22d6e99f5096dbbbb560d5ead9ee2388529a9ff0514e591444c462621e37ecdc0879ed6f78 SHA512 aedde1cea25ecbdff4de8fe410bcb13cf937a4479b9fa27aab8170f92956499c678c2546cc3f373f58c287f13576b1561613b5ff71e6fae5b60bb3d580a90f4f DIST heat.conf.sample-2017.2.9999 88901 BLAKE2B 050cfaacb46a8d9b79a17b7406acf6bca9be27a21f8278194021cadc69fb364c630ca0f0e7a320dfe9d46303d779eb8b5c31efaa9c25d3695caf70cab18b1b4d SHA512 f62feaa4a0d27866876aed9f78099501247ae4b7deaefd04d77b1f4b2a1d1c991e6f3e68d9f82e3b6a4358c99fbffd90f14a05ff98105df0ef0db68ef8bc6932 DIST heat.conf.sample-2018.1.9999 92161 BLAKE2B 745cdb4eb6006079201cfe31b6486a5d759a93d1deceb42c3e9c5224b9512437013a5f44eb0f81694949efad648559a1b4e436992a91986206e50b65c69a09b8 SHA512 44b9f0e5779a21afc73a2720181ffaf778d5e54f61db7b177b59a777985c6155dac1d6b535eed311be372236f4d39d0601a8814c5ad7aa0c48acf3771bf65120 DIST heat.conf.sample-2018.2.9999 89219 BLAKE2B 6db6b6476c90bedb8bccb88d6e792fd62d599bf4721153f9cd79fc22d6e99f5096dbbbb560d5ead9ee2388529a9ff0514e591444c462621e37ecdc0879ed6f78 SHA512 aedde1cea25ecbdff4de8fe410bcb13cf937a4479b9fa27aab8170f92956499c678c2546cc3f373f58c287f13576b1561613b5ff71e6fae5b60bb3d580a90f4f DIST heat.conf.sample-9.0.4 88901 BLAKE2B 050cfaacb46a8d9b79a17b7406acf6bca9be27a21f8278194021cadc69fb364c630ca0f0e7a320dfe9d46303d779eb8b5c31efaa9c25d3695caf70cab18b1b4d SHA512 f62feaa4a0d27866876aed9f78099501247ae4b7deaefd04d77b1f4b2a1d1c991e6f3e68d9f82e3b6a4358c99fbffd90f14a05ff98105df0ef0db68ef8bc6932 +DIST heat.conf.sample-9.0.5 88901 BLAKE2B 050cfaacb46a8d9b79a17b7406acf6bca9be27a21f8278194021cadc69fb364c630ca0f0e7a320dfe9d46303d779eb8b5c31efaa9c25d3695caf70cab18b1b4d SHA512 f62feaa4a0d27866876aed9f78099501247ae4b7deaefd04d77b1f4b2a1d1c991e6f3e68d9f82e3b6a4358c99fbffd90f14a05ff98105df0ef0db68ef8bc6932 diff --git a/sys-cluster/heat/heat-10.0.2.ebuild b/sys-cluster/heat/heat-10.0.2.ebuild new file mode 100644 index 00000000000..fd0bf363c85 --- /dev/null +++ b/sys-cluster/heat/heat-10.0.2.ebuild @@ -0,0 +1,163 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python2_7 python3_{4,5,6} ) + +inherit distutils-r1 eutils linux-info user + +DESCRIPTION="A CloudFormation-compatible openstack-native cloud orchestration engine." +HOMEPAGE="https://launchpad.net/heat" + +if [[ ${PV} == *9999 ]];then + inherit git-r3 + SRC_URI="https://dev.gentoo.org/~prometheanfire/dist/openstack/heat/heat.conf.sample.queens -> heat.conf.sample-${PV}" + EGIT_REPO_URI="https://github.com/openstack/heat.git" + EGIT_BRANCH="stable/queens" +else + SRC_URI="https://dev.gentoo.org/~prometheanfire/dist/openstack/heat/heat.conf.sample.queens -> heat.conf.sample-${PV} + https://tarballs.openstack.org/${PN}/${P}.tar.gz" + KEYWORDS="~amd64 ~arm64 ~x86" +fi + +LICENSE="Apache-2.0" +SLOT="0" +IUSE="+mysql +memcached postgres sqlite" +REQUIRED_USE="|| ( mysql postgres sqlite )" + +CDEPEND=">=dev-python/pbr-2.0.0[${PYTHON_USEDEP}] + !~dev-python/pbr-2.1.0" +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] + ${CDEPEND} + app-admin/sudo" + +RDEPEND=" + ${CDEPEND} + >=dev-python/Babel-2.3.4[${PYTHON_USEDEP}] + !~dev-python/Babel-2.4.0[${PYTHON_USEDEP}] + >=dev-python/croniter-0.3.4[${PYTHON_USEDEP}] + >=dev-python/cryptography-1.9.0[${PYTHON_USEDEP}] + !~dev-python/cryptography-2.0.0[${PYTHON_USEDEP}] + >=dev-python/eventlet-0.18.4[${PYTHON_USEDEP}] + !~dev-python/eventlet-0.20.1[${PYTHON_USEDEP}] + <dev-python/eventlet-0.21.0[${PYTHON_USEDEP}] + >=dev-python/keystoneauth-3.3.0[${PYTHON_USEDEP}] + >=dev-python/keystonemiddleware-4.17.0[${PYTHON_USEDEP}] + >=dev-python/lxml-3.4.1[${PYTHON_USEDEP}] + !~dev-python/lxml-3.7.0[${PYTHON_USEDEP}] + >=dev-python/netaddr-0.7.18[${PYTHON_USEDEP}] + >=dev-python/openstacksdk-0.9.19[${PYTHON_USEDEP}] + >=dev-python/oslo-cache-1.26.0[${PYTHON_USEDEP}] + >=dev-python/oslo-config-5.1.0[${PYTHON_USEDEP}] + >=dev-python/oslo-concurrency-3.25.0[${PYTHON_USEDEP}] + >=dev-python/oslo-context-2.19.2[${PYTHON_USEDEP}] + >=dev-python/oslo-db-4.27.0[${PYTHON_USEDEP}] + >=dev-python/oslo-i18n-3.15.3[${PYTHON_USEDEP}] + >=dev-python/oslo-log-3.36.0[${PYTHON_USEDEP}] + >=dev-python/oslo-messaging-5.29.0[${PYTHON_USEDEP}] + >=dev-python/oslo-middleware-3.31.0[${PYTHON_USEDEP}] + >=dev-python/oslo-policy-1.30.0[${PYTHON_USEDEP}] + >=dev-python/oslo-reports-1.18.0[${PYTHON_USEDEP}] + >=dev-python/oslo-serialization-2.18.0[${PYTHON_USEDEP}] + !~dev-python/oslo-serialization-2.19.1[${PYTHON_USEDEP}] + >=dev-python/oslo-service-1.24.0[${PYTHON_USEDEP}] + !~dev-python/oslo-service-1.28.1[${PYTHON_USEDEP}] + >=dev-python/oslo-utils-3.33.0[${PYTHON_USEDEP}] + >=dev-python/osprofiler-1.4.0[${PYTHON_USEDEP}] + >=dev-python/oslo-versionedobjects-1.31.2[${PYTHON_USEDEP}] + >=dev-python/pastedeploy-1.5.0[${PYTHON_USEDEP}] + >=dev-python/aodhclient-0.9.0[${PYTHON_USEDEP}] + >=dev-python/python-barbicanclient-4.0.0[${PYTHON_USEDEP}] + !~dev-python/python-barbicanclient-4.5.0[${PYTHON_USEDEP}] + !~dev-python/python-barbicanclient-4.5.1[${PYTHON_USEDEP}] + >=dev-python/python-ceilometerclient-2.5.0[${PYTHON_USEDEP}] + >=dev-python/python-cinderclient-3.3.0[${PYTHON_USEDEP}] + >=dev-python/python-designateclient-2.7.0[${PYTHON_USEDEP}] + >=dev-python/python-glanceclient-2.8.0[${PYTHON_USEDEP}] + >=dev-python/python-heatclient-1.10.0[${PYTHON_USEDEP}] + >=dev-python/python-keystoneclient-3.8.0[${PYTHON_USEDEP}] + >=dev-python/python-magnumclient-2.1.0[${PYTHON_USEDEP}] + >=dev-python/python-manilaclient-1.16.0[${PYTHON_USEDEP}] + >=dev-python/python-mistralclient-3.1.0[${PYTHON_USEDEP}] + !~dev-python/python-mistralclient-3.2.0[${PYTHON_USEDEP}] + >=dev-python/python-monascaclient-1.7.0[${PYTHON_USEDEP}] + >=dev-python/python-neutronclient-6.3.0[${PYTHON_USEDEP}] + >=dev-python/python-novaclient-9.1.0[${PYTHON_USEDEP}] + >=dev-python/python-octaviaclient-1.3.0[${PYTHON_USEDEP}] + >=dev-python/python-openstackclient-3.12.0[${PYTHON_USEDEP}] + >=dev-python/python-saharaclient-1.4.0[${PYTHON_USEDEP}] + >=dev-python/python-swiftclient-3.2.0[${PYTHON_USEDEP}] + >=dev-python/python-troveclient-2.2.0[${PYTHON_USEDEP}] + >=dev-python/python-zaqarclient-1.0.0[${PYTHON_USEDEP}] + >=dev-python/python-zunclient-1.0.0[${PYTHON_USEDEP}] + >=dev-python/pytz-2013.6[${PYTHON_USEDEP}] + >=dev-python/pyyaml-3.10.0[${PYTHON_USEDEP}] + >=dev-python/requests-2.14.2[${PYTHON_USEDEP}] + >=dev-python/tenacity-3.2.1[${PYTHON_USEDEP}] + >=dev-python/routes-2.3.1[${PYTHON_USEDEP}] + >=dev-python/six-1.10.0[${PYTHON_USEDEP}] + sqlite? ( + >=dev-python/sqlalchemy-1.0.10[sqlite,${PYTHON_USEDEP}] + !~dev-python/sqlalchemy-1.1.5[sqlite,${PYTHON_USEDEP}] + !~dev-python/sqlalchemy-1.1.6[sqlite,${PYTHON_USEDEP}] + !~dev-python/sqlalchemy-1.1.7[sqlite,${PYTHON_USEDEP}] + !~dev-python/sqlalchemy-1.1.8[sqlite,${PYTHON_USEDEP}] + ) + mysql? ( + >=dev-python/pymysql-0.7.6[${PYTHON_USEDEP}] + !~dev-python/pymysql-0.7.7[${PYTHON_USEDEP}] + >=dev-python/sqlalchemy-1.0.10[${PYTHON_USEDEP}] + !~dev-python/sqlalchemy-1.1.5[${PYTHON_USEDEP}] + !~dev-python/sqlalchemy-1.1.6[${PYTHON_USEDEP}] + !~dev-python/sqlalchemy-1.1.7[${PYTHON_USEDEP}] + !~dev-python/sqlalchemy-1.1.8[${PYTHON_USEDEP}] + ) + postgres? ( + >=dev-python/psycopg-2.5.0[${PYTHON_USEDEP}] + >=dev-python/sqlalchemy-1.0.10[${PYTHON_USEDEP}] + !~dev-python/sqlalchemy-1.1.5[${PYTHON_USEDEP}] + !~dev-python/sqlalchemy-1.1.6[${PYTHON_USEDEP}] + !~dev-python/sqlalchemy-1.1.7[${PYTHON_USEDEP}] + !~dev-python/sqlalchemy-1.1.8[${PYTHON_USEDEP}] + ) + >=dev-python/sqlalchemy-migrate-0.11.0[${PYTHON_USEDEP}] + >=dev-python/stevedore-1.20.0[${PYTHON_USEDEP}] + >=dev-python/webob-1.7.1[${PYTHON_USEDEP}] + >=dev-python/yaql-1.1.3[${PYTHON_USEDEP}]" + +PATCHES=( +) + +pkg_setup() { + enewgroup heat + enewuser heat -1 -1 /var/lib/heat heat +} + +python_prepare_all() { + sed -i '/^hacking/d' test-requirements.txt || die + distutils-r1_python_prepare_all +} + +python_install_all() { + distutils-r1_python_install_all + diropts -m0750 -o heat -g heat + keepdir /etc/heat + dodir /etc/heat/environment.d + dodir /etc/heat/templates + + for svc in api api-cfn engine; do + newinitd "${FILESDIR}/heat.initd" heat-${svc} + done + + insinto /etc/heat + insopts -m0640 -o heat -g heat + newins "${DISTDIR}/heat.conf.sample-${PV}" "heat.conf.sample" + doins "etc/heat/api-paste.ini" + insinto /etc/heat/templates + doins "etc/heat/templates/"* + insinto /etc/heat/environment.d + doins "etc/heat/environment.d/default.yaml" + + dodir /var/log/heat + fowners heat:heat /var/log/heat +} diff --git a/sys-cluster/heat/heat-9.0.5.ebuild b/sys-cluster/heat/heat-9.0.5.ebuild new file mode 100644 index 00000000000..472f8a0a47d --- /dev/null +++ b/sys-cluster/heat/heat-9.0.5.ebuild @@ -0,0 +1,169 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python2_7 python3_{4,5} ) + +inherit distutils-r1 eutils linux-info user + +DESCRIPTION="A CloudFormation-compatible openstack-native cloud orchestration engine." +HOMEPAGE="https://launchpad.net/heat" + +if [[ ${PV} == *9999 ]];then + inherit git-r3 + SRC_URI="https://dev.gentoo.org/~prometheanfire/dist/openstack/heat/heat.conf.sample.pike -> heat.conf.sample-${PV}" + EGIT_REPO_URI="https://github.com/openstack/heat.git" + EGIT_BRANCH="stable/pike" +else + SRC_URI="https://dev.gentoo.org/~prometheanfire/dist/openstack/heat/heat.conf.sample.pike -> heat.conf.sample-${PV} + https://tarballs.openstack.org/${PN}/${P}.tar.gz" + KEYWORDS="~amd64 ~arm64 ~x86" +fi + +LICENSE="Apache-2.0" +SLOT="0" +IUSE="+mysql +memcached postgres sqlite" +REQUIRED_USE="|| ( mysql postgres sqlite )" + +CDEPEND=">=dev-python/pbr-2.0.0[${PYTHON_USEDEP}] + !~dev-python/pbr-2.1.0" +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] + ${CDEPEND} + app-admin/sudo" + +RDEPEND=" + ${CDEPEND} + >=dev-python/Babel-2.3.4[${PYTHON_USEDEP}] + !~dev-python/Babel-2.4.0[${PYTHON_USEDEP}] + >=dev-python/croniter-0.3.4[${PYTHON_USEDEP}] + >=dev-python/cryptography-1.6.0[${PYTHON_USEDEP}] + !~dev-python/cryptography-2.0.0[${PYTHON_USEDEP}] + >=dev-python/debtcollector-1.2.0[${PYTHON_USEDEP}] + >=dev-python/eventlet-0.18.4[${PYTHON_USEDEP}] + !~dev-python/eventlet-0.20.1[${PYTHON_USEDEP}] + <dev-python/eventlet-0.21.0[${PYTHON_USEDEP}] + >=dev-python/keystoneauth-3.1.0[${PYTHON_USEDEP}] + >=dev-python/keystonemiddleware-4.12.0[${PYTHON_USEDEP}] + >=dev-python/lxml-2.3[${PYTHON_USEDEP}] + !~dev-python/lxml-3.7.0[${PYTHON_USEDEP}] + >=dev-python/netaddr-0.7.13[${PYTHON_USEDEP}] + !~dev-python/netaddr-0.7.16[${PYTHON_USEDEP}] + >=dev-python/openstacksdk-0.9.17[${PYTHON_USEDEP}] + >=dev-python/oslo-cache-1.5.0[${PYTHON_USEDEP}] + >=dev-python/oslo-config-4.0.0[${PYTHON_USEDEP}] + !~dev-python/oslo-config-4.3.0[${PYTHON_USEDEP}] + !~dev-python/oslo-config-4.4.0[${PYTHON_USEDEP}] + >=dev-python/oslo-concurrency-3.8.0[${PYTHON_USEDEP}] + >=dev-python/oslo-context-2.14.0[${PYTHON_USEDEP}] + >=dev-python/oslo-db-4.24.0[${PYTHON_USEDEP}] + >=dev-python/oslo-i18n-2.1.0[${PYTHON_USEDEP}] + !~dev-python/oslo-i18n-3.15.2[${PYTHON_USEDEP}] + >=dev-python/oslo-log-3.22.0[${PYTHON_USEDEP}] + >=dev-python/oslo-messaging-5.24.2[${PYTHON_USEDEP}] + !~dev-python/oslo-messaging-5.25.0[${PYTHON_USEDEP}] + >=dev-python/oslo-middleware-3.27.0[${PYTHON_USEDEP}] + >=dev-python/oslo-policy-1.23.0[${PYTHON_USEDEP}] + >=dev-python/oslo-reports-0.6.0[${PYTHON_USEDEP}] + >=dev-python/oslo-serialization-1.10.0[${PYTHON_USEDEP}] + !~dev-python/oslo-serialization-2.19.1[${PYTHON_USEDEP}] + >=dev-python/oslo-service-1.10.0[${PYTHON_USEDEP}] + >=dev-python/oslo-utils-3.20.0[${PYTHON_USEDEP}] + >=dev-python/osprofiler-1.4.0[${PYTHON_USEDEP}] + >=dev-python/oslo-versionedobjects-1.17.0[${PYTHON_USEDEP}] + >=dev-python/pastedeploy-1.5.0[${PYTHON_USEDEP}] + >=dev-python/pycrypto-2.6[${PYTHON_USEDEP}] + >=dev-python/aodhclient-0.7.0[${PYTHON_USEDEP}] + >=dev-python/python-barbicanclient-4.0.0[${PYTHON_USEDEP}] + !~dev-python/python-barbicanclient-4.5.0[${PYTHON_USEDEP}] + !~dev-python/python-barbicanclient-4.5.1[${PYTHON_USEDEP}] + >=dev-python/python-ceilometerclient-2.5.0[${PYTHON_USEDEP}] + >=dev-python/python-cinderclient-3.1.0[${PYTHON_USEDEP}] + >=dev-python/python-designateclient-1.5.0[${PYTHON_USEDEP}] + >=dev-python/python-glanceclient-2.8.0[${PYTHON_USEDEP}] + >=dev-python/python-heatclient-1.6.1[${PYTHON_USEDEP}] + >=dev-python/python-keystoneclient-3.8.0[${PYTHON_USEDEP}] + >=dev-python/python-magnumclient-2.0.0[${PYTHON_USEDEP}] + >=dev-python/python-manilaclient-1.12.0[${PYTHON_USEDEP}] + >=dev-python/python-mistralclient-3.1.0[${PYTHON_USEDEP}] + >=dev-python/python-monascaclient-1.7.0[${PYTHON_USEDEP}] + >=dev-python/python-neutronclient-6.3.0[${PYTHON_USEDEP}] + >=dev-python/python-novaclient-9.0.0[${PYTHON_USEDEP}] + >=dev-python/python-openstackclient-3.11.0[${PYTHON_USEDEP}] + >=dev-python/python-saharaclient-1.1.0[${PYTHON_USEDEP}] + >=dev-python/python-senlinclient-1.1.0[${PYTHON_USEDEP}] + >=dev-python/python-swiftclient-3.2.0[${PYTHON_USEDEP}] + >=dev-python/python-troveclient-2.2.0[${PYTHON_USEDEP}] + >=dev-python/python-zaqarclient-1.0.0[${PYTHON_USEDEP}] + >=dev-python/python-zunclient-0.2.0[${PYTHON_USEDEP}] + >=dev-python/pytz-2013.6[${PYTHON_USEDEP}] + >=dev-python/pyyaml-3.10.0[${PYTHON_USEDEP}] + >=dev-python/requests-2.14.2[${PYTHON_USEDEP}] + >=dev-python/tenacity-3.2.1[${PYTHON_USEDEP}] + >=dev-python/routes-2.3.1[${PYTHON_USEDEP}] + >=dev-python/six-1.9.0[${PYTHON_USEDEP}] + sqlite? ( + >=dev-python/sqlalchemy-1.0.10[sqlite,${PYTHON_USEDEP}] + !~dev-python/sqlalchemy-1.1.5[sqlite,${PYTHON_USEDEP}] + !~dev-python/sqlalchemy-1.1.6[sqlite,${PYTHON_USEDEP}] + !~dev-python/sqlalchemy-1.1.7[sqlite,${PYTHON_USEDEP}] + !~dev-python/sqlalchemy-1.1.8[sqlite,${PYTHON_USEDEP}] + ) + mysql? ( + >=dev-python/pymysql-0.7.6[${PYTHON_USEDEP}] + !~dev-python/pymysql-0.7.7[${PYTHON_USEDEP}] + >=dev-python/sqlalchemy-1.0.10[${PYTHON_USEDEP}] + !~dev-python/sqlalchemy-1.1.5[${PYTHON_USEDEP}] + !~dev-python/sqlalchemy-1.1.6[${PYTHON_USEDEP}] + !~dev-python/sqlalchemy-1.1.7[${PYTHON_USEDEP}] + !~dev-python/sqlalchemy-1.1.8[${PYTHON_USEDEP}] + ) + postgres? ( + >=dev-python/psycopg-2.5.0[${PYTHON_USEDEP}] + >=dev-python/sqlalchemy-1.0.10[${PYTHON_USEDEP}] + !~dev-python/sqlalchemy-1.1.5[${PYTHON_USEDEP}] + !~dev-python/sqlalchemy-1.1.6[${PYTHON_USEDEP}] + !~dev-python/sqlalchemy-1.1.7[${PYTHON_USEDEP}] + !~dev-python/sqlalchemy-1.1.8[${PYTHON_USEDEP}] + ) + >=dev-python/sqlalchemy-migrate-0.11.0[${PYTHON_USEDEP}] + >=dev-python/stevedore-1.20.0[${PYTHON_USEDEP}] + >=dev-python/webob-1.7.1[${PYTHON_USEDEP}] + >=dev-python/yaql-1.1.0[${PYTHON_USEDEP}]" + +PATCHES=( +) + +pkg_setup() { + enewgroup heat + enewuser heat -1 -1 /var/lib/heat heat +} + +python_prepare_all() { + sed -i '/^hacking/d' test-requirements.txt || die + distutils-r1_python_prepare_all +} + +python_install_all() { + distutils-r1_python_install_all + diropts -m0750 -o heat -g heat + keepdir /etc/heat + dodir /etc/heat/environment.d + dodir /etc/heat/templates + + for svc in api api-cfn engine; do + newinitd "${FILESDIR}/heat.initd" heat-${svc} + done + + insinto /etc/heat + insopts -m0640 -o heat -g heat + newins "${DISTDIR}/heat.conf.sample-${PV}" "heat.conf.sample" + doins "etc/heat/api-paste.ini" + doins "etc/heat/policy.json" + insinto /etc/heat/templates + doins "etc/heat/templates/"* + insinto /etc/heat/environment.d + doins "etc/heat/environment.d/default.yaml" + + dodir /var/log/heat + fowners heat:heat /var/log/heat +}