diff --git a/README.md b/README.md index 90c861014..0922430aa 100644 --- a/README.md +++ b/README.md @@ -573,12 +573,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 1740 Ebuilds in total, 1729 of them have in total 1733 (34 different) licenses assigned. +There are 1741 Ebuilds in total, 1730 of them have in total 1734 (34 different) licenses assigned. |License| Ebuilds using it| |-------|-----| |MIT|1016| -|Apache-2.0|373| +|Apache-2.0|374| |GPL-3|107| |BSD|91| |LGPL-3|23| diff --git a/dev-python/brother/Manifest b/dev-python/brother/Manifest index beb71ccd1..56c34eb23 100644 --- a/dev-python/brother/Manifest +++ b/dev-python/brother/Manifest @@ -1,5 +1,7 @@ DIST brother-2.0.0.tar.gz 13165 BLAKE2B 067ddb93e96ab3c44bb5faf4fd95b5efd7d415a542cd90e8a15cd939e3aaf94edeb21f3cb05d0d17d2293cfa651c45c632401b02f1777857da5d9664a6682d63 SHA512 551155ae6d76ac77f087434ea97e73682f330d2664edfef6dfeb2e8f6ed9da77049327a1519b56b206ba1b0e74c7b37c2d46d94747c5880c9bd3da435527cb8b DIST brother-2.1.1.tar.gz 13151 BLAKE2B 955eb57b0685a52205f2f6eafe20b37e757262a33825e5dd4a1ca48e8df13565581821c1c23bc6895494f8c9a0608ffa3da3503944c399ee8ff660538d589cb1 SHA512 079fb58877281c1243d411f9710a0bb2d6c4046fb63cdeeaf0aac9b4a9eba0e0e74a901430891d34516606c9a876f27787db58c8b7204d6a09743a6354256d9b +DIST brother-2.2.0.tar.gz 14309 BLAKE2B 60da188c89f2175274b68a8568c21280741fbbfb913b4251f20cff3658292c60bf49153ecd92201f0a1a182ee887c81b74f8dc67d7a6683d5bb7edb5926a28ee SHA512 c0454fde9a742f2a90ac09129b2d4afae60f7b995cb409935b2fc7f3a97e1e0140b0c4f4c740e1e2e2c2f4bb08b9212ed0477ac099efe178a57e4f8b5d38b224 EBUILD brother-2.0.0.ebuild 850 BLAKE2B f2a11f3d89ba9d7b879831353bc80d5c216d9f947a3b97c6d4f45d25a3df02133af6296c33f834bfd2b7b570838f32d7800dac39812d37dc189546fd2f533221 SHA512 5f64cdcc57b6d987917ec4cbccb11c3a98af7659228385ce968a3534da966de10e1247b93cb7a9e8e78cd13521dcc1f3413c47bb6488dcf714efec7713142973 EBUILD brother-2.1.1.ebuild 859 BLAKE2B 5bdb7b58ff202c1585c88c618b9e4c3fcde0cfae52bdad2da92f5b3445ea0fbefbd05734685a482c52cb2ab3a30fa8d759f87c5e234c7bcf157f81959c807804 SHA512 adf2eaa3954da0a56ad33e3c000b1184f1f1d9e406d51dc7a970fb9b866bdf553f812a0bcc7d2ef07ad1cf34cb5487673050960f11e0cfc75d480794308c977e +EBUILD brother-2.2.0.ebuild 859 BLAKE2B 5bdb7b58ff202c1585c88c618b9e4c3fcde0cfae52bdad2da92f5b3445ea0fbefbd05734685a482c52cb2ab3a30fa8d759f87c5e234c7bcf157f81959c807804 SHA512 adf2eaa3954da0a56ad33e3c000b1184f1f1d9e406d51dc7a970fb9b866bdf553f812a0bcc7d2ef07ad1cf34cb5487673050960f11e0cfc75d480794308c977e MISC metadata.xml 382 BLAKE2B 156547dd0d97ed5de780880847a2a6f1b44aad722dae72e42f8ce2d9c89f14ff1043acc044275248fcff3b744571682d8e161ddd0d00ae06e8d2f2b1c549401b SHA512 749cf2159c985e2724c4c932f960ffb86d2762296c2e46b4da84439964b1009e008b0e6c592643342ab8e6e33f16e6c926f35dacb7bdc2d28505da5a24f8ee0f diff --git a/dev-python/brother/brother-2.2.0.ebuild b/dev-python/brother/brother-2.2.0.ebuild new file mode 100644 index 000000000..1813630c0 --- /dev/null +++ b/dev-python/brother/brother-2.2.0.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9..11} ) +DISTUTILS_USE_PEP517=setuptools +inherit distutils-r1 + +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" +SLOT="0" +KEYWORDS="amd64 arm arm64 x86" +IUSE="test" +RESTRICT="!test? ( test )" + +DOCS="README.md" + +RDEPEND="dev-python/dacite[${PYTHON_USEDEP}] + >=dev-python/pysnmplib-5.0.20[${PYTHON_USEDEP}]" +BDEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + dev-python/pytest-runner[${PYTHON_USEDEP}] + test? ( + dev-python/pytest[${PYTHON_USEDEP}] + )" + +python_test() { + py.test -v -v || die +} + +distutils_enable_tests pytest