public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/cinder/
@ 2021-06-24 23:26 Alessandro Barbieri
  0 siblings, 0 replies; 8+ messages in thread
From: Alessandro Barbieri @ 2021-06-24 23:26 UTC (permalink / raw
  To: gentoo-commits

commit:     16765c0f245a3df5b8afb4f0568dc40fad4bb37f
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Thu Jun 24 20:04:25 2021 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Thu Jun 24 23:26:55 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=16765c0f

sys-cluster/cinder: remove old maintainer

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 sys-cluster/cinder/cinder-17.1.0.ebuild | 1 +
 sys-cluster/cinder/metadata.xml         | 5 +----
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/sys-cluster/cinder/cinder-17.1.0.ebuild b/sys-cluster/cinder/cinder-17.1.0.ebuild
index 9d1eb37cb..dffd0f78e 100644
--- a/sys-cluster/cinder/cinder-17.1.0.ebuild
+++ b/sys-cluster/cinder/cinder-17.1.0.ebuild
@@ -32,6 +32,7 @@ DEPEND=">=dev-python/pbr-5.4.1[${PYTHON_USEDEP}]
 	app-admin/sudo"
 
 #	>=dev-python/oauth2client-1.5.0[${PYTHON_USEDEP}]  # do not include, upstream depricated
+#TODO: remove zstd
 RDEPEND="
 	>=dev-python/pbr-5.4.1[${PYTHON_USEDEP}]
 	>=dev-python/decorator-4.1.0[${PYTHON_USEDEP}]

diff --git a/sys-cluster/cinder/metadata.xml b/sys-cluster/cinder/metadata.xml
index 826d615f6..8a07096d0 100644
--- a/sys-cluster/cinder/metadata.xml
+++ b/sys-cluster/cinder/metadata.xml
@@ -1,10 +1,7 @@
 <?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-needed -->
   <use>
     <flag name="api">Installs the initscripts for the cinder api service</flag>
     <flag name="iscsi">Allow using an iSCSI remote storage server as pool for disk image storage</flag>


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

* [gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/cinder/
@ 2021-09-26 19:34 Alessandro Barbieri
  0 siblings, 0 replies; 8+ messages in thread
From: Alessandro Barbieri @ 2021-09-26 19:34 UTC (permalink / raw
  To: gentoo-commits

commit:     842422c116a6cadb75b76238b4e21ffc336f80c7
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Sun Sep 26 19:31:49 2021 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Sun Sep 26 19:31:49 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=842422c1

sys-cluster/cinder: unkeyword 17.1.0 for ~arm64, ~x86

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

 sys-cluster/cinder/cinder-17.1.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-cluster/cinder/cinder-17.1.0.ebuild b/sys-cluster/cinder/cinder-17.1.0.ebuild
index dffd0f78e..ae18e21e1 100644
--- a/sys-cluster/cinder/cinder-17.1.0.ebuild
+++ b/sys-cluster/cinder/cinder-17.1.0.ebuild
@@ -19,7 +19,7 @@ if [[ ${PV} == *9999 ]];then
 else
 	SRC_URI="https://dev.gentoo.org/~prometheanfire/dist/openstack/cinder/victoria/cinder.conf.sample -> cinder.conf.sample-${PV}
 	https://tarballs.openstack.org/${PN}/${P}.tar.gz"
-	KEYWORDS="~amd64 ~arm64 ~x86"
+	KEYWORDS="~amd64"
 fi
 
 LICENSE="Apache-2.0"


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

* [gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/cinder/
@ 2022-04-04 19:32 Alessandro Barbieri
  0 siblings, 0 replies; 8+ messages in thread
From: Alessandro Barbieri @ 2022-04-04 19:32 UTC (permalink / raw
  To: gentoo-commits

commit:     93bcb1b70a9742874944b64e297f0282b67bd955
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Mon Apr  4 19:20:34 2022 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Mon Apr  4 19:32:03 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=93bcb1b7

sys-cluster/cinder: add 20.0.0

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

 sys-cluster/cinder/Manifest             |   1 +
 sys-cluster/cinder/cinder-20.0.0.ebuild | 207 ++++++++++++++++++++++++++++++++
 2 files changed, 208 insertions(+)

diff --git a/sys-cluster/cinder/Manifest b/sys-cluster/cinder/Manifest
index 8b474a5d9..e9fdf3984 100644
--- a/sys-cluster/cinder/Manifest
+++ b/sys-cluster/cinder/Manifest
@@ -1 +1,2 @@
 DIST cinder-20.0.0.0rc1.tar.gz 5948385 BLAKE2B f8f2e2b4b88f4c81db61bc209b1408bf8c49db54b8b89095828d5baf3a1e6789889093ecb29b9494ec580c5878cd2cffcd5930992794d970a7582f190db5c134 SHA512 90e6845d96e896ddf40bd9992e80864a8441a74b265bdf559ada75f0a95af9f3041ee75d16312a9ae3871e35a23719248c7ed879b1511688afb3bf8b09239ab1
+DIST cinder-20.0.0.tar.gz 5950094 BLAKE2B 6370f2ea4f1bfecf3602d313b46436a100b5957754750c5ed5f282ec7bdb1797fa4df7764d7eb946d01a47345fc4611bcc8ed565f076556aedf094eec994f89b SHA512 1d7d8cc26b88b1243c7c03c607591815120120257f06355d75f2aab5cc7566470d0f37f2bfc7bc1f51a36a38c8b7016fc5996de9b42d36ebe7f393585a877bb2

diff --git a/sys-cluster/cinder/cinder-20.0.0.ebuild b/sys-cluster/cinder/cinder-20.0.0.ebuild
new file mode 100644
index 000000000..8ba86ad84
--- /dev/null
+++ b/sys-cluster/cinder/cinder-20.0.0.ebuild
@@ -0,0 +1,207 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MYP="${P/_rc/rc}"
+PYTHON_COMPAT=( python3_{8..9} )
+
+inherit distutils-r1 linux-info systemd tmpfiles
+
+DESCRIPTION="Cinder is the OpenStack Block storage service, a spin out of nova-volumes"
+HOMEPAGE="
+	https://launchpad.net/cinder
+	https://opendev.org/openstack/cinder/
+	https://pypi.org/project/cinder/
+	https://github.com/openstack/cinder
+"
+SRC_URI="https://tarballs.openstack.org/${PN}/${MYP}.tar.gz"
+KEYWORDS="~amd64"
+
+LICENSE="Apache-2.0 GPL-2"
+SLOT="0"
+IUSE="+api +scheduler +volume infiniband iscsi lvm mysql +memcached postgres rdma sqlite +tcp test +tgt"
+
+# qemu is needed for image conversion
+RDEPEND="
+	>=dev-python/pbr-5.8.0[${PYTHON_USEDEP}]
+	>=dev-python/decorator-4.4.2[${PYTHON_USEDEP}]
+	>=dev-python/eventlet-0.30.1[${PYTHON_USEDEP}]
+	>=dev-python/greenlet-0.4.16[${PYTHON_USEDEP}]
+	>=dev-python/httplib2-0.18.1[${PYTHON_USEDEP}]
+	>=dev-python/iso8601-0.1.12[${PYTHON_USEDEP}]
+	>=dev-python/jsonschema-3.2.0[${PYTHON_USEDEP}]
+	>=dev-python/keystoneauth-4.2.1[${PYTHON_USEDEP}]
+	>=dev-python/keystonemiddleware-9.1.0[${PYTHON_USEDEP}]
+	>=dev-python/lxml-4.5.2[${PYTHON_USEDEP}]
+	>=dev-python/oauth2client-4.1.3[${PYTHON_USEDEP}]
+	>=dev-python/oslo-config-8.3.2[${PYTHON_USEDEP}]
+	>=dev-python/oslo-concurrency-4.5.0[${PYTHON_USEDEP}]
+	>=dev-python/oslo-context-3.4.0[${PYTHON_USEDEP}]
+	>=dev-python/oslo-db-11.0.0[${PYTHON_USEDEP}]
+	>=dev-python/oslo-log-4.6.1[${PYTHON_USEDEP}]
+	>=dev-python/oslo-messaging-12.5.0[${PYTHON_USEDEP}]
+	>=dev-python/oslo-middleware-4.1.1[${PYTHON_USEDEP}]
+	>=dev-python/oslo-policy-3.8.1[${PYTHON_USEDEP}]
+	>=dev-python/oslo-privsep-2.6.2[${PYTHON_USEDEP}]
+	>=dev-python/oslo-reports-2.2.0[${PYTHON_USEDEP}]
+	>=dev-python/oslo-rootwrap-6.2.0[${PYTHON_USEDEP}]
+	>=dev-python/oslo-serialization-4.2.0[${PYTHON_USEDEP}]
+	>=dev-python/oslo-service-2.8.0[${PYTHON_USEDEP}]
+	>=dev-python/oslo-upgradecheck-1.1.1[${PYTHON_USEDEP}]
+	>=dev-python/oslo-utils-4.12.1[${PYTHON_USEDEP}]
+	>=dev-python/oslo-versionedobjects-2.3.0[${PYTHON_USEDEP}]
+	>=dev-python/osprofiler-3.4.0[${PYTHON_USEDEP}]
+	>=dev-python/packaging-20.4[${PYTHON_USEDEP}]
+	>=dev-python/paramiko-2.7.2[${PYTHON_USEDEP}]
+	>=dev-python/paste-3.4.3[${PYTHON_USEDEP}]
+	>=dev-python/pastedeploy-2.1.0[${PYTHON_USEDEP}]
+	>=dev-python/psutil-5.7.2[${PYTHON_USEDEP}]
+	>=dev-python/pyparsing-2.4.7[${PYTHON_USEDEP}]
+	>=dev-python/python-barbicanclient-5.0.1[${PYTHON_USEDEP}]
+	>=dev-python/python-glanceclient-3.2.2[${PYTHON_USEDEP}]
+	>=dev-python/python-keystoneclient-4.1.1[${PYTHON_USEDEP}]
+	>=dev-python/python-novaclient-17.2.1[${PYTHON_USEDEP}]
+	>=dev-python/python-swiftclient-3.10.1[${PYTHON_USEDEP}]
+	>=dev-python/pytz-2020.1[${PYTHON_USEDEP}]
+	>=dev-python/requests-2.25.1[${PYTHON_USEDEP}]
+	>=dev-python/routes-2.4.1[${PYTHON_USEDEP}]
+	>=dev-python/taskflow-4.5.0[${PYTHON_USEDEP}]
+	>=dev-python/rtslib-fb-2.1.74[${PYTHON_USEDEP}]
+	>=dev-python/six-1.15.0[${PYTHON_USEDEP}]
+	>=dev-python/sqlalchemy-migrate-0.13.0[${PYTHON_USEDEP}]
+	>=dev-python/stevedore-3.2.2[${PYTHON_USEDEP}]
+	>=dev-python/tabulate-0.8.7[${PYTHON_USEDEP}]
+	>=dev-python/tenacity-6.3.1[${PYTHON_USEDEP}]
+	>=dev-python/webob-1.8.6[${PYTHON_USEDEP}]
+	>=dev-python/oslo-i18n-5.1.0[${PYTHON_USEDEP}]
+	>=dev-python/oslo-vmware-3.10.0[${PYTHON_USEDEP}]
+	>=dev-python/os-brick-5.2.0[${PYTHON_USEDEP}]
+	>=dev-python/os-win-5.5.0[${PYTHON_USEDEP}]
+	>=dev-python/tooz-2.7.1[${PYTHON_USEDEP}]
+	>=dev-python/google-api-python-client-1.11.0[${PYTHON_USEDEP}]
+	>=dev-python/castellan-3.7.0[${PYTHON_USEDEP}]
+	>=dev-python/cryptography-3.1[${PYTHON_USEDEP}]
+	>=dev-python/cursive-0.2.2[${PYTHON_USEDEP}]
+	>=dev-python/zstd-1.4.5.1[${PYTHON_USEDEP}]
+	>=dev-python/boto3-1.16.51[${PYTHON_USEDEP}]
+
+	iscsi? (
+		tgt? ( sys-block/tgt )
+		sys-block/open-iscsi
+	)
+	lvm? ( sys-fs/lvm2 )
+	memcached? ( net-misc/memcached )
+	mysql? (
+		>=dev-python/pymysql-0.7.6[${PYTHON_USEDEP}]
+		>=dev-python/sqlalchemy-1.4.23[${PYTHON_USEDEP}]
+	)
+	sqlite? (
+		>=dev-python/sqlalchemy-1.4.23[sqlite,${PYTHON_USEDEP}]
+	)
+	postgres? (
+		>=dev-python/psycopg-2.5.0[${PYTHON_USEDEP}]
+		>=dev-python/sqlalchemy-1.4.23[${PYTHON_USEDEP}]
+	)
+
+	acct-user/cinder
+	acct-group/cinder
+	app-emulation/qemu
+	sys-fs/sysfsutils
+"
+DEPEND="
+	${RDEPEND}
+	app-admin/sudo
+"
+BDEPEND="
+	test? (
+		>=dev-python/ddt-1.4.4[${PYTHON_USEDEP}]
+		>=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}]
+		>=dev-python/oslotest-4.5.0[${PYTHON_USEDEP}]
+		>=dev-python/testtools-2.4.0[${PYTHON_USEDEP}]
+	)
+"
+
+RESTRICT="!test? ( test )"
+REQUIRED_USE="
+	|| ( mysql postgres sqlite )
+	iscsi? ( tgt )
+	infiniband? ( rdma )
+	test? ( mysql postgres )
+"
+
+pkg_pretend() {
+	linux-info_pkg_setup
+	CONFIG_CHECK_MODULES=""
+	if use tcp; then
+		CONFIG_CHECK_MODULES+="SCSI_ISCSI_ATTRS ISCSI_TCP "
+	fi
+	if use rdma; then
+		CONFIG_CHECK_MODULES+="INFINIBAND_ISER "
+	fi
+	if use infiniband; then
+		CONFIG_CHECK_MODULES+="INFINIBAND_IPOIB INFINIBAND_USER_MAD INFINIBAND_USER_ACCESS"
+	fi
+	if linux_config_exists; then
+		for module in ${CONFIG_CHECK_MODULES}; do
+			linux_chkconfig_present ${module} || ewarn "${module} needs to be enabled"
+		done
+	fi
+}
+
+python_prepare_all() {
+	sed -i '/^hacking/d' test-requirements.txt || die
+	# only used for docs
+	sed -i '/^sphinx-feature-classification/d' requirements.txt || die
+	distutils-r1_python_prepare_all
+}
+
+python_compile_all() {
+	oslo-config-generator --config-file=tools/config/cinder-config-generator.conf || die
+	oslopolicy-sample-generator --config-file=tools/config/cinder-policy-generator.conf || die
+}
+
+python_install_all() {
+	distutils-r1_python_install_all
+	keepdir /etc/cinder
+	dodir /etc/cinder/rootwrap.d
+
+	for svc in api backup scheduler volume; do
+		newinitd "${FILESDIR}/cinder.initd" "cinder-${svc}"
+		systemd_dounit "${FILESDIR}/openstack-cinder-${svc}.service"
+	done
+
+	insinto /etc/cinder
+	insopts -m 0640 -o cinder -g cinder
+	doins "etc/cinder/api-httpd.conf"
+	doins "etc/cinder/logging_sample.conf"
+	doins "etc/cinder/rootwrap.conf"
+	doins "etc/cinder/api-paste.ini"
+	doins "etc/cinder/resource_filters.json"
+	doins "etc/cinder/cinder.conf.sample"
+	doins "etc/cinder/policy.yaml.sample"
+	insinto /etc/cinder/rootwrap.d
+	doins "etc/cinder/rootwrap.d/volume.filters"
+
+	dodir /var/log/cinder
+	fowners cinder:cinder /var/log/cinder
+
+	#add sudoers definitions for user cinder
+	insinto /etc/sudoers.d/
+	insopts -m 0440 -o root -g root
+	newins "${FILESDIR}/cinder.sudoersd" cinder
+
+	newtmpfiles "${FILESDIR}/cinder.tmpfile" cinder.conf
+
+	insinto /etc/logrotate.d
+	newins "${FILESDIR}/cinder.logrotate" cinder.conf
+
+	rm -r "${ED}/usr/etc"
+}
+
+pkg_postinst() {
+	if use iscsi ; then
+		elog "Cinder needs tgtd to be installed and running to work with iscsi"
+		elog "it also needs 'include /var/lib/cinder/volumes/*' in /etc/tgt/targets.conf"
+	fi
+}


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

* [gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/cinder/
@ 2022-04-19 18:31 Alessandro Barbieri
  0 siblings, 0 replies; 8+ messages in thread
From: Alessandro Barbieri @ 2022-04-19 18:31 UTC (permalink / raw
  To: gentoo-commits

commit:     d3dae0aa2a6a890c42778efa1b32754ab1979598
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Mon Apr 18 02:51:09 2022 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Tue Apr 19 18:31:25 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d3dae0aa

sys-cluster/cinder: remove optional dependencies

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

 sys-cluster/cinder/cinder-20.0.0.ebuild | 45 +++++----------------------------
 sys-cluster/cinder/metadata.xml         | 11 --------
 2 files changed, 7 insertions(+), 49 deletions(-)

diff --git a/sys-cluster/cinder/cinder-20.0.0.ebuild b/sys-cluster/cinder/cinder-20.0.0.ebuild
index 8a4bdcb48..049920fee 100644
--- a/sys-cluster/cinder/cinder-20.0.0.ebuild
+++ b/sys-cluster/cinder/cinder-20.0.0.ebuild
@@ -20,7 +20,7 @@ KEYWORDS="~amd64"
 
 LICENSE="Apache-2.0 GPL-2"
 SLOT="0"
-IUSE="+api +scheduler +volume infiniband iscsi lvm mysql +memcached postgres rdma sqlite +tcp test +tgt"
+IUSE="test"
 
 # qemu is needed for image conversion
 RDEPEND="
@@ -86,23 +86,7 @@ RDEPEND="
 	>=dev-python/zstd-1.4.5.1[${PYTHON_USEDEP}]
 	>=dev-python/boto3-1.16.51[${PYTHON_USEDEP}]
 
-	iscsi? (
-		tgt? ( sys-block/tgt )
-		sys-block/open-iscsi
-	)
-	lvm? ( sys-fs/lvm2 )
-	memcached? ( net-misc/memcached )
-	mysql? (
-		>=dev-python/pymysql-0.7.6[${PYTHON_USEDEP}]
-		>=dev-python/sqlalchemy-1.4.23[${PYTHON_USEDEP}]
-	)
-	sqlite? (
-		>=dev-python/sqlalchemy-1.4.23[sqlite,${PYTHON_USEDEP}]
-	)
-	postgres? (
-		>=dev-python/psycopg-2.5.0[${PYTHON_USEDEP}]
-		>=dev-python/sqlalchemy-1.4.23[${PYTHON_USEDEP}]
-	)
+	>=dev-python/sqlalchemy-1.4.23[${PYTHON_USEDEP}]
 
 	acct-user/cinder
 	acct-group/cinder
@@ -119,29 +103,16 @@ BDEPEND="
 		>=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}]
 		>=dev-python/oslotest-4.5.0[${PYTHON_USEDEP}]
 		>=dev-python/testtools-2.4.0[${PYTHON_USEDEP}]
+		>=dev-python/pymysql-0.7.6[${PYTHON_USEDEP}]
+		>=dev-python/psycopg-2.5.0[${PYTHON_USEDEP}]
 	)
 "
 
 RESTRICT="!test? ( test )"
-REQUIRED_USE="
-	|| ( mysql postgres sqlite )
-	iscsi? ( tgt )
-	infiniband? ( rdma )
-	test? ( mysql postgres )
-"
 
 pkg_pretend() {
 	linux-info_pkg_setup
-	CONFIG_CHECK_MODULES=""
-	if use tcp; then
-		CONFIG_CHECK_MODULES+="SCSI_ISCSI_ATTRS ISCSI_TCP "
-	fi
-	if use rdma; then
-		CONFIG_CHECK_MODULES+="INFINIBAND_ISER "
-	fi
-	if use infiniband; then
-		CONFIG_CHECK_MODULES+="INFINIBAND_IPOIB INFINIBAND_USER_MAD INFINIBAND_USER_ACCESS"
-	fi
+	CONFIG_CHECK_MODULES+="SCSI_ISCSI_ATTRS ISCSI_TCP "
 	if linux_config_exists; then
 		for module in ${CONFIG_CHECK_MODULES}; do
 			linux_chkconfig_present ${module} || ewarn "${module} needs to be enabled"
@@ -201,8 +172,6 @@ python_install_all() {
 
 pkg_postinst() {
 	tmpfiles_process cinder.conf
-	if use iscsi ; then
-		elog "Cinder needs tgtd to be installed and running to work with iscsi"
-		elog "it also needs 'include /var/lib/cinder/volumes/*' in /etc/tgt/targets.conf"
-	fi
+	elog "Cinder needs tgtd to be installed and running to work with iscsi"
+	elog "it also needs 'include /var/lib/cinder/volumes/*' in /etc/tgt/targets.conf"
 }

diff --git a/sys-cluster/cinder/metadata.xml b/sys-cluster/cinder/metadata.xml
index 51c36e900..60948bb4b 100644
--- a/sys-cluster/cinder/metadata.xml
+++ b/sys-cluster/cinder/metadata.xml
@@ -6,17 +6,6 @@
     <email>lssndrbarbieri@gmail.com</email>
     <name>Alessandro Barbieri</name>
   </maintainer>
-  <use>
-    <flag name="api">Installs the initscripts for the cinder api service</flag>
-    <flag name="iscsi">Allow using an iSCSI remote storage server as pool for disk image storage</flag>
-    <flag name="lvm">Allow using the Logical Volume Manager (<pkg>sys-fs/lvm2</pkg>) as pool for disk image storage</flag>
-    <flag name="memcached">Installs the memcached server</flag>
-    <flag name="rdma">Enable rdma storage backend support</flag>
-    <flag name="scheduler">Installs the initscripts for the cinder scheduler service</flag>
-    <flag name="tcp">Enables tcp support for the iscsi backend</flag>
-    <flag name="tgt">Enable tgt storage backend support</flag>
-    <flag name="volume">Installs the initscripts for the cinder volume service</flag>
-  </use>
   <upstream>
     <remote-id type="launchpad">cinder</remote-id>
   </upstream>


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

* [gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/cinder/
@ 2022-04-19 18:31 Alessandro Barbieri
  0 siblings, 0 replies; 8+ messages in thread
From: Alessandro Barbieri @ 2022-04-19 18:31 UTC (permalink / raw
  To: gentoo-commits

commit:     6e558025d6959c18229b8cd15cf2b9a0a31c6ac7
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Mon Apr 18 22:44:03 2022 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Tue Apr 19 18:31:26 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=6e558025

sys-cluster/cinder: optfeatures

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

 sys-cluster/cinder/cinder-20.0.0.ebuild | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/sys-cluster/cinder/cinder-20.0.0.ebuild b/sys-cluster/cinder/cinder-20.0.0.ebuild
index 049920fee..3d31df44a 100644
--- a/sys-cluster/cinder/cinder-20.0.0.ebuild
+++ b/sys-cluster/cinder/cinder-20.0.0.ebuild
@@ -6,7 +6,7 @@ EAPI=8
 MYP="${P/_rc/rc}"
 PYTHON_COMPAT=( python3_{8..9} )
 
-inherit distutils-r1 linux-info systemd tmpfiles
+inherit distutils-r1 linux-info optfeature systemd tmpfiles
 
 DESCRIPTION="Cinder is the OpenStack Block storage service, a spin out of nova-volumes"
 HOMEPAGE="
@@ -172,6 +172,11 @@ python_install_all() {
 
 pkg_postinst() {
 	tmpfiles_process cinder.conf
+
 	elog "Cinder needs tgtd to be installed and running to work with iscsi"
 	elog "it also needs 'include /var/lib/cinder/volumes/*' in /etc/tgt/targets.conf"
+
+	optfeature "datacore" >=dev-python/websocket-client-0.32.0
+	optfeature "powermax" >=dev-python/pyopenssl-17.5.0
+	optfeature "ds8k" >=dev-python/pyopenssl-17.5.0
 }


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

* [gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/cinder/
@ 2022-04-24 16:01 Alessandro Barbieri
  0 siblings, 0 replies; 8+ messages in thread
From: Alessandro Barbieri @ 2022-04-24 16:01 UTC (permalink / raw
  To: gentoo-commits

commit:     46863c3cc91f3e8361e2b08ce9ef4a9e7748dcfe
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Sun Apr 24 13:14:06 2022 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Sun Apr 24 16:01:14 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=46863c3c

sys-cluster/cinder: enable test

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

 sys-cluster/cinder/cinder-20.0.0.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-cluster/cinder/cinder-20.0.0.ebuild b/sys-cluster/cinder/cinder-20.0.0.ebuild
index 6f95229e3..c3a5ea2c2 100644
--- a/sys-cluster/cinder/cinder-20.0.0.ebuild
+++ b/sys-cluster/cinder/cinder-20.0.0.ebuild
@@ -20,7 +20,6 @@ KEYWORDS="~amd64"
 
 LICENSE="Apache-2.0 GPL-2"
 SLOT="0"
-IUSE="test"
 
 # qemu is needed for image conversion
 RDEPEND="
@@ -109,9 +108,10 @@ BDEPEND="
 	)
 "
 
-RESTRICT="!test? ( test )"
 PATCHES=( "${FILESDIR}/${P}-no-vendored-urllib.patch" )
 
+distutils_enable_tests pytest
+
 pkg_pretend() {
 	linux-info_pkg_setup
 	CONFIG_CHECK_MODULES+="SCSI_ISCSI_ATTRS ISCSI_TCP "


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

* [gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/cinder/
@ 2022-05-03 20:21 Alessandro Barbieri
  0 siblings, 0 replies; 8+ messages in thread
From: Alessandro Barbieri @ 2022-05-03 20:21 UTC (permalink / raw
  To: gentoo-commits

commit:     cc30aaa9cbb7d5aca643d2784d240beaeb3a3995
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Tue May  3 18:37:36 2022 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Tue May  3 20:21:34 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=cc30aaa9

sys-cluster/cinder: remove hacking test, more test deps

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

 sys-cluster/cinder/cinder-20.0.0.ebuild | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/sys-cluster/cinder/cinder-20.0.0.ebuild b/sys-cluster/cinder/cinder-20.0.0.ebuild
index c3a5ea2c2..3d2eb4da1 100644
--- a/sys-cluster/cinder/cinder-20.0.0.ebuild
+++ b/sys-cluster/cinder/cinder-20.0.0.ebuild
@@ -105,6 +105,10 @@ BDEPEND="
 		>=dev-python/testtools-2.4.0[${PYTHON_USEDEP}]
 		>=dev-python/pymysql-0.7.6[${PYTHON_USEDEP}]
 		>=dev-python/psycopg-2.5.0[${PYTHON_USEDEP}]
+
+		dev-python/SQLAlchemy-Utils[${PYTHON_USEDEP}]
+		dev-python/moto[${PYTHON_USEDEP}]
+		dev-python/testresources[${PYTHON_USEDEP}]
 	)
 "
 
@@ -123,6 +127,7 @@ pkg_pretend() {
 }
 
 python_prepare_all() {
+	rm cinder/tests/unit/test_hacking.py || die
 	sed -i '/^hacking/d' test-requirements.txt || die
 	# only used for docs
 	sed -i '/^sphinx-feature-classification/d' requirements.txt || die


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

* [gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/cinder/
@ 2022-05-05 23:37 Alessandro Barbieri
  0 siblings, 0 replies; 8+ messages in thread
From: Alessandro Barbieri @ 2022-05-05 23:37 UTC (permalink / raw
  To: gentoo-commits

commit:     e423cb7e50156499520fc1037d7e16a77e3104f1
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Thu May  5 15:41:09 2022 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Thu May  5 23:37:52 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e423cb7e

sys-cluster/cinder: add missing test dep

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

 sys-cluster/cinder/cinder-20.0.0.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sys-cluster/cinder/cinder-20.0.0.ebuild b/sys-cluster/cinder/cinder-20.0.0.ebuild
index 3d2eb4da1..ade70edbf 100644
--- a/sys-cluster/cinder/cinder-20.0.0.ebuild
+++ b/sys-cluster/cinder/cinder-20.0.0.ebuild
@@ -109,6 +109,7 @@ BDEPEND="
 		dev-python/SQLAlchemy-Utils[${PYTHON_USEDEP}]
 		dev-python/moto[${PYTHON_USEDEP}]
 		dev-python/testresources[${PYTHON_USEDEP}]
+		dev-python/testscenarios[${PYTHON_USEDEP}]
 	)
 "
 


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

end of thread, other threads:[~2022-05-05 23:38 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-19 18:31 [gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/cinder/ Alessandro Barbieri
  -- strict thread matches above, loose matches on Subject: below --
2022-05-05 23:37 Alessandro Barbieri
2022-05-03 20:21 Alessandro Barbieri
2022-04-24 16:01 Alessandro Barbieri
2022-04-19 18:31 Alessandro Barbieri
2022-04-04 19:32 Alessandro Barbieri
2021-09-26 19:34 Alessandro Barbieri
2021-06-24 23:26 Alessandro Barbieri

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