add hass-nabucasa-0.7 and pbr-5.1.3

This commit is contained in:
Andreas Billmeier 2019-03-18 00:14:14 +01:00
parent e228993c76
commit 60a8694bb0
8 changed files with 151 additions and 1 deletions

View File

@ -22,5 +22,5 @@ EBUILD homeassistant-0.89.2.ebuild 7504 BLAKE2B 8247e4a4330b02f55874e75dea07aef1
EBUILD homeassistant-0.90.0_beta1.ebuild 7505 BLAKE2B 6bc1a8167ac2cc591199032f99ec556e5ecbce7c150674920432cf49d172e472f6893a42241e9147189fb1c649ddf02781cc41e2872568e8d40333d45e44c3c0 SHA512 5b52f9418b3f945e7f06eedcd16bad1e52ebd04bdec551ff1600d8099dd7008409c9cf5fd873acb6b6499bdc3b9d3c8152459f6787ab04f606810670b717edbd
EBUILD homeassistant-0.90.0_beta2.ebuild 7505 BLAKE2B 733da4d8bd9bca180d3125525581dc78f7276ab90273b49d13d805d24885f9e2095815aef3694e3b389a14f4c1aa0753a0a335e24da145135965d9d0451a4df8 SHA512 ce0aebeb86f17fe9b9a2628a7be5bc6db5b95e7803620c06b39f97602b568c9689453977fa1a6783667ea643b0dfe9ac6e8a8ab6df69a3a5549c5f7486a98926
EBUILD homeassistant-0.90.0_beta3.ebuild 7505 BLAKE2B 9087ab0926efe07af05ba136057a8af40a7adce437adea57992f67ee082aba0aa6f83423ecc4e7152e386c0e980bde2968c3b0147a8bb1253c1e9f65cd8e080c SHA512 e9e901732f51358ab4c00194f5dd5926f4d75ebcb324663b12505dbcf6f7f3d13167f2e7441f675bd2f07b451a03865d8f128ef14c531dff79129962a5b4a88e
EBUILD homeassistant-0.90.0_beta4.ebuild 8037 BLAKE2B 6574631325ebd5f1ac6eefa183e4c210fd7cc2b30953ceb199ac48cd4d1d03bbb351c247aec932928733d318279896be9525febf69bdc718e0abd9b40b63b952 SHA512 e27091c9403b89f5d1c6cbb02d07926e1ae6707eebe34031096237664e234c32d12e357fcd25b374b44431a91b7ba8ea0e10b451e7f0224b32d77f6500f4a790
EBUILD homeassistant-0.90.0_beta4.ebuild 8128 BLAKE2B 77c2acd3ce9695602af06920d21b23cafc22121dd538af0b2c2f31eeb784384754cd919d8c4bab9016f2880f17d7403200c40b877816dd5941adee809a1d53f6 SHA512 b064a8a7f076c51e27173302a4a482f77cdabd4248284d66298603f5bc9f974a16545750140dc6e24a2b492777c39dcbde5e3012eaea74e0898fda1e2f00f621
MISC metadata.xml 1660 BLAKE2B 2d3d0da2ed547d095d2bb31e2b5a786033aa02e94fe49015637b39b86290c35953087aae05e9079f4b507e82c4fd13cf3fa194a917dd074f2db86fd880016344 SHA512 98e56031ec099e9ae88e9ce164453cebac18b317087a1519cb6e65d1886b924208aa807a8c8a8ef3854780c7bece9a905cb85aa80d08b94a599d172c4bf58e7e

View File

@ -53,10 +53,12 @@ RDEPEND="${PYTHON_DEPS}
>=dev-python/pycparser-2.19[${PYTHON_USEDEP}]
>=dev-python/pyopenssl-19.0.0[${PYTHON_USEDEP}]
>=dev-python/python-dateutil-2.8.0[${PYTHON_USEDEP}]
>=dev-python/pbr-5.1.3[${PYTHON_USEDEP}]
>=dev-python/requests-toolbelt-0.9.1[${PYTHON_USEDEP}]
>=dev-python/six-1.12.0[${PYTHON_USEDEP}]
>=dev-python/snitun-0.13[${PYTHON_USEDEP}]
>=dev-python/pyrfc3339-1.1[${PYTHON_USEDEP}]
=dev-python/hass-nabucasa-0.7[${PYTHON_USEDEP}]
>=dev-python/aiohttp-cors-0.7.0[${PYTHON_USEDEP}]
=dev-python/beautifulsoup-4.6.3[${PYTHON_USEDEP}]

