diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 413eb1e15..599567a30 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -2,6 +2,7 @@ * bump RachioPy-1.0.3 * bump brother-0.1.18 * bump HATasmota-0.0.11 + * add pi1wire-0.1.0 2020-10-10 * add pyruckus-0.7 diff --git a/dev-python/pi1wire/Manifest b/dev-python/pi1wire/Manifest new file mode 100644 index 000000000..f5ee196be --- /dev/null +++ b/dev-python/pi1wire/Manifest @@ -0,0 +1,3 @@ +DIST pi1wire-0.1.0.tar.gz 11144 BLAKE2B 53822fdbd8c4474879a93700083f785699191b98a693a5f3e173e6bc97cd534d2be8ccffc8c7242d8beccc3020d6da68ffb8c51dd669cc3fcf01ff0cef498c29 SHA512 43604493f197dd4ce19a98bd3a16ee24f515d03be0fbf8518f452815ed7896eac02a2b47fc3e8e2fbf6573644615c71ad201db86b17d7437fcf60aefe0fae4d9 +EBUILD pi1wire-0.1.0.ebuild 762 BLAKE2B 2b1caa84f80e5e000d2779e93f6c9af1dc3fc1ed1b5fb2b70e5b71fe0d7f45e2f14230694319daccd53957537bd6a6946f575d77ced820bb7e9051c8d28b7360 SHA512 c27c03f6a8e51049f1680558dcac6418b841248e89c253cdc07c2f8c9199f2c74af4b3b303c4d8e7c886f57ed2b8a0e19f306aaeeceffc557f9300cfe1a628d8 +MISC metadata.xml 326 BLAKE2B 28f84ab9d0e975e7a3b0d272da27c074c024d365b93b14eb324f29995bd5b3cdca85d5287320a3b56093a370d1219826ef02dadb1a352ba364bae21fc87ccd8c SHA512 fc787e812ed4ca3bcc1e2137ea1c1d1391548e0a57b14c8354a6c87e245670064c70e5a00ee617dccfc9972c0881a7ff3233967fa749bde1bc9f15524ab28121 diff --git a/dev-python/pi1wire/metadata.xml b/dev-python/pi1wire/metadata.xml new file mode 100644 index 000000000..a2b881a4d --- /dev/null +++ b/dev-python/pi1wire/metadata.xml @@ -0,0 +1,11 @@ + + + + + b@edevau.net + Andreas Billmeier + + + pi1wire + + diff --git a/dev-python/pi1wire/pi1wire-0.1.0.ebuild b/dev-python/pi1wire/pi1wire-0.1.0.ebuild new file mode 100644 index 000000000..0a29faa00 --- /dev/null +++ b/dev-python/pi1wire/pi1wire-0.1.0.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +PYTHON_COMPAT=( python3_{6..8} ) + +inherit distutils-r1 + +DESCRIPTION="1Wire Sensor Library for Raspberry PI" +HOMEPAGE="https://github.com/ushiboy/pi1wire https://pypi.org/project/pi1wire/" + +# No SDIST in Pypi +#SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" +SRC_URI="https://github.com/ushiboy/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~arm64 ~arm" +IUSE="test" + +DOCS="README.md" + +RDEPEND="" +BDEPEND="${REDEPEND} + 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 +}