1 |
commit: 3e75cda13c5d28d7197e9850c38ec4e013103475 |
2 |
Author: ktrace <coyote <AT> bks <DOT> tv> |
3 |
AuthorDate: Tue Jan 23 20:41:02 2018 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Mar 22 16:17:32 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e75cda1 |
7 |
|
8 |
dev-python/python-gammu: bump version to 2.11 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/644862 |
11 |
Package-Manager: Portage-2.3.19, Repoman-2.3.6 |
12 |
|
13 |
dev-python/python-gammu/Manifest | 1 + |
14 |
dev-python/python-gammu/python-gammu-2.11.ebuild | 38 ++++++++++++++++++++++++ |
15 |
2 files changed, 39 insertions(+) |
16 |
|
17 |
diff --git a/dev-python/python-gammu/Manifest b/dev-python/python-gammu/Manifest |
18 |
index b3cd94a458f..6c4bf1372ab 100644 |
19 |
--- a/dev-python/python-gammu/Manifest |
20 |
+++ b/dev-python/python-gammu/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
+DIST python-gammu-2.11.tar.gz 135567 BLAKE2B 133172cfd0715ff6b5bd47b93e5d93d52af3e608459ba1158bf008da9b5f24f6d155c04334dea7ff2cacdea678f00d986838a139290d5f8ac874bb9702fcd5e6 SHA512 cdf3a54fc538fecdbe3dae63f0534094ce94a289998f9b670a0b3e12a3c571eb46ee86eae67a7a8d2428698850046d5c75569753bf77551cd395d315e6f9b70d |
23 |
DIST python-gammu-2.5.tar.gz 133090 BLAKE2B aced85e9f7a4d861a8f11ff0ebb97a7f3062e5f3ad3a60614f6f5f16a30b5f5cfbe70958e630dd55d02d0f190648f2976cf60ef3259c21fbc882acc865a4ce8d SHA512 e61bb340546cf3f98c20ff5d4ef25ca05676b4dea91e02aeee2856f091ac12fbf07a597637f9562432e298bf9678ff4445d24d8cdf96274b735aa9754b364e58 |
24 |
|
25 |
diff --git a/dev-python/python-gammu/python-gammu-2.11.ebuild b/dev-python/python-gammu/python-gammu-2.11.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..7c6896eb417 |
28 |
--- /dev/null |
29 |
+++ b/dev-python/python-gammu/python-gammu-2.11.ebuild |
30 |
@@ -0,0 +1,38 @@ |
31 |
+# Copyright 1999-2018 Gentoo Foundation |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=6 |
35 |
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} ) |
36 |
+ |
37 |
+inherit distutils-r1 |
38 |
+ |
39 |
+DESCRIPTION="Python bindings for Gammu" |
40 |
+HOMEPAGE="https://wammu.eu/python-gammu/" |
41 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
42 |
+ |
43 |
+LICENSE="GPL-2+" |
44 |
+SLOT="0" |
45 |
+KEYWORDS="~amd64 ~x86" |
46 |
+IUSE="examples test" |
47 |
+ |
48 |
+RDEPEND=">=app-mobilephone/gammu-1.34.0" |
49 |
+DEPEND="${RDEPEND} |
50 |
+ virtual/pkgconfig |
51 |
+ test? ( |
52 |
+ $(python_gen_impl_dep sqlite) |
53 |
+ app-mobilephone/gammu[dbi] |
54 |
+ )" |
55 |
+ |
56 |
+DOCS=( AUTHORS NEWS.rst README.rst ) |
57 |
+ |
58 |
+python_test() { |
59 |
+ esetup.py test |
60 |
+} |
61 |
+ |
62 |
+python_install_all() { |
63 |
+ distutils-r1_python_install_all |
64 |
+ if use examples; then |
65 |
+ docompress -x /usr/share/doc/${PF}/examples |
66 |
+ dodoc -r examples |
67 |
+ fi |
68 |
+} |