View File

@ -0,0 +1,3 @@
DIST hass-nabucasa-0.7.tar.gz 15360 BLAKE2B b4c304ae73171d1a0ec66ef558cf91ee4aad082f0161ab62d8240c81d1f812bcab9b47eae023119a6d4e3006841709b1fed5f803048486eb0a966439eb067159 SHA512 67b21a31bec5ce715f8a56179cea45cd5791d6457a22ad6badf66b83ed5371082d453fa8710b5c11fe99aa17e2ddae782a731ed4ab9d37e985685d42d7352fd5
EBUILD hass-nabucasa-0.7.ebuild 719 BLAKE2B 317b373a6d6dfc0e5ee033300ed61eee2f7cded85587d4495f0536ce232462251b0583b5305c98d363cd975633bb6e9cc6fbee40e8fdd18ba839f735003e30ae SHA512 b289b347b73cebf03ca6a2a2c2aab14a97cd74c2144c5d1541d21dc7c104a3ebf9732c05be83951a275d6562c2fab32238528336789c572d29fd0ad1b498cfef
MISC metadata.xml 471 BLAKE2B 6372982274560c38a8e99fcd6f67722d4366511329e6e6578246f6a5b8744e152fa165526cc780846380c3e9b9332475618c67adad49b41bd09b3df884db898a SHA512 91f30e1aabd695abae432bc0421d4adbaf8be3f5b0a3520bc6e49d5dbf9ab95243e5ffa936eec69aa5afaacbfeaa38b330a373e11d801026993728c147d6caa1

View File

@ -0,0 +1,30 @@
# Copyright 1999-2019 Gentoo Authors Andreas Billmeier b (at) edevau.net
# Distributed under the terms of the GNU General Public License v3.0
EAPI="7"
PYTHON_COMPAT=( python3_{5,6,7} )
inherit distutils-r1
DESCRIPTION="Home Assistant cloud integration by Nabu Casa, inc."
HOMEPAGE="https://www.nabucasa.com/ https://pypi.org/project/hass-nabucasa/"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="GPL v3"
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
}

View File

@ -0,0 +1,16 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer>
<email>b@edevau.net</email>
<name>Andreas Billmeier</name>
</maintainer>
<herd>python</herd>
<upstream>
<remote-id type="pypi">hass-nabucasa</remote-id>
<maintainer status="unknown">
<email>opensource@nabucasa.com</email>
<name>Nabu Casa, Inc.</name>
</maintainer>
</upstream>
</pkgmetadata>

3
dev-python/pbr/Manifest Normal file
View File

@ -0,0 +1,3 @@
DIST pbr-5.1.3.tar.gz 115241 BLAKE2B 8d52ac2a5378e491b9bd286e04af4bbe3888f03bf25317a0fa4229784473c601f62424654b5f4c0c456e06986d16899594c68036b94824278ff357d36624e323 SHA512 66927b835058efb24182806e9ba16ee2066798ec7a1bc8dc0e5ec2b9260297515f0cfae192eef665a16e866462a88d379bb56bea21e86083df71b05868219675
EBUILD pbr-5.1.3.ebuild 2925 BLAKE2B 4d98333c8093a1978a7f8f7b1ff4035a18787897e15cb3f4514c96522817deb613b1adf5356267ebadb53eb926ab0b1654659937b903b39b153a3b2867222bc9 SHA512 08ed8cf91ac16b094b9b7e69178408e2c7f864997afcbae5b43b612fa35995a3d2592919833b8cca3b71d4e9b14b9bf19a25d61cdcf943af3c9fc890cc47ef38
MISC metadata.xml 686 BLAKE2B e7638d779ac7aa46c074cf4060bbca595c8e555e972da8b418762bb40237ef0f6d89125f3c0e8f5201a362b2425247ed5a7ecd9d26afe9981f9e51dd005c28fc SHA512 b4bff66d2f42e08f93d723e43bd1b6b32d8bd01a45136a741992af07c11da7fe0db847e46316e5bd237f47cb844fb481e09bff0c6df3d071197686d7dfaa7bc9

