public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:master commit in: sys-cluster/placement/
@ 2022-03-25 11:24 Ronny Gutbrod
  0 siblings, 0 replies; 5+ messages in thread
From: Ronny Gutbrod @ 2022-03-25 11:24 UTC (permalink / raw
  To: gentoo-commits

commit:     2fc90e1348454a1254a336d05a278711e83a0e3a
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Sun Mar 20 16:45:00 2022 +0000
Commit:     Ronny Gutbrod <gentoo <AT> tastytea <DOT> de>
CommitDate: Sun Mar 20 16:45:00 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2fc90e13

sys-cluster/placement: new version

Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 sys-cluster/placement/Manifest                     |  4 +-
 sys-cluster/placement/placement-4.0.0.ebuild       | 77 ------------------
 sys-cluster/placement/placement-7.0.0.0_rc1.ebuild | 92 ++++++++++++++++++++++
 3 files changed, 94 insertions(+), 79 deletions(-)

diff --git a/sys-cluster/placement/Manifest b/sys-cluster/placement/Manifest
index c51097b86..6b3b5a6dd 100644
--- a/sys-cluster/placement/Manifest
+++ b/sys-cluster/placement/Manifest
@@ -1,2 +1,2 @@
-DIST openstack-placement-4.0.0.tar.gz 502434 BLAKE2B 9c769d2ef78bad37ef6ac823c9b0fa29128bfea94626f6a4e9cd1ffa6e1e4d441e4b20353e97282823bc1638ee25499fa840b9d34600b1928271627d412c93cc SHA512 32ff30f7216ea56b073582c2e1c4b501229d941f3c6fc501245ab92544234774df63a9b9674ba5f1225d462ab205b2512185907e309e4135e01e1776d554b293
-DIST placement.conf.sample-4.0.0 26306 BLAKE2B 037ce73d52066fc2f2fe0542c10e3879c513ca23f127a03cd575cca0d21f7b2f4f36491c238897cacd962072797d9d2fd50be054c3ae09f95f5417ab9758b289 SHA512 640329729d0964b67a25837692f0db0f5e9682aff6bd1f3e124657c4bc0de7f6a9f65a5c17889cd6c0a0584d471c880865a59b939262ed8beac2ae452d0ea02a
+DIST openstack-placement-7.0.0.0rc1.tar.gz 559927 BLAKE2B 32efcd63c5e6c98050ab1e8df82c51c3b0f4bc87404470ece58bd53e1396b5399f56cc2a03effbe315704becba6899df308bc9f7750a8c62fb0117bd358bdb60 SHA512 3888fdd36cec4e9a8b73f6e1d8bb75fa3afa20302d06f982d6d9c748b797011961707a3955c03003c7c94351f90d00038cd32817232f78cc514c0b46de6f0a0a
+DIST placement.conf.sample-7.0.0.0_rc1 26306 BLAKE2B 037ce73d52066fc2f2fe0542c10e3879c513ca23f127a03cd575cca0d21f7b2f4f36491c238897cacd962072797d9d2fd50be054c3ae09f95f5417ab9758b289 SHA512 640329729d0964b67a25837692f0db0f5e9682aff6bd1f3e124657c4bc0de7f6a9f65a5c17889cd6c0a0584d471c880865a59b939262ed8beac2ae452d0ea02a

diff --git a/sys-cluster/placement/placement-4.0.0.ebuild b/sys-cluster/placement/placement-4.0.0.ebuild
deleted file mode 100644
index 539a5b269..000000000
--- a/sys-cluster/placement/placement-4.0.0.ebuild
+++ /dev/null
@@ -1,77 +0,0 @@
-# Copyright 2019-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-PYTHON_COMPAT=( python3_8 )
-
-inherit distutils-r1
-
-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/victoria/placement.conf.sample -> placement.conf.sample-${PV}"
-	EGIT_REPO_URI="https://github.com/openstack/placement.git"
-	EGIT_BRANCH="stable/victoria"
-else
-	SRC_URI="https://dev.gentoo.org/~prometheanfire/dist/openstack/placement/victoria/placement.conf.sample -> placement.conf.sample-${PV}
-	https://tarballs.openstack.org/${PN}/openstack-${P}.tar.gz"
-	KEYWORDS="~amd64"
-	S="${WORKDIR}/openstack-${P}"
-fi
-
-LICENSE="Apache-2.0"
-SLOT="0"
-IUSE="mysql postgres sqlite"
-REQUIRED_USE="|| ( mysql postgres sqlite )"
-
-DEPEND=">=dev-python/pbr-5.0.0[${PYTHON_USEDEP}]"
-RDEPEND="
-	>=dev-python/pbr-5.0.0[${PYTHON_USEDEP}]
-	sqlite? (
-		>=dev-python/sqlalchemy-1.2.19[${PYTHON_USEDEP}]
-	)
-	mysql? (
-		>=dev-python/pymysql-0.7.6[${PYTHON_USEDEP}]
-		!~dev-python/pymysql-0.7.7[${PYTHON_USEDEP}]
-		>=dev-python/sqlalchemy-1.2.19[${PYTHON_USEDEP}]
-	)
-	postgres? (
-		>=dev-python/psycopg-2.5.0[${PYTHON_USEDEP}]
-		>=dev-python/sqlalchemy-1.2.19[${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.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-middleware-3.31.0[${PYTHON_USEDEP}]
-	>=dev-python/oslo-upgradecheck-0.2.0[${PYTHON_USEDEP}]
-	>=dev-python/os-resource-classes-0.5.0[${PYTHON_USEDEP}]
-	>=dev-python/os-traits-2.4.0[${PYTHON_USEDEP}]
-	>=dev-python/microversion-parse-0.2.1[${PYTHON_USEDEP}]
-	acct-user/placement
-	acct-group/placement"
-BDEPEND=""
-
-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-7.0.0.0_rc1.ebuild b/sys-cluster/placement/placement-7.0.0.0_rc1.ebuild
new file mode 100644
index 000000000..3192119db
--- /dev/null
+++ b/sys-cluster/placement/placement-7.0.0.0_rc1.ebuild
@@ -0,0 +1,92 @@
+# Copyright 2019-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MYP="${P//_/}"
+PYTHON_COMPAT=( python3_{8..9} )
+
+inherit distutils-r1
+
+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://dev.gentoo.org/~prometheanfire/dist/openstack/placement/victoria/placement.conf.sample -> placement.conf.sample-${PV}
+	https://tarballs.openstack.org/${PN}/openstack-${MYP}.tar.gz
+"
+KEYWORDS="~amd64"
+S="${WORKDIR}/openstack-${MYP}"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE="mysql postgres +sqlite"
+
+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
+
+	sqlite? (
+		>=dev-python/sqlalchemy-1.2.19[${PYTHON_USEDEP}]
+	)
+	mysql? (
+		>=dev-python/pymysql-0.7.6[${PYTHON_USEDEP}]
+		>=dev-python/sqlalchemy-1.2.19[${PYTHON_USEDEP}]
+	)
+	postgres? (
+		>=dev-python/psycopg-2.5.0[${PYTHON_USEDEP}]
+		>=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}]
+	)
+"
+
+REQUIRED_USE="
+	|| ( mysql postgres sqlite )
+	test? ( mysql postgres )
+"
+
+distutils_enable_tests pytest
+
+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
+}


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] repo/proj/guru:master commit in: sys-cluster/placement/
@ 2022-04-23 17:49 Haelwenn Monnier
  0 siblings, 0 replies; 5+ messages in thread
