diff --git a/CHANGELOG.md b/CHANGELOG.md index 66bb504bc..30083af61 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ * add pyotp-2.2.7 * add pyowlet-1.0.2 * add pyowm-2.10.0 + * add thermoworks_smoke-0.1.8 2019-02-16 homeassistant-0.88.0_beta1 * update homeassistant-0.88.0_beta1 diff --git a/dev-python/thermoworks-smoke/Manifest b/dev-python/thermoworks-smoke/Manifest new file mode 100644 index 000000000..08cb8d54a --- /dev/null +++ b/dev-python/thermoworks-smoke/Manifest @@ -0,0 +1,3 @@ +DIST thermoworks_smoke-0.1.8.tar.gz 4787 BLAKE2B e8694f035ff351677cb65ca302aee94e33212474a46e819169ca8179b78bfaded5bf0530f58d95dcaf153f1a1d34f308809837189f3a9d057aa16f732a672f49 SHA512 1c5214532e4c95a9cb7a20965b23ca32fa12c7602ff0722c721a54d4578c915f062fd85df88cc4b9ef31977730eae58bca4a87a2b24bdccec8335275073dfc9d +EBUILD thermoworks-smoke-0.1.8.ebuild 733 BLAKE2B 702c6eff3014cb434834d88b03d95242897577ccdea9fc5c3b751006d1fbf54e82590d69cf1c0643afd18c72d3e10c2d92b739bae275dcc15e6895b8f1e3edd7 SHA512 0275b02267c4c9907a80701ae746d3aa6ad690d8a2e6b66d8723ac28708ad2043f6f0170d922f9b603edf095e24c3df143ae9cb52b9227575c0218fe5249f0e6 +MISC metadata.xml 365 BLAKE2B 46d38db198f78098c3a5f952baa3f4e5f79ab10fbf019eb4ecaccfefb273c0b1dd3cb368518226c083c22ecfca0905510c7150859f2be6616dff6174f375da54 SHA512 4c4e76a82355168017d1c2aa725ce22b10d0c80958f1f8a7b8d36367fb4af2e15521cb772f733822a293d4a992a0fa74ac10f8f917851290a3c11f0e30cf7f81 diff --git a/dev-python/thermoworks-smoke/metadata.xml b/dev-python/thermoworks-smoke/metadata.xml new file mode 100644 index 000000000..3e6b05934 --- /dev/null +++ b/dev-python/thermoworks-smoke/metadata.xml @@ -0,0 +1,12 @@ + + + + python + + thermoworks-smoke + + nhorvath@gmail.com + nhorvath + + + diff --git a/dev-python/thermoworks-smoke/thermoworks-smoke-0.1.8.ebuild b/dev-python/thermoworks-smoke/thermoworks-smoke-0.1.8.ebuild new file mode 100644 index 000000000..fd96eddd3 --- /dev/null +++ b/dev-python/thermoworks-smoke/thermoworks-smoke-0.1.8.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v3.0 + +EAPI=6 + +PYTHON_COMPAT=( python3_{5,6,7} ) + +inherit distutils-r1 + +MY_P=${PN/-/_}-${PV} + +DESCRIPTION="Pull data for your thermoworks smoke thermometer" +HOMEPAGE="https://github.com/nhorvath/python-thermoworks-smoke https://pypi.org/project/thermoworks-smoke/" +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${MY_P}.tar.gz" + +LICENSE="GPLv3" +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 +}