aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlessandro Barbieri <lssndrbarbieri@gmail.com>2022-12-14 15:44:46 +0100
committerAlessandro Barbieri <lssndrbarbieri@gmail.com>2022-12-14 15:45:39 +0100
commit3d997ab63ed54091936ac148567075906b35e90d (patch)
treea2c30d254cf6568abbcb0dce64f1bf061439ceb6 /sys-cluster/placement/placement-7.0.0-r1.ebuild
parentsci-libs/plasma: remove python requirements (diff)
downloadguru-3d997ab63ed54091936ac148567075906b35e90d.tar.gz
guru-3d997ab63ed54091936ac148567075906b35e90d.tar.bz2
guru-3d997ab63ed54091936ac148567075906b35e90d.zip
*/*: remove masked packages
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
Diffstat (limited to 'sys-cluster/placement/placement-7.0.0-r1.ebuild')
-rw-r--r--sys-cluster/placement/placement-7.0.0-r1.ebuild97
1 files changed, 0 insertions, 97 deletions
diff --git a/sys-cluster/placement/placement-7.0.0-r1.ebuild b/sys-cluster/placement/placement-7.0.0-r1.ebuild
deleted file mode 100644
index 49eeb729c..000000000
--- a/sys-cluster/placement/placement-7.0.0-r1.ebuild
+++ /dev/null
@@ -1,97 +0,0 @@
-# Copyright 2019-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-EPYTEST_IGNORE=( placement/tests/functional )
-MYP="${P//_/}"
-PYTHON_COMPAT=( python3_{8..9} )
-
-inherit distutils-r1 tmpfiles
-
-DESCRIPTION="A HTTP service for managing, selecting, and claiming cloud resources"
-HOMEPAGE="
- https://github.com/openstack/placement
- https://opendev.org/openstack/placement
-"
-SRC_URI="https://tarballs.openstack.org/${PN}/openstack-${MYP}.tar.gz"
-KEYWORDS="~amd64"
-S="${WORKDIR}/openstack-${MYP}"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-
-RDEPEND="
- >=dev-python/pbr-3.1.1[${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-3.2.0[${PYTHON_USEDEP}]
- >=dev-python/requests-2.25.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.22.0[${PYTHON_USEDEP}]
- >=dev-python/oslo-log-4.3.0[${PYTHON_USEDEP}]
- >=dev-python/oslo-serialization-2.25.0[${PYTHON_USEDEP}]
- >=dev-python/oslo-utils-4.5.0[${PYTHON_USEDEP}]
- >=dev-python/oslo-db-4.40.0[${PYTHON_USEDEP}]
- >=dev-python/oslo-policy-3.7.0[${PYTHON_USEDEP}]
- >=dev-python/oslo-middleware-3.31.0[${PYTHON_USEDEP}]
- >=dev-python/oslo-upgradecheck-1.3.0[${PYTHON_USEDEP}]
- >=dev-python/os-resource-classes-0.5.0[${PYTHON_USEDEP}]
- >=dev-python/os-traits-2.7.0[${PYTHON_USEDEP}]
- >=dev-python/microversion-parse-0.2.1[${PYTHON_USEDEP}]
-
- acct-user/placement
- acct-group/placement
-
- >=dev-python/sqlalchemy-1.2.19[${PYTHON_USEDEP}]
-"
-DEPEND="${RDEPEND}"
-BDEPEND="
- test? (
- >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}]
- >=dev-python/oslotest-3.5.0[${PYTHON_USEDEP}]
- >=dev-python/testtools-2.2.0[${PYTHON_USEDEP}]
- >=dev-python/gabbi-1.35.0[${PYTHON_USEDEP}]
- >=dev-python/cryptography-2.7[${PYTHON_USEDEP}]
- >=dev-python/wsgi_intercept-1.7.0[${PYTHON_USEDEP}]
-
- >=dev-python/pymysql-0.7.6[${PYTHON_USEDEP}]
- >=dev-python/psycopg-2.5.0[${PYTHON_USEDEP}]
- )
-"
-
-distutils_enable_tests pytest
-
-python_compile_all() {
- oslo-config-generator --config-file=etc/placement/config-generator.conf || die
- oslopolicy-sample-generator --config-file=etc/placement/policy-generator.conf || die
-}
-
-python_install_all() {
- distutils-r1_python_install_all
-
- insinto /etc/logrotate.d
- newins "${FILESDIR}/placement.logrotate" placement
-
- diropts -m 0750 -o placement -g placement
- insinto /etc/placement
- insopts -m 0640 -o placement -g placement
-
- doins etc/placement/placement.conf.sample
- doins etc/placement/policy.yaml.sample
-
- dobin tools/mysql-migrate-db.sh
- dobin tools/postgresql-migrate-db.sh
-
- newtmpfiles "${FILESDIR}/placement.tmpfile" placement.conf
-
- dodir /var/log/placement
- fowners placement:placement /var/log/placement
- keepdir /var/log/placement
-}
-
-pkg_postinst() {
- tmpfiles_process placement.conf
-}