diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-python/txAMQP |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-python/txAMQP')
-rw-r--r-- | dev-python/txAMQP/Manifest | 7 | ||||
-rw-r--r-- | dev-python/txAMQP/metadata.xml | 12 | ||||
-rw-r--r-- | dev-python/txAMQP/txAMQP-0.6.2.ebuild | 18 | ||||
-rw-r--r-- | dev-python/txAMQP/txAMQP-0.7.0.ebuild | 57 |
4 files changed, 94 insertions, 0 deletions
diff --git a/dev-python/txAMQP/Manifest b/dev-python/txAMQP/Manifest new file mode 100644 index 000000000000..b1642c881ced --- /dev/null +++ b/dev-python/txAMQP/Manifest @@ -0,0 +1,7 @@ +DIST txAMQP-0.6.2.tar.gz 20749 SHA256 ab70a5e443d7aa4488e48d683ad32cf152e1a347198dafdd5d87a42643d61cf0 SHA512 676797a5ae4e013d3cbf42e94f2a3e0421c9db0056e2abaee7bfacbb2b31b50948b5ac51d389ba6f8c609207a294c35ee9359813f3151f37d049092bd1aed78a WHIRLPOOL aa0fb96ae068ec67e0e1f4ce545b4e20067eb5acf7c993b21144d0a55fc67de1afd2c00d87783f5933e015e43f83b3cf871414fea5eaf16c2643914a81d1822e +DIST txamqp-0.7.0.tar.gz 117964 SHA256 8ba99b861270c56fa0e574ef1c9a1eb86b72464470617976fcd2669af0e6b23e SHA512 8af8dee44885fce6a8015fc3763ff1fd6a3effb8cc954b5ee2baed7c652a34440df4c6d8360b22930dc5b488e9965c3f8ad4ff8d49604ad80e31b6de70c233c5 WHIRLPOOL dfbfc6bfc917f833bb7dfc6a64e4c11b6451b2b34c7b61c908802c1703e2a1917edaf386b7a8cb72aacceef81f93b4634ce13dbd73474b8756d1480b80097d6e +EBUILD txAMQP-0.6.2.ebuild 515 SHA256 977b05e78c7301b8e768d125be825b0e7056efa2edbc53dc08e3e87b7e4330e3 SHA512 f1c5418b953c91d1f6ee56d51d9e07e2c013e54e5fb463e8d2b35cfdd06ae82bda5d4415273d5c11f53bae1b42b531e549097d922b20a5c5dc1a7fddc0f1036f WHIRLPOOL c8ff80df118a6a8112142b131192bc39b7fdd1a21b86299671dc7abb32313be32165315cc9c052fd64cfce1ad769c18d98b09f366297e4e4b7ceb934cb93d94a +EBUILD txAMQP-0.7.0.ebuild 1333 SHA256 2d49033adf801ec8da57422108a8bab8bcb48fd83d62eab6fad1586a28d0ad16 SHA512 d92469eb0a1415bc70f0d8eb3fd5116b2315bd2b0bfb392acb7e0a0f69278492157d9f6b56002a69d45f9a33ea68de78d9a2143e220402e9036669a0c678a8b0 WHIRLPOOL b5641e576375db425f31dc4111d05612934388124f6461e4675f3b45181b33efbcf66bbb77ff2fdab94e68ec00cad5292ce65e795d41f84d967fd062bbab6438 +MISC ChangeLog 2690 SHA256 baac8a7ffc99bf1fe84d03c6e25467abe1488ad3fcdd8cecf501595e57b949b5 SHA512 0f9b4d1fcfa885a5bb8db5393e712210c23e746d9b3e95247675087ef66b1e9792674b2269ae109e54b551b1354800605e843e1b332b2607ecb4fb880815a3ad WHIRLPOOL 9aa14e1c5075ee409c6ff542734331201f24f73d3dcbaca820bc73eda44e7d04a82e7fb09ce0274869950373a828c7c315d9e39cfaf7e07fb0af0c723b6b8f59 +MISC ChangeLog-2015 1884 SHA256 ec5d5f6ecf0d73684648234aaab84facf7baf42ee86d24728c77ca8d2f3cf9fa SHA512 cd446d5e2bef32caaf17bc1b99f313452e3234a67c42a700d48bfbcc6ce93a4bee927f998f730cd3a8b509173ecfad8a9742fd679f7b044dca2d301fc99d94ac WHIRLPOOL b15f1bfe679b168f7fd06461eac47b0287da3ba1eb21de1ad5eafeb5efff46871d1e39e5d8290df1ccf627aa3eb5cd2aa028b09a22f682d1fc3c5ad62b202881 +MISC metadata.xml 362 SHA256 0b6c0b8399c4bcbc13235995c3588891aa40c70b8511710fd908db0454428c2d SHA512 392c1ac853d4e3d1b35938fdb24e63c0cec77eee230b8ef27f4126c26c10296e7039c9c9ed519157f6be0fc086b937c23fb3588e0f831e6fad84bd8ba085c5a0 WHIRLPOOL b859e3ac2222ab2972ad6b613989c54998cde2a36c56499aa9ed390614fbd09e541d5072fa3aec634cee06d82fc65d1ff1bab5ca4ca97414e780ee394d0c653f diff --git a/dev-python/txAMQP/metadata.xml b/dev-python/txAMQP/metadata.xml new file mode 100644 index 000000000000..791f8b34f5de --- /dev/null +++ b/dev-python/txAMQP/metadata.xml @@ -0,0 +1,12 @@ +<?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> + <upstream> + <remote-id type="pypi">txAMQP</remote-id> + <remote-id type="github">txamqp/txamqp</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/txAMQP/txAMQP-0.6.2.ebuild b/dev-python/txAMQP/txAMQP-0.6.2.ebuild new file mode 100644 index 000000000000..8feb2695f495 --- /dev/null +++ b/dev-python/txAMQP/txAMQP-0.6.2.ebuild @@ -0,0 +1,18 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" +PYTHON_COMPAT=( python2_7 ) +inherit distutils-r1 + +DESCRIPTION="Python library for communicating with AMQP peers using Twisted" +HOMEPAGE="https://github.com/txamqp/txamqp" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +KEYWORDS="amd64 x86 ~x64-solaris" +SLOT="0" +IUSE="" + +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" +RDEPEND="dev-python/twisted-core[${PYTHON_USEDEP}]" diff --git a/dev-python/txAMQP/txAMQP-0.7.0.ebuild b/dev-python/txAMQP/txAMQP-0.7.0.ebuild new file mode 100644 index 000000000000..7220086d7f04 --- /dev/null +++ b/dev-python/txAMQP/txAMQP-0.7.0.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 ) +inherit distutils-r1 + +MY_P=${PN,,}-${PV} +DESCRIPTION="Python library for communicating with AMQP peers using Twisted" +HOMEPAGE="https://github.com/txamqp/txamqp" +# pypi tarball misses necessary test files +SRC_URI="https://github.com/txamqp/txamqp/archive/${PV}.tar.gz -> ${MY_P}.tar.gz" + +LICENSE="Apache-2.0" +KEYWORDS="~amd64 ~x86 ~x64-solaris" +SLOT="0" +IUSE="test" + +# TODO: split twisted-core gives minor test failure, get rid of it +# when we port revdeps +RDEPEND=" + || ( + dev-python/twisted[${PYTHON_USEDEP}] + dev-python/twisted-core[${PYTHON_USEDEP}] + )" +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + ${RDEPEND} + net-misc/rabbitmq-server + )" + +S=${WORKDIR}/${MY_P} + +# Tests connect to the system rabbitmq server +# TODO: figure out how to start an isolated instance +RESTRICT="test" + +python_test() { + cd src || die + # tests look for those files relatively to modules + cp -r specs "${BUILD_DIR}"/lib || die + + TXAMQP_BROKER=RABBITMQ trial txamqp + local ret=${?} + + # avoid installing spec files + rm -r "${BUILD_DIR}"/lib/specs || die + + [[ ${ret} == 0 ]] || die "Tests failed with ${EPYTHON}" +} + +python_install_all() { + local DOCS=( doc/* ) + + distutils-r1_python_install_all +} |