dev-python/amberelectric: remove olds, cleanup, enable pytest
This commit is contained in:
parent
8b8eeafb26
commit
40d03c3d1b
@ -538,12 +538,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 1673 Ebuilds in total, 1666 of them have in total 1678 (35 different) licenses assigned.
|
||||
There are 1672 Ebuilds in total, 1665 of them have in total 1677 (35 different) licenses assigned.
|
||||
|
||||
|License| Ebuilds using it|
|
||||
|-------|-----|
|
||||
|MIT|999|
|
||||
|Apache-2.0|323|
|
||||
|Apache-2.0|322|
|
||||
|GPL-3|100|
|
||||
|BSD|96|
|
||||
|LGPL-3|26|
|
||||
|
||||
@ -1,5 +1,3 @@
|
||||
DIST amberelectric-1.0.3.tar.gz 33972 BLAKE2B 07beb9c28408857bad9dee77364e2db7e07d5c1f0b68fc54277f786e5e92d37419aeea6fd2fc08ee02415fc9e7b42e25c8275f8fe20cfb7a6da73371a81926a0 SHA512 f2ee5a4fad115540afb87fbba4a784d0a72de954b42064862176c8e4de957222b7b91f918e74bf5099cab5d33a372dfcaaba0abb2871ec25a95e2a72cf38635d
|
||||
DIST amberelectric-1.0.4.tar.gz 34445 BLAKE2B 6285a163c826930451042ffb740dcbe6b23da5c3ae71638f55c0a85400b2efbefa4e07f4866d394869f5ec1108d315dfcdf222434725fec76bdffb8e7c975fec SHA512 f688254b0642c7da9875f606bf57d7d489d0f052548d8f6df3522ae766d3b29fc8b475d3683ef1819ad85fcd38504d869198c335ea3f073d3f078ec704265a49
|
||||
EBUILD amberelectric-1.0.3.ebuild 915 BLAKE2B 29188c32ff5e84b0bb706cb91587dd62a9b2ab7888237b1a15118c09a7fafb21245c72d0796a394a1cca975656087c6112c23829ee481e49bf0b6fda65dad725 SHA512 9ade977db76b1a5500e54576b29031fb46a19bbb1fcd84e7beca0e0170fe3baa751118d7a6b9cec9135e899084cf013f4063f5cd0272e854f89fef8ab088affb
|
||||
EBUILD amberelectric-1.0.4.ebuild 915 BLAKE2B 29188c32ff5e84b0bb706cb91587dd62a9b2ab7888237b1a15118c09a7fafb21245c72d0796a394a1cca975656087c6112c23829ee481e49bf0b6fda65dad725 SHA512 9ade977db76b1a5500e54576b29031fb46a19bbb1fcd84e7beca0e0170fe3baa751118d7a6b9cec9135e899084cf013f4063f5cd0272e854f89fef8ab088affb
|
||||
EBUILD amberelectric-1.0.4.ebuild 922 BLAKE2B 88cc907974172959d338bbc760fcf224a9aa34911110bdbbd3dbf4b3e6d7ea6f1759c7875b48721d6e867bbb8847a95f1897b104d4a0e11d534499af6c20f60b SHA512 1d9755f83f3962a7cc8205309f45a77ad469851457e6479f084dc14b9f954ac11e0c5ffab8b8d733e0f4787709965d7703af7acfb47d7e3649d1ec19414066b8
|
||||
MISC metadata.xml 461 BLAKE2B b7f4b72799000475bc1653e82ca7ef9fd0cbf75c830e432f9c162150598901cb177190db968a7fcd15343b2afe99f10e96be51064c352e8a72bb36673d349e03 SHA512 e4d206e05cf22b30ede959c044404c2abd97db191027f670675c956761b7a833a7a213529398fe0e546736c924e025dd469f0421e29f723505f909c80191258d
|
||||
|
||||
@ -1,34 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
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="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 arm arm64 x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( 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
|
||||
}
|
||||
@ -3,7 +3,7 @@
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
PYTHON_COMPAT=( python3_{8..11} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 arm arm64 x86 ~amd64-linux ~x86-linux"
|
||||
KEYWORDS="amd64 arm arm64 x86"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
@ -32,3 +32,5 @@ python_test() {
|
||||
nosetests --verbose || die
|
||||
py.test -v -v || die
|
||||
}
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user