dev-python/opower: new package, add 0.0.35

Signed-off-by: Andreas Billmeier <b@edevau.net>
This commit is contained in:
Andreas Billmeier 2023-10-21 08:00:15 +02:00 committed by Andreas Billmeier
parent d30604edfa
commit dad1bedf5d
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
3 changed files with 52 additions and 0 deletions

View File

@ -0,0 +1,3 @@
DIST opower-0.0.35.tar.gz 23402 BLAKE2B 9397af1ad9bb48055c91c362499bc7372795c36a9935cf5c84227b254846647e720b1989531982e26404905971ca54985afac915a9b35b098212ab9d8bc22378 SHA512 71d3f477067f378c809d6347c55d168f144a7eff593a89dc19cdf718dbcdabb9dcf7638e2db3ba0346331cae41556560daccfa5b3e2b6104ed9d670593fac523
EBUILD opower-0.0.35.ebuild 804 BLAKE2B 8bc8ff9dcae7a8f6cebc6aa34105eb9f1dbfe58b4bd854c09507cd67a46c48a65a55c7239cae3187c75469e301c5ea5fd2d04feaa40f8007c10b8a673a8d2354 SHA512 6131f011ca92fc4d546e5885c30c3b48d7547682e51f68d7f543b012644b8ec0392720da50b986d9cd82bb3a04d308ff7cdb3ade961eabae40aff20f95e3a52e
MISC metadata.xml 502 BLAKE2B 18b640b6ee57712e551f28053de871360e4f7caecc2bc1c1a405eefed951d5370820f6e83da5c05e67e0bf882b1f3899996c80c03e1910bc3bb55219f2e8c50b SHA512 ee38f413cf7afcdffa67d485e4049035f73e02bd8061b47f04946ae3b7dd97de8b909e895252227b416a1cadd41745773ec4da032cc71becaffa4d398458ce5f

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 type="project">
<email>b@edevau.net</email>
<name>Andreas Billmeier</name>
</maintainer>
<upstream>
<remote-id type="pypi">opower</remote-id>
<remote-id type="github">tronikos/opower</remote-id>
<maintainer status="unknown">
<email>tronikos@gmail.com</email>
<name>tronikos</name>
</maintainer>
</upstream>
</pkgmetadata>

View File

@ -0,0 +1,33 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{10..12} )
DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1 pypi
DESCRIPTION="A Python library for getting historical and forecasted usage/cost from utilities that use opower.com such as PG&E"
HOMEPAGE="https://github.com/tronikos/opower https://pypi.org/project/opower/"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 arm arm64 x86"
IUSE="test"
RESTRICT="!test? ( test )"
DOCS="README.md"
RDEPEND=">=dev-python/aiohttp-3.8[${PYTHON_USEDEP}]
>=dev-python/arrow-1.2[${PYTHON_USEDEP}]
>=dev-python/pyotp-2.0[${PYTHON_USEDEP}]"
BDEPEND="
test? (
dev-python/pytest[${PYTHON_USEDEP}]
)"
python_test() {
py.test -v -v || die
}
distutils_enable_tests pytest