1 |
commit: c6903891b7b66545185f02ca35db56ff50e98fa9 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Feb 26 12:49:05 2020 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Feb 26 12:56:41 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c6903891 |
7 |
|
8 |
dev-python/dbus-python: Bump to version 1.2.16 |
9 |
|
10 |
Package-Manager: Portage-2.3.89, Repoman-2.3.20 |
11 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
12 |
|
13 |
dev-python/dbus-python/Manifest | 1 + |
14 |
dev-python/dbus-python/dbus-python-1.2.16.ebuild | 77 ++++++++++++++++++++++++ |
15 |
2 files changed, 78 insertions(+) |
16 |
|
17 |
diff --git a/dev-python/dbus-python/Manifest b/dev-python/dbus-python/Manifest |
18 |
index ab0fb118655..cd0ce5fb014 100644 |
19 |
--- a/dev-python/dbus-python/Manifest |
20 |
+++ b/dev-python/dbus-python/Manifest |
21 |
@@ -1,3 +1,4 @@ |
22 |
DIST dbus-python-1.2.12.tar.gz 574727 BLAKE2B e5516e7109fad089af51d3e5db3921d056f327c27f9b74a870b1b31b04ba952ad3c9ba5916a18d674ab1179b94cf516b24e046feded8f2e542b196d162038944 SHA512 6f90eaeeb74ea71a026a331d4c611911eda6dfb6c9086a0a80352f9963a9ae126db6f3e32d183916b8517f177fc947f1ddb15df83ff0b5c886532116868383b4 |
23 |
DIST dbus-python-1.2.14.tar.gz 576181 BLAKE2B 4e36c3d0ed07ce6c7514e2699b6cf5d0a75332c8dab3ca90e2d451d6649c26f61b2173b4b7f230c54df2b9f4214d0f3c54a45c233d6e8fd38bf39a6312f480fc SHA512 773d66e40ab514639f1c5c619362659f290ddd5ae944eb8e09b5752624f3c86305b6c1d5562e290b36f1e6cf43f6d39cd4a227e18ff41499877546982ceebb51 |
24 |
+DIST dbus-python-1.2.16.tar.gz 576701 BLAKE2B 58d9f9ea092cd3a6b872c084a6159baf03f1aab615282e161a0e3da1d01ff5f4940862e693d21907b0c146d285b9067386759a1306ae2e6907f5e2ff4ef9944d SHA512 e76c00c5fd3fe6884e4c24f258987fd3b80d21bd4e0f96aa8fda152078a860b62321324f6efcbfe7226d5ab2521a14b5bda7cf2468d2cae5f376c124a71aa05c |
25 |
DIST dbus-python-1.2.4.tar.gz 612112 BLAKE2B cccd3e2f5d700c0d228e7d21fd85e2307357778371742a7fe26a0e419af41886efebb27a73f642d2ecd4603c79f4afe6e7002af95c831180e0e7844c079b2c8c SHA512 efdd9d96a8b56e813c93208d34777f1ca2db96c076d31f13afbcaec3c7770a16a623d5531fe23443130c555240949802503f171f2064d45eee97546d6251304b |
26 |
|
27 |
diff --git a/dev-python/dbus-python/dbus-python-1.2.16.ebuild b/dev-python/dbus-python/dbus-python-1.2.16.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..7c3a124a8e9 |
30 |
--- /dev/null |
31 |
+++ b/dev-python/dbus-python/dbus-python-1.2.16.ebuild |
32 |
@@ -0,0 +1,77 @@ |
33 |
+# Copyright 1999-2020 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=7 |
37 |
+ |
38 |
+PYTHON_COMPAT=( python2_7 python3_{6,7,8} ) |
39 |
+PYTHON_REQ_USE="threads(+)" |
40 |
+ |
41 |
+inherit autotools python-r1 |
42 |
+ |
43 |
+DESCRIPTION="Python bindings for the D-Bus messagebus" |
44 |
+HOMEPAGE="https://www.freedesktop.org/wiki/Software/DBusBindings https://dbus.freedesktop.org/doc/dbus-python/" |
45 |
+SRC_URI="https://dbus.freedesktop.org/releases/${PN}/${P}.tar.gz" |
46 |
+ |
47 |
+LICENSE="MIT" |
48 |
+SLOT="0" |
49 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86" |
50 |
+ |
51 |
+IUSE="doc examples test" |
52 |
+REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
53 |
+ |
54 |
+RESTRICT="!test? ( test )" |
55 |
+ |
56 |
+RDEPEND="${PYTHON_DEPS} |
57 |
+ >=sys-apps/dbus-1.8:= |
58 |
+ >=dev-libs/glib-2.40 |
59 |
+" |
60 |
+DEPEND="${RDEPEND}" |
61 |
+BDEPEND=" |
62 |
+ virtual/pkgconfig |
63 |
+ doc? ( $(python_gen_any_dep 'dev-python/sphinx[${PYTHON_USEDEP}]') ) |
64 |
+ test? ( dev-python/pygobject:3[${PYTHON_USEDEP}] |
65 |
+ dev-python/tappy[${PYTHON_USEDEP}] ) |
66 |
+" |
67 |
+ |
68 |
+python_check_deps() { |
69 |
+ has_version "dev-python/sphinx[${PYTHON_USEDEP}]" |
70 |
+} |
71 |
+ |
72 |
+src_prepare() { |
73 |
+ default |
74 |
+ # Update py-compile, bug 529502. |
75 |
+ eautoreconf |
76 |
+ python_copy_sources |
77 |
+} |
78 |
+ |
79 |
+src_configure() { |
80 |
+ use doc && python_setup |
81 |
+ local SPHINX_IMPL=${EPYTHON} |
82 |
+ |
83 |
+ configuring() { |
84 |
+ local myconf=( |
85 |
+ --disable-documentation |
86 |
+ ) |
87 |
+ [[ ${EPYTHON} == ${SPHINX_IMPL} ]] && |
88 |
+ myconf+=( --enable-documentation ) |
89 |
+ |
90 |
+ econf "${myconf[@]}" |
91 |
+ } |
92 |
+ python_foreach_impl run_in_build_dir configuring |
93 |
+} |
94 |
+ |
95 |
+src_compile() { |
96 |
+ python_foreach_impl run_in_build_dir default |
97 |
+} |
98 |
+ |
99 |
+src_test() { |
100 |
+ unset DBUS_SESSION_BUS_ADDRESS |
101 |
+ python_foreach_impl run_in_build_dir default |
102 |
+} |
103 |
+ |
104 |
+src_install() { |
105 |
+ python_foreach_impl run_in_build_dir default |
106 |
+ find "${D}" -name '*.la' -type f -delete || die |
107 |
+ |
108 |
+ use examples && dodoc -r examples |
109 |
+} |