From d301fa8a71d7addc5c60335299d751b98fb83fcb Mon Sep 17 00:00:00 2001 From: "Andreas Billmeier (on testbox)" Date: Mon, 18 Feb 2019 19:34:03 +0100 Subject: [PATCH] add pyEight-0.1.1 --- dev-python/pyEight/Manifest | 3 +++ dev-python/pyEight/metadata.xml | 12 ++++++++++ dev-python/pyEight/pyEight-0.1.1.ebuild | 30 +++++++++++++++++++++++++ 3 files changed, 45 insertions(+) create mode 100644 dev-python/pyEight/Manifest create mode 100644 dev-python/pyEight/metadata.xml create mode 100644 dev-python/pyEight/pyEight-0.1.1.ebuild diff --git a/dev-python/pyEight/Manifest b/dev-python/pyEight/Manifest new file mode 100644 index 000000000..b0d857934 --- /dev/null +++ b/dev-python/pyEight/Manifest @@ -0,0 +1,3 @@ +DIST pyEight-0.1.1.tar.gz 6963 BLAKE2B 6a6f13f56855ce4b2af82df2a103045ea8a05004b2e9fec0f7797f646d48379831dfaafa288dd6df0aea250455078a6105e469e4f343a922407e12cfd2a54a87 SHA512 64fddd1bc251d8d4eded0aa2d6b57e753df3757c3b9f6e9f184ae7f8070701c0d743e26c37bb6215540aff6da4ff5d3119670e5d956982db5127f0497dacc298 +EBUILD pyEight-0.1.1.ebuild 698 BLAKE2B 5236550511efe1556d425cb32e27ac63c79f79556e39d7f9487da509a9b2a5ea165b4a3e5ee9a97b75c6a7b4d1cf0830cc1ff038d4f82946bc9056639097f2be SHA512 076b99196275e1f41d694459a50bdf91371ec5e458c21fe7bdf3542f0f230e3bae17689a3a7ddf125f239f86ecd9c7c69187fa09c4d59e301aa5606f0d47ebea +MISC metadata.xml 372 BLAKE2B 01a531d4c732f88dcc2ea9c885bbec0596d94e274e599d2f7d2ad3bec84aa6d352a65dede93cfdea594fc440ad27a4aa3b0c635308e333b5747e00694111f944 SHA512 60422e58ad72e29d88f9b6d22ae0ee5b5df8f68182c393374b8c82e838b038ddba8cc8eee419734aea802ed0e4340a75193245e7a6dcf06b9b9ba15503347871 diff --git a/dev-python/pyEight/metadata.xml b/dev-python/pyEight/metadata.xml new file mode 100644 index 000000000..59d0385d6 --- /dev/null +++ b/dev-python/pyEight/metadata.xml @@ -0,0 +1,12 @@ + + + + python + + pyEight + + mezz64@users.noreply.github.com + John Mihalic + + + diff --git a/dev-python/pyEight/pyEight-0.1.1.ebuild b/dev-python/pyEight/pyEight-0.1.1.ebuild new file mode 100644 index 000000000..012091d58 --- /dev/null +++ b/dev-python/pyEight/pyEight-0.1.1.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v3.0 + +EAPI=6 + +PYTHON_COMPAT=( python3_{5,6,7} ) + +inherit distutils-r1 + +DESCRIPTION="Provides a python api to interact with an Eight Sleep mattress cover." +HOMEPAGE="https://github.com/mezz64/pyEight https://pypi.org/project/pyEight/" +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" + +LICENSE="" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="test" + +RDEPEND="" +DEPEND="${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 +}