cleanup Adafruit-* stuff
This commit is contained in:
parent
c75a21071e
commit
8d812ad550
@ -496,11 +496,11 @@ From time to time a fresh compile test on empty boxes (one with Python 3.9 and o
|
||||
|
||||
## 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 1825 Ebuilds in total, 1817 of them have in total 1826 (34 different) licenses assigned.
|
||||
There are 1829 Ebuilds in total, 1821 of them have in total 1830 (34 different) licenses assigned.
|
||||
|
||||
|License| Ebuilds using it|
|
||||
|-------|-----|
|
||||
|MIT|1089|
|
||||
|MIT|1093|
|
||||
|Apache-2.0|349|
|
||||
|BSD|108|
|
||||
|GPL-3|107|
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
# 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} )
|
||||
|
||||
33
dev-python/Adafruit-Blinka/Adafruit-Blinka-7.1.1.ebuild
Normal file
33
dev-python/Adafruit-Blinka/Adafruit-Blinka-7.1.1.ebuild
Normal file
@ -0,0 +1,33 @@
|
||||
# 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="CircuitPython APIs for non-CircuitPython versions of Python such as CPython on Linux and MicroPython."
|
||||
HOMEPAGE="https://github.com/adafruit/Adafruit_Blinka https://pypi.org/project/Adafruit-Blinka/"
|
||||
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 arm arm64"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DOCS="README.rst"
|
||||
|
||||
RDEPEND="dev-python/Adafruit-PureIO[${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
|
||||
}
|
||||
@ -1,3 +1,5 @@
|
||||
DIST Adafruit-Blinka-6.11.1.tar.gz 137153 BLAKE2B 500c8d3fa25099572e6c1ca8f2891fd35953b389838ec7d37ba330bcfb81755ecdd1d48652da53fe14353433a26a740bac8964683082c43384d603a82dea48e6 SHA512 604195391c40e0f8681ba45bb03c845f3d1e1957e89902bea7c2f71ddceafb05adc0e45d4c42272bf1b09514448d6e33fd4e4caafdbe2642543c3ae7c63a554d
|
||||
EBUILD Adafruit-Blinka-6.11.1.ebuild 808 BLAKE2B f68bb82f98034923e83bdd0c234233ab5898662316d552e174ba7adce4d96e616c17a5198c034cdaa363f34c2c162faa64f35c0b6977f6b04a13956dc48597d7 SHA512 f831c625e4250b8dd611c57bf2b1754ccb5bac52e4cfa8f3687c48af992939ef9d7ad88d54110a43272a3eab669d65987859b747a85aaf4878ffd13506e5b30f
|
||||
DIST Adafruit-Blinka-5.5.1.tar.gz 110504 BLAKE2B 2041d267933afe4e45ef4b65f4cacf0ec34901accaf547887313177bfdac4493e544c7c586ac84f567569fbe382251707b88da8d20f7cce7b0afffdff0319ac0 SHA512 96289e4868d00345b2fa604cde21b70b55fc1846447ae67d5849bafdc363b74e2f36c9757d5c95ff732f7fc1419d725fb603ba7c5876ca330563e4a5b6b655d0
|
||||
DIST Adafruit-Blinka-7.1.1.tar.gz 166472 BLAKE2B 76945e78ba2146519d8cc1b425e844118f58e330d279029d49c8a2a6f08fa4c72be46e7371195466310660e11d78d9f17675eae79ee0299eb0f66d3ad668ca4d SHA512 02ef34e81356d19d13b55d08cd97c99b2f6383516f2d703de4a9efe144dba717b83eed892ba92b3d21342243d2df6f0e52af74de49a6f8b18b5999a4a2326aaf
|
||||
EBUILD Adafruit-Blinka-5.5.1.ebuild 806 BLAKE2B 65f12f627c60b76c8e94f18922ffbd5b424f1df69e44b40037fb55d434ead38a4b718d4ea364e2fff1f657d50b502e7cc3ba048d73a7fc137dd4c0e86f31abf5 SHA512 a44ffe2a341a83b4ccd089669f6786b530c3223bb4d2f5f24d9bc2e25a4c74917c3e6e4110be4749ca74336e67aef70db840ea24dec6b3930d11a6e48309428a
|
||||
EBUILD Adafruit-Blinka-7.1.1.ebuild 806 BLAKE2B 65f12f627c60b76c8e94f18922ffbd5b424f1df69e44b40037fb55d434ead38a4b718d4ea364e2fff1f657d50b502e7cc3ba048d73a7fc137dd4c0e86f31abf5 SHA512 a44ffe2a341a83b4ccd089669f6786b530c3223bb4d2f5f24d9bc2e25a4c74917c3e6e4110be4749ca74336e67aef70db840ea24dec6b3930d11a6e48309428a
|
||||
MISC metadata.xml 473 BLAKE2B cc4abfe9ab5a3162b7a190d48f41f35d338ef0615799e267be91e968fc6f0f03c2ecb829b0d6013c0c28b8dc17f7b63a102a53b3b1861c3ad11954a691f48da0 SHA512 0756f3a827567f145ded83ed636a09d0d9da2513cbafc36e8c4a831082f161d1a522ed7afe0e98fa654922c2eff00cf4516e337da8a78eb00f228f3441545717
|
||||
|
||||
3
dev-python/adafruit-circuitpython-busdevice/Manifest
Normal file
3
dev-python/adafruit-circuitpython-busdevice/Manifest
Normal file
@ -0,0 +1,3 @@
|
||||
DIST adafruit-circuitpython-busdevice-5.1.8.tar.gz 28634 BLAKE2B 1bbae4854afa80f29f3eb903990e3dad769bb7aa172075228e051320cf02b74a0d72a3401451244094c57d318a15ff026c6fdd177a9019f5ee414228c21e46b2 SHA512 396a69704876f964deaf8719eefe30d71f83c772fc7f4f2d4b58c2b035d5d541dafac93a0a468470d8291e054e797e59215fa387ec572bc16cf54015432c2d3f
|
||||
EBUILD adafruit-circuitpython-busdevice-5.1.8.ebuild 894 BLAKE2B 070c3be97183e2e276ce42c2a8453953a29e6fa8dc104dc05aac4946e912d0f54129d2476a8df82660612cd189faa57b5da6e7ee2db24bb57fe31858160c2af4 SHA512 81dd80da4c8275c74d06a90ecde90bfb6dbdafe66191e7e8281b1538dfec7c5b1d77491908cd54962ec8f8ddd3c7d5d53359db1a8a715c226575225e92a14eeb
|
||||
MISC metadata.xml 490 BLAKE2B 798859681c27a66d6e3ed1c25f19d9fbd04c491b661e3bca158df931e029a2ede027821a6ee6a5ca8039ad4328084020f232e9b98000c699a09672d93fc68b2e SHA512 97a161fb5f528ce6757bb89ac178364f19912bdc8fbce7ceab68ba28dc849636201ab874749a3b33e0f05f22d8848f3126af1dcc21b1658d22712b55616d28f4
|
||||
@ -0,0 +1,34 @@
|
||||
# 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="CircuitPython bus device classes to manage bus sharing."
|
||||
HOMEPAGE="https://github.com/adafruit/Adafruit_CircuitPython_BusDevice https://pypi.org/project/adafruit-circuitpython-busdevice/"
|
||||
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DOCS="README.rst"
|
||||
|
||||
RDEPEND=">=dev-python/Adafruit-Blinka-7.0.0[${PYTHON_USEDEP}]
|
||||
dev-python/adafruit-circuitpython-typing[${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
|
||||
}
|
||||
15
dev-python/adafruit-circuitpython-busdevice/metadata.xml
Normal file
15
dev-python/adafruit-circuitpython-busdevice/metadata.xml
Normal file
@ -0,0 +1,15 @@
|
||||
<?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">adafruit-circuitpython-busdevice</remote-id>
|
||||
<maintainer status="unknown">
|
||||
<email>circuitpython@adafruit.com</email>
|
||||
<name>Adafruit Industries</name>
|
||||
</maintainer>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
@ -1,3 +1,3 @@
|
||||
DIST adafruit-circuitpython-pca9685-3.3.2.tar.gz 21114 BLAKE2B 12abda7496118a8f5bfd823c11774210add0bc8477dabb322543cd531ba21f7997efca1cb0286957fe7736d877b776a1a50e2ef2b82d656f5d127bde012b49f9 SHA512 e430d4e56aaaf7b515e8f3e815c8db02b5071485b6902b9cc24f564833e3c712e637b839fc1df41a35bb5f673fc33dbbbe3212efab23053b505cee7057fd16e2
|
||||
EBUILD adafruit-circuitpython-pca9685-3.3.2.ebuild 906 BLAKE2B 94e32e816adba731ca746ee51aeebf6aae0fd21308134be2f5de399d8c011a6d9995fe19a0839608a9851a29163c47567ccc6c55c0c6889e1d0ea5c94f76f82f SHA512 2cda81b9a377cd41ba0df5e11964ff2513a935bd4829396f796be8d4996f8b74e3d02a61c193377539a34de61038bf327cafbcb8aaeccfbab629978b31898848
|
||||
EBUILD adafruit-circuitpython-pca9685-3.3.2.ebuild 905 BLAKE2B 5e39d272dcc3de298a5a76bf733cdfa8bd16163cdf3d342cf89847012aeb32f3b01ebbb98245f7476b60402592cd5d73602ed13128a65b1ebeb9802337617560 SHA512 370f804697facd4fe5ba6fb5de344be9f820bfcf406a7f4e133f0102a667f60a9d6b49547887ca97f3125f17cfd92fee0135a65a58bf5b0320f160782083ea37
|
||||
MISC metadata.xml 514 BLAKE2B 61fed56e7c4a8b7f6abc900b85c5e7f5fbd3fd20a5b6349acde73cf640f8e6394f8a4947c49ac8f1e685ce2dfed1f077c7b8937e2a8973f96e2b5b1b739650d5 SHA512 6d5172c05294b95fd57b6596ec390400f321e5a1a14280e0e6f8c89ac38f8ff453c59f259f0949b8d809dae448e855cff1b4fc8b66c6b819bc453847d4c4d9ea
|
||||
|
||||
@ -1,9 +1,9 @@
|
||||
# Copyright 1999-2020 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_{6..8} )
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
|
||||
3
dev-python/adafruit-circuitpython-register/Manifest
Normal file
3
dev-python/adafruit-circuitpython-register/Manifest
Normal file
@ -0,0 +1,3 @@
|
||||
DIST adafruit-circuitpython-register-1.9.8.tar.gz 33234 BLAKE2B 86c195342f5347aa0deb92d970d1ed30f03027acf1ee1f64b03a7d458130b64671dee570b83581f0d8ca8be7bdf263e2dd42d1a9ada2a8b85ae3668930a0c9ea SHA512 335f4ca2f9624dceafec1d763cdd29cbde73569aabf816f673fb75ea19d7207647abc3ce9d064709915e3ff9d378a3e7d2b467da6f3fa54de54f65547f303ddc
|
||||
EBUILD adafruit-circuitpython-register-1.9.8.ebuild 818 BLAKE2B 4a919f79397dc68b83129fc7ec1fd749cd27d9bdc884e881e88cae11dba069fe8e82e068ee76842adbc4c90f6dfba7e2ea839929292d45ca8156b91af4d98852 SHA512 83e1ce3da80533220faad2c576ae4275bc7fea2438a2b08c4d3694b9bb4db5a513bf6943e4debd7e4ec113484b0f27b615789beeb1fcf96ad92eb17c86fb751f
|
||||
MISC metadata.xml 489 BLAKE2B cd60de1fffa5d3295bb694a0df3712825ce1efb532031c25ae330589c0fa0acf531a3893eb3a102e010ed6cbe2cc342edc88c17a1acf547648ea4de88b7370c1 SHA512 5a546fbc6a85883598235b0a0c4146e6caa55c6a2b5cebf2ac6f9a79d5f31a26eba36d5a2d368dd8bd940bf413f1b281f4eecbb28383ad2e60c89f4ee658c9cf
|
||||
@ -0,0 +1,33 @@
|
||||
# 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="CircuitPython data descriptor classes to represent hardware registers on I2C and SPI devices."
|
||||
HOMEPAGE="https://github.com/adafruit/Adafruit_CircuitPython_Register https://pypi.org/project/adafruit-circuitpython-register/"
|
||||
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DOCS="README.rst"
|
||||
|
||||
RDEPEND=""
|
||||
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
|
||||
}
|
||||
15
dev-python/adafruit-circuitpython-register/metadata.xml
Normal file
15
dev-python/adafruit-circuitpython-register/metadata.xml
Normal file
@ -0,0 +1,15 @@
|
||||
<?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">adafruit-circuitpython-register</remote-id>
|
||||
<maintainer status="unknown">
|
||||
<email>circuitpython@adafruit.com</email>
|
||||
<name>Adafruit Industries</name>
|
||||
</maintainer>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
3
dev-python/adafruit-circuitpython-typing/Manifest
Normal file
3
dev-python/adafruit-circuitpython-typing/Manifest
Normal file
@ -0,0 +1,3 @@
|
||||
DIST adafruit-circuitpython-typing-1.3.0.tar.gz 28379 BLAKE2B e666ddeb949e32dfa6150c55569f7ae6cd7498136aadd198508880b8fc4d9de4bb83369936c7edab332589a4c1fb15ed41698c72d05a35577c65cf3cfbda9b23 SHA512 8d3a1523c8642de2b9a7a4d7c34e43b2c3c799719515beaeaba735dbbdd2186bda90a419ed004d1dfba4f37aa740d1a9cda8034f18bda475ae4ceba574e2e9a7
|
||||
EBUILD adafruit-circuitpython-typing-1.3.0.ebuild 841 BLAKE2B bf90310070d75c997b3938d311b7368feab9ecd5365f893550a26dbf6f16f6659125e005b4688baece338584fa380b0787795b36ee8480a3c3e14ab9479e07e4 SHA512 366c1ba5e4a06ea05bc01c489e32ed060cc3e536fadb858e61682daee38829b207ef98ba64e32a008d0d86fb5c66469ce1bd8e838b0958628a9ffa8e72abfee4
|
||||
MISC metadata.xml 487 BLAKE2B d802e3706cb1e10bdd472a105ed17bcd1deed3ace75a26f8ff3d8a36cba4b5c6442146871a1b66b769fc0853dd7e86e20527c8b301f67e91803e9d3ea1a49087 SHA512 e4455a9e82de222764566a98f8c2e21b5d73198793230b34feb734dc7881cb7c139759b16c6b52b5b0135d990f50e96ef20b5505244d507ffc1fa4e295db1669
|
||||
@ -0,0 +1,33 @@
|
||||
# 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="Types needed for type annotation that are not in typing"
|
||||
HOMEPAGE="https://github.com/adafruit/Adafruit_CircuitPython_Typing.git https://pypi.org/project/adafruit-circuitpython-typing/"
|
||||
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DOCS="README.rst"
|
||||
|
||||
RDEPEND="dev-python/adafruit-circuitpython-busdevice[${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
|
||||
}
|
||||
15
dev-python/adafruit-circuitpython-typing/metadata.xml
Normal file
15
dev-python/adafruit-circuitpython-typing/metadata.xml
Normal file
@ -0,0 +1,15 @@
|
||||
<?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">adafruit-circuitpython-typing</remote-id>
|
||||
<maintainer status="unknown">
|
||||
<email>circuitpython@adafruit.com</email>
|
||||
<name>Adafruit Industries</name>
|
||||
</maintainer>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
3
dev-python/smbus2/Manifest
Normal file
3
dev-python/smbus2/Manifest
Normal file
@ -0,0 +1,3 @@
|
||||
DIST smbus2-0.4.1.tar.gz 16836 BLAKE2B 1073ecd51ab4c5e8137f1f9f34f4e20bf17edf82522e98469df69880d1b601a6be7106b1ed7aaf3422c49d9993510b1acc567948ed7a417fdc68c4c361110aab SHA512 171675a622c9697123188c4834ae822edc7430ecc3c255970fa54f3615f35cbf9f6bf8d93d111875f7317e2f17490af9c37701eeda56005c1bfeae7ed3c78397
|
||||
EBUILD smbus2-0.4.1.ebuild 752 BLAKE2B a620611f0579e678d2fcf3061efa74ed1caa09bfb065f754866de40360fa0e2779ead1a9f7e81a6c1197bceca9ce0310a14d1d74f0fdb7aed20ef117b012650c SHA512 d47bd43b36ddee61e05c7979df63c8a1255f999b478e7749cfa8ce1ed61ad223018c910b36dba528dffd894725603d4fa9bc10308f143cafbaa941225a66330b
|
||||
MISC metadata.xml 464 BLAKE2B 49a3ba19853f5e2b0fe7a946feded1c1fae839d1a7b119e4625b27aa08f2d94eb8512366c25daf6f37c21036d4faf0204a19bd7b419ee97a08911d3b5419d483 SHA512 958d3dce4a76849581345637f821541c714bad8c62d780821a05be1bbca9fa0372d15252e1b39b00a3853a1f02482d1633a93157993aa1cab34e62eef7c0e406
|
||||
15
dev-python/smbus2/metadata.xml
Normal file
15
dev-python/smbus2/metadata.xml
Normal file
@ -0,0 +1,15 @@
|
||||
<?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">smbus2</remote-id>
|
||||
<maintainer status="unknown">
|
||||
<email>kp.lindegaard@gmail.com</email>
|
||||
<name>Karl-Petter Lindegaard</name>
|
||||
</maintainer>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
33
dev-python/smbus2/smbus2-0.4.1.ebuild
Normal file
33
dev-python/smbus2/smbus2-0.4.1.ebuild
Normal file
@ -0,0 +1,33 @@
|
||||
# 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="smbus2 is a drop-in replacement for smbus-cffi/smbus-python in pure Python"
|
||||
HOMEPAGE="https://github.com/kplindegaard/smbus2 https://pypi.org/project/smbus2/"
|
||||
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DOCS="README.md"
|
||||
|
||||
RDEPEND=""
|
||||
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
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user