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/slixmpp/
Date: Sat, 30 Jan 2021 09:19:22
Message-Id: 1611996926.197d3f7ef43b1f3fd714c2ea2e9aacf37b0176a4.mgorny@gentoo
1 commit: 197d3f7ef43b1f3fd714c2ea2e9aacf37b0176a4
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jan 30 08:55:26 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sat Jan 30 08:55:26 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=197d3f7e
7
8 dev-python/slixmpp: Bump to 1.7.0
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/slixmpp/Manifest | 1 +
13 dev-python/slixmpp/slixmpp-1.7.0.ebuild | 38 +++++++++++++++++++++++++++++++++
14 2 files changed, 39 insertions(+)
15
16 diff --git a/dev-python/slixmpp/Manifest b/dev-python/slixmpp/Manifest
17 index 4ea9f8f47eb..96fc03add98 100644
18 --- a/dev-python/slixmpp/Manifest
19 +++ b/dev-python/slixmpp/Manifest
20 @@ -1,2 +1,3 @@
21 DIST slixmpp-1.4.2.tar.gz 864608 BLAKE2B 9689b274a9c787174248c094329ea33783627a45ef39708a611013454953de4fa8799ca5a35950a3f3ed49bebf5c56f6f2bea079bcc2a3dce7d2648bfd812371 SHA512 3b3356352af8d7ec8cca15210c0524ce0bb5e313d8c5455bec13e82aec261f6d094a99df9f08642418a0e4abea4ee1ff607e42e1c166b9be1c26534b690c330b
22 DIST slixmpp-1.5.2.tar.gz 886383 BLAKE2B 6b5ed074ab182f449bf7d2919c241694ea4ff24567546c50a3d228af7708826fb9bfd89b4fccf8a31ae2909399b57caa752a71c187cffbe133bab13b41da814f SHA512 4f377246526c03ae02ece370ba8c9fa7c26a89eca7a012a1a89b8186b6c226d72287c15a7668ca85bfc8f2200765406dbc0fa9cb0e358c3755f551df8eb0d59f
23 +DIST slixmpp-1.7.0.tar.gz 931610 BLAKE2B bb84e33681cc2701dbfc164ad4e727236dbe5fe1206a4c4e93843f9cbd870b6b3efb03b89ae61ddde4249c4928a81edaea9caf1d04b88e3b5cb0e81b1fe3fad7 SHA512 1f70f6b0419877865b80213a50ba181639cbf64fd808695d7a95eae460635a537492f72bed0e6d77d33dc9a5da4ec505da4cd44526bdee2a39b56b98a9974cfc
24
25 diff --git a/dev-python/slixmpp/slixmpp-1.7.0.ebuild b/dev-python/slixmpp/slixmpp-1.7.0.ebuild
26 new file mode 100644
27 index 00000000000..0f5e88aa5f6
28 --- /dev/null
29 +++ b/dev-python/slixmpp/slixmpp-1.7.0.ebuild
30 @@ -0,0 +1,38 @@
31 +# Copyright 1999-2021 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=7
35 +
36 +PYTHON_COMPAT=( python3_{7..9} )
37 +
38 +inherit distutils-r1
39 +
40 +DESCRIPTION="Python 3 library for XMPP"
41 +HOMEPAGE="https://lab.louiz.org/poezio/slixmpp"
42 +LICENSE="MIT"
43 +SLOT="0"
44 +
45 +if [[ "${PV}" == "9999" ]]; then
46 + EGIT_REPO_URI="https://lab.louiz.org/poezio/${PN}.git"
47 + inherit git-r3
48 +else
49 + SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
50 + KEYWORDS="~amd64"
51 +fi
52 +
53 +DEPEND="
54 + net-dns/libidn
55 +"
56 +RDEPEND="
57 + dev-python/aiodns[${PYTHON_USEDEP}]
58 + dev-python/aiohttp[${PYTHON_USEDEP}]
59 + dev-python/pyasn1-modules[${PYTHON_USEDEP}]
60 + dev-python/pyasn1[${PYTHON_USEDEP}]
61 + ${DEPEND}
62 +"
63 +
64 +distutils_enable_tests unittest
65 +
66 +python_test() {
67 + "${EPYTHON}" ./run_tests.py || die "Tests failed with ${EPYTHON}"
68 +}