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