Gentoo Archives: gentoo-commits

From: Viorel Munteanu <ceamac.paragon@×××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-python/python-dbus-next/
Date: Fri, 24 Dec 2021 18:03:20
Message-Id: 1640368961.a06b219e8d3fdd3f1efedcbfcc276f8ea9b5cd12.viorel_munteanu@gentoo
1 commit: a06b219e8d3fdd3f1efedcbfcc276f8ea9b5cd12
2 Author: Viorel Munteanu <ceamac.paragon <AT> gmail <DOT> com>
3 AuthorDate: Fri Dec 24 17:56:05 2021 +0000
4 Commit: Viorel Munteanu <ceamac.paragon <AT> gmail <DOT> com>
5 CommitDate: Fri Dec 24 18:02:41 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a06b219e
7
8 dev-python/python-dbus-next: add new v0.2.3
9
10 dependency of net-misc/maestral
11
12 Package-Manager: Portage-3.0.28, Repoman-3.0.3
13 Signed-off-by: Viorel Munteanu <ceamac.paragon <AT> gmail.com>
14
15 dev-python/python-dbus-next/Manifest | 1 +
16 dev-python/python-dbus-next/metadata.xml | 12 ++++++++++
17 .../python-dbus-next/python-dbus-next-0.2.3.ebuild | 28 ++++++++++++++++++++++
18 3 files changed, 41 insertions(+)
19
20 diff --git a/dev-python/python-dbus-next/Manifest b/dev-python/python-dbus-next/Manifest
21 new file mode 100644
22 index 000000000..2c73f9a9e
23 --- /dev/null
24 +++ b/dev-python/python-dbus-next/Manifest
25 @@ -0,0 +1 @@
26 +DIST python-dbus-next-0.2.3.tar.gz 81711 BLAKE2B 6acc38a05511b3de7e13893d82dd1ecd55f9a6124b4d859574294602b921ff012776c12ddb02e1be437b258c7bd5120a3a9625fc5b06bbbe02915dcc4c14897b SHA512 7836d855c755c8ac6cbbb251ca0cbd2f4df9b573f31b1ea1cab480e47896d36b4cb0d479b2469b0bf0b5c700068361a18874b4a087f73020cdcb4e04a2d7dbe7
27
28 diff --git a/dev-python/python-dbus-next/metadata.xml b/dev-python/python-dbus-next/metadata.xml
29 new file mode 100644
30 index 000000000..7d50e4c0a
31 --- /dev/null
32 +++ b/dev-python/python-dbus-next/metadata.xml
33 @@ -0,0 +1,12 @@
34 +<?xml version="1.0" encoding="UTF-8"?>
35 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
36 +<pkgmetadata>
37 +<maintainer type="person">
38 + <email>ceamac.paragon@×××××.com</email>
39 + <description>Primary maintainer</description>
40 +</maintainer>
41 +<upstream>
42 + <remote-id type="github">altdesktop/python-dbus-next</remote-id>
43 + <remote-id type="pypi">dbus-next</remote-id>
44 +</upstream>
45 +</pkgmetadata>
46
47 diff --git a/dev-python/python-dbus-next/python-dbus-next-0.2.3.ebuild b/dev-python/python-dbus-next/python-dbus-next-0.2.3.ebuild
48 new file mode 100644
49 index 000000000..6a11da9f2
50 --- /dev/null
51 +++ b/dev-python/python-dbus-next/python-dbus-next-0.2.3.ebuild
52 @@ -0,0 +1,28 @@
53 +# Copyright 2021 Gentoo Authors
54 +# Distributed under the terms of the GNU General Public License v2
55 +
56 +EAPI=8
57 +
58 +PYTHON_COMPAT=( python3_{8..10} )
59 +
60 +inherit distutils-r1
61 +
62 +DESCRIPTION="python-dbus-next is a Python library for DBus"
63 +HOMEPAGE="https://github.com/altdesktop/python-dbus-next"
64 +SRC_URI="https://github.com/altdesktop/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
65 +
66 +LICENSE="MIT"
67 +SLOT="0"
68 +KEYWORDS="~amd64"
69 +
70 +DEPEND=""
71 +RDEPEND="${DEPEND}"
72 +BDEPEND="
73 + test? ( dev-python/pytest )
74 +"
75 +
76 +distutils_enable_tests pytest
77 +
78 +# some tests fail with:
79 +# dbus_next.errors.InvalidAddressError: DBUS_SESSION_BUS_ADDRESS not set and could not get DISPLAY environment variable to get bus addres
80 +RESTRICT="test"