CO2Signal added.

This commit is contained in:
Andreas Billmeier 2019-01-27 09:40:34 +01:00
parent 881dafc668
commit 785f5e9036
2 changed files with 33 additions and 0 deletions

View File

@ -0,0 +1,31 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
PYTHON_COMPAT=( python3_{5,6,7} )
inherit distutils-r1
DESCRIPTION="A package to access the co2signal API"
HOMEPAGE="https://github.com/danielsjf/CO2Signal https://pypi.org/project/CO2Signal/"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="Creative Commons Attribution-Noncommercial-Share Alike license"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
RDEPEND=""
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
}

View File

@ -0,0 +1,2 @@
DIST CO2Signal-0.4.1.tar.gz 1817 BLAKE2B 427948ed4ec1fad0494d53d0d93a2d3019f2155eba1f7e7e0aa068396e49f0d9ab48baae756eac62bb20b8cf420d0d4ed07701b7349c6ed5c910eff6c830da16 SHA512 15c01eb0856d07911a2c24e225d249bf9f35e235dab049f8012011edb89a3727a7276f27c5c14e5a51c4c81de8a0506bf6080b10762d0b77fb05137493f4b8b7
EBUILD CO2Signal-0.4.1.ebuild 740 BLAKE2B 9c13c149d884654a1e45635ee9ad91eaf9033128ed3d77b277ab8d4b1bfa3d270db2488b2d3e283808222a3467b77d9ebfaaaf422e8c89f4eb0ab990f6e05bd8 SHA512 cb712e4de4674d9898b90275e75348a13915d5e75d5214b53589c62592b4e5697c864a8048c52baf36def1729d1fc7f212f5277581a5d642fc5bd890e218228f