dev-python/brother: new package, add 2.3.0, 3.0.0

Closes: #2583
Signed-off-by: Andreas Billmeier <b@edevau.net>
This commit is contained in:
Andreas Billmeier 2024-01-05 11:15:00 +01:00
parent d882db3a97
commit 44db7aa6bd
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
5 changed files with 85 additions and 2 deletions

View File

@ -612,12 +612,12 @@ A daily compile test is run at Github with Python 3.9 to catch general faults. E
## Licenses ## 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. 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 1637 Ebuilds in total, 1626 of them have in total 1641 (42 different) licenses assigned. There are 1639 Ebuilds in total, 1628 of them have in total 1643 (42 different) licenses assigned.
|License| Ebuilds using it| |License| Ebuilds using it|
|-------|-----| |-------|-----|
|MIT|939| |MIT|939|
|Apache-2.0|348| |Apache-2.0|350|
|GPL-3|106| |GPL-3|106|
|BSD|91| |BSD|91|
|LGPL-3|23| |LGPL-3|23|

View File

@ -0,0 +1,5 @@
DIST brother-2.3.0.tar.gz 14304 BLAKE2B 0a0699141c401c19fa0e9e32f629713883994b91c435d7aa5736c57a027f56ee976c7610c4fa92863680446f17df23aefb28cc0c885701d25177393bfa2b6c1b SHA512 2d2ee68bb87a8105581f7cd83aa487bceedbb2f7b68aba8b3812b8e5d65e3ab31457fd2f26123a303284b3df86782d6271d80b16af0a92d6a0a1fdedd2c55736
DIST brother-3.0.0.tar.gz 16318 BLAKE2B 66b67315d1783ecfa713b9831360f0f174b3679e282b0348c2305232ea43208c5e3ffadc621f3a46a240d44ef1a66809ed07a0800430195f869d80e3a1055443 SHA512 df743adfd95567b5aac07b2fb3081c26619c443fa1db49f644ba50035f0421b96b985df55b6cc3596ae194e9a3c63314fe029dda4c8c1c439aa9335e59ad99f3
EBUILD brother-2.3.0.ebuild 781 BLAKE2B 415e62bba7a9354d310c50e7886e2156d80d149b7b7eb0c87903277d1b1ad4e539fc7141b5763026d70d3e200527a2fe23d9d4e02989395f97ec73812113fe0b SHA512 bba5f053ba5edf09f8b48ac6cedac1583003dc3bb99c8f908b2884e5f606ec299b1136423f93fb589481a9e457eb5fe44faf9da127012fa36101e35aaa9d2909
EBUILD brother-3.0.0.ebuild 787 BLAKE2B bfa3e413eb3350dd2584af544e2528b3a148ba88d31329a3cb67d1352f9c2f5c83c11cc507f522f3d5e16cc5ad104afc00f739a4d68a7dc257bee3a968e3c080 SHA512 f0ef2cf58286aad0ce69ba61ecb1f53d08d8b795cdc1ac8f4c562a87e11b09bbe6be41724f280ed114a61d3f87fe4b186085c376800cd3882081aa9261405ad1
MISC metadata.xml 382 BLAKE2B 156547dd0d97ed5de780880847a2a6f1b44aad722dae72e42f8ce2d9c89f14ff1043acc044275248fcff3b744571682d8e161ddd0d00ae06e8d2f2b1c549401b SHA512 749cf2159c985e2724c4c932f960ffb86d2762296c2e46b4da84439964b1009e008b0e6c592643342ab8e6e33f16e6c926f35dacb7bdc2d28505da5a24f8ee0f

View File

@ -0,0 +1,33 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{10..12} )
DISTUTILS_USE_PEP517=setuptools
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/"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 arm arm64 x86"
IUSE="test"
RESTRICT="!test? ( test )"
DOCS="README.md"
RDEPEND=">=dev-python/dacite-1.7.0[${PYTHON_USEDEP}]
>=dev-python/pysnmplib-5.0.21[${PYTHON_USEDEP}]"
BDEPEND="
dev-python/pytest-runner[${PYTHON_USEDEP}]
test? (
dev-python/pytest[${PYTHON_USEDEP}]
)"
python_test() {
py.test -v -v || die
}
distutils_enable_tests pytest

View File

@ -0,0 +1,33 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{10..12} )
DISTUTILS_USE_PEP517=setuptools
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/"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 arm arm64 x86"
IUSE="test"
RESTRICT="!test? ( test )"
DOCS="README.md"
RDEPEND=">=dev-python/dacite-1.7.0[${PYTHON_USEDEP}]
>=dev-python/pysnmp-lextudio-5.0.31[${PYTHON_USEDEP}]"
BDEPEND="
dev-python/pytest-runner[${PYTHON_USEDEP}]
test? (
dev-python/pytest[${PYTHON_USEDEP}]
)"
python_test() {
py.test -v -v || die
}
distutils_enable_tests pytest

View File

@ -0,0 +1,12 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>b@edevau.net</email>
<name>Andreas Billmeier</name>
</maintainer>
<upstream>
<remote-id type="pypi">brother</remote-id>
<remote-id type="github">bieniu/brother</remote-id>
</upstream>
</pkgmetadata>