dev-python/opower: add 0.0.36

Signed-off-by: Andreas Billmeier <b@edevau.net>
This commit is contained in:
2023-10-22 15:57:03 +02:00
committed by Andreas Billmeier
parent 82b88c3077
commit 21bcf8245c
3 changed files with 37 additions and 2 deletions

View File

@@ -591,12 +591,12 @@ A daily compile test is run at Github with Python 3.9 to catch general faults. E
## Licenses
This repository itself is released under GPL-3 (like most Gentoo repositories), all work on the depending components under the licenses they came from. Perhaps you came here because I filed an issue at your component about a bad or missing license. It is easy to [assign a license](https://docs.github.com/en/communities/setting-up-your-project-for-healthy-contributions/adding-a-license-to-a-repository). During cleanups and license investigations I have been asked often which license to choose. I am not a lawyer, but I can offer the following table, counted over this repository, perhaps this helps your decision. If a package has more than one license listed, all of them are counted.
There are 1829 Ebuilds in total, 1818 of them have in total 1834 (40 different) licenses assigned.
There are 1830 Ebuilds in total, 1819 of them have in total 1835 (40 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
|MIT|1069|
|Apache-2.0|373|
|Apache-2.0|374|
|GPL-3|116|
|BSD|103|
|GPL-2|26|

View File

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

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