diff options
author | Matt Thode <prometheanfire@gentoo.org> | 2014-04-28 02:50:26 +0000 |
---|---|---|
committer | Matt Thode <prometheanfire@gentoo.org> | 2014-04-28 02:50:26 +0000 |
commit | abef3365cccc1013b4fdc35310750034f866e5fb (patch) | |
tree | 63b09e4201a0febc5e219e985319bf31735306e6 /sys-cluster | |
parent | more shit (diff) | |
download | historical-abef3365cccc1013b4fdc35310750034f866e5fb.tar.gz historical-abef3365cccc1013b4fdc35310750034f866e5fb.tar.bz2 historical-abef3365cccc1013b4fdc35310750034f866e5fb.zip |
yet more shit
Package-Manager: portage-2.2.8-r1/cvs/Linux x86_64
Manifest-Sign-Key: 0x2471EB3E40AC5AC3
Diffstat (limited to 'sys-cluster')
-rw-r--r-- | sys-cluster/cinder/ChangeLog | 9 | ||||
-rw-r--r-- | sys-cluster/cinder/Manifest | 31 | ||||
-rw-r--r-- | sys-cluster/cinder/cinder-2014.1.9999.ebuild | 124 | ||||
-rw-r--r-- | sys-cluster/cinder/cinder-2014.1.ebuild | 123 |
4 files changed, 272 insertions, 15 deletions
diff --git a/sys-cluster/cinder/ChangeLog b/sys-cluster/cinder/ChangeLog index 1d877834b7ce..1edc7e05b6e8 100644 --- a/sys-cluster/cinder/ChangeLog +++ b/sys-cluster/cinder/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for sys-cluster/cinder # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/cinder/ChangeLog,v 1.32 2014/04/06 06:12:47 prometheanfire Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/cinder/ChangeLog,v 1.33 2014/04/28 02:50:19 prometheanfire Exp $ + +*cinder-2014.1.9999 (28 Apr 2014) +*cinder-2014.1 (28 Apr 2014) + + 28 Apr 2014; Matthew Thode <prometheanfire@gentoo.org> + +cinder-2014.1.9999.ebuild, +cinder-2014.1.ebuild: + yet more shit *cinder-2013.2.3 (06 Apr 2014) diff --git a/sys-cluster/cinder/Manifest b/sys-cluster/cinder/Manifest index f06fbf86cdb0..b97bf51a86db 100644 --- a/sys-cluster/cinder/Manifest +++ b/sys-cluster/cinder/Manifest @@ -5,25 +5,28 @@ AUX cinder-confd 75 SHA256 178148ecb30d9d1a03e4f5210dfa235be3028dc2af7d6f7a4c2e4 AUX cinder-init 1436 SHA256 ef93804e171364da98232fca2bf25adfb16e062c8b4dd69ce12f280b08ca8154 SHA512 b6d9d5a949cd43669a28b4e2c54cf795c92f070d10b56130f5a024fcbf9934d9e4f910e78972f427c979e68ee71c55006ecc9008eacf5c8abbe4c81c7b0731bf WHIRLPOOL 5983f6cbf500359d4e03b89d240f7652bd22655c0edcb858052062c4886c4da1d72ded228dd79847f74c279d5592dab2945807f611db1bf847a2c6d2b9f8f619 AUX cinder-sudoers 86 SHA256 a2c2b8f50b21deaceaa2184c00725492cd96db44736cb3fe4bf4aaecc0805b6f SHA512 c158be54e721abc6916db2e710092ca75aac65ac88b19849ccd0f3ebbb7c8879aab6b73aba36537e806abd5b8b5e8fbc24fca79d00015d3308198d5270e51fe1 WHIRLPOOL 52642c53b34b089fb9c82c1307c02cd611ea834492a2919a12902bc974a146348a3dcde3db6058eb417395acaff8131398e70fbfa74c7325abcd695102f372c3 DIST cinder-2013.2.3.tar.gz 3223434 SHA256 a2740f0a0481139ae21cdb0868bebcce01b9f19832439b7f3056435e75791194 SHA512 b8e1451b3f01b2d76843fa0fe429f4b246f785f1d839397ef9ee4ab2bec1fff0f12d3f1d7ece63ee9b7ea71edf0b1aa24bb0cf685bb41e4deb9dfbbd433f175c WHIRLPOOL 11c5f8dd5fdbb1ca92ba10abccc64c292f61eac1b7bec7f681704bae623fa8bdaa585a42256496820fb1916788863a4ceb5f76f2214b85e21caf779770ccc001 +DIST cinder-2014.1.tar.gz 4624288 SHA256 5cd4e49e5e35906fcf9aa809e9d77319625383ea9ca5c4399a9d4b1c8ae984b5 SHA512 5937a735452f3bcde986ce48143415321f5a2bbc1fa33c29cc1e8d9425593d404945fb7926d881333795180788c23b790354245acb125d7d5361fa159abfac00 WHIRLPOOL 421b3f66d57d8ac33af63a7493fbe3a1c4be362a4412e7c15c7d995cb49c2d6570061c0a634e2864c5e006f22409be7c28c89a4a8c15835df3fb2eca697bb400 EBUILD cinder-2013.2.3.ebuild 4756 SHA256 114ad223cace230ef64d518e992d70e70a108858e19b77eb304082b669a2acdf SHA512 f1ac8dd43587e37604a7452dd31f7b35b9a9ec4f98827e85b133f14c8e52a6b8debf970534e1a6a25856fc846a35b98134e598d1ab9bb811d7d49f1d4b1b1b8e WHIRLPOOL 60333c7f14a4e6d70389c803ae33332a424bd3ff223a6c5a8ec63a57a56e9db02839bd465b1aabde4371010103dd71cade87212555270719fdfbeeccfdec94e1 EBUILD cinder-2013.2.9999.ebuild 4758 SHA256 7c15922c302e1b9a8c26fbc557892fd3a85bb23f18e877fb54b5443de069af2f SHA512 7aab183590ea0f38a13a94505dff770ee001e8e422f60c4178a61f9f997983cdfbdeb101cf837d99a37911648b5781b4f0851cb8020c81249e1dd485b58afad9 WHIRLPOOL 2e310912d350140d968694819052d7c70c4f47a5f1e92bb529699c2db10ab45f54127f28e703ad226c720a7feb0c80ab8e338db5c1dfdafb3325cba84dae0950 +EBUILD cinder-2014.1.9999.ebuild 4946 SHA256 05301064c6814e8876da177644b33a07f150508a75923e7ec6e848499033ac36 SHA512 7ac7ed3bd45dec8dc70199d8c6b73250d30345712d18169166b8ba516197e251d8b2f4860ed4cf72448b2a6153615869bac31f0b7116127e4fae819570298dd3 WHIRLPOOL 51d638f60e0fa8db643d2006f031117f9964e604cca735212bc99d54e948cbdc658c4ad670f1e08aa80e55fe703386b3dc84feb599ec1fe70a6a468e49b300d9 +EBUILD cinder-2014.1.ebuild 4934 SHA256 d17aa44532fd95df292060db0a09e2a3064d3eff0d75a27cafbf857371f3cc4d SHA512 5d1726c6d70012b2a363263d7fcfd875a0faab6593453b18d1c6bb1216b5b8316659ecbfc4b77d60e4c72fbde111d36c6a046e6410ae557cb667a1231545d502 WHIRLPOOL 83b7c95d2b2a1d433f82d2e5689ce795dc273223ebb43c6f7aaf4e609a434bf956f16cee33c28db66a295b628afe07b3d5293866258b5a79e7ce370c3768118b EBUILD cinder-9999.ebuild 3651 SHA256 ef4e69e7dd8f0a7dfe1978f31f38e5c3a668f58ef7af1c76a78eda399c7dad70 SHA512 4c1d88905c4394f2acebff85759987b94e38a79319f9227096fca94edc3eb56810de742874060b811c3f61d92fa01e35141445bf78afdfb925f07753f628bd69 WHIRLPOOL ebd9e226babd7d5820c16a5b201c04daf9ed29cd6699731513d93f27caabacca13a59797a418a50271e6fa8ddef5e699322d1f095eb3d598fdbf3c1ad3887b4c -MISC ChangeLog 6169 SHA256 54fb4fbe53fb09df834f9889f0ed726ccbaf37d4d5c857da039cf4e0e7d8c022 SHA512 d92536569392137fbbfcff364bf6e1bf44654f7d76a9b17fe93ef8c1cfd05967a099d3090d6540337377a91fec643e3a64167d561c2824c263372210c3189660 WHIRLPOOL d95957bb7f650cbb21c2febfa79f60ab0540a351ffb3935ded9dce2720ee4044d695d4bf0683b8dbfbfe67ea26a0e0b781187129e473a80cb5a44e1c99c59a60 +MISC ChangeLog 6360 SHA256 9ed3676c515ee6e86572875242fbd30914f046629303187ff0b5f220bef6f042 SHA512 973331f92922cf43d2697763cd6ae98ab290d63dc2114ea8b333c905e1f8336767aeb8801bd23bd13d4dc5ac8c18710d0d400dc9741f79aa824e14c205c6a3b2 WHIRLPOOL a0deebeb690470962e878722fe4e97293cbd7e58886d72041987372b6f72bb0bd2a740779aaad90e9d99b66588ef56647fee1c1e5fb5d845d72b841195777eda MISC metadata.xml 661 SHA256 9621b252596847dcd9bb85787c8659a9724f082a4fbbae416fee6109a32ed379 SHA512 50232b02941c021dd6400937eb2d74e4813f576abdd7923b622b84af0d04dcf0367e6de9d829f457988ef57732975d1662c35eaca9e0226cd99cb9d52ce06df9 WHIRLPOOL ac55bae82fb59b42cdd9a09a71789a2b19eed96f65a795fedcad5718e5bf26161f2eb3ce133a4316487088eddd58ea0533eaac87679ca88ed1dfca3ccace3c66 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) -iQIcBAEBCAAGBQJTQPChAAoJECRx6z5ArFrDWQ0P/3BqFf4bWbqPibEYzYfnmbq7 -bDrGw2Jp4BEzRSnjBhzh5h9E6hDYDDjsiFnGXRrtWKoGiHcYyo0WAzFNxK+hsKER -Eu1lKkZyjcdNq94MskyB8BT4XqfdMUjyax/eC19EVziX50wPoRgh3/l37zjIXKcy -zefH/VjDVORQk+Z06iYo54mJ4MYtBZvq4Eg3unFc1ydGvL5vd7YxhYLc8k6ADNmp -ByEs+6rCfI0M0LHHJVZm+9x12Cbs9+4ziAcne5kpOAW7Jf6ln8jfkqp/aTnU3KVE -wpBfrFndhLtVcuVv85Yd2wLSkRNpak8M0Ze/MsY0CjJsOQeGJrYU6Hhbq9IFYQrd -4BhbrlaCzpbAz7CpeNRwDIcV/Gr7qTKqaNOLK4h16OySscr2xP1r4E1qEkPaDDAw -0JxVBVjoYE0FeIu3u3kNygKafI9VoaZWfEA1UgQJ0gxjxy66ZJz6pSOXNpj9qQps -cM52NJKdHiX5JSAJQOWs3TVZGjLp3dkXYPaymHwMxNnzRWUHfHg7J3Z+PeN0f9Mh -2YYHuVQpYAqGiTnOmA5FznReAJLqWvY5mqiAtlxLl7iv+vFY7D1on6f9bJzahDz5 -9+Z6k1yacDidohlcBcR91FEt6+0z4JPgIYJ8zHfbPWDEVgNLPK4RdrXq12K6TpEG -owfGkLm28Ji5FkYocz5F -=XB5z +iQIcBAEBCAAGBQJTXcIDAAoJECRx6z5ArFrDnlIP/jIgNG8/O3ySWXE1qjNRooIk ++pSpTq/yl454s9Q8dDbac0j95tZOc9A8fD5Fva1epoRJDhRcCgr8vbf5VN1QTNJ8 +zn+GaAD5B8uxt1c12QpOPjPIMq7LWXpQxK3jv8y51REqICTd6voI+aH42qsMY10w +5HnUsFfTzS3zhHCC96FiZa0xyZPD+7/8nbHiacVu3b8Bu7zR70AJ20hgZvy31TzE +9TKlzV27lc/S0XAB+GMLxzf2nODCsMHfwuyMbQ7l2PSe2sqsSYtnW6uIvtpHtale +kyLwHUml7cY2KmhJgmzGGpZnh37QJsTEbwdjF0eMc+8KV4rspij5LAuR+eRWDSqm +uzf01Qaj8cdfEJN+gfb64J2A6WV1HzKDqz2Y51l6TQ5JuhIDIZfKo0EmiMstIO+d +yG0k75iKLymso334Cv3EL1WX8ll0AmlSj9s7CEDA4+1Lhdz47s6KwooBvDMyvTOa +njsBynjIOA8mIbGED0mKREM4TB02jGrVbsf4cp3CiGzkhpcejRAjBO9Mk4w/9+BN +hOMmQwpLFmRT9ix670RJYTrqwrWFeFbSuSd3tNJ06WX7s/eE9oQj0O7HotWrZHRE +SpxsW8HXv0aLTMCL+1jnFSKWZOX6m/3naHkt5kvfL5MPWFafBNiEUijxnnA1K2HP +DaMDeDcuZ5rTETbC+vnl +=I7H4 -----END PGP SIGNATURE----- diff --git a/sys-cluster/cinder/cinder-2014.1.9999.ebuild b/sys-cluster/cinder/cinder-2014.1.9999.ebuild new file mode 100644 index 000000000000..b8c87ec9bf57 --- /dev/null +++ b/sys-cluster/cinder/cinder-2014.1.9999.ebuild @@ -0,0 +1,124 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/cinder/cinder-2014.1.9999.ebuild,v 1.1 2014/04/28 02:50:19 prometheanfire Exp $ + +EAPI=5 +PYTHON_COMPAT=( python2_7 ) + +inherit distutils-r1 eutils git-2 user + +DESCRIPTION="Cinder is the OpenStack Block storage service, a spin out of nova-volumes." +HOMEPAGE="https://launchpad.net/cinder" +EGIT_REPO_URI="https://github.com/openstack/cinder.git" +EGIT_BRANCH="stable/icehouse" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="" +IUSE="+api +scheduler +volume mysql postgres sqlite test" +REQUIRED_USE="|| ( mysql postgres sqlite )" + +#sudo is a build dep because I want the sudoers.d directory to exist, lazy. +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] + >=dev-python/pbr-0.6[${PYTHON_USEDEP}] + <dev-python/pbr-1.0[${PYTHON_USEDEP}] + app-admin/sudo + test? ( >=dev-python/hacking-0.8.0[${PYTHON_USEDEP}] + <dev-python/hacking-0.9[${PYTHON_USEDEP}] + >=dev-python/coverage-3.6[${PYTHON_USEDEP}] + >=dev-python/fixtures-0.3.14[${PYTHON_USEDEP}] + >=dev-python/hp3parclient-3.0[${PYTHON_USEDEP}] + <dev-python/hp3parclient-4.0[${PYTHON_USEDEP}] + >=dev-python/mock-1.0[${PYTHON_USEDEP}] + >=dev-python/mox-0.5.3[${PYTHON_USEDEP}] + dev-python/mysql-python[${PYTHON_USEDEP}] + dev-python/psycopg[${PYTHON_USEDEP}] + >=dev-python/sphinx-1.1.2[${PYTHON_USEDEP}] + <dev-python/sphinx-1.2[${PYTHON_USEDEP}] + >=dev-python/subunit-0.0.18[${PYTHON_USEDEP}] + >=dev-python/testtools-0.9.34[${PYTHON_USEDEP}] + >=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}] + dev-python/oslo-sphinx[${PYTHON_USEDEP}] )" + +RDEPEND="=dev-python/amqplib-0.6.1-r1[${PYTHON_USEDEP}] + >=dev-python/anyjson-0.3.3[${PYTHON_USEDEP}] + virtual/python-argparse[${PYTHON_USEDEP}] + >=dev-python/Babel-1.3[${PYTHON_USEDEP}] + >=dev-python/eventlet-0.13.0[${PYTHON_USEDEP}] + >=dev-python/greenlet-0.3.2[${PYTHON_USEDEP}] + >=dev-python/iso8601-0.1.9[${PYTHON_USEDEP}] + >=dev-python/kombu-2.4.8[${PYTHON_USEDEP}] + >=dev-python/lxml-2.3[${PYTHON_USEDEP}] + >=dev-python/netaddr-0.7.6[${PYTHON_USEDEP}] + >=dev-python/oslo-config-1.2.0[${PYTHON_USEDEP}] + >=dev-python/oslo-messaging-1.3.0[${PYTHON_USEDEP}] + dev-python/oslo-rootwrap[${PYTHON_USEDEP}] + >=dev-python/paramiko-1.9.0[${PYTHON_USEDEP}] + dev-python/paste[${PYTHON_USEDEP}] + >=dev-python/pastedeploy-1.5.0[${PYTHON_USEDEP}] + >=dev-python/python-glanceclient-0.9.0[${PYTHON_USEDEP}] + >=dev-python/python-keystoneclient-0.7.0[${PYTHON_USEDEP}] + >=dev-python/python-novaclient-2.17.0[${PYTHON_USEDEP}] + >=dev-python/python-swiftclient-1.6[${PYTHON_USEDEP}] + >=dev-python/requests-1.1[${PYTHON_USEDEP}] + >=dev-python/routes-1.12.3[${PYTHON_USEDEP}] + >=dev-python/taskflow-0.1.3[${PYTHON_USEDEP}] + <dev-python/taskflow-0.2[${PYTHON_USEDEP}] + >=dev-python/rtslib-fb-2.1.39[${PYTHON_USEDEP}] + >=dev-python/six-1.5.2[${PYTHON_USEDEP}] + sqlite? ( >=dev-python/sqlalchemy-0.7.8[sqlite,${PYTHON_USEDEP}] + <dev-python/sqlalchemy-0.9.99[sqlite,${PYTHON_USEDEP}] ) + mysql? ( >=dev-python/sqlalchemy-0.7.8[mysql,${PYTHON_USEDEP}] + <dev-python/sqlalchemy-0.9.99[mysql,${PYTHON_USEDEP}] ) + postgres? ( >=dev-python/sqlalchemy-0.7.8[postgres,${PYTHON_USEDEP}] + <dev-python/sqlalchemy-0.9.99[postgres,${PYTHON_USEDEP}] ) + >=dev-python/sqlalchemy-migrate-0.9[${PYTHON_USEDEP}] + >=dev-python/stevedore-0.14[${PYTHON_USEDEP}] + >=dev-python/suds-0.4[${PYTHON_USEDEP}] + >=dev-python/webob-1.2.3-r1[${PYTHON_USEDEP}] + >=sys-block/iscsitarget-1.4.20.2_p20130821 + sys-fs/lvm2 + sys-block/open-iscsi + sys-fs/sysfsutils" + +PATCHES=( ) + +pkg_setup() { + enewgroup cinder + enewuser cinder -1 -1 /var/lib/cinder cinder +} + +#python_compile_all() { leave for next attempt +# use doc && emake -C doc html +#} + +python_test() { + # Let's track progress of this # https://bugs.launchpad.net/swift/+bug/1249727 + nosetests -I test_wsgi.py cinder/tests/ || die "tests failed under python2.7" +} + +python_install() { + distutils-r1_python_install + keepdir /etc/cinder + dodir /etc/cinder/rootwrap.d + newinitd "${FILESDIR}/cinder-init" "cinder" + newconfd "${FILESDIR}/cinder-confd" "cinder" + use api && dosym /etc/init.d/cinder /etc/init.d/cinder-api + use scheduler && dosym /etc/init.d/cinder /etc/init.d/cinder-scheduler + use volume && dosym /etc/init.d/cinder /etc/init.d/cinder-volume + + insinto /etc/cinder + newins "${S}/etc/cinder/cinder.conf.sample" "cinder.conf" + newins "${S}/etc/cinder/api-paste.ini" "api-paste.ini" + newins "${S}/etc/cinder/logging_sample.conf" "logging_sample.conf" + newins "${S}/etc/cinder/policy.json" "policy.json" + newins "${S}/etc/cinder/rootwrap.conf" "rootwrap.conf" + insinto /etc/cinder/rootwrap.d + newins "${S}/etc/cinder/rootwrap.d/volume.filters" "volume.filters" + + #add sudoers definitions for user nova + insinto /etc/sudoers.d/ + doins "${FILESDIR}/cinder-sudoers" + dodir /var/log/cinder + fowners cinder:cinder /var/log/cinder +} diff --git a/sys-cluster/cinder/cinder-2014.1.ebuild b/sys-cluster/cinder/cinder-2014.1.ebuild new file mode 100644 index 000000000000..d447ac9c530d --- /dev/null +++ b/sys-cluster/cinder/cinder-2014.1.ebuild @@ -0,0 +1,123 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/cinder/cinder-2014.1.ebuild,v 1.1 2014/04/28 02:50:19 prometheanfire Exp $ + +EAPI=5 +PYTHON_COMPAT=( python2_7 ) + +inherit distutils-r1 eutils user + +DESCRIPTION="Cinder is the OpenStack Block storage service, a spin out of nova-volumes." +HOMEPAGE="https://launchpad.net/cinder" +SRC_URI="http://launchpad.net/${PN}/icehouse/${PV}/+download/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+api +scheduler +volume mysql postgres sqlite test" +REQUIRED_USE="|| ( mysql postgres sqlite )" + +#sudo is a build dep because I want the sudoers.d directory to exist, lazy. +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] + >=dev-python/pbr-0.6[${PYTHON_USEDEP}] + <dev-python/pbr-1.0[${PYTHON_USEDEP}] + app-admin/sudo + test? ( >=dev-python/hacking-0.8.0[${PYTHON_USEDEP}] + <dev-python/hacking-0.9[${PYTHON_USEDEP}] + >=dev-python/coverage-3.6[${PYTHON_USEDEP}] + >=dev-python/fixtures-0.3.14[${PYTHON_USEDEP}] + >=dev-python/hp3parclient-3.0[${PYTHON_USEDEP}] + <dev-python/hp3parclient-4.0[${PYTHON_USEDEP}] + >=dev-python/mock-1.0[${PYTHON_USEDEP}] + >=dev-python/mox-0.5.3[${PYTHON_USEDEP}] + dev-python/mysql-python[${PYTHON_USEDEP}] + dev-python/psycopg[${PYTHON_USEDEP}] + >=dev-python/sphinx-1.1.2[${PYTHON_USEDEP}] + <dev-python/sphinx-1.2[${PYTHON_USEDEP}] + >=dev-python/subunit-0.0.18[${PYTHON_USEDEP}] + >=dev-python/testtools-0.9.34[${PYTHON_USEDEP}] + >=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}] + dev-python/oslo-sphinx[${PYTHON_USEDEP}] )" + +RDEPEND="=dev-python/amqplib-0.6.1-r1[${PYTHON_USEDEP}] + >=dev-python/anyjson-0.3.3[${PYTHON_USEDEP}] + virtual/python-argparse[${PYTHON_USEDEP}] + >=dev-python/Babel-1.3[${PYTHON_USEDEP}] + >=dev-python/eventlet-0.13.0[${PYTHON_USEDEP}] + >=dev-python/greenlet-0.3.2[${PYTHON_USEDEP}] + >=dev-python/iso8601-0.1.9[${PYTHON_USEDEP}] + >=dev-python/kombu-2.4.8[${PYTHON_USEDEP}] + >=dev-python/lxml-2.3[${PYTHON_USEDEP}] + >=dev-python/netaddr-0.7.6[${PYTHON_USEDEP}] + >=dev-python/oslo-config-1.2.0[${PYTHON_USEDEP}] + >=dev-python/oslo-messaging-1.3.0[${PYTHON_USEDEP}] + dev-python/oslo-rootwrap[${PYTHON_USEDEP}] + >=dev-python/paramiko-1.9.0[${PYTHON_USEDEP}] + dev-python/paste[${PYTHON_USEDEP}] + >=dev-python/pastedeploy-1.5.0[${PYTHON_USEDEP}] + >=dev-python/python-glanceclient-0.9.0[${PYTHON_USEDEP}] + >=dev-python/python-keystoneclient-0.7.0[${PYTHON_USEDEP}] + >=dev-python/python-novaclient-2.17.0[${PYTHON_USEDEP}] + >=dev-python/python-swiftclient-1.6[${PYTHON_USEDEP}] + >=dev-python/requests-1.1[${PYTHON_USEDEP}] + >=dev-python/routes-1.12.3[${PYTHON_USEDEP}] + >=dev-python/taskflow-0.1.3[${PYTHON_USEDEP}] + <dev-python/taskflow-0.2[${PYTHON_USEDEP}] + >=dev-python/rtslib-fb-2.1.39[${PYTHON_USEDEP}] + >=dev-python/six-1.5.2[${PYTHON_USEDEP}] + sqlite? ( >=dev-python/sqlalchemy-0.7.8[sqlite,${PYTHON_USEDEP}] + <dev-python/sqlalchemy-0.9.99[sqlite,${PYTHON_USEDEP}] ) + mysql? ( >=dev-python/sqlalchemy-0.7.8[mysql,${PYTHON_USEDEP}] + <dev-python/sqlalchemy-0.9.99[mysql,${PYTHON_USEDEP}] ) + postgres? ( >=dev-python/sqlalchemy-0.7.8[postgres,${PYTHON_USEDEP}] + <dev-python/sqlalchemy-0.9.99[postgres,${PYTHON_USEDEP}] ) + >=dev-python/sqlalchemy-migrate-0.9[${PYTHON_USEDEP}] + >=dev-python/stevedore-0.14[${PYTHON_USEDEP}] + >=dev-python/suds-0.4[${PYTHON_USEDEP}] + >=dev-python/webob-1.2.3-r1[${PYTHON_USEDEP}] + >=sys-block/iscsitarget-1.4.20.2_p20130821 + sys-fs/lvm2 + sys-block/open-iscsi + sys-fs/sysfsutils" + +PATCHES=( ) + +pkg_setup() { + enewgroup cinder + enewuser cinder -1 -1 /var/lib/cinder cinder +} + +#python_compile_all() { leave for next attempt +# use doc && emake -C doc html +#} + +python_test() { + # Let's track progress of this # https://bugs.launchpad.net/swift/+bug/1249727 + nosetests -I test_wsgi.py cinder/tests/ || die "tests failed under python2.7" +} + +python_install() { + distutils-r1_python_install + keepdir /etc/cinder + dodir /etc/cinder/rootwrap.d + newinitd "${FILESDIR}/cinder-init" "cinder" + newconfd "${FILESDIR}/cinder-confd" "cinder" + use api && dosym /etc/init.d/cinder /etc/init.d/cinder-api + use scheduler && dosym /etc/init.d/cinder /etc/init.d/cinder-scheduler + use volume && dosym /etc/init.d/cinder /etc/init.d/cinder-volume + + insinto /etc/cinder + newins "${S}/etc/cinder/cinder.conf.sample" "cinder.conf" + newins "${S}/etc/cinder/api-paste.ini" "api-paste.ini" + newins "${S}/etc/cinder/logging_sample.conf" "logging_sample.conf" + newins "${S}/etc/cinder/policy.json" "policy.json" + newins "${S}/etc/cinder/rootwrap.conf" "rootwrap.conf" + insinto /etc/cinder/rootwrap.d + newins "${S}/etc/cinder/rootwrap.d/volume.filters" "volume.filters" + + #add sudoers definitions for user nova + insinto /etc/sudoers.d/ + doins "${FILESDIR}/cinder-sudoers" + dodir /var/log/cinder + fowners cinder:cinder /var/log/cinder +} |