diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-04-28 09:54:45 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-04-28 09:54:45 +0100 |
commit | b7ebc951da8800f711142f69d9d958bde67a112d (patch) | |
tree | e318514216845acb8f2e49fff7a5cba4027e9d91 /sys-cluster/placement | |
parent | dc7cbdfa65fd814b3b9aa3c56257da201109e807 (diff) |
gentoo resync : 28.04.2019
Diffstat (limited to 'sys-cluster/placement')
-rw-r--r-- | sys-cluster/placement/Manifest | 6 | ||||
-rw-r--r-- | sys-cluster/placement/metadata.xml | 15 | ||||
-rw-r--r-- | sys-cluster/placement/placement-1.0.0-r1.ebuild | 108 | ||||
-rw-r--r-- | sys-cluster/placement/placement-2019.1.9999.ebuild | 108 |
4 files changed, 237 insertions, 0 deletions
diff --git a/sys-cluster/placement/Manifest b/sys-cluster/placement/Manifest new file mode 100644 index 000000000000..fd9b15e1d11e --- /dev/null +++ b/sys-cluster/placement/Manifest @@ -0,0 +1,6 @@ +DIST openstack-placement-1.0.0.tar.gz 428179 BLAKE2B 342997d848f134de747e4fa7ac0c38c07c3ff0840b529a8664a0733aa9700592b00c9ef72ae27e3b0ce892c44a14eebc2c32edf078e1c1a77885be4655fc8bf4 SHA512 50c93d35868b0ee78a6f753e174b2c22742fed1287dfa5801db28692033fa92e21dbce8fe22d16eb8e3e1dbd798fb80e6c9631ac838455f8b91c3e4ba01e5fff +DIST placement.conf.sample-1.0.0 19383 BLAKE2B 0088bffd3755ff589026856c977f241a1d98d151966ad7ece7b11e6fb382b1cc49fd606c66d857defba52db1927b6255f74144ce61d86e806e014baf97e6af1f SHA512 ea3c842145870fc51cf9d118734cab07498691fabc5313297e8956e2c8547eddfd0ef99b8529a8ad5e4d7b98e708276c3bed6549158b5ea774c39ef16777d1d3 +DIST placement.conf.sample-2019.1.9999 19383 BLAKE2B 0088bffd3755ff589026856c977f241a1d98d151966ad7ece7b11e6fb382b1cc49fd606c66d857defba52db1927b6255f74144ce61d86e806e014baf97e6af1f SHA512 ea3c842145870fc51cf9d118734cab07498691fabc5313297e8956e2c8547eddfd0ef99b8529a8ad5e4d7b98e708276c3bed6549158b5ea774c39ef16777d1d3 +EBUILD placement-1.0.0-r1.ebuild 4230 BLAKE2B 1e214d7aab53f15041f635d85f9338aec45baba58ff0ae65eb64cd5df38dcef1db33497d20728c6fcb2220841470ea7142ac66174b21a0c516bdd680aa99b7d9 SHA512 714a9960fe71dccebd2b2a166f0f387d908db83d40c5a8de2dadf5b9a82cf98c38bbd8ce378dac967b22cd6046ac377f379165badc7be5ca0377a04c449f8d26 +EBUILD placement-2019.1.9999.ebuild 4230 BLAKE2B 1e214d7aab53f15041f635d85f9338aec45baba58ff0ae65eb64cd5df38dcef1db33497d20728c6fcb2220841470ea7142ac66174b21a0c516bdd680aa99b7d9 SHA512 714a9960fe71dccebd2b2a166f0f387d908db83d40c5a8de2dadf5b9a82cf98c38bbd8ce378dac967b22cd6046ac377f379165badc7be5ca0377a04c449f8d26 +MISC metadata.xml 590 BLAKE2B 52aa7d1deb487225f34afa59f668939abe56f4d377626b3cd6dc20c2c94fc1b104f2cac7047d7ba461c62c90515cd39e75b8a94d17a341dd8c549d6bdca6bee3 SHA512 188176cc3f839d3a53dbcaf38f74fc71f1c223f7e938bcc9627e71b2509b14e535647513a7c1bb2eb2d250a317b9e6f0ef906cf464e465697d5a26b4bb013f78 diff --git a/sys-cluster/placement/metadata.xml b/sys-cluster/placement/metadata.xml new file mode 100644 index 000000000000..f4e191f8fbe8 --- /dev/null +++ b/sys-cluster/placement/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>prometheanfire@gentoo.org</email> + <name>Matthew Thode</name> + </maintainer> + <maintainer type="project"> + <email>openstack@gentoo.org</email> + <name>Openstack</name> + </maintainer> + <longdescription lang="en"> + OpenStack Placement provides an HTTP service for managing, selecting, and claiming providers of classes of inventory representing available resources in a cloud. + </longdescription> +</pkgmetadata> diff --git a/sys-cluster/placement/placement-1.0.0-r1.ebuild b/sys-cluster/placement/placement-1.0.0-r1.ebuild new file mode 100644 index 000000000000..291dc9ebaad5 --- /dev/null +++ b/sys-cluster/placement/placement-1.0.0-r1.ebuild @@ -0,0 +1,108 @@ +# Copyright 2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python2_7 python3_{5,6,7} ) + +inherit distutils-r1 user + +DESCRIPTION="A HTTP service for managing, selecting, and claiming cloud resources." +HOMEPAGE="https://github.com/openstack/placement" +if [[ ${PV} == *9999 ]];then + inherit git-r3 + SRC_URI="https://dev.gentoo.org/~prometheanfire/dist/openstack/placement/stein/placement.conf.sample -> placement.conf.sample-${PV}" + EGIT_REPO_URI="https://github.com/openstack/placement.git" + EGIT_BRANCH="stable/stein" +else + SRC_URI="https://dev.gentoo.org/~prometheanfire/dist/openstack/placement/stein/placement.conf.sample -> placement.conf.sample-${PV} + https://tarballs.openstack.org/${PN}/openstack-${P}.tar.gz" + KEYWORDS="~amd64 ~arm64 ~x86" + S="${WORKDIR}/openstack-${P}" +fi + +LICENSE="Apache-2.0" +SLOT="0" +IUSE="mysql postgres sqlite" +REQUIRED_USE="|| ( mysql postgres sqlite )" + +DEPEND=" + >=dev-python/setuptools-21.0.0[${PYTHON_USEDEP}] + !~dev-python/setuptools-24.0.0[${PYTHON_USEDEP}] + !~dev-python/setuptools-34.0.0[${PYTHON_USEDEP}] + !~dev-python/setuptools-34.0.1[${PYTHON_USEDEP}] + !~dev-python/setuptools-34.0.2[${PYTHON_USEDEP}] + !~dev-python/setuptools-34.0.3[${PYTHON_USEDEP}] + !~dev-python/setuptools-34.1.0[${PYTHON_USEDEP}] + !~dev-python/setuptools-34.1.1[${PYTHON_USEDEP}] + !~dev-python/setuptools-34.2.0[${PYTHON_USEDEP}] + !~dev-python/setuptools-34.3.0[${PYTHON_USEDEP}] + !~dev-python/setuptools-34.3.1[${PYTHON_USEDEP}] + !~dev-python/setuptools-34.3.2[${PYTHON_USEDEP}] + !~dev-python/setuptools-36.2.0[${PYTHON_USEDEP}] + >=dev-python/pbr-2.0.0[${PYTHON_USEDEP}] + !~dev-python/pbr-2.1.0[${PYTHON_USEDEP}]" +RDEPEND="${DEPEND} + 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/keystonemiddleware-4.18.0[${PYTHON_USEDEP}] + >=dev-python/routes-2.3.1[${PYTHON_USEDEP}] + >=dev-python/webob-1.8.2[${PYTHON_USEDEP}] + >=dev-python/jsonschema-2.6.0[${PYTHON_USEDEP}] + <dev-python/jsonschema-3.0.0[${PYTHON_USEDEP}] + >=dev-python/requests-2.14.2[${PYTHON_USEDEP}] + >=dev-python/six-1.10.0[${PYTHON_USEDEP}] + >=dev-python/oslo-concurrency-3.26.0[${PYTHON_USEDEP}] + >=dev-python/oslo-config-6.7.0[${PYTHON_USEDEP}] + >=dev-python/oslo-context-2.19.2[${PYTHON_USEDEP}] + >=dev-python/oslo-log-3.36.0[${PYTHON_USEDEP}] + >=dev-python/oslo-serialization-1.18.0[${PYTHON_USEDEP}] + !~dev-python/oslo-serialization-1.19.1[${PYTHON_USEDEP}] + >=dev-python/oslo-utils-3.37.0[${PYTHON_USEDEP}] + >=dev-python/oslo-db-4.40.0[${PYTHON_USEDEP}] + >=dev-python/oslo-policy-1.35.0[${PYTHON_USEDEP}] + >=dev-python/oslo-i18n-3.15.3[${PYTHON_USEDEP}] + >=dev-python/oslo-middleware-3.31.0[${PYTHON_USEDEP}] + >=dev-python/oslo-upgradecheck-0.2.0[${PYTHON_USEDEP}] + >=dev-python/os-resource-classes-0.2.0[${PYTHON_USEDEP}] + >=dev-python/os-traits-0.4.0[${PYTHON_USEDEP}] + >=dev-python/microversion-parse-0.2.1[${PYTHON_USEDEP}]" +BDEPEND="" + +pkg_setup() { + enewgroup placement + enewuser placement -1 -1 /var/lib/placement placement +} + +python_install_all() { + distutils-r1_python_install_all + + diropts -m 0750 -o placement -g placement + insinto /etc/placement + insopts -m 0640 -o placement -g placement + newins "${DISTDIR}/placement.conf.sample-${PV}" placement.conf.sample + + dobin tools/mysql-migrate-db.sh + dobin tools/postgresql-migrate-db.sh +} diff --git a/sys-cluster/placement/placement-2019.1.9999.ebuild b/sys-cluster/placement/placement-2019.1.9999.ebuild new file mode 100644 index 000000000000..291dc9ebaad5 --- /dev/null +++ b/sys-cluster/placement/placement-2019.1.9999.ebuild @@ -0,0 +1,108 @@ +# Copyright 2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python2_7 python3_{5,6,7} ) + +inherit distutils-r1 user + +DESCRIPTION="A HTTP service for managing, selecting, and claiming cloud resources." +HOMEPAGE="https://github.com/openstack/placement" +if [[ ${PV} == *9999 ]];then + inherit git-r3 + SRC_URI="https://dev.gentoo.org/~prometheanfire/dist/openstack/placement/stein/placement.conf.sample -> placement.conf.sample-${PV}" + EGIT_REPO_URI="https://github.com/openstack/placement.git" + EGIT_BRANCH="stable/stein" +else + SRC_URI="https://dev.gentoo.org/~prometheanfire/dist/openstack/placement/stein/placement.conf.sample -> placement.conf.sample-${PV} + https://tarballs.openstack.org/${PN}/openstack-${P}.tar.gz" + KEYWORDS="~amd64 ~arm64 ~x86" + S="${WORKDIR}/openstack-${P}" +fi + +LICENSE="Apache-2.0" +SLOT="0" +IUSE="mysql postgres sqlite" +REQUIRED_USE="|| ( mysql postgres sqlite )" + +DEPEND=" + >=dev-python/setuptools-21.0.0[${PYTHON_USEDEP}] + !~dev-python/setuptools-24.0.0[${PYTHON_USEDEP}] + !~dev-python/setuptools-34.0.0[${PYTHON_USEDEP}] + !~dev-python/setuptools-34.0.1[${PYTHON_USEDEP}] + !~dev-python/setuptools-34.0.2[${PYTHON_USEDEP}] + !~dev-python/setuptools-34.0.3[${PYTHON_USEDEP}] + !~dev-python/setuptools-34.1.0[${PYTHON_USEDEP}] + !~dev-python/setuptools-34.1.1[${PYTHON_USEDEP}] + !~dev-python/setuptools-34.2.0[${PYTHON_USEDEP}] + !~dev-python/setuptools-34.3.0[${PYTHON_USEDEP}] + !~dev-python/setuptools-34.3.1[${PYTHON_USEDEP}] + !~dev-python/setuptools-34.3.2[${PYTHON_USEDEP}] + !~dev-python/setuptools-36.2.0[${PYTHON_USEDEP}] + >=dev-python/pbr-2.0.0[${PYTHON_USEDEP}] + !~dev-python/pbr-2.1.0[${PYTHON_USEDEP}]" +RDEPEND="${DEPEND} + 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/keystonemiddleware-4.18.0[${PYTHON_USEDEP}] + >=dev-python/routes-2.3.1[${PYTHON_USEDEP}] + >=dev-python/webob-1.8.2[${PYTHON_USEDEP}] + >=dev-python/jsonschema-2.6.0[${PYTHON_USEDEP}] + <dev-python/jsonschema-3.0.0[${PYTHON_USEDEP}] + >=dev-python/requests-2.14.2[${PYTHON_USEDEP}] + >=dev-python/six-1.10.0[${PYTHON_USEDEP}] + >=dev-python/oslo-concurrency-3.26.0[${PYTHON_USEDEP}] + >=dev-python/oslo-config-6.7.0[${PYTHON_USEDEP}] + >=dev-python/oslo-context-2.19.2[${PYTHON_USEDEP}] + >=dev-python/oslo-log-3.36.0[${PYTHON_USEDEP}] + >=dev-python/oslo-serialization-1.18.0[${PYTHON_USEDEP}] + !~dev-python/oslo-serialization-1.19.1[${PYTHON_USEDEP}] + >=dev-python/oslo-utils-3.37.0[${PYTHON_USEDEP}] + >=dev-python/oslo-db-4.40.0[${PYTHON_USEDEP}] + >=dev-python/oslo-policy-1.35.0[${PYTHON_USEDEP}] + >=dev-python/oslo-i18n-3.15.3[${PYTHON_USEDEP}] + >=dev-python/oslo-middleware-3.31.0[${PYTHON_USEDEP}] + >=dev-python/oslo-upgradecheck-0.2.0[${PYTHON_USEDEP}] + >=dev-python/os-resource-classes-0.2.0[${PYTHON_USEDEP}] + >=dev-python/os-traits-0.4.0[${PYTHON_USEDEP}] + >=dev-python/microversion-parse-0.2.1[${PYTHON_USEDEP}]" +BDEPEND="" + +pkg_setup() { + enewgroup placement + enewuser placement -1 -1 /var/lib/placement placement +} + +python_install_all() { + distutils-r1_python_install_all + + diropts -m 0750 -o placement -g placement + insinto /etc/placement + insopts -m 0640 -o placement -g placement + newins "${DISTDIR}/placement.conf.sample-${PV}" placement.conf.sample + + dobin tools/mysql-migrate-db.sh + dobin tools/postgresql-migrate-db.sh +} |