Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/txAMQP/
Date: Mon, 27 Jan 2020 12:21:15
Message-Id: 1580127647.71d112b0a9be1a450ab19b260a890a8580b268e4.mgorny@gentoo
1 commit: 71d112b0a9be1a450ab19b260a890a8580b268e4
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jan 27 11:13:38 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Mon Jan 27 12:20:47 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=71d112b0
7
8 dev-python/txAMQP: Remove old
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/txAMQP/Manifest | 2 --
13 dev-python/txAMQP/txAMQP-0.6.2.ebuild | 18 -----------
14 dev-python/txAMQP/txAMQP-0.7.0.ebuild | 57 -----------------------------------
15 3 files changed, 77 deletions(-)
16
17 diff --git a/dev-python/txAMQP/Manifest b/dev-python/txAMQP/Manifest
18 index fa9dee54365..22dcf4e3410 100644
19 --- a/dev-python/txAMQP/Manifest
20 +++ b/dev-python/txAMQP/Manifest
21 @@ -1,3 +1 @@
22 -DIST txAMQP-0.6.2.tar.gz 20749 BLAKE2B 697271755e2f736424cbbaecd6a009b875326c0da9fe4c06f03da9c7b662ecd263c5ac4c770debc0c8c65098e2d01bf9ca74509972b5be56da8572a43260cd0a SHA512 676797a5ae4e013d3cbf42e94f2a3e0421c9db0056e2abaee7bfacbb2b31b50948b5ac51d389ba6f8c609207a294c35ee9359813f3151f37d049092bd1aed78a
23 -DIST txamqp-0.7.0.tar.gz 117964 BLAKE2B 0ad4c0e9606b6a333ee55f8717d8ead587e5980274d84f1c04652461fddca2f8202485c0f13cba8507ecd7049a1a414166d685326ef146f4d14d1734f0634065 SHA512 8af8dee44885fce6a8015fc3763ff1fd6a3effb8cc954b5ee2baed7c652a34440df4c6d8360b22930dc5b488e9965c3f8ad4ff8d49604ad80e31b6de70c233c5
24 DIST txamqp-0.8.2.tar.gz 118560 BLAKE2B 6e60cc0785462b92d046a620cc09eda8b7783bd09186a60299eba11c8f6f5780fc38b094ea974e4f1e443d3d30ee1428f30ad25fdb43554d25db17f36d323527 SHA512 4a5e468482433e684dc690abddeba3e0a6c77630055afe44487de72feecad9c750d179c43dee4e781d09c9c21259cecd615dc9f6eaa7d9ff7ca0796248ad5a02
25
26 diff --git a/dev-python/txAMQP/txAMQP-0.6.2.ebuild b/dev-python/txAMQP/txAMQP-0.6.2.ebuild
27 deleted file mode 100644
28 index 8feb2695f49..00000000000
29 --- a/dev-python/txAMQP/txAMQP-0.6.2.ebuild
30 +++ /dev/null
31 @@ -1,18 +0,0 @@
32 -# Copyright 1999-2017 Gentoo Foundation
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI="5"
36 -PYTHON_COMPAT=( python2_7 )
37 -inherit distutils-r1
38 -
39 -DESCRIPTION="Python library for communicating with AMQP peers using Twisted"
40 -HOMEPAGE="https://github.com/txamqp/txamqp"
41 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
42 -
43 -LICENSE="Apache-2.0"
44 -KEYWORDS="amd64 x86 ~x64-solaris"
45 -SLOT="0"
46 -IUSE=""
47 -
48 -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
49 -RDEPEND="dev-python/twisted-core[${PYTHON_USEDEP}]"
50
51 diff --git a/dev-python/txAMQP/txAMQP-0.7.0.ebuild b/dev-python/txAMQP/txAMQP-0.7.0.ebuild
52 deleted file mode 100644
53 index 7220086d7f0..00000000000
54 --- a/dev-python/txAMQP/txAMQP-0.7.0.ebuild
55 +++ /dev/null
56 @@ -1,57 +0,0 @@
57 -# Copyright 1999-2017 Gentoo Foundation
58 -# Distributed under the terms of the GNU General Public License v2
59 -
60 -EAPI=6
61 -
62 -PYTHON_COMPAT=( python2_7 )
63 -inherit distutils-r1
64 -
65 -MY_P=${PN,,}-${PV}
66 -DESCRIPTION="Python library for communicating with AMQP peers using Twisted"
67 -HOMEPAGE="https://github.com/txamqp/txamqp"
68 -# pypi tarball misses necessary test files
69 -SRC_URI="https://github.com/txamqp/txamqp/archive/${PV}.tar.gz -> ${MY_P}.tar.gz"
70 -
71 -LICENSE="Apache-2.0"
72 -KEYWORDS="~amd64 ~x86 ~x64-solaris"
73 -SLOT="0"
74 -IUSE="test"
75 -
76 -# TODO: split twisted-core gives minor test failure, get rid of it
77 -# when we port revdeps
78 -RDEPEND="
79 - || (
80 - dev-python/twisted[${PYTHON_USEDEP}]
81 - dev-python/twisted-core[${PYTHON_USEDEP}]
82 - )"
83 -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
84 - test? (
85 - ${RDEPEND}
86 - net-misc/rabbitmq-server
87 - )"
88 -
89 -S=${WORKDIR}/${MY_P}
90 -
91 -# Tests connect to the system rabbitmq server
92 -# TODO: figure out how to start an isolated instance
93 -RESTRICT="test"
94 -
95 -python_test() {
96 - cd src || die
97 - # tests look for those files relatively to modules
98 - cp -r specs "${BUILD_DIR}"/lib || die
99 -
100 - TXAMQP_BROKER=RABBITMQ trial txamqp
101 - local ret=${?}
102 -
103 - # avoid installing spec files
104 - rm -r "${BUILD_DIR}"/lib/specs || die
105 -
106 - [[ ${ret} == 0 ]] || die "Tests failed with ${EPYTHON}"
107 -}
108 -
109 -python_install_all() {
110 - local DOCS=( doc/* )
111 -
112 - distutils-r1_python_install_all
113 -}