dev-python/python-gammu: provides Python support for gammu, fixes #566168

Package-Manager: portage-2.2.27
This commit is contained in:
Louis Sautier
2016-02-02 15:38:10 +01:00
parent 19d0a72327
commit c3f265d8d8
3 changed files with 57 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST python-gammu-2.5.tar.gz 133090 SHA256 871e3450a26397d555c92926382edf0e6a58431fe53613563f5a313ad752ff88 SHA512 e61bb340546cf3f98c20ff5d4ef25ca05676b4dea91e02aeee2856f091ac12fbf07a597637f9562432e298bf9678ff4445d24d8cdf96274b735aa9754b364e58 WHIRLPOOL f2ec5af883de298d71f220eb319c9df8d496328db461ba9e501e4d4d7ce150bbf19f5a07a7560804e46b21e1d848244e932f9b8eb15a60b6cf5d9a86892e45bd

View File

@@ -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>

View File

@@ -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
}