diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 7d2919a08..c9c8c976c 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -1,5 +1,5 @@ 2019-11 23 (reverse added today) - * add SmartHab-0.20, smhi-pkg-1.0.10 + * add SmartHab-0.20, smhi-pkg-1.0.10, python-sochain-api-0.0.2 * add clx-sdk-xms-1.0.0, skybellpy-0.4.0, smappy-0.2.16 * add Adafruit-GPIO-1.0.3, Adafruit-PureIO-0.2.3, Adafruit-SHT31-1.0.2 * dg pysesame2-1.0.1 diff --git a/dev-python/python-sochain-api/Manifest b/dev-python/python-sochain-api/Manifest new file mode 100644 index 000000000..70d5b0f2a --- /dev/null +++ b/dev-python/python-sochain-api/Manifest @@ -0,0 +1,3 @@ +DIST python-sochain-api-0.0.2.zip 4102 BLAKE2B 48e1bd7cffcfbe49d14320c8cb8520bb9b413a5c0fe55102df64f36dc2c0280dda47178fc68a9e087eb4089ce3351370f3ef4938225f2bf41a2e7eab3102ef66 SHA512 3c0129845c9622e2c32ec6f132423b6ce8b137b1ce897fe67433001253a48a4d77717ac0ce130728b5a9a08bbe4a1e02a46c78b44fb65a918b7335f8be10e1e5 +EBUILD python-sochain-api-0.0.2.ebuild 769 BLAKE2B b844511d0dcacbd59a885138fe0a35cea48903695e55be84b2c59779ed8d8d439f489064d4b9838489c83368c56c9e2a37890e440a67d662575e754b36195f6c SHA512 2a811fc38d8c726fcfa70da902f5356af6c853348cd35c6a811495a521682624d77bffb12388ba0aac9bfb2f441f2382b02f20e60e2630e6c6bbdd3fcdfd4bc4 +MISC metadata.xml 473 BLAKE2B 053f05a03550ecb951928b46ec07c431832701105d12844a8e50763848c147b94f99edb48161c228dfa4adf100aee312492b67f749b8fd69b7aab6797e9404d8 SHA512 d7d47534cdf004b5f7d2ace9a56a737c11cd5501bb6b09850555e9ef6dafce53dd9c8679f9dc3d1ad335f1f44cea5e57d89208a9d7d5bd7c9907f3c1239cdf18 diff --git a/dev-python/python-sochain-api/metadata.xml b/dev-python/python-sochain-api/metadata.xml new file mode 100644 index 000000000..7a6ebd814 --- /dev/null +++ b/dev-python/python-sochain-api/metadata.xml @@ -0,0 +1,16 @@ + + + + + b@edevau.net + Andreas Billmeier + + python + + python-sochain-api + + gregbenner1@gmail.com + Gregory Benner + + + diff --git a/dev-python/python-sochain-api/python-sochain-api-0.0.2.ebuild b/dev-python/python-sochain-api/python-sochain-api-0.0.2.ebuild new file mode 100644 index 000000000..0ad4cbbc5 --- /dev/null +++ b/dev-python/python-sochain-api/python-sochain-api-0.0.2.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +PYTHON_COMPAT=( python3_{6,7} ) + +inherit distutils-r1 + +DESCRIPTION="Python API for interacting with chain.so." +HOMEPAGE="https://github.com/Klathmon/python-sochain-api https://pypi.org/project/python-sochain-api/" +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.zip" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="test" + +RDEPEND="dev-python/async_timeout[${PYTHON_USEDEP}] + dev-python/aiohttp[${PYTHON_USEDEP}]" +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 +}