diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 3ee3ba092..7eea69c3c 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -1,6 +1,7 @@ 2020-01-29 * remove old simplisafe-python ebuilds * python-synology-0.4.0 bumped + * add python-gammu-2.12 (untested) 2020-01-27 * bump huawei-lte-api-1.4.7 diff --git a/dev-python/python-gammu/Manifest b/dev-python/python-gammu/Manifest new file mode 100644 index 000000000..4a4b268ed --- /dev/null +++ b/dev-python/python-gammu/Manifest @@ -0,0 +1,3 @@ +DIST python-gammu-2.12.tar.gz 135442 BLAKE2B 37e324dc582d5635de86262ad9ecff126f709dcd23f5db61e23086270fc067df3cb47b62808b9b9cee79ba7dfa3a97ea52c7bf3eba0f9be5b066351fe0f1fc15 SHA512 1c50d38a3ab86298ef5d5d9f297844980ec87f2bf3c84727d385d22b4dfdbf5e09b6fc727a9ad9c25f7f2bbc92f5c58b17abf5537dba980a87f07cb0347cb6f2 +EBUILD python-gammu-2.12.ebuild 734 BLAKE2B 738abe969e113a2b2ef985cbbdf9b59865309fb1b6b74e073bf2db7f7af5a6ac39ff4c8cc898296bc2b3dc637f0d4b945dafa236467dda94978f589981291fc2 SHA512 02e870c98fd711739b556d099843f13e95b13a6d0ed9a95498d928888006b2f1747a9066e9ec0257d3545b669d2d4f3293a26add557b9b6bf657daf110cf1c21 +MISC metadata.xml 438 BLAKE2B 3e72efa9d18e072cb777ae3f190d41b48f96d4a2534161f86d0c6cc2b5ef62678650962bee2de4259e721a192af16b54b6d0bb9cf542f6a95904d21f0a3cb413 SHA512 0d6ce87846a3259a0c3cc7df23498af4b0072b9c7ea208f3a65fef005bbc0cc6deded33f0809dc37355a78aac3f06694d3ffb14f9070f5f70e3cf208fcea5815 diff --git a/dev-python/python-gammu/metadata.xml b/dev-python/python-gammu/metadata.xml new file mode 100644 index 000000000..8e02cd02b --- /dev/null +++ b/dev-python/python-gammu/metadata.xml @@ -0,0 +1,15 @@ + + + + + b@edevau.net + Andreas Billmeier + + + python-gammu + + michal@cihar.com + Michal Cihar + + + diff --git a/dev-python/python-gammu/python-gammu-2.12.ebuild b/dev-python/python-gammu/python-gammu-2.12.ebuild new file mode 100644 index 000000000..567c5eee7 --- /dev/null +++ b/dev-python/python-gammu/python-gammu-2.12.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +PYTHON_COMPAT=( python3_{6,7} ) + +inherit distutils-r1 + +DESCRIPTION="Gammu bindings" +HOMEPAGE="https://github.com/gammu/gammu https://wammu.eu/python-gammu/ https://pypi.org/project/python-gammu/" +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="test" + +RDEPEND="dev-python/pybluez + dev-python/libusb1 + dev-python/pycurl" +DEPEND="${REDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + dev-python/nose[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + )" + +python_test() { + nosetests --verbose || die + py.test -v -v || die +}