dev-python/distro: remove olds, cleanup, enable pytest
This commit is contained in:
parent
e01f5ce63f
commit
cf3087e521
@ -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 1649 Ebuilds in total, 1642 of them have in total 1654 (35 different) licenses assigned.
|
||||
There are 1648 Ebuilds in total, 1641 of them have in total 1653 (35 different) licenses assigned.
|
||||
|
||||
|License| Ebuilds using it|
|
||||
|-------|-----|
|
||||
|MIT|979|
|
||||
|Apache-2.0|322|
|
||||
|Apache-2.0|321|
|
||||
|GPL-3|99|
|
||||
|BSD|94|
|
||||
|LGPL-3|26|
|
||||
|
||||
@ -1,5 +1,3 @@
|
||||
DIST distro-1.4.0.tar.gz 53719 BLAKE2B f393e4237ee946a0085eedee49b38ab140bb0e1696407a74a7259aacb4341f25eda6ea79da9bd3c060f00da4b1856ed678edbc403fe16b20d130ec5d076c4d77 SHA512 eac7d32ea77c2074e57c6828a8b2e4d4d01e9c46cb0f7adbd99998630b0af4924bf18d05d5f5b42fef5603b024ef835dbb4c05fc88310f5e64d193514b2fc10f
|
||||
DIST distro-1.5.0.tar.gz 54340 BLAKE2B 2a5bf45cdf41b9772a2e164aebe96a4e9952893b7462935938fa4939704c8dca67acc3e0a52e53d8722aa4405abdc7ad2c8d600dd397d1243bcceda4d5ceeb75 SHA512 14831fe1355e9ef4f58f273ce4a548a3fe438e95466b4b4f596b8110da51305d66ed77c2e40c3dbfbcbd1a66c74e23a4d4244c8bfdebc4b49b3e7ddcbff55b8f
|
||||
EBUILD distro-1.4.0-r1.ebuild 608 BLAKE2B f19be62341c6fccbe17c1bd11338da3f6676639c13c7c1f08167a667fe237fb1ee5e88e086ecdbc9dd6855c06d1699945442d638ed5cb9b2a17f5922c0057367 SHA512 3e8a0268ccdac026ea86ec4783747c165da169af8184bb050a63511022510809573327c4571900671367a3d17f55e96723d2ae4d730e5f90dffbf4985aa53bf1
|
||||
EBUILD distro-1.5.0.ebuild 609 BLAKE2B b79028e8fdadf2390c4fec4011d5594f67eeddf5206b15229d40f666e1344e2b21971457ae389840d10e8137f10a8886dd7ffd462cdf030cbc4e416e16e304d4 SHA512 d9fc876c7f64e418e3e39454839e3c7af30999274e4fa4e7cdb38f3cb5f1c2df7825f6967ee4d365f7de27b71718d8a9b7bd2f1e0d7919e63b300e8679c92d7a
|
||||
EBUILD distro-1.5.0.ebuild 614 BLAKE2B f2013a43f2781193d8cc3706e1219c6a80d5a2aae0f0f407140a4c66151b2c170b2bb89fd365bf4ce3c3d914090447c65f328e9e915bb5181f4f7673ec2bde24 SHA512 af7839894eab78958e50631d909cff0da0227796fe5119a05c42c89373468c0bf42bfd53fc7d502cfd90099f8fbb0961e5bb3eef47de0acc85bd46f4b7a76c75
|
||||
MISC metadata.xml 252 BLAKE2B 507e0ddc9d50b879ff374b903b142f85d020dfd6c486aba2af84fe082c878e780edbb79188ae10104d57db0eb775c86814cc8c06891a3854c9da840a4d377050 SHA512 9470ac9c8a5a4f80e3f767e7aa198addc7b21866c63b2a310e9f41ce65817672fb77423117bdd619e99cb62322025aeadf50717e23eafabf99080fcc106820af
|
||||
|
||||
@ -1,26 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="6"
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..9} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Reliable machine-readable Linux distribution information for Python"
|
||||
HOMEPAGE="https://distro.readthedocs.io/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="Apache-2.0"
|
||||
KEYWORDS="amd64 ~arm ~arm64 x86 amd64-linux x86-linux"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DEPEND="test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
|
||||
|
||||
RESTRICT="test" # incomplete test resources
|
||||
|
||||
python_test() {
|
||||
py.test || die
|
||||
}
|
||||
@ -1,9 +1,9 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="7"
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
PYTHON_COMPAT=( python3_{8..11} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="Apache-2.0"
|
||||
KEYWORDS="amd64 ~arm ~arm64 x86 amd64-linux x86-linux"
|
||||
KEYWORDS="amd64 arm arm64 x86"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
@ -24,3 +24,5 @@ RESTRICT="test" # incomplete test resources
|
||||
python_test() {
|
||||
py.test || die
|
||||
}
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user