dev-python/pyefergy: remove olds, cleanup, enable pytest
This commit is contained in:
@@ -547,11 +547,11 @@ 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 1559 Ebuilds in total, 1552 of them have in total 1564 (34 different) licenses assigned.
|
||||
There are 1558 Ebuilds in total, 1551 of them have in total 1563 (34 different) licenses assigned.
|
||||
|
||||
|License| Ebuilds using it|
|
||||
|-------|-----|
|
||||
|MIT|920|
|
||||
|MIT|919|
|
||||
|Apache-2.0|309|
|
||||
|GPL-3|95|
|
||||
|BSD|89|
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
DIST pyefergy-0.1.5.tar.gz 6967 BLAKE2B 5d1338634121f382fafbe10da86d6b93e6506e27ecfc2858c2f9c8f761746951d213bc96ec6353907ca0d732d6303275fc65a825c27e6a3a82818d4d8a7d2ead SHA512 d02e238ca6f9d99fdab26f2a71098ffe80dd70d071db89df3b4a2599b9161d9bf3531ff285342df9dec07b1b2236d79a5a6b928f09acdc5dba962949e2f5da56
|
||||
DIST pyefergy-22.1.1.tar.gz 8770 BLAKE2B 1d1c8a137ec3dd30d7f1b217c1081a7950624b25468fb0c50cc1e87d34ced50f279d2cf0da9889f3630204b28f384614c231c2889e1aa0bc0c97e40adb73ea8e SHA512 94f7acd496780de1f5fd95b3d0563ff27b75b8e071f93161adbc6b63db1a94abb897dc22c9bd1cedd78645e684d8bcd2b7ca334cfe8689bc0d0a6f4f329d6a55
|
||||
EBUILD pyefergy-0.1.5.ebuild 848 BLAKE2B 9d6a5057bce7b2b90cf128262af985c9affe0d40118f947cbd3336acb5ef835bbaf83349348e928767bd6c3f0668a4c975f95b2180c7ee3b5077df6613f78fe8 SHA512 49a5a3a14849b0da11aeccb4de2c7f4eb0273a4557371af37330cb423caa5baa1e7e80d13477fe762f24f01abb7e586c5cf25f2243402a081719226760f48f57
|
||||
EBUILD pyefergy-22.1.1.ebuild 848 BLAKE2B 2a80260208463dae0c6f7a8acf54841274986269596586076a45d9adb23aee2d83290a229d8a6b530b923d4bc4aeeed68e6df176d611b9204a552ff5e6eb4313 SHA512 a7a13a1a3b398fac897c9731b8e98ecb8633739f8cef36ca9a40c087af30964b98dd675bc0c54dccefc58147f1b77f441c06d99cbc7a3a1bb5b486af1ec8c046
|
||||
EBUILD pyefergy-22.1.1.ebuild 851 BLAKE2B 6aeb70c613cededd4ce0bd2fdb6e0766365489ae7b0fc25adb670d9f4e2497fe0c4e0478a4fd6ccb496d799d0f578a3d0f9099d68d94669ff27cac101e930009 SHA512 5c725019037669231b21f56be7801525e425aea8bd54650c9b3a2b38706074db1c96a8438743263bd23fb6d535c3423009e6cff1920c0fa2cc7cdd3426ff5040
|
||||
MISC metadata.xml 454 BLAKE2B b2d40364b901f52e1cbc1caf90ad5f5a3e2313f63f7522faac92f3a76cb4f9360afba03524b741f523870dcda020cfd92836b1e8e29a9056866e4a71350a2517 SHA512 48982361214e616c613f65e468939a3b77977d457124a675e931cf39dbd92e1ff1c1c650a2a94b05c15ca2055b4525aa86db84886a510f9d9397728d26d73afe
|
||||
|
||||
@@ -1,35 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="An API library for Efergy energy meters."
|
||||
HOMEPAGE="https://github.com/tkdrob/pyefergy https://pypi.org/project/pyefergy/"
|
||||
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DOCS="README.md"
|
||||
|
||||
RDEPEND=">=dev-python/aiohttp-3.4.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/iso4217-1.2.20150619[${PYTHON_USEDEP}]
|
||||
dev-python/pytz[${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="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
|
||||
KEYWORDS="amd64 arm arm64 x86"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
@@ -33,3 +33,5 @@ python_test() {
|
||||
nosetests --verbose || die
|
||||
py.test -v -v || die
|
||||
}
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
Reference in New Issue
Block a user