diff options
author | Louis Sautier <sautier.louis@gmail.com> | 2016-02-02 15:38:10 +0100 |
---|---|---|
committer | Louis Sautier <sautier.louis@gmail.com> | 2016-02-02 16:12:08 +0100 |
commit | c3f265d8d81c6d1c58888391ae449077feb9c70b (patch) | |
tree | 1432e45d24b8c53358aa4ebcac6f05df57e16fbd | |
parent | app-mobilephone/gammu: bump to 1.36.8, fix #536722 (diff) | |
download | gentoo-c3f265d8d81c6d1c58888391ae449077feb9c70b.tar.gz gentoo-c3f265d8d81c6d1c58888391ae449077feb9c70b.tar.bz2 gentoo-c3f265d8d81c6d1c58888391ae449077feb9c70b.zip |
dev-python/python-gammu: provides Python support for gammu, fixes #566168
Package-Manager: portage-2.2.27
-rw-r--r-- | dev-python/python-gammu/Manifest | 1 | ||||
-rw-r--r-- | dev-python/python-gammu/metadata.xml | 20 | ||||
-rw-r--r-- | dev-python/python-gammu/python-gammu-2.5.ebuild | 36 |
3 files changed, 57 insertions, 0 deletions
diff --git a/dev-python/python-gammu/Manifest b/dev-python/python-gammu/Manifest new file mode 100644 index 000000000000..5b8a5c1d0062 --- /dev/null +++ b/dev-python/python-gammu/Manifest @@ -0,0 +1 @@ +DIST python-gammu-2.5.tar.gz 133090 SHA256 871e3450a26397d555c92926382edf0e6a58431fe53613563f5a313ad752ff88 SHA512 e61bb340546cf3f98c20ff5d4ef25ca05676b4dea91e02aeee2856f091ac12fbf07a597637f9562432e298bf9678ff4445d24d8cdf96274b735aa9754b364e58 WHIRLPOOL f2ec5af883de298d71f220eb319c9df8d496328db461ba9e501e4d4d7ce150bbf19f5a07a7560804e46b21e1d848244e932f9b8eb15a60b6cf5d9a86892e45bd diff --git a/dev-python/python-gammu/metadata.xml b/dev-python/python-gammu/metadata.xml new file mode 100644 index 000000000000..d72e9d88d534 --- /dev/null +++ b/dev-python/python-gammu/metadata.xml @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <longdescription lang="en"> + Python bindings for Gammu + </longdescription> + <upstream> + <remote-id type="pypi">python-gammu</remote-id> + <remote-id type="github">gammu/python-gammu</remote-id> + </upstream> + <maintainer type="person"> + <email>awilfox.gentoo@foxkit.us</email> + <name>Andrew Wilcox</name> + <description>Proxy (user) maintainer, bugs to be assigned to him</description> + </maintainer> + <maintainer type="project"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> +</pkgmetadata> diff --git a/dev-python/python-gammu/python-gammu-2.5.ebuild b/dev-python/python-gammu/python-gammu-2.5.ebuild new file mode 100644 index 000000000000..a2c12798d619 --- /dev/null +++ b/dev-python/python-gammu/python-gammu-2.5.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +PYTHON_COMPAT=( python{2_7,3_4,3_5} ) + +inherit distutils-r1 + +DESCRIPTION="Python bindings for Gammu" +HOMEPAGE="http://wammu.eu/python-gammu/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="examples test" + +RDEPEND=">=app-mobilephone/gammu-1.34.0" +DEPEND="${RDEPEND} + virtual/pkgconfig + test? ( + $(python_gen_impl_dep sqlite) + app-mobilephone/gammu[dbi] + )" + +DOCS=( AUTHORS NEWS.rst README.rst ) + +python_test() { + esetup.py test +} + +python_install_all() { + use examples && local EXAMPLES=( examples/. ) + distutils-r1_python_install_all +} |