dev-python/getmac: remove olds, cleanup, enable pytest
This commit is contained in:
parent
cc15a03364
commit
c472c7e3d0
@ -538,11 +538,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 1633 Ebuilds in total, 1626 of them have in total 1638 (35 different) licenses assigned.
|
||||
There are 1634 Ebuilds in total, 1627 of them have in total 1639 (35 different) licenses assigned.
|
||||
|
||||
|License| Ebuilds using it|
|
||||
|-------|-----|
|
||||
|MIT|969|
|
||||
|MIT|970|
|
||||
|Apache-2.0|319|
|
||||
|GPL-3|98|
|
||||
|BSD|94|
|
||||
|
@ -1,3 +1,5 @@
|
||||
DIST getmac-0.8.2.tar.gz 47639 BLAKE2B 3b4c5c460d56a6483cfc672ccbb15e888d55182aac4c165c87461572e42d1d798925a0538e1d26468b6c4be4b8baec9cdc9b2d9e8420379df45e5b6e82f86cd9 SHA512 92ef648e99cf5d23dd91fe2303d5e2524a5efccbeeeaa2715e56f483e4abac1471cfe4af0c66beac77aecc7bec1ba6c24bc7afd3f2c6d48325d5a2203350f768
|
||||
DIST getmac-0.8.3.tar.gz 50633 BLAKE2B 0ace1de7c9c0f80e2ffc12173a3c37ac34d6b2f88be55961524df8d36a50fd69cf24f85f56e1594d8cef2f826b6ac00dc7f6b0715e490324a95d47cedbccf50c SHA512 c30ad48092f51aff6dfd73ed914ada26098d2a7a4b44270183f0d3e9bece486feb54b09f8ca7085e0a965ef197c17facd2111748882656b3e621d28ac8c0b860
|
||||
EBUILD getmac-0.8.2.ebuild 723 BLAKE2B 0b8bb4b8a7519c901f17347579ee0a83f1fa26977e73c9cc46a9a82ffc7fa423ac367c9a8841fc6512f8615e437f54f9841ca504cd75c5cc8c525e278b73b825 SHA512 735e9b30aa94671c9e8ca3f09e2e615a1688366c9158c415fe74280b91a674390bc0514d14059226f0aaf1dc5f466a1afc9781720c7f35ab4037ff8385784062
|
||||
EBUILD getmac-0.8.3.ebuild 723 BLAKE2B 0b8bb4b8a7519c901f17347579ee0a83f1fa26977e73c9cc46a9a82ffc7fa423ac367c9a8841fc6512f8615e437f54f9841ca504cd75c5cc8c525e278b73b825 SHA512 735e9b30aa94671c9e8ca3f09e2e615a1688366c9158c415fe74280b91a674390bc0514d14059226f0aaf1dc5f466a1afc9781720c7f35ab4037ff8385784062
|
||||
MISC metadata.xml 456 BLAKE2B 7d16a026b776477b9f81fee24b7098310060567014c224f08c96c173ab59f8ea01d0332f67030e59d32678751ca3ddf5099f3f0bbfef0d0a2e3043c33ac88f5f SHA512 90cd555ef47a3a17c6bee8cad46df5ff2fcac301a0fe99e090553751a0a6e364ee52e8d25e93ecd7b27027736be7ece34a9e03f8c7e15a6c220a237cfe8c780a
|
||||
|
34
dev-python/getmac/getmac-0.8.2.ebuild
Normal file
34
dev-python/getmac/getmac-0.8.2.ebuild
Normal file
@ -0,0 +1,34 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..11} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Get MAC addresses of remote hosts and local interfaces"
|
||||
HOMEPAGE="https://github.com/GhostofGoes/getmac https://pypi.org/project/getmac/"
|
||||
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 arm arm64 x86"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DOCS="README.md"
|
||||
|
||||
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
|
||||
}
|
||||
|
||||
distutils_enable_tests pytest
|
Loading…
x
Reference in New Issue
Block a user