dev-python/av: remove olds, cleanup, enable pytest

This commit is contained in:
Andreas Billmeier 2022-10-15 19:41:12 +02:00 committed by Andreas Billmeier
parent e54e4b9df2
commit 3ca18d1894
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
4 changed files with 7 additions and 42 deletions

View File

@ -538,14 +538,14 @@ 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 1670 Ebuilds in total, 1663 of them have in total 1675 (35 different) licenses assigned.
There are 1669 Ebuilds in total, 1662 of them have in total 1674 (35 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
|MIT|997|
|Apache-2.0|322|
|GPL-3|100|
|BSD|96|
|BSD|95|
|LGPL-3|26|
|GPL-2|21|
|GPL-3+|14|

View File

@ -1,5 +1,3 @@
DIST av-8.1.0.tar.gz 2374416 BLAKE2B 6481135134da76eabc4028770b4b167a52b28de58ffed1928cbbc5b9c0590681d5c81f84e9e1968b1048e8f93dc4fba0bda9b32ac426a16d69802bd845092659 SHA512 49076b1d37935654e5a45733542790c6774402d9929de390439ca74667c7d61472282a71607ce25103e5a09564fa733bdf6a45fc1c43726e42692d2689809fe8
DIST av-9.2.0.tar.gz 2391613 BLAKE2B 7b4ef36f1f8c978cf9be9e8c25ba83bcf5562275ab2eda9b53d080a4b8f04b0e8bdf6dbc30f8c95b1c99e0a4056a773e4b9605c0e7427cd803c0355cb9e7adc2 SHA512 c24d9bbda69a59bbc27bf037fb6f31fba47635cc741184740585292c06c8782801fcb8439658dd420ea4034c7206b8e4e0f3f190a04ff3f9abb8eb17f5fff60e
EBUILD av-8.1.0.ebuild 786 BLAKE2B 0c5146e82ecdddd5f0d065d31115a335378d0cd73803c70d564c72415d82a406e60828c188e34559ce440c66421d42683d2d45937841eb36fcba26ca4bd8bee8 SHA512 fd9bd74cee1fbaf2229981b630f60bcb9016e6c0d9f3fe94dcb3429862fdc9294f14bfe8c0d1160a6f071313e9368bdff2cbc8b5abba5f030bf8c5cb9f150328
EBUILD av-9.2.0.ebuild 786 BLAKE2B 0c5146e82ecdddd5f0d065d31115a335378d0cd73803c70d564c72415d82a406e60828c188e34559ce440c66421d42683d2d45937841eb36fcba26ca4bd8bee8 SHA512 fd9bd74cee1fbaf2229981b630f60bcb9016e6c0d9f3fe94dcb3429862fdc9294f14bfe8c0d1160a6f071313e9368bdff2cbc8b5abba5f030bf8c5cb9f150328
EBUILD av-9.2.0.ebuild 789 BLAKE2B 9f6fb8459c10123fd8afc3e2fe9a490aae4d35ae3b9d6940df7fc892d22e55c96e51520e9da6d30ab740d18c4cc3932a8734f4d85980d4872fc42e169acb508c SHA512 f166535cbe0ff252ce04e048ee117a558347d735155f6dedbc4d3dc666d2a31f00efd045fd50e5329bd23c469e4aa4e01a75a59f6b4b8a1daa2d79533bbf569f
MISC metadata.xml 443 BLAKE2B f6b3c3c7706b519b696d85eb41f4cc0e47d9d98d92d41e607258a62e7bcaf24639c06f02f9fd3a5429dd8434476fb42a10909bcb0c143d2b94311b17cff90850 SHA512 a5530f0be915c0f0ceea9f6d5f91ebfb83655852338d8071954a37e380a28cec49d5d856f1b75e61181baae768a6f985cd909c3505f495c47346d8fc5506fa6e

View File

@ -1,35 +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="Pythonic bindings for FFmpeg's libraries."
HOMEPAGE="https://github.com/PyAV-Org/PyAV https://pypi.org/project/av/"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
RESTRICT="!test? ( test )"
DOCS="README.md"
RDEPEND="!dev-python/ha-av
media-video/ffmpeg
dev-python/ha-ffmpeg[${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
}

View File

@ -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="BSD"
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