From: Haelwenn Monnier @ 2022-04-23 17:49 UTC (permalink / raw
  To: gentoo-commits

commit:     c882598328a7b51abe0906319ae29c3479e548ad
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Sat Apr 23 00:25:46 2022 +0000
Commit:     Haelwenn Monnier <contact <AT> hacktivis <DOT> me>
CommitDate: Sat Apr 23 01:52:55 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c8825983

sys-cluster/placement: ignore functional tests

Closes: https://bugs.gentoo.org/840032
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 sys-cluster/placement/placement-7.0.0.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sys-cluster/placement/placement-7.0.0.ebuild b/sys-cluster/placement/placement-7.0.0.ebuild
index 72dee89eb..de17ce395 100644
--- a/sys-cluster/placement/placement-7.0.0.ebuild
+++ b/sys-cluster/placement/placement-7.0.0.ebuild
@@ -3,6 +3,7 @@
 
 EAPI=8
 
+EPYTEST_IGNORE=( placement/tests/functional )
 MYP="${P//_/}"
 PYTHON_COMPAT=( python3_{8..9} )
 


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] repo/proj/guru:master commit in: sys-cluster/placement/
@ 2022-05-30  6:39 Florian Schmaus
  0 siblings, 0 replies; 5+ messages in thread
From: Florian Schmaus @ 2022-05-30  6:39 UTC (permalink / raw
  To: gentoo-commits

commit:     6ca0087a5c5960f16b9d6f8fe460e7fcd8a7abc3
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Sun May 29 23:03:43 2022 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Sun May 29 23:03:43 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=6ca0087a

sys-cluster/placement: use root perms for logrotate

Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 .../placement/{placement-7.0.0.ebuild => placement-7.0.0-r1.ebuild} | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/sys-cluster/placement/placement-7.0.0.ebuild b/sys-cluster/placement/placement-7.0.0-r1.ebuild
similarity index 100%
rename from sys-cluster/placement/placement-7.0.0.ebuild
rename to sys-cluster/placement/placement-7.0.0-r1.ebuild
index de17ce395..a1eb2e41c 100644
--- a/sys-cluster/placement/placement-7.0.0.ebuild
+++ b/sys-cluster/placement/placement-7.0.0-r1.ebuild
@@ -72,6 +72,9 @@ python_compile_all() {
 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
@@ -83,9 +86,6 @@ python_install_all() {
 	dobin tools/postgresql-migrate-db.sh
 
 	newtmpfiles "${FILESDIR}/placement.tmpfile" placement.conf
-
-	insinto /etc/logrotate.d
-	newins "${FILESDIR}/placement.logrotate" placement
 }
 
 pkg_postinst() {


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] repo/proj/guru:master commit in: sys-cluster/placement/
@ 2022-05-30  6:39 Florian Schmaus
  0 siblings, 0 replies; 5+ messages in thread
From: Florian Schmaus @ 2022-05-30  6:39 UTC (permalink / raw
  To: gentoo-commits

commit:     209cf7f8e102a0ab88a6c7f70cea3309526fb036
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Sun May 29 23:05:51 2022 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Sun May 29 23:05:51 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=209cf7f8

sys-cluster/placement: create logdir

Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 sys-cluster/placement/placement-7.0.0-r1.ebuild | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/sys-cluster/placement/placement-7.0.0-r1.ebuild b/sys-cluster/placement/placement-7.0.0-r1.ebuild
index a1eb2e41c..54a93e358 100644
--- a/sys-cluster/placement/placement-7.0.0-r1.ebuild
+++ b/sys-cluster/placement/placement-7.0.0-r1.ebuild
@@ -86,6 +86,10 @@ python_install_all() {
 	dobin tools/postgresql-migrate-db.sh
 
 	newtmpfiles "${FILESDIR}/placement.tmpfile" placement.conf
+
+	dodir /var/log/placement
+	fperms placement:placement /var/log/placement
+	keepdir /var/log/placement
 }
 
 pkg_postinst() {


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] repo/proj/guru:master commit in: sys-cluster/placement/
@ 2022-05-30 11:58 Andrew Ammerlaan
  0 siblings, 0 replies; 5+ messages in thread
From: Andrew Ammerlaan @ 2022-05-30 11:58 UTC (permalink / raw
  To: gentoo-commits

commit:     aa11e518532dcc46efa0228f3c45a588906445bb
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Mon May 30 10:42:26 2022 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Mon May 30 10:43:18 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=aa11e518

sys-cluster/placement: fowners, not fperms

Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 sys-cluster/placement/placement-7.0.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-cluster/placement/placement-7.0.0-r1.ebuild b/sys-cluster/placement/placement-7.0.0-r1.ebuild
index 54a93e358..49eeb729c 100644
--- a/sys-cluster/placement/placement-7.0.0-r1.ebuild
+++ b/sys-cluster/placement/placement-7.0.0-r1.ebuild
@@ -88,7 +88,7 @@ python_install_all() {
 	newtmpfiles "${FILESDIR}/placement.tmpfile" placement.conf
 
 	dodir /var/log/placement
-	fperms placement:placement /var/log/placement
+	fowners placement:placement /var/log/placement
 	keepdir /var/log/placement
 }
 


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-05-30 11:58 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-05-30  6:39 [gentoo-commits] repo/proj/guru:master commit in: sys-cluster/placement/ Florian Schmaus
  -- strict thread matches above, loose matches on Subject: below --
2022-05-30 11:58 Andrew Ammerlaan
2022-05-30  6:39 Florian Schmaus
2022-04-23 17:49 Haelwenn Monnier
2022-03-25 11:24 Ronny Gutbrod

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox