add pmsensor-0.4

This commit is contained in:
Andreas Billmeier 2019-10-11 18:39:29 +02:00
parent 446a87ea29
commit 81b857afdc
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
3 changed files with 49 additions and 0 deletions

View File

@ -0,0 +1,3 @@
DIST pmsensor-0.4.tar.gz 3707 BLAKE2B 2ac5cb3ba2289c1974e7324635327fac1d27a45a8dcd31d83aeac1002c5267ac3721cca82ebc212b3bd302970f6ee8b6e87deb300e165106b1ec601316da3239 SHA512 eada27ee13a0dbb01cf5652be816a82e7db4c9ac99164cb35436e3be67ad89067229084975d9722cf0504eeb34c17258c8a2d43531c20f8cec5be581eec73c71
EBUILD pmsensor-0.4.ebuild 727 BLAKE2B 6121a1d90387893887c780ecee3de0d819ff70b912894990c81274ee55b1ee9025b8b04899570e42a31526fc81704c3b2803079cad378921e2375b9db7988b31 SHA512 b8ead8015f3ac16ef57570b0a220e57c4a91af9d8dca0dc6916704e5096a0f612b47559fb26de7d6abe539fcdb90fa01ab4daad8f6af113a35153c66b7dc181c
MISC metadata.xml 464 BLAKE2B d95c5dc6d9ad6364de93f53345670c234c0a196ffecc03d30f09cc6808c7654cc64a16c2032c06325cde9c52f8eadcabb5f04ea7545e4d7e901dc34c9908c37b SHA512 fed81e4aa22e6a75942ce7d289dd008a8a0372f525e33b44aaadc031fabc4188ef38216cb379d4ae112b660fa13c04cacd5cdb5b338bf57e764af9a749424e7e

View File

@ -0,0 +1,16 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer>
<email>b@edevau.net</email>
<name>Andreas Billmeier</name>
</maintainer>
<herd>python</herd>
<upstream>
<remote-id type="pypi">pmsensor</remote-id>
<maintainer status="unknown">
<email>daniel@matuschek.net</email>
<name>Daniel Matuschek</name>
</maintainer>
</upstream>
</pkgmetadata>

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="Library to read data from environment sensors"
HOMEPAGE="https://github.com/open-homeautomation/pmsensor https://pypi.org/project/pmsensor/"
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=""
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
}