cleanup Adafruit-* stuff

This commit is contained in:
2022-03-18 19:59:58 +01:00
committed by Andreas Billmeier
parent c75a21071e
commit 8d812ad550
18 changed files with 250 additions and 10 deletions

View 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

View 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>

View 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
}