dev-python/brother: add 4.3.0, drop 2.3.0

Closes: #3587
Signed-off-by: Andreas Billmeier <b@edevau.net>
This commit is contained in:
Andreas Billmeier 2024-09-21 14:45:07 +02:00
parent 9101881e9f
commit 8f8e6db59a
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
5 changed files with 38 additions and 16 deletions

View File

@ -606,12 +606,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 1981 Ebuilds in total, 1970 of them have in total 1995 (42 different) licenses assigned.
There are 1980 Ebuilds in total, 1969 of them have in total 1994 (42 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
|MIT|1146|
|Apache-2.0|442|
|Apache-2.0|441|
|GPL-3|115|
|BSD|112|
|LGPL-3|25|

View File

@ -0,0 +1,28 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{11..13} )
DISTUTILS_USE_PEP517=None
inherit distutils-r1 pypi
DESCRIPTION="Python wrapper for getting data from Brother laser and inkjet printers via SNMP."
HOMEPAGE="https://github.com/bieniu/brother https://pypi.org/project/brother/"
#SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="Apache-2.0 License"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
IUSE="test"
RESTRICT="!test? ( test )"
DOCS=""
RDEPEND=""
BDEPEND="
test? (
dev-python/pytest[${PYTHON_USEDEP}]
)"
distutils_enable_tests pytest

View File

@ -1,5 +1,6 @@
DIST brother-2.3.0.tar.gz 14304 BLAKE2B 0a0699141c401c19fa0e9e32f629713883994b91c435d7aa5736c57a027f56ee976c7610c4fa92863680446f17df23aefb28cc0c885701d25177393bfa2b6c1b SHA512 2d2ee68bb87a8105581f7cd83aa487bceedbb2f7b68aba8b3812b8e5d65e3ab31457fd2f26123a303284b3df86782d6271d80b16af0a92d6a0a1fdedd2c55736
DIST brother-4.1.0.tar.gz 16618 BLAKE2B 0ba4dd5af9d3b379427d014bd2b1ca583d622a397af1948ceb8773688f0adacf055e37ce59f50bed4b4f0f24c2cd3121cd7e44a7f2c6335b71479b66133114d6 SHA512 3e98dd088006b2523bda81b1e9eff8b2166cb9ef7b8d5690599e882cd092af97c6421c2257aa2522769161f1c8df92c3ba796063a2242d97f3a1917b30acd852
EBUILD brother-2.3.0.ebuild 781 BLAKE2B cb0ffc0479877a716bb0cff9a1894783bb8c2b745c9bee5d5f502c2dc69430edbe2d719257a33b79e1dfe714747ba7bb4ba0415ba051676342f82e63a2739263 SHA512 d5c3481b756d42a5dd77dc5b2ad3ed702edeafaf425cb22681dbc2ea3a4f0d765f3003a50298eec878e21951c534eff9638cc1acd2e0e1e4dd5b62557f790245
EBUILD brother-4.1.0.ebuild 696 BLAKE2B fe1b38f9298c32713d1cbb8677c33a196d8f9d10566d5c1fb9ecbfedbd46209e778e716765f4876c3b074040123b58da3ff7e9a51ce53b777edb75ce2b25d850 SHA512 e4433fcab0129e79a1e03079ba9accb4ea49e1901f146472b95f51a80c76892ef0e50220e0656cc00d1703abf81bf836db547ff50c730e29baf4b7bb32e7712e
DIST brother-4.3.0.tar.gz 16306 BLAKE2B 9218442935c96bc0a48fafef36746038df12406b8af40e8ea35adbb404966c171323236064f3136673972f9ca35d54a3a3d1c2a0ba558653e23ac72fe1302911 SHA512 f4f2192f24fa0e9058c1551834e5211e10fc23f7ab6adf4ff725676bccea2487dd5738c1bfb659418dd2087b0eca1a8b866805bfacdc4c12342d4dc472445026
EBUILD brother-4.1.0.ebuild 696 BLAKE2B e66a328081ce33f1bbf938e70e25291644c4efb795879f3d74d4037f3f3cbe338842efbbffcf68d6950edb6dfe35af562ba483cd041a7e7e4700e08262619432 SHA512 29fb4ffbe33ed41ea1c4016cce33c47fdfbb6bf679f8969d254c3d82e7fb4488e16a9067dc6408bc01c46262cb758bdcab1fc480cbb9cd51df86927bb5f2eab1
EBUILD brother-4.3.0.ebuild 684 BLAKE2B 07556c423738d359e10cd9b8a298283560d6fc885ad2f6dade3cbb1a3ff2a5399eefb1b515ec4335ee57ed4ae4de58431c9241502ee4e3fadaec797d889cea6f SHA512 2474893132e0d065e4ac211fbbf322f0c2d148afaa759573671dfcc94881c53357ecdbf90ad2ec96976ae8472b558c679533214ff5c0f7aea3af98e8e15eb326
MISC #brother-4.3.0.ebuild# 653 BLAKE2B a06273138414ffbca19f6146a1eaabcccdc54c5ecf14ebdf414591dc70743d24e2c839bbcd3e827cdb18e57b8a7bac063c5573da365da056abe1dc792a5671a7 SHA512 12f3d241fd658a0197091b2af2ffb3ac0c0c9767369703a0d6cf3705c54e89d960eb5bf07330022ae0c911bd10b8fa49715eba4fbf793902e3ab13badd87dc14
MISC metadata.xml 382 BLAKE2B 156547dd0d97ed5de780880847a2a6f1b44aad722dae72e42f8ce2d9c89f14ff1043acc044275248fcff3b744571682d8e161ddd0d00ae06e8d2f2b1c549401b SHA512 749cf2159c985e2724c4c932f960ffb86d2762296c2e46b4da84439964b1009e008b0e6c592643342ab8e6e33f16e6c926f35dacb7bdc2d28505da5a24f8ee0f

View File

@ -3,7 +3,7 @@
EAPI=8
PYTHON_COMPAT=( python3_{11..12} )
PYTHON_COMPAT=( python3_{11..13} )
DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1 pypi

View File

@ -3,7 +3,7 @@
EAPI=8
PYTHON_COMPAT=( python3_{11..12} )
PYTHON_COMPAT=( python3_{11..13} )
DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1 pypi
@ -19,15 +19,8 @@ RESTRICT="!test? ( test )"
DOCS="README.md"
RDEPEND=">=dev-python/dacite-1.7.0[${PYTHON_USEDEP}]
>=dev-python/pysnmplib-5.0.21[${PYTHON_USEDEP}]"
>=dev-python/pysnmp-6.0[${PYTHON_USEDEP}]"
BDEPEND="
dev-python/pytest-runner[${PYTHON_USEDEP}]
test? (
dev-python/pytest[${PYTHON_USEDEP}]
)"
python_test() {
py.test -v -v || die
}
dev-python/pytest-runner[${PYTHON_USEDEP}]"
distutils_enable_tests pytest