Browse Source

add iotawattpy-0.0.8

master
Andreas Billmeier 2 months ago
committed by Andreas Billmeier
parent
commit
2e705e9598
Signed by: onkelbeh GPG Key ID: E6DB12C8C550F3C0
  1. 3
      dev-python/iotawattpy/Manifest
  2. 32
      dev-python/iotawattpy/iotawattpy-0.0.8.ebuild
  3. 15
      dev-python/iotawattpy/metadata.xml

3
dev-python/iotawattpy/Manifest

@ -0,0 +1,3 @@
DIST iotawattpy-0.0.8.tar.gz 16930 BLAKE2B 6cea7bef1251cf28f521abb10752aee1ce69bf68a9b07821c0855919a0cee323a3947200282c6636364ceee892d63001a4445f793827f12000202c48f1e5da12 SHA512 5bdf090aee63fb2a52347aac1e1b047e9fcab773cf375d9ad5ab0ada3d9862d633a1663d2f2357ac286c6301c869756d4c6c33589b071ea36ba1e24c0155eafe
EBUILD iotawattpy-0.0.8.ebuild 748 BLAKE2B e59e112c00a1f269d249f5d4bd487ccf989c850205743c1d4b38cd984be5ffb9a4241ffe673a4fb20e0cbd47ffe25de2fd2a9993192c7219764c20ca1743012f SHA512 542934bf0355391a234007879d62d74568a40bc09ec1cf172f1e116836b35aa80a4fd627f7379b6dbca42c9b3256e47c96eb9aa47e55d87fcdd42099eb214d68
MISC metadata.xml 457 BLAKE2B 7cad4f4065f0b57c45f644bd79275ce38f74c95a71f8a40e42ed7a87ca38a399ec33b2e77fefd0de5da02625230e7231270cec83c3b23d77aec5653f51e4ba43 SHA512 a18985c09fbbcec09dc4981e27091a44c5fe098453d3fc1c4cb98e151d6e6a8d0c38d9adbc06b5f20333c976da5e5a08dbf0ec5a7f715f03c381648eadac0543

32
dev-python/iotawattpy/iotawattpy-0.0.8.ebuild

@ -0,0 +1,32 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
PYTHON_COMPAT=( python3_{8..10} )
inherit distutils-r1
DESCRIPTION="Python library for the IoTaWatt Energy device"
HOMEPAGE="https://github.com/gtdiehl/iotawattpy https://pypi.org/project/iotawattpy/"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="GPL-3.0"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
DOCS="README.md"
RDEPEND=">=dev-python/httpx-0.16.1[${PYTHON_USEDEP}]"
BDEPEND="
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
}

15
dev-python/iotawattpy/metadata.xml

@ -0,0 +1,15 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>b@edevau.net</email>
<name>Andreas Billmeier</name>
</maintainer>
<upstream>
<remote-id type="pypi">iotawattpy</remote-id>
<maintainer status="unknown">
<email>greg.diehl.gtd@gmail.com</email>
<name>Greg Diehl</name>
</maintainer>
</upstream>
</pkgmetadata>
Loading…
Cancel
Save