diff options
Diffstat (limited to 'dev-python/libcloud')
-rw-r--r-- | dev-python/libcloud/Manifest | 7 | ||||
-rw-r--r-- | dev-python/libcloud/libcloud-0.15.1.ebuild | 50 | ||||
-rw-r--r-- | dev-python/libcloud/libcloud-1.2.1.ebuild | 51 | ||||
-rw-r--r-- | dev-python/libcloud/metadata.xml | 8 |
4 files changed, 116 insertions, 0 deletions
diff --git a/dev-python/libcloud/Manifest b/dev-python/libcloud/Manifest new file mode 100644 index 000000000000..03ba739f8bd7 --- /dev/null +++ b/dev-python/libcloud/Manifest @@ -0,0 +1,7 @@ +DIST apache-libcloud-0.15.1.tar.bz2 570953 SHA256 557e3f29e0ab1f19a31e858a8e802c822cb7f07df5edce029a1c67d2b0f30d15 SHA512 0cbc02c955cb91e135d73a5198ad216d0f91fa942b88dd1ffc1c46a487190f45500f003d2825cdb4f6c96c4ca7e5cf2681709769b0c2d8801b08e5a41b3d69b0 WHIRLPOOL 0143a7d2c337603f769bb2d3fd4fb98df18c82dfaa09c12fe481f18eb300c65d9efd4e18756d0c75a691b6d755fff0f62d41ccda3c9006955870fb8631d8366d +DIST apache-libcloud-1.2.1.tar.bz2 992983 SHA256 1f4f607855c1ff5d88dc709849e746a2213d99c6dfc7054244af8be1caf79062 SHA512 12e239f286d8eb523597488998582be02d6e8cd4e21a8fa7c639c829ba622833e4292ac4cd7cbc8b94670e19ec1711cb0032bc72433f421bf2ba2b8c70dcd954 WHIRLPOOL fb9574bfa81e08d34cbce6b96988425cf9b0aa44202397bf345383eee95e564de1427581cc3cb0095ea37912b64a40c65e1ca55383bac9a27ddce4ef63f4adbd +EBUILD libcloud-0.15.1.ebuild 1062 SHA256 af94edd09255884fb7b5ae24c16376497d2962d8dfa7cf53f29584512ab9ce96 SHA512 443b4f6d3f66169d0b54963dd7b804f9918bd5ac8c3e61d2e53efb9f015e41ea70ab3cae6012406b0eac4c61efe382c506727c1af2006eb6430b6294dd96cfc7 WHIRLPOOL 75408720caef25f1420baa814c8ac4fa8bef36d7a192f40cf9d65714b70f2ea8e525bbf1c74eed9d7e377414c330154bd93eb036f53630d5d78da5dc562c3816 +EBUILD libcloud-1.2.1.ebuild 1173 SHA256 f915f2a42b4d8c5200297555ff9c1bcb9ed74501ad903949e1fe26797d8fa03e SHA512 46a0171b1a4c021025d17120f0b99cfc4728b3329206b24c51efe5266bb7e2c8be77512f86ab116bbcff6f61755dd1259c6996025b9df1af81e27f5fa1574cf4 WHIRLPOOL 2f966e8c0d54bd23e08ccfcd7e8586833085e0d6cad8840d936be2f885c2ecdb487ae7023e7284707791dc972f9bff0f2109ca4fa73d80818f69c3482fe3d67d +MISC ChangeLog 3283 SHA256 0bd397acf6b1a13c2145dc129f08456189ed9e533f52c4be2ddd44ae201e2c72 SHA512 84267f934cbc8b24db3c79763c83368ef167c0298f9d358a8586526bb408af216952976c3324b490dda5ae3c446d1cb58578502718890ec2418e7ec1469331af WHIRLPOOL a8e505ad82a8073342caae444b0c62b971de375f719a14861ddb087c1910d9aa6508c4d3c649a5f736a5f61d8fdbb9112b80998d675f1da9324750bd9a95441d +MISC ChangeLog-2015 3296 SHA256 e997d4fe07d8a51bb3caf7ceb94160d9f3e563ecc95a8e33b62dc6a2bf349079 SHA512 4ea2fd458e4ca22efe545d8829b9cdfa624de21066e360422ba4059d472df1b7e54c26b34f5bbddb0580394c1d0ab7e36182e72867174f9f0c3974a087067fe2 WHIRLPOOL 92491e1b35684895e4d154dd6db3e7aa20515f6ba736190927cc4eed0fd371a75823164c943389241e37b3b89ae20f2672a97f395ddea6bdd125cbfa559342d7 +MISC metadata.xml 240 SHA256 07a76e79a43ffd9aa15de0e4ae548ea85aa5bd165c4602630c3519e60f113ee6 SHA512 9c23321eaa853f851bf00195ea64ac2ba093e516f9b57855ee5aa58fbb1988130c9f0c17c2a9ce9fae4ee033e0a28a70c868e0f5acdfa1dd316ab533c5279d59 WHIRLPOOL e3e059953c7c36bd942545f4e2a0e94ba938a17fe2bd04df81b137c185e64a213152c11918922563509e4767e601b41105f80c5983a87ee4d6be7704bcf7cf54 diff --git a/dev-python/libcloud/libcloud-0.15.1.ebuild b/dev-python/libcloud/libcloud-0.15.1.ebuild new file mode 100644 index 000000000000..604905a8f5b6 --- /dev/null +++ b/dev-python/libcloud/libcloud-0.15.1.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +# py3 dropped due to failing tests once lockfile installed +PYTHON_COMPAT=( python{2_7,3_4} pypy ) +PYTHON_REQ_USE="ssl(+)" + +inherit distutils-r1 + +DESCRIPTION="Unified Interface to the Cloud - python support libs" +HOMEPAGE="http://libcloud.apache.org/index.html" +SRC_URI="mirror://apache/${PN}/apache-${P}.tar.bz2" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="examples test" + +RDEPEND="" +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + dev-python/mock[${PYTHON_USEDEP}] + dev-python/lockfile[${PYTHON_USEDEP}] + )" + +S="${WORKDIR}/apache-${P}" + +python_prepare_all() { + if use examples; then + mkdir examples + mv example_*.py examples || die + fi + distutils-r1_python_prepare_all +} + +src_test() { + cp libcloud/test/secrets.py-dist libcloud/test/secrets.py || die + distutils-r1_src_test +} + +python_test() { + esetup.py test +} + +python_install_all() { + use examples && local EXAMPLES=( examples/. ) + distutils-r1_python_install_all +} diff --git a/dev-python/libcloud/libcloud-1.2.1.ebuild b/dev-python/libcloud/libcloud-1.2.1.ebuild new file mode 100644 index 000000000000..0d4c1eb35030 --- /dev/null +++ b/dev-python/libcloud/libcloud-1.2.1.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +# py3 dropped due to failing tests once lockfile installed +PYTHON_COMPAT=( python{2_7,3_4,3_5} pypy ) +PYTHON_REQ_USE="ssl(+)" + +inherit distutils-r1 + +DESCRIPTION="Unified Interface to the Cloud - python support libs" +HOMEPAGE="http://libcloud.apache.org/index.html" +SRC_URI="mirror://apache/${PN}/apache-${P}.tar.bz2" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="examples test" + +RDEPEND="" +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + dev-python/mock[${PYTHON_USEDEP}] + dev-python/lockfile[${PYTHON_USEDEP}] + $(python_gen_cond_dep 'dev-python/backports-ssl-match-hostname[${PYTHON_USEDEP}]' python{2_7,3_4} pypy) + )" + +S="${WORKDIR}/apache-${P}" + +python_prepare_all() { + if use examples; then + mkdir examples + mv example_*.py examples || die + fi + distutils-r1_python_prepare_all +} + +src_test() { + cp libcloud/test/secrets.py-dist libcloud/test/secrets.py || die + distutils-r1_src_test +} + +python_test() { + esetup.py test +} + +python_install_all() { + use examples && local EXAMPLES=( examples/. ) + distutils-r1_python_install_all +} diff --git a/dev-python/libcloud/metadata.xml b/dev-python/libcloud/metadata.xml new file mode 100644 index 000000000000..7f4f33c6dbc9 --- /dev/null +++ b/dev-python/libcloud/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> +</pkgmetadata> |