1 |
commit: 519686cebdd00281e206bad475749868c1341b12 |
2 |
Author: Tim Harder <radhermit <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Apr 27 11:08:34 2017 +0000 |
4 |
Commit: Tim Harder <radhermit <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Apr 27 11:13:36 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=519686ce |
7 |
|
8 |
dev-python/pyudev: version bump to 0.21.0 |
9 |
|
10 |
Rename the pyqt4 USE flag to qt4 and add the qt5 USE flag. |
11 |
|
12 |
dev-python/pyudev/Manifest | 1 + |
13 |
dev-python/pyudev/metadata.xml | 13 ++++++++----- |
14 |
dev-python/pyudev/pyudev-0.20.0.ebuild | 4 ++-- |
15 |
.../{pyudev-0.20.0.ebuild => pyudev-0.21.0.ebuild} | 21 ++++++++------------- |
16 |
4 files changed, 19 insertions(+), 20 deletions(-) |
17 |
|
18 |
diff --git a/dev-python/pyudev/Manifest b/dev-python/pyudev/Manifest |
19 |
index 584ff00fb10..f2c7dbf42bd 100644 |
20 |
--- a/dev-python/pyudev/Manifest |
21 |
+++ b/dev-python/pyudev/Manifest |
22 |
@@ -1,3 +1,4 @@ |
23 |
DIST pyudev-0.16.1.tar.gz 74953 SHA256 765d1c14bd9bd031f64e2612225621984cb2bbb8cbc0c03538bcc4c735ff1c95 SHA512 7f62c6794027411583f874bdf746de457f19048955867d30008bc1ee0d30040a97f73b9e52ae3645d469fc401128703d4e703e294b85481e927ffaba27e45e6a WHIRLPOOL 4c366a1eed92bf274ef84eab6242beb09cd6e906556f6ccb24113fafec2dcc47b8da94487505473fc6f7b39539cdc2809cef2d07a1ab8c0616fc73efba9b2e1a |
24 |
DIST pyudev-0.19.0.tar.gz 96556 SHA256 5abcbd03e4965110d1fedcbdd5532974cb4638ceef34337aa2d5758eceb54ad3 SHA512 7faee69e8e3512e27b0d9271191d4b2906652b2c7f3a803be026a10499d184c1fc41db80624dec9f33ee890d71a695214c6bfd47f6cc41b979f71f619836f3f8 WHIRLPOOL 6b496f0f977b97247a13ba4f9f8efe24624d932c6cfc7616922473d8839a90500f60d3b238bbab4a9c9cdd6c5997606ee41de63669e3b2fa868d1b6f28ae492b |
25 |
DIST pyudev-0.20.0.tar.gz 93217 SHA256 14d85bc9611dbf798732996cb7107858f58a3a1b9d246e4063c7a20ade65842a SHA512 e86a776a2b6d29f206cdd0057c6f9b1e705d981ec8c2de49259887647856531af68238b80751102a3ffc8cea6f234cc520d62c8bc2da686e453ed010da3ebb02 WHIRLPOOL 8344c668c1cc2e7971a67d0e628e3ce96254648ad06b48f260dd4ee54e3e205e533e59b692169b38dd656c08d8cd615d0c7c518b5c2a785553b8c6468e70520c |
26 |
+DIST pyudev-0.21.0.tar.gz 89469 SHA256 094b7a100150114748aaa3b70663485dd360457a709bfaaafe5a977371033f2b SHA512 ba5b6156768b65b9655d809b14378b01173643781b9c4017271e880cdfed442c44ac49eb26c970e4275b820e01678e3001870591fccf88dc713ec941e2b85d11 WHIRLPOOL e69865d8b33ab103e0ff6371df4e05617c3907cbfc98d508285c7464065ccace6dc7d4e963035e19392e6ab39881281e684ddd4f7765fc599874411204ea825b |
27 |
|
28 |
diff --git a/dev-python/pyudev/metadata.xml b/dev-python/pyudev/metadata.xml |
29 |
index 1b784f0e87d..f42881a0924 100644 |
30 |
--- a/dev-python/pyudev/metadata.xml |
31 |
+++ b/dev-python/pyudev/metadata.xml |
32 |
@@ -5,12 +5,15 @@ |
33 |
<email>python@g.o</email> |
34 |
<name>Python</name> |
35 |
</maintainer> |
36 |
- <longdescription lang="en">pyudev is a Python binding to libudev, the hardware management |
37 |
- library and service found in modern linux systems.</longdescription> |
38 |
+ <longdescription lang="en"> |
39 |
+ pyudev is a Python binding to libudev, the hardware management library |
40 |
+ and service found in modern linux systems. |
41 |
+ </longdescription> |
42 |
<use> |
43 |
- <flag name="pygobject">Install PyGobject binding</flag> |
44 |
- <flag name="pyqt4">Install PyQt4 binding</flag> |
45 |
- <flag name="pyside">Install PySide binding</flag> |
46 |
+ <flag name="pygobject">Install PyGobject bindings</flag> |
47 |
+ <flag name="qt4">Install PyQt4 bindings</flag> |
48 |
+ <flag name="qt5">Install PyQt5 bindings</flag> |
49 |
+ <flag name="pyside">Install PySide bindings</flag> |
50 |
</use> |
51 |
<upstream> |
52 |
<remote-id type="pypi">pyudev</remote-id> |
53 |
|
54 |
diff --git a/dev-python/pyudev/pyudev-0.20.0.ebuild b/dev-python/pyudev/pyudev-0.20.0.ebuild |
55 |
index 21759235ae9..7151171a71a 100644 |
56 |
--- a/dev-python/pyudev/pyudev-0.20.0.ebuild |
57 |
+++ b/dev-python/pyudev/pyudev-0.20.0.ebuild |
58 |
@@ -14,12 +14,12 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
59 |
LICENSE="LGPL-2.1" |
60 |
SLOT="0" |
61 |
KEYWORDS="amd64 arm ~arm64 x86" |
62 |
-IUSE="pygobject pyqt4 pyside test" |
63 |
+IUSE="pygobject qt4 pyside test" |
64 |
|
65 |
RDEPEND="virtual/udev |
66 |
dev-python/six[${PYTHON_USEDEP}] |
67 |
pygobject? ( dev-python/pygobject:2[$(python_gen_usedep 'python2*')] ) |
68 |
- pyqt4? ( dev-python/PyQt4[${PYTHON_USEDEP}] ) |
69 |
+ qt4? ( dev-python/PyQt4[${PYTHON_USEDEP}] ) |
70 |
pyside? ( dev-python/pyside[$(python_gen_usedep '!(python3_3)')] )" |
71 |
DEPEND="${RDEPEND} |
72 |
dev-python/setuptools[${PYTHON_USEDEP}] |
73 |
|
74 |
diff --git a/dev-python/pyudev/pyudev-0.20.0.ebuild b/dev-python/pyudev/pyudev-0.21.0.ebuild |
75 |
similarity index 76% |
76 |
copy from dev-python/pyudev/pyudev-0.20.0.ebuild |
77 |
copy to dev-python/pyudev/pyudev-0.21.0.ebuild |
78 |
index 21759235ae9..ac3b0ab1660 100644 |
79 |
--- a/dev-python/pyudev/pyudev-0.20.0.ebuild |
80 |
+++ b/dev-python/pyudev/pyudev-0.21.0.ebuild |
81 |
@@ -2,8 +2,7 @@ |
82 |
# Distributed under the terms of the GNU General Public License v2 |
83 |
|
84 |
EAPI=6 |
85 |
- |
86 |
-PYTHON_COMPAT=( python{2_7,3_4,3_5} ) |
87 |
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} ) |
88 |
|
89 |
inherit distutils-r1 |
90 |
|
91 |
@@ -13,14 +12,16 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
92 |
|
93 |
LICENSE="LGPL-2.1" |
94 |
SLOT="0" |
95 |
-KEYWORDS="amd64 arm ~arm64 x86" |
96 |
-IUSE="pygobject pyqt4 pyside test" |
97 |
+KEYWORDS="~amd64 ~arm ~arm64 ~x86" |
98 |
+IUSE="pygobject qt4 qt5 pyside test" |
99 |
+REQUIRED_USE="pygobject? ( || ( $(python_gen_useflags 'python2*') ) )" |
100 |
|
101 |
RDEPEND="virtual/udev |
102 |
dev-python/six[${PYTHON_USEDEP}] |
103 |
pygobject? ( dev-python/pygobject:2[$(python_gen_usedep 'python2*')] ) |
104 |
- pyqt4? ( dev-python/PyQt4[${PYTHON_USEDEP}] ) |
105 |
- pyside? ( dev-python/pyside[$(python_gen_usedep '!(python3_3)')] )" |
106 |
+ qt4? ( dev-python/PyQt4[${PYTHON_USEDEP}] ) |
107 |
+ qt5? ( dev-python/PyQt5[${PYTHON_USEDEP}] ) |
108 |
+ pyside? ( dev-python/pyside[${PYTHON_USEDEP}] )" |
109 |
DEPEND="${RDEPEND} |
110 |
dev-python/setuptools[${PYTHON_USEDEP}] |
111 |
test? ( |
112 |
@@ -36,9 +37,6 @@ PATCHES=( |
113 |
"${FILESDIR}/${PN}-0.19.0-skip-non-deterministic-test.patch" |
114 |
) |
115 |
|
116 |
-REQUIRED_USE="pygobject? ( || ( $(python_gen_useflags 'python2*') ) ) |
117 |
- pyside? ( $(python_gen_useflags '!(python3_3)') )" |
118 |
- |
119 |
python_prepare_all() { |
120 |
if use test; then |
121 |
ewarn "If your PORTAGE_TMPDIR is longer in length then '/var/tmp/'," |
122 |
@@ -50,12 +48,9 @@ python_prepare_all() { |
123 |
sed -i -e "s|== \('/run/udev'\)|in (\1,'/dev/.udev')|g" \ |
124 |
tests/test_core.py || die |
125 |
|
126 |
- # test needs needs newer dev-cpp/gccxml |
127 |
- rm -f tests/test_libudev.py |
128 |
- |
129 |
distutils-r1_python_prepare_all |
130 |
} |
131 |
|
132 |
python_test() { |
133 |
- py.test || die "Tests fail with ${EPYTHON}" |
134 |
+ py.test -v || die "Tests fail with ${EPYTHON}" |
135 |
} |