add PyXiaomiGateway

This commit is contained in:
2019-02-27 18:14:29 +01:00
parent e075e30fec
commit ddcf0028a6
3 changed files with 41 additions and 0 deletions
+3
View File
@@ -0,0 +1,3 @@
DIST PyXiaomiGateway-0.11.2.tar.gz 5467 BLAKE2B f2567800d6766398fece7c7cf8ce26fbd14afad7b7d1cdf8dc2e75a5a42bbd34b1f186d5726c40cfc81f70dfe810945cd636751a3dedc9b6f500f0824f110c83 SHA512 c665d407655371aae7e4c2380051d80b5562da90f3623d5efd5482053375aa842fc77b5e88aea10c564795d37344f4e73685a0fe91525006085c5ed73908df58
EBUILD PyXiaomiGateway-0.11.2.ebuild 702 BLAKE2B 1c43ab7310f8d433bc92830ea05ca1dc5430fb0a74c3ab5c16694479713558654ec10717114168f539541baa6ea4c20d60e055b96e2d10686932974bfd76e48a SHA512 bf275969fab42dad7bd68c87f6a237bfdec3fa23790d0603aed9ac3af2a7d7ccb47bae4742ebbce012656a30375f410ae5db3412e033d6399c8814e072128eb2
MISC metadata.xml 243 BLAKE2B 7d00b6ddc844582ed875261d7b6125c9c9db0b5458fd582efbb0da7a99ead76f58e8a8b8a9207a2c2fc025b224212250d599a8cbe088317ba6bfee2d11e8e357 SHA512 3689404dc2649be9b9350fc6ac5958701b5d4d44451a7c9204f744f565ce7f90345c81b6245faa83f35018a8d53d335d5a8d1b58696da3be038627717925d18f
@@ -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="A library to communicate with the Xiaomi Gateway"
HOMEPAGE="https://github.com/Danielhiversen/PyXiaomiGateway/ https://pypi.org/project/PyXiaomiGateway/"
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
}
+8
View File
@@ -0,0 +1,8 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>python</herd>
<upstream>
<remote-id type="pypi">PyXiaomiGateway</remote-id>
</upstream>
</pkgmetadata>