add airly-0.0.2

This commit is contained in:
Andreas Billmeier 2019-10-05 10:28:29 +02:00
parent a1fa0e2275
commit 89d59fb8d3
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
2 changed files with 32 additions and 0 deletions

View File

@ -0,0 +1,2 @@
DIST airly-0.0.2.tar.gz 3852 BLAKE2B 451aa554a7a1ecf6b42707eda5e8acbf0cc45ab459e86f2027e2648c8999baf59a65afd27ca4e94688d2c85fef8e27d7893a1fe3e1e7634270a6af8c440e7efd SHA512 72b140b5b7e30310af6630967d37826126cf3bd6bb3ffbe275335cd9557443062d478a1cc5198c77547751ac9bd21f026610482185e82a33d443cfef7c5eb485
EBUILD airly-0.0.2.ebuild 777 BLAKE2B 55b26cd6811801c69ac7485d0c516ab2ea3569543dd502c27ecbabf04352236251092e08073cfa0b5aab5010c17bfc97094b976f5baa7693193ea153ff9680d2 SHA512 7494ab0e0f065e9eef56af909860aa1ad6ad25bf55e11ad4d5a9ccb944b506ecf64a9c0e08f2b96305e919806691a050cb4977fef4be51230bde47be75337391

View File

@ -0,0 +1,30 @@
# Copyright 1999-2019 Gentoo Authors Andreas Billmeier b (at) edevau.net
# Distributed under the terms of the GNU General Public License v3.0
EAPI="7"
PYTHON_COMPAT=( python3_{5,6,7} )
inherit distutils-r1
DESCRIPTION="Python wrapper for getting air quality data from Airly sensors."
HOMEPAGE="https://github.com/ak-ambi/python-airly https://pypi.org/project/airly/"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
RDEPEND="~dev-python/aiohttp-3.5.4[${PYTHON_USEDEP}]"
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
}