add amberelectric-1.0.3

This commit is contained in:
Andreas Billmeier 2021-10-02 11:36:27 +02:00 committed by Andreas Billmeier
parent af485c76e4
commit 3a7ba766ce
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
3 changed files with 52 additions and 0 deletions

View File

@ -0,0 +1,3 @@
DIST amberelectric-1.0.3.tar.gz 33972 BLAKE2B 07beb9c28408857bad9dee77364e2db7e07d5c1f0b68fc54277f786e5e92d37419aeea6fd2fc08ee02415fc9e7b42e25c8275f8fe20cfb7a6da73371a81926a0 SHA512 f2ee5a4fad115540afb87fbba4a784d0a72de954b42064862176c8e4de957222b7b91f918e74bf5099cab5d33a372dfcaaba0abb2871ec25a95e2a72cf38635d
EBUILD amberelectric-1.0.3.ebuild 921 BLAKE2B c6682c19db49206db70dce8dfe1c7d26a01983c8993a3a3c019e2a64827da96ae1a6e4924132b211450471c322e17b7e7d9dee2739648475b6673f3fdf9cac53 SHA512 ba1c1c3580e3f232c125b808e8a4534216b926cb6a7e2f27fd56cad8d9fc28a7bf3f696e3c8877bb040d6fb3ad4f3c5e7a23f2de17d0520a5fd50e9caf63d0b8
MISC metadata.xml 461 BLAKE2B b7f4b72799000475bc1653e82ca7ef9fd0cbf75c830e432f9c162150598901cb177190db968a7fcd15343b2afe99f10e96be51064c352e8a72bb36673d349e03 SHA512 e4d206e05cf22b30ede959c044404c2abd97db191027f670675c956761b7a833a7a213529398fe0e546736c924e025dd469f0421e29f723505f909c80191258d

View File

@ -0,0 +1,34 @@
# 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="Interface to the Amber Electric API, allowing you to download current and forecast price, as well as download your historic usage."
HOMEPAGE="https://github.com/madpilot/amberelectric.py https://pypi.org/project/amberelectric/"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="all-rights-reserved"
RESTRICT="mirror"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
DOCS="README.md"
RDEPEND=">=dev-python/urllib3-1.25.3[${PYTHON_USEDEP}]
dev-python/python-dateutil[${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
}

View File

@ -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">amberelectric</remote-id>
<maintainer status="unknown">
<email>dev+pypi@amber.com.au</email>
<name>Amber Electric</name>
</maintainer>
</upstream>
</pkgmetadata>