View File

@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>prometheanfire@gentoo.org</email>
<name>Matthew Thode</name>
</maintainer>
<maintainer type="project">
<email>openstack@gentoo.org</email>
<name>Openstack</name>
</maintainer>
<longdescription lang="en">
Python Build Reasonableness
PBR is a library that injects some useful and sensible default behaviors into your setuptools run.
</longdescription>
<upstream>
<remote-id type="pypi">pbr</remote-id>
<remote-id type="github">openstack-dev/pbr</remote-id>
</upstream>
</pkgmetadata>

View File

@ -0,0 +1,76 @@
# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python2_7 python3_{4,5,6,7} pypy pypy3 )
PYTHON_REQ_USE="threads(+)"
inherit distutils-r1
DESCRIPTION="Inject some useful and sensible default behaviors into setuptools"
HOMEPAGE="https://github.com/openstack-dev/pbr"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~hppa ~mips ~s390 ~x86 ~amd64-linux ~x86-linux"
#KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~x86 ~amd64-fbsd ~amd64-linux ~x86-linux"
#KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
# git is needed for tests, see https://bugs.launchpad.net/pbr/+bug/1326682 and https://bugs.gentoo.org/show_bug.cgi?id=561038
# docutils is needed for sphinx exceptions... https://bugs.gentoo.org/show_bug.cgi?id=603848
DEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
>=dev-python/wheel-0.32.0[${PYTHON_USEDEP}]
>=dev-python/coverage-4.0[${PYTHON_USEDEP}]
!~dev-python/coverage-4.4[${PYTHON_USEDEP}]
>=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}]
>=dev-python/mock-2.0.0[${PYTHON_USEDEP}]
>=dev-python/subunit-1.0.0[${PYTHON_USEDEP}]
>=dev-python/six-1.10.0[${PYTHON_USEDEP}]
>=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}]
>=dev-python/testresources-2.0.0[${PYTHON_USEDEP}]
>=dev-python/testscenarios-0.4[${PYTHON_USEDEP}]
>=dev-python/testtools-2.2.0[${PYTHON_USEDEP}]
>=dev-python/virtualenv-14.0.6[${PYTHON_USEDEP}]
>=dev-python/stestr-2.1.0[$(python_gen_usedep python{2_7,3_4,3_5,3_6})]
>=dev-python/coverage-4.0[${PYTHON_USEDEP}]
!~dev-python/coverage-4.4[${PYTHON_USEDEP}]
dev-python/sphinx[${PYTHON_USEDEP}]
dev-python/wheel[${PYTHON_USEDEP}]
dev-vcs/git
)"
PDEPEND=""
# This normally actually belongs here.
python_prepare_all() {
# This test passes when run within the source and doesn't represent a failure, but rather
# a gentoo sandbox constraint
# Rm tests that rely upon the package being already installed and fail
sed -e s':test_console_script_develop:_&:' \
-e s':test_console_script_install:_&:' \
-e s':test_sdist_extra_files:_&:' \
-e s':test_command_hooks:_&:' \
-e s':test_sdist_git_extra_files:_&:' \
-i pbr/tests/test_core.py || die
sed -e s':test_command_hooks:_&:' \
-e s':test_global_setup_hooks:_&:' \
-i pbr/tests/test_hooks.py || die
rm pbr/tests/test_wsgi.py || die "couldn't remove wsgi network tests"
einfo "rogue tests disabled"
sed -i '/^hacking/d' test-requirements.txt || die
distutils-r1_python_prepare_all
}
python_test() {
distutils_install_for_testing
rm -rf .testrepository || die "couldn't remove '.testrepository' under ${EPTYHON}"
stestr init || die "stestr init failed under ${EPYTHON}"
stestr run || die "stestr run failed under ${EPYTHON}"
}