Compare commits

...

13 Commits

Author SHA1 Message Date
73894ec773 bump homeassistant 2019-03-30 19:18:35 +01:00
9af5537faa androidtv-0.0.14 2019-03-30 19:17:43 +01:00
98d4249ef5 sqlalchemy-1.3.0 2019-03-30 19:17:11 +01:00
ba6c1e735a bump frontend 2019-03-30 18:42:22 +01:00
83aa763631 ha-ffmpeg-2.0 2019-03-30 18:41:28 +01:00
10e94df036 homeassistant-pyozw-0.1. 2019-03-30 18:41:06 +01:00
1b66e9bdf2 bump zigpy 2019-03-30 18:40:35 +01:00
510c3fe4ef pylinky-0.3.3 2019-03-30 18:39:51 +01:00
b32dc36fdd bellows-homeassistant-0.7.2 2019-03-30 18:39:28 +01:00
eb047b6bba async-upnp-client-0.14.7 2019-03-30 18:39:05 +01:00
53284ab2b8 bump nabucasa-0.11 2019-03-27 08:45:08 +01:00
onkelbeh
89067d4b01 Merge pull request #2 from evadim/master
bump esphome 1.12 deps
2019-03-23 13:56:31 +01:00
accc3098d8 bump esphome 1.12 deps 2019-03-22 11:28:14 +03:00
54 changed files with 1831 additions and 30 deletions

View File

@@ -3,9 +3,13 @@ DIST home-assistant-frontend-20190319.0.tar.gz 14307636 BLAKE2B 7f8dd81408ba0801
DIST home-assistant-frontend-20190319.1.tar.gz 14302455 BLAKE2B 980c1c5138b60d4172524f2c0fd3bff59413fc29c5f8397ea5d737309694af3395bf937798e71ec7d4060c71dc63cb5b02ada30ea65d32461cae6a61a4a06eda SHA512 e5af648032751404817ba0269dd827be1c11b12fc40e2391ed43378406909031409bb1c94d21360bd6c05bc98ee390ace2474d9822a0e90207f71d4c8f296934
DIST home-assistant-frontend-20190320.0.tar.gz 14293463 BLAKE2B ab50de61de38183df6256de720963af5b12e59e031941e6e7eaa482164988c49fa3b3b892fdeb7412c8d8ae2871a6ef30079822ef891dd64dc2d52cd9b460335 SHA512 29853106446608ca84f58f1a2807b411bf55cbde9233dc636b22c792550ccb1b92103382585af0c056b58f9bb4459745ef1debc22b02d1f7c816c4e5c5920ca1
DIST home-assistant-frontend-20190321.0.tar.gz 14312407 BLAKE2B 20ed7a98f1e960734b1c49f2b6d1667e3443b008e095cc27d3b44519a71ecabd7f6cd7689ad01be48d0d0cdbd357a99c9652f940d681c6b2f69495f63e445941 SHA512 ac25b49c54d8cf7a0e0944dc99d21b512997a4f91626780db3d64663dc16e5deba21c3d0183697f8202c5f0a103855744151f3edfdc127d1b4c5fbcfc138c447
DIST home-assistant-frontend-20190327.0.tar.gz 14577579 BLAKE2B 9075f9abf1ee74f333de7677b8a298004e8b9df619a8c07ebda4f190ad07e6dd8629a4e018a1ee41378c8511dc228e479aaaa93d8a4e742a995182f7b0ce3f41 SHA512 29eabaeb8844124e7c850170705a8534e6623999a55c78444220e64c6700d6e914d1fa2968682317e6fcf1e66b51da64fcb41631a8434740b139ccd34846e4d4
DIST home-assistant-frontend-20190329.0.tar.gz 14566525 BLAKE2B 18f76157f7a6f1873316d0dcaa3a178c3f6a46737069162cb27d2ddc10e8ff55f04909b0cc114a5ca24fdceaaaf227b334b3d4794b07d0f8d4edbe19ae43ac36 SHA512 13fec4228a0077208ea409eb753f88f8a4805a674713e3aaee983b67434d43b0902428f6774b74a89258352a393c81acfa8fcb40f76110d9e1b13dedc1d20d62
EBUILD home-assistant-frontend-20190316.0.ebuild 748 BLAKE2B 97893b9260cdea75bb407cbbc1416f7f393dc7efb3a70fd879eb335968c64b1a2c05e7f8f59f166c411b623cb5cdeba30e3e4fee0f3c607576928a58a6ec854f SHA512 154623e920d9245b7ced5624bcf38c7e3c8e0f2861f312ce951c7d6d68c1cc692f388e6b36f9d5f363b4f04502f9f55b3df3918cd1029b60d555960e6f05740b
EBUILD home-assistant-frontend-20190319.0.ebuild 748 BLAKE2B 97893b9260cdea75bb407cbbc1416f7f393dc7efb3a70fd879eb335968c64b1a2c05e7f8f59f166c411b623cb5cdeba30e3e4fee0f3c607576928a58a6ec854f SHA512 154623e920d9245b7ced5624bcf38c7e3c8e0f2861f312ce951c7d6d68c1cc692f388e6b36f9d5f363b4f04502f9f55b3df3918cd1029b60d555960e6f05740b
EBUILD home-assistant-frontend-20190319.1.ebuild 748 BLAKE2B 97893b9260cdea75bb407cbbc1416f7f393dc7efb3a70fd879eb335968c64b1a2c05e7f8f59f166c411b623cb5cdeba30e3e4fee0f3c607576928a58a6ec854f SHA512 154623e920d9245b7ced5624bcf38c7e3c8e0f2861f312ce951c7d6d68c1cc692f388e6b36f9d5f363b4f04502f9f55b3df3918cd1029b60d555960e6f05740b
EBUILD home-assistant-frontend-20190320.0.ebuild 748 BLAKE2B 97893b9260cdea75bb407cbbc1416f7f393dc7efb3a70fd879eb335968c64b1a2c05e7f8f59f166c411b623cb5cdeba30e3e4fee0f3c607576928a58a6ec854f SHA512 154623e920d9245b7ced5624bcf38c7e3c8e0f2861f312ce951c7d6d68c1cc692f388e6b36f9d5f363b4f04502f9f55b3df3918cd1029b60d555960e6f05740b
EBUILD home-assistant-frontend-20190321.0.ebuild 748 BLAKE2B 97893b9260cdea75bb407cbbc1416f7f393dc7efb3a70fd879eb335968c64b1a2c05e7f8f59f166c411b623cb5cdeba30e3e4fee0f3c607576928a58a6ec854f SHA512 154623e920d9245b7ced5624bcf38c7e3c8e0f2861f312ce951c7d6d68c1cc692f388e6b36f9d5f363b4f04502f9f55b3df3918cd1029b60d555960e6f05740b
EBUILD home-assistant-frontend-20190327.0.ebuild 748 BLAKE2B 97893b9260cdea75bb407cbbc1416f7f393dc7efb3a70fd879eb335968c64b1a2c05e7f8f59f166c411b623cb5cdeba30e3e4fee0f3c607576928a58a6ec854f SHA512 154623e920d9245b7ced5624bcf38c7e3c8e0f2861f312ce951c7d6d68c1cc692f388e6b36f9d5f363b4f04502f9f55b3df3918cd1029b60d555960e6f05740b
EBUILD home-assistant-frontend-20190329.0.ebuild 748 BLAKE2B 97893b9260cdea75bb407cbbc1416f7f393dc7efb3a70fd879eb335968c64b1a2c05e7f8f59f166c411b623cb5cdeba30e3e4fee0f3c607576928a58a6ec854f SHA512 154623e920d9245b7ced5624bcf38c7e3c8e0f2861f312ce951c7d6d68c1cc692f388e6b36f9d5f363b4f04502f9f55b3df3918cd1029b60d555960e6f05740b
MISC metadata.xml 492 BLAKE2B 43ba5d3e567d6e96c2d500e5962d6670f0f6e8548303d743d5ce5838fec4ba0cb6e546d18ff7f72ab6d38a92f7b213f3c223f6646ad13effd817c6a142edbd7c SHA512 403bfcc4cf0b7df751832554e4b830be1731f491fe7c2ff0f338047a1a89e93264560280b56acc958404572f5d41ef1bc9e547625a3cc760183192da02226499

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="The Home Assistant frontend"
HOMEPAGE="https://github.com/home-assistant/home-assistant-polymer https://pypi.org/project/home-assistant-frontend/"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="Apache License 2.0"
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,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="The Home Assistant frontend"
HOMEPAGE="https://github.com/home-assistant/home-assistant-polymer https://pypi.org/project/home-assistant-frontend/"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="Apache License 2.0"
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

@@ -10,9 +10,13 @@ DIST homeassistant-0.89.2.tar.gz 3531571 BLAKE2B 9838c69ea3a5bcf1a0a69926128ec1e
DIST homeassistant-0.90.0.tar.gz 3595393 BLAKE2B 86e39230209de54ddc18f150a563bdadc28dcd2f633564dbca87c6e0e57d7136aadfc255b65afe5b3ecdd74a1e0187dd7cd728553722864a15e26e5169a4d574 SHA512 d967fec0541f4b54440ad28dd881454aef52adb1bfb1a7f790ee6e0749f810df3dfdfa0f2083b077ba61f121c69ad1c2b2e2d9d162580009c719a8416a6e540c
DIST homeassistant-0.90.0b7.tar.gz 3595595 BLAKE2B 7861a35a50e7198567fc79093f6184d7273ea2ef58e79c73773edf7d28a75e861e5a9afcae92fddcd8331aa2001941b90c5d2c5f49abed5d6a2b83d1bb379e8e SHA512 b4516b8dd8bd9dda690925b9e791cb493b822004fd4d26da9c8445e6c6704eced3109d64b517d74c961eac51dae5bda0183c4fdf90aacae8469e722ade43648a
DIST homeassistant-0.90.1.tar.gz 3595602 BLAKE2B 75c87693786a4fed3f6c088989dccdd27ce3d7cf654650881d9fb35bf71631b0551089b530e9b87e3682c06361ebad3778bba1466d10d7397cd06a445af30846 SHA512 caa1495b919f6a7724ee34d06210be0ad7639a1147f3f1e43f667d1eba0437b82492dc4f3d80766d91aa87afe696d92f7b1f04b2464cb8da3ba7c7c7c1e8231f
DIST homeassistant-0.90.2.tar.gz 3596093 BLAKE2B cdfc3a06e78d8bbd0d9559147e752e5acf419c1fd75e0d8117c03b41c12ee57b18956ef5846a0a506dc1f54bcf83b93f57363a23d6a25b3c12d54297bebca3c1 SHA512 28c23a6ae186d169d1cb37d7018af6c1668f2eca5c64cb0ded87b6b844518fe95d8679dedf9d989615dc7d6335a9deba61497eaa945cf3ec3508e83b1b9b85a1
DIST homeassistant-0.91.0b3.tar.gz 3762030 BLAKE2B 31a0dfd1e7c3408f074f75a36bc4c16e801b513a5eaccde17c05e42a9a56223a79f7233b41cdeeb33e055de1e9d8aea19409f0841a0eadc9f54bd69f478fde03 SHA512 f00d7e63bfc7f444468262f2a329d629066232ea6283bedbf2ff6eae323c9acdc35a55ef98ff1cb54771540bb8bb6be66c9b59d1f65ec7840803420521f6b10c
EBUILD homeassistant-0.89.1.ebuild 7504 BLAKE2B c472d131902dfe7b8ca6548b9b31eb5cf4a79998c76c0b890ecb32e0fc44c5c361e49cd5b3b9a2947c6f85b9d93aac1c9f006ea2f1c572667b2242deb565890c SHA512 9c3237138646bf79e2363de9cf6e744766729e7613248757f2e529428bfea4311916b5b3f618299cb0bcf3c4c5762786de97b2e197e17a31d275c5feb4d0a4ae
EBUILD homeassistant-0.89.2.ebuild 7504 BLAKE2B 8247e4a4330b02f55874e75dea07aef159447170cf606c906b77ac99712f502fbd326d402da12aa28ce0e5483b7d4fe8396c33682d462860b76f94c7f61d244d SHA512 16a1280d83857c2c5a72eca83aa551753b4ba117cfb49c855b09341269ec7b9f4af04f5598ed450a0c360eb1ae2361d8c7f265f536f1a58befd59330fc477f7b
EBUILD homeassistant-0.90.0.ebuild 8129 BLAKE2B a884bdd6a26c1aefbd88ffa35b4df1fa23666bbcdd37aa09201a2743262f5d3f6a01d864c498d618462a8ca83d7bcffe83035dff20db553cad34ce66d31e7082 SHA512 7d3c96fdbb019abc85b108b6ea8a0dbe6551d5dd866b9dae74847aab25d817025ea1eb45e7d56c46be3e81749fe5eebe6cd3b3e191f79b404250d371ed863c2e
EBUILD homeassistant-0.90.0_beta7.ebuild 8129 BLAKE2B 9b108a3d0dac00b32396684a70fc06df241994b68c8d14de9d3de657b6fb0a5417e6b7df65b28fb39ab8d62d4e53ac9ec73df2a1100837c6d29c509f004513fe SHA512 e17fc462267e6212f0fdc2cac8beb253cf68f047b2890816661e54cea7b173af0141d2103f4a7c5955d1fc24c0f58a4fdd397c29ebe514f20f926dc4b5ae56d2
EBUILD homeassistant-0.90.1.ebuild 8129 BLAKE2B 8e1ede269a1e441fd28aa8c41b2fed344a7a435955be8186391c30bd7a16e3a342a5c58251bca2ed79f0dc38e3c646aba51291b9598d80f51675b74162a78dfc SHA512 422fd2c267dc318ab19ee79261efd4f16068484e58ae001ca8ad97a6cfb033b01c05098013b665c791daa6290ff05443af5bf1c0397de29fabde88e01cb31eb6
EBUILD homeassistant-0.90.2.ebuild 8129 BLAKE2B 2b182f0fa90d9f89daf0154244d8458752173be06cf9875319af809a61ad3bea8ffa3d6025619651422663a6f1a1225a1029988f49be4d5f6560a1b007d054af SHA512 966cd1301493700178af09108e64bf9f8ca598b51dddaa6c63de44e2ef186ab5af5c7a7363f66cf4112b3aa06ebbf93c5181deeec2063ad5a663e9ed87e776fc
EBUILD homeassistant-0.91.0_beta3.ebuild 8172 BLAKE2B 3a44f53c7ea73cc6cf6aa8735702623dfae4e755c200df869c994bd558f480d241555804609b1f17ae4328d935b641abb90309f3964ddfe57ccb4957e35470ac SHA512 e61663a6a5b95b5cb9e0f5e076e3cec6e26afb03a2dd7c59425b368f21798b2f1aea9c23648febef34314a0fffed7f714699121d2ab1db12b48c4edb588ab416
MISC metadata.xml 1660 BLAKE2B 2d3d0da2ed547d095d2bb31e2b5a786033aa02e94fe49015637b39b86290c35953087aae05e9079f4b507e82c4fd13cf3fa194a917dd074f2db86fd880016344 SHA512 98e56031ec099e9ae88e9ce164453cebac18b317087a1519cb6e65d1886b924208aa807a8c8a8ef3854780c7bece9a905cb85aa80d08b94a599d172c4bf58e7e

View File

@@ -0,0 +1,214 @@
# 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_{6,7} )
inherit user readme.gentoo-r1 eutils distutils-r1
MY_P=${P/_beta/b}
MY_PV=${PV/_beta/b}
DESCRIPTION="Open-source home automation platform running on Python 3.6"
HOMEPAGE="https://home-assistant.io https://git.edevau.net/onkelbeh/HomeAssistantRepository"
SRC_URI="https://github.com/home-assistant/home-assistant/archive/${MY_PV}.tar.gz -> ${MY_P}.tar.gz"
RESTRICT="mirror"
LICENSE=""
SLOT="0"
KEYWORDS="amd64"
IUSE="androidtv asuswrt atv denonavr esphome +frontend homematic hs100 maxcube musiccast mysql qnap rxv samsungtv sonos ssl speedtest test tradfri wemo zoneminder"
RDEPEND="${PYTHON_DEPS}
!app-misc/homeassistant-bin
app-admin/logrotate
dev-db/sqlite
dev-libs/libfastjson
>=dev-libs/xerces-c-3.1.4-r1
>=dev-libs/xml-security-c-1.7.3
~dev-python/aiohttp-3.5.4[${PYTHON_USEDEP}]
~dev-python/astral-1.10.1[${PYTHON_USEDEP}]
~dev-python/async_timeout-3.0.1[${PYTHON_USEDEP}]
~dev-python/attrs-18.2.0[${PYTHON_USEDEP}]
~dev-python/bcrypt-3.1.6[${PYTHON_USEDEP}]
>=dev-python/certifi-2019.3.9[${PYTHON_USEDEP}]
>=dev-python/jinja-2.10[${PYTHON_USEDEP}]
~dev-python/pyjwt-1.6.4[${PYTHON_USEDEP}]
~dev-python/cryptography-2.5[${PYTHON_USEDEP}]
>=dev-python/pip-8.0.3-r1[${PYTHON_USEDEP}]
~dev-python/python-slugify-1.2.6[${PYTHON_USEDEP}]
>=dev-python/pytz-2018.9[${PYTHON_USEDEP}]
>=dev-python/pyyaml-3.13[${PYTHON_USEDEP}]
<dev-python/pyyaml-4[${PYTHON_USEDEP}]
=dev-python/requests-2.21.0-r1[${PYTHON_USEDEP}]
~dev-python/ruamel-yaml-0.15.88[${PYTHON_USEDEP}]
~dev-python/voluptuous-0.11.5[${PYTHON_USEDEP}]
~dev-python/voluptuous-serialize-2.1.0[${PYTHON_USEDEP}]
>=app-crypt/acme-0.32.0[${PYTHON_USEDEP}]
>=dev-python/asn1crypto-0.24.0[${PYTHON_USEDEP}]
~dev-python/cffi-1.12.2[${PYTHON_USEDEP}]
>=dev-python/jmespath-0.9.4[${PYTHON_USEDEP}]
>=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.15[${PYTHON_USEDEP}]
>=dev-python/pyrfc3339-1.1[${PYTHON_USEDEP}]
~dev-python/hass-nabucasa-0.11[${PYTHON_USEDEP}]
>=dev-python/aiohttp-cors-0.7.0[${PYTHON_USEDEP}]
~dev-python/beautifulsoup-4.6.3[${PYTHON_USEDEP}]
~dev-python/blinkpy-0.13.1[${PYTHON_USEDEP}]
>=dev-python/boto3-1.9.116[${PYTHON_USEDEP}]
>=dev-python/botocore-1.12.115[${PYTHON_USEDEP}]
~dev-python/caldav-0.5.0[${PYTHON_USEDEP}]
>=dev-python/cdu-0.1.3[${PYTHON_USEDEP}]
>=dev-python/chardet-3.0.4[${PYTHON_USEDEP}]
~dev-python/colorlog-4.0.2[${PYTHON_USEDEP}]
>=dev-python/coverage-4.5.2[${PYTHON_USEDEP}]
>=dev-python/distro-1.4.0[${PYTHON_USEDEP}]
>=dev-python/docutils-0.14[${PYTHON_USEDEP}]
>=dev-python/ecdsa-0.13[${PYTHON_USEDEP}]
>=dev-python/envs-1.3[${PYTHON_USEDEP}]
>=dev-python/future-0.17.1[${PYTHON_USEDEP}]
~dev-python/gTTS-token-1.1.3[${PYTHON_USEDEP}]
>=dev-python/idna-2.8[${PYTHON_USEDEP}]
>=dev-python/idna-ssl-1.1.0[${PYTHON_USEDEP}]
>=dev-python/ifaddr-0.1.6[${PYTHON_USEDEP}]
>=dev-python/jose-1.0.0[${PYTHON_USEDEP}]
>=dev-python/jsonrpc-async-0.6[${PYTHON_USEDEP}]
~dev-python/jsonrpc-base-1.0[${PYTHON_USEDEP}]
~dev-python/jsonrpc-websocket-0.6[${PYTHON_USEDEP}]
>=dev-python/lxml-4.2.5[${PYTHON_USEDEP}]
>=dev-python/multidict-4.5.2[${PYTHON_USEDEP}]
>=dev-python/netdisco-2.5.0[${PYTHON_USEDEP}]
>=dev-python/nose-1.3.7[${PYTHON_USEDEP}]
>=dev-python/numpy-1.16.2[${PYTHON_USEDEP}]
>=dev-python/paho-mqtt-1.4.0[${PYTHON_USEDEP}]
~dev-python/pillow-5.4.1[${PYTHON_USEDEP}]
>=dev-python/psutil-5.5.1[${PYTHON_USEDEP}]
>=dev-python/PyChromecast-2.5.2[${PYTHON_USEDEP}]
>=dev-python/pycryptodome-3.7.3[${PYTHON_USEDEP}]
>=dev-python/pyotp-2.2.6-r1[${PYTHON_USEDEP}]
>=dev-python/pyqrcode-1.2.1[${PYTHON_USEDEP}]
~dev-python/pysnmp-4.4.8[${PYTHON_USEDEP}]
>=dev-python/python-dateutil-2.7.5[${PYTHON_USEDEP}]
>=dev-python/python-jose-cryptodome-1.3.2[${PYTHON_USEDEP}]
=dev-python/RestrictedPython-4.0_beta8[${PYTHON_USEDEP}]
~dev-python/setuptools-40.8.0[${PYTHON_USEDEP}]
~dev-python/sqlalchemy-1.2.18[${PYTHON_USEDEP}]
>=dev-python/typing-3.6.4-r1[${PYTHON_USEDEP}]
>=dev-python/ua-parser-0.8.0[${PYTHON_USEDEP}]
>=dev-python/urllib3-1.24.1[${PYTHON_USEDEP}]
>=dev-python/user-agents-1.1.0[${PYTHON_USEDEP}]
>=dev-python/vobject-0.9.6.1[${PYTHON_USEDEP}]
>=dev-python/wakeonlan-1.1.6[${PYTHON_USEDEP}]
=dev-python/warrant-0.6.1-r1[${PYTHON_USEDEP}]
>=dev-python/websocket-client-0.54.0[${PYTHON_USEDEP}]
>=dev-python/xmltodict-0.11.0[${PYTHON_USEDEP}]
>=dev-python/yarl-1.3.0[${PYTHON_USEDEP}]
>=dev-python/zeroconf-0.21.3[${PYTHON_USEDEP}]
>=media-libs/mutagen-1.42.0
atv? ( >=dev-python/pyatv-0.3.12[${PYTHON_USEDEP}] )
esphome? ( ~dev-python/aioesphomeapi-1.6.0[${PYTHON_USEDEP}] )
androidtv? ( ~dev-python/androidtv-0.0.12[${PYTHON_USEDEP}] )
hs100? ( >=dev-python/pyHS100-0.3.4[${PYTHON_USEDEP}] )
maxcube? ( ~dev-python/maxcube-api-0.1.0[${PYTHON_USEDEP}] )
musiccast? ( >=dev-python/pymusiccast-0.1.6[${PYTHON_USEDEP}] )
mysql? ( dev-python/mysqlclient[${PYTHON_USEDEP}] )
rxv? ( =dev-python/rxv-0.6.0[${PYTHON_USEDEP}] )
denonavr? ( ~dev-python/denonavr-0.7.8[${PYTHON_USEDEP}] )
samsungtv? ( >=dev-python/samsungctl-0.7.1[${PYTHON_USEDEP}] )
sonos? ( >=dev-python/pysonos-0.0.8[${PYTHON_USEDEP}] )
ssl? ( dev-libs/openssl:0
app-crypt/certbot
net-proxy/haproxy )
tradfri? ( >=dev-python/pytradfri-6.0.1[${PYTHON_USEDEP}]
sys-devel/autoconf:2.69 )
wemo? ( >=dev-python/pywemo-0.4.34[${PYTHON_USEDEP}] )
frontend? ( =app-misc/home-assistant-frontend-20190321.0 )
homematic? ( ~dev-python/pyhomematic-0.1.58[${PYTHON_USEDEP}] )
asuswrt? ( ~dev-python/aioasuswrt-1.1.21[${PYTHON_USEDEP}] )
qnap? ( ~dev-python/qnapstats-0.3.0[${PYTHON_USEDEP}] )
speedtest? ( ~net-analyzer/speedtest-cli-2.0.2[${PYTHON_USEDEP}] )
zoneminder? ( ~dev-python/zm-py-0.3.3[${PYTHON_USEDEP}] )
"
DEPEND="${RDEPEND}
test? (
~dev-python/asynctest-0.12.2[${PYTHON_USEDEP}]
~dev-python/coveralls-1.2.0[${PYTHON_USEDEP}]
~dev-python/flake8-docstrings-1.3.0[${PYTHON_USEDEP}]
~dev-python/flake8-3.7.5[${PYTHON_USEDEP}]
~dev-python/mock-open-1.3.1[${PYTHON_USEDEP}]
dev-python/mock[${PYTHON_USEDEP}]
~dev-python/mypy-0.660[${PYTHON_USEDEP}]
~dev-python/pydocstyle-3.0.0[${PYTHON_USEDEP}]
~dev-python/pylint-2.2.2[${PYTHON_USEDEP}]
~dev-python/pytest-aiohttp-0.3.0[${PYTHON_USEDEP}]
~dev-python/pytest-cov-2.6.1[${PYTHON_USEDEP}]
~dev-python/pytest-sugar-0.9.2[${PYTHON_USEDEP}]
~dev-python/pytest-timeout-1.3.3[${PYTHON_USEDEP}]
~dev-python/pytest-4.2.1[${PYTHON_USEDEP}]
~dev-python/requests-mock-1.5.2[${PYTHON_USEDEP}]
dev-python/nose[${PYTHON_USEDEP}]
dev-python/coverage[${PYTHON_USEDEP}]
)"
INSTALL_DIR="/opt/${PN}"
DISABLE_AUTOFORMATTING=1
DOC_CONTENTS="
The HA interface listens on port 8123
hass configuration is in: /etc/${PN}
daemon command line arguments are configured in: /etc/conf.d/${PN}
logging is to: /var/log/${PN}/{server,errors,stdout}.log
The sqlite db is by default in: /etc/${PN}
support at https://git.edevau.net/onkelbeh/HomeAssistantRepository
"
S="${WORKDIR}/home-assistant-${MY_PV}"
DOCS="README.rst"
pkg_setup() {
enewgroup "${PN}"
enewuser "${PN}" -1 -1 "$INSTALL_DIR" "${PN}"
}
src_prepare() {
sed -e 's;astral==1.5;astral>=1.5;' \
-i "setup.py" \
-i homeassistant/package_constraints.txt
eapply_user
}
python_install_all() {
dodoc ${DOCS}
distutils-r1_python_install_all
keepdir "$INSTALL_DIR"
keepdir "/etc/${PN}"
fowners -R "${PN}:${PN}" "/etc/${PN}"
keepdir "/var/log/${PN}"
fowners -R "${PN}:${PN}" "/var/log/${PN}"
newconfd "${FILESDIR}/${PN}.conf.d" "${PN}"
newinitd "${FILESDIR}/${PN}.init.d" "${PN}"
insinto /etc/logrotate.d
newins "${FILESDIR}/${PN}.logrotate" "${PN}"
readme.gentoo_create_doc
}
pkg_postinst() {
readme.gentoo_print_elog
}

View File

@@ -0,0 +1,215 @@
# 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_{6,7} )
inherit user readme.gentoo-r1 eutils distutils-r1
MY_P=${P/_beta/b}
MY_PV=${PV/_beta/b}
DESCRIPTION="Open-source home automation platform running on Python 3.6"
HOMEPAGE="https://home-assistant.io https://git.edevau.net/onkelbeh/HomeAssistantRepository"
SRC_URI="https://github.com/home-assistant/home-assistant/archive/${MY_PV}.tar.gz -> ${MY_P}.tar.gz"
RESTRICT="mirror"
LICENSE=""
SLOT="0"
KEYWORDS="~amd64"
IUSE="androidtv asuswrt atv denonavr esphome +frontend homematic hs100 maxcube musiccast mysql qnap rxv samsungtv sonos ssl speedtest test tradfri wemo zoneminder"
RDEPEND="${PYTHON_DEPS}
!app-misc/homeassistant-bin
app-admin/logrotate
dev-db/sqlite
dev-libs/libfastjson
>=dev-libs/xerces-c-3.1.4-r1
>=dev-libs/xml-security-c-1.7.3
~dev-python/aiohttp-3.5.4[${PYTHON_USEDEP}]
~dev-python/astral-1.10.1[${PYTHON_USEDEP}]
~dev-python/async_timeout-3.0.1[${PYTHON_USEDEP}]
~dev-python/attrs-18.2.0[${PYTHON_USEDEP}]
~dev-python/bcrypt-3.1.6[${PYTHON_USEDEP}]
>=dev-python/certifi-2019.3.9[${PYTHON_USEDEP}]
>=dev-python/jinja-2.10[${PYTHON_USEDEP}]
~dev-python/pyjwt-1.6.4[${PYTHON_USEDEP}]
~dev-python/cryptography-2.5[${PYTHON_USEDEP}]
>=dev-python/pip-8.0.3-r1[${PYTHON_USEDEP}]
~dev-python/python-slugify-1.2.6[${PYTHON_USEDEP}]
>=dev-python/pytz-2018.9[${PYTHON_USEDEP}]
>=dev-python/pyyaml-3.13[${PYTHON_USEDEP}]
<dev-python/pyyaml-4[${PYTHON_USEDEP}]
=dev-python/requests-2.21.0-r1[${PYTHON_USEDEP}]
~dev-python/ruamel-yaml-0.15.89[${PYTHON_USEDEP}]
~dev-python/voluptuous-0.11.5[${PYTHON_USEDEP}]
~dev-python/voluptuous-serialize-2.1.0[${PYTHON_USEDEP}]
>=app-crypt/acme-0.32.0[${PYTHON_USEDEP}]
>=dev-python/asn1crypto-0.24.0[${PYTHON_USEDEP}]
~dev-python/cffi-1.12.2[${PYTHON_USEDEP}]
>=dev-python/jmespath-0.9.4[${PYTHON_USEDEP}]
>=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.15[${PYTHON_USEDEP}]
>=dev-python/pyrfc3339-1.1[${PYTHON_USEDEP}]
~dev-python/hass-nabucasa-0.11[${PYTHON_USEDEP}]
>=dev-python/aiohttp-cors-0.7.0[${PYTHON_USEDEP}]
~dev-python/beautifulsoup-4.6.3[${PYTHON_USEDEP}]
~dev-python/blinkpy-0.13.1[${PYTHON_USEDEP}]
>=dev-python/boto3-1.9.116[${PYTHON_USEDEP}]
>=dev-python/botocore-1.12.115[${PYTHON_USEDEP}]
~dev-python/caldav-0.5.0[${PYTHON_USEDEP}]
>=dev-python/cdu-0.1.3[${PYTHON_USEDEP}]
>=dev-python/chardet-3.0.4[${PYTHON_USEDEP}]
~dev-python/colorlog-4.0.2[${PYTHON_USEDEP}]
>=dev-python/coverage-4.5.2[${PYTHON_USEDEP}]
>=dev-python/distro-1.4.0[${PYTHON_USEDEP}]
>=dev-python/docutils-0.14[${PYTHON_USEDEP}]
>=dev-python/ecdsa-0.13[${PYTHON_USEDEP}]
>=dev-python/envs-1.3[${PYTHON_USEDEP}]
>=dev-python/future-0.17.1[${PYTHON_USEDEP}]
~dev-python/gTTS-token-1.1.3[${PYTHON_USEDEP}]
>=dev-python/idna-2.8[${PYTHON_USEDEP}]
>=dev-python/idna-ssl-1.1.0[${PYTHON_USEDEP}]
>=dev-python/ifaddr-0.1.6[${PYTHON_USEDEP}]
>=dev-python/jose-1.0.0[${PYTHON_USEDEP}]
>=dev-python/jsonrpc-async-0.6[${PYTHON_USEDEP}]
~dev-python/jsonrpc-base-1.0[${PYTHON_USEDEP}]
~dev-python/jsonrpc-websocket-0.6[${PYTHON_USEDEP}]
>=dev-python/lxml-4.2.5[${PYTHON_USEDEP}]
>=dev-python/multidict-4.5.2[${PYTHON_USEDEP}]
>=dev-python/netdisco-2.5.0[${PYTHON_USEDEP}]
>=dev-python/nose-1.3.7[${PYTHON_USEDEP}]
>=dev-python/numpy-1.16.2[${PYTHON_USEDEP}]
>=dev-python/paho-mqtt-1.4.0[${PYTHON_USEDEP}]
~dev-python/pillow-5.4.1[${PYTHON_USEDEP}]
>=dev-python/psutil-5.5.1[${PYTHON_USEDEP}]
>=dev-python/PyChromecast-2.5.2[${PYTHON_USEDEP}]
>=dev-python/pycryptodome-3.7.3[${PYTHON_USEDEP}]
>=dev-python/pyotp-2.2.6-r1[${PYTHON_USEDEP}]
>=dev-python/pyqrcode-1.2.1[${PYTHON_USEDEP}]
~dev-python/pysnmp-4.4.8[${PYTHON_USEDEP}]
>=dev-python/python-dateutil-2.7.5[${PYTHON_USEDEP}]
>=dev-python/python-jose-cryptodome-1.3.2[${PYTHON_USEDEP}]
=dev-python/RestrictedPython-4.0_beta8[${PYTHON_USEDEP}]
~dev-python/setuptools-40.8.0[${PYTHON_USEDEP}]
~dev-python/sqlalchemy-1.3.0[${PYTHON_USEDEP}]
>=dev-python/typing-3.6.4-r1[${PYTHON_USEDEP}]
>=dev-python/ua-parser-0.8.0[${PYTHON_USEDEP}]
>=dev-python/urllib3-1.24.1[${PYTHON_USEDEP}]
>=dev-python/user-agents-1.1.0[${PYTHON_USEDEP}]
>=dev-python/vobject-0.9.6.1[${PYTHON_USEDEP}]
>=dev-python/wakeonlan-1.1.6[${PYTHON_USEDEP}]
=dev-python/warrant-0.6.1-r1[${PYTHON_USEDEP}]
>=dev-python/websocket-client-0.54.0[${PYTHON_USEDEP}]
>=dev-python/xmltodict-0.11.0[${PYTHON_USEDEP}]
>=dev-python/yarl-1.3.0[${PYTHON_USEDEP}]
>=dev-python/zeroconf-0.21.3[${PYTHON_USEDEP}]
>=media-libs/mutagen-1.42.0
atv? ( >=dev-python/pyatv-0.3.12[${PYTHON_USEDEP}] )
esphome? ( ~dev-python/aioesphomeapi-1.6.0[${PYTHON_USEDEP}] )
androidtv? ( ~dev-python/androidtv-0.0.14[${PYTHON_USEDEP}] )
hs100? ( >=dev-python/pyHS100-0.3.4[${PYTHON_USEDEP}] )
maxcube? ( ~dev-python/maxcube-api-0.1.0[${PYTHON_USEDEP}] )
musiccast? ( >=dev-python/pymusiccast-0.1.6[${PYTHON_USEDEP}] )
mysql? ( dev-python/mysqlclient[${PYTHON_USEDEP}] )
rxv? ( =dev-python/rxv-0.6.0[${PYTHON_USEDEP}]
dev-python/defusedxml[${PYTHON_USEDEP}] )
denonavr? ( ~dev-python/denonavr-0.7.8[${PYTHON_USEDEP}] )
samsungtv? ( >=dev-python/samsungctl-0.7.1[${PYTHON_USEDEP}] )
sonos? ( >=dev-python/pysonos-0.0.8[${PYTHON_USEDEP}] )
ssl? ( dev-libs/openssl:0
app-crypt/certbot
net-proxy/haproxy )
tradfri? ( >=dev-python/pytradfri-6.0.1[${PYTHON_USEDEP}]
sys-devel/autoconf:2.69 )
wemo? ( >=dev-python/pywemo-0.4.34[${PYTHON_USEDEP}] )
frontend? ( =app-misc/home-assistant-frontend-20190329.0 )
homematic? ( ~dev-python/pyhomematic-0.1.58[${PYTHON_USEDEP}] )
asuswrt? ( ~dev-python/aioasuswrt-1.1.21[${PYTHON_USEDEP}] )
qnap? ( ~dev-python/qnapstats-0.3.0[${PYTHON_USEDEP}] )
speedtest? ( ~net-analyzer/speedtest-cli-2.0.2[${PYTHON_USEDEP}] )
zoneminder? ( ~dev-python/zm-py-0.3.3[${PYTHON_USEDEP}] )
"
DEPEND="${RDEPEND}
test? (
~dev-python/asynctest-0.12.2[${PYTHON_USEDEP}]
~dev-python/coveralls-1.2.0[${PYTHON_USEDEP}]
~dev-python/flake8-docstrings-1.3.0[${PYTHON_USEDEP}]
~dev-python/flake8-3.7.5[${PYTHON_USEDEP}]
~dev-python/mock-open-1.3.1[${PYTHON_USEDEP}]
dev-python/mock[${PYTHON_USEDEP}]
~dev-python/mypy-0.660[${PYTHON_USEDEP}]
~dev-python/pydocstyle-3.0.0[${PYTHON_USEDEP}]
~dev-python/pylint-2.2.2[${PYTHON_USEDEP}]
~dev-python/pytest-aiohttp-0.3.0[${PYTHON_USEDEP}]
~dev-python/pytest-cov-2.6.1[${PYTHON_USEDEP}]
~dev-python/pytest-sugar-0.9.2[${PYTHON_USEDEP}]
~dev-python/pytest-timeout-1.3.3[${PYTHON_USEDEP}]
~dev-python/pytest-4.2.1[${PYTHON_USEDEP}]
~dev-python/requests-mock-1.5.2[${PYTHON_USEDEP}]
dev-python/nose[${PYTHON_USEDEP}]
dev-python/coverage[${PYTHON_USEDEP}]
)"
INSTALL_DIR="/opt/${PN}"
DISABLE_AUTOFORMATTING=1
DOC_CONTENTS="
The HA interface listens on port 8123
hass configuration is in: /etc/${PN}
daemon command line arguments are configured in: /etc/conf.d/${PN}
logging is to: /var/log/${PN}/{server,errors,stdout}.log
The sqlite db is by default in: /etc/${PN}
support at https://git.edevau.net/onkelbeh/HomeAssistantRepository
"
S="${WORKDIR}/home-assistant-${MY_PV}"
DOCS="README.rst"
pkg_setup() {
enewgroup "${PN}"
enewuser "${PN}" -1 -1 "$INSTALL_DIR" "${PN}"
}
src_prepare() {
sed -e 's;astral==1.5;astral>=1.5;' \
-i "setup.py" \
-i homeassistant/package_constraints.txt
eapply_user
}
python_install_all() {
dodoc ${DOCS}
distutils-r1_python_install_all
keepdir "$INSTALL_DIR"
keepdir "/etc/${PN}"
fowners -R "${PN}:${PN}" "/etc/${PN}"
keepdir "/var/log/${PN}"
fowners -R "${PN}:${PN}" "/var/log/${PN}"
newconfd "${FILESDIR}/${PN}.conf.d" "${PN}"
newinitd "${FILESDIR}/${PN}.init.d" "${PN}"
insinto /etc/logrotate.d
newins "${FILESDIR}/${PN}.logrotate" "${PN}"
readme.gentoo_create_doc
}
pkg_postinst() {
readme.gentoo_print_elog
}

View File

@@ -8,6 +8,7 @@ DIST esphome-1.12.0b3.tar.gz 454671 BLAKE2B 1390f6774cdc042d6012e34fc162939a358b
DIST esphome-1.12.0b4.tar.gz 454735 BLAKE2B 249c7af515cb95f60a7b2bf4b94d8c8af28d40a876eaff58232e0e8a7540700a10c30f98d225272d96c44b8913ae696274ae503de68a11b3b21bcc83a46351d2 SHA512 b4416bea17c2a57fa1d176d486be4a9e6368b065fe636195daa8392593040e2f8f44b44f52a0b7c30d3285a650358c71c887a83e1830432395dfa837f00f537a
EBUILD esphome-1.11.1-r1.ebuild 2128 BLAKE2B 2834973f853ec775fe4839ebb0c169df48cf7388934ef15c5386d77c960aaee1d5138fc181a4f1c192207983f602fc563c6bfe28f528cfa5fb22ba568accc3bb SHA512 d173b7ce17d0d1025ec50420ef9382a72e02f29cab1e79b79e668970cf0a2e0769393ca4f38bbd4a589c04647bcc8f1853730dbf37b66ff11e3326ac64ff00ff
EBUILD esphome-1.11.2-r1.ebuild 2128 BLAKE2B 2834973f853ec775fe4839ebb0c169df48cf7388934ef15c5386d77c960aaee1d5138fc181a4f1c192207983f602fc563c6bfe28f528cfa5fb22ba568accc3bb SHA512 d173b7ce17d0d1025ec50420ef9382a72e02f29cab1e79b79e668970cf0a2e0769393ca4f38bbd4a589c04647bcc8f1853730dbf37b66ff11e3326ac64ff00ff
EBUILD esphome-1.12.0-r1.ebuild 2272 BLAKE2B 0249ec14aada441d43cd3509f5c3896e1b500f9196f6337aeab2fc389315c6d93dc30280bc1fc1a2dc6bdd14d852361f3f424036be8a8421181b1ea969c81510 SHA512 515fc7442641734b11a0b898add8389a3825ce6fb4751c754262b99dbdaa03cb5fbcc6a43d876e17dc01706b7e70ba4e035ffb5dfd778166fc4d39d50a5e7451
EBUILD esphome-1.12.0.ebuild 2273 BLAKE2B 0905ed218237d20e83ccda0b4ac6b922371e50a85d73021001432d75a754032e89e48307561a4633b90c7c9308730692bbb83d2294f5ad7235f3d3d83e8e7c8e SHA512 91648c59f4811bfc545f778e44a9114a4a313e4fc52d3a633aa58953239376cedb45765317c5a2e579c38575db15634f91d09975d309242e21f7219fc94fb2b1
EBUILD esphome-1.12.0_beta3.ebuild 2274 BLAKE2B cddbb2597eafa9ed46692315209e698ca687a4815c05593b21c9790f321e94192f466edb79f3cabfe06420dae8a866d5b63318c593a59be814582a2b16a683af SHA512 6945b2eb911ab72dc9aac75dcfbd0f7efe379f9870db7cb5e5e07b186f64881a4743535ce897a4133cb54c2cb6f92438957a12bd5d39cce331c8e70ecb0cc54b
EBUILD esphome-1.12.0_beta4.ebuild 2274 BLAKE2B cddbb2597eafa9ed46692315209e698ca687a4815c05593b21c9790f321e94192f466edb79f3cabfe06420dae8a866d5b63318c593a59be814582a2b16a683af SHA512 6945b2eb911ab72dc9aac75dcfbd0f7efe379f9870db7cb5e5e07b186f64881a4743535ce897a4133cb54c2cb6f92438957a12bd5d39cce331c8e70ecb0cc54b

View File

@@ -0,0 +1,91 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python2_7 )
inherit user readme.gentoo-r1 distutils-r1
MY_P=${P/_beta/b}
MY_PV=${PV/_beta/b}
DESCRIPTION="Make creating custom firmwares for ESP32/ESP8266 super easy."
HOMEPAGE="https://github.com/esphome/esphome https://pypi.org/project/esphome/"
SRC_URI="https://github.com/esphome/esphome/archive/v${MY_PV}.tar.gz -> ${MY_P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="server test"
RDEPEND=""
DEPEND="${REDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]
>=dev-python/tzlocal-1.5.1[${PYTHON_USEDEP}]
>=dev-python/voluptuous-0.11.5[${PYTHON_USEDEP}]
>=dev-embedded/platformio-3.6.5
>=dev-python/pyyaml-5.1[${PYTHON_USEDEP}]
>=dev-python/paho-mqtt-1.3.1[${PYTHON_USEDEP}]
>=dev-python/colorlog-3.1.2[${PYTHON_USEDEP}]
>=www-servers/tornado-5.1.1[${PYTHON_USEDEP}]
>=dev-embedded/esptool-2.6[${PYTHON_USEDEP}]
>=dev-python/typing-3.6.6[${PYTHON_USEDEP}]
>=dev-python/protobuf-python-3.7[${PYTHON_USEDEP}]
>=dev-python/pyserial-3.4[${PYTHON_USEDEP}]
>=dev-python/ifaddr-0.1.6[${PYTHON_USEDEP}]
server? ( >=dev-python/ifaddr-0.1.6 )
test? (
dev-python/nose[${PYTHON_USEDEP}]
dev-python/pytest[${PYTHON_USEDEP}]
)"
DISABLE_AUTOFORMATTING=1
DOC_CONTENTS="
The ESPHome dashboard listens on port 6052
ESPHome configuration is in: /etc/${PN}
dashboard command line arguments are configured in: /etc/conf.d/${PN}
logging is to: /var/log/${PN}/{dashboard,warnings}.log
support at https://git.edevau.net/onkelbeh/HomeAssistantRepository
"
S="${WORKDIR}/${MY_P}"
DOCS="README.md"
pkg_setup() {
if use server; then
enewgroup "${PN}"
enewuser "${PN}" -1 -1 "/etc/${PN}" "${PN}"
fi
}
python_install_all() {
dodoc ${DOCS}
distutils-r1_python_install_all
if use server; then
keepdir "/etc/${PN}"
fowners -R "${PN}:${PN}" "/etc/${PN}"
keepdir "/var/log/${PN}"
fowners -R "${PN}:${PN}" "/var/log/${PN}"
newconfd "${FILESDIR}/${PN}.conf.d" "${PN}"
newinitd "${FILESDIR}/${PN}.init.d-r1" "${PN}"
readme.gentoo_create_doc
fi
}
python_test() {
nosetests --verbose || die
py.test -v -v || die
}
pkg_postinst() {
if use server; then
readme.gentoo_print_elog
fi
}

View File

@@ -1,30 +0,0 @@
#!/sbin/openrc-run
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
description="ESPHome dashboard"
command_user="esphome:esphome"
command="/usr/bin/esphomeyaml"
command_args="
/etc/esphome
dashboard
${ESPHOME_OPTS}
"
output_log="/var/log/esphome/stdout.log"
error_log="/var/log/esphome/dashboard.log"
command_background=yes
pidfile=/run/esphome.pid
depend() {
need net
after bootmisc
}
start_pre() {
checkpath --file --owner $command_user --mode 0644 $output_log
checkpath --file --owner $command_user --mode 0644 $error_log
}

View File

@@ -0,0 +1,3 @@
DIST esptool-2.6.tar.gz 80198 BLAKE2B 17e288c9b018590a364637edbef6c6f1513c42f435327682715df9196f4d1a28cd2e84f573a740dc55a3de60d5801819d00118afae9576d6a6acd9213af26b16 SHA512 e3687cc11c61c14939938be207e92ffcf856b675df924a4776932ecb4e4dcfd9d0c5a000e8599383145b1cdc7b558610c20136f3c51c197e91d5f14cd32dbce3
EBUILD esptool-2.6.ebuild 741 BLAKE2B ba9d660edc15762726503c622256be9c7824de2dda4f33693c900aa922651df73124b8145872239b719ad13e87ae59d2e329d1bef3aa5440eee38b13d3640eb7 SHA512 ddfa15fbde3adcdfd717ae82e8aee5958bbc93e9ff0c90d0b289a16927c5dc89d89decec2432d9c8a0d823c2056e0585e3d330cff19e793b801da48221710bde
MISC metadata.xml 449 BLAKE2B 517225c4d9d06734745bf749ec6cf81f325146bab22eff7a0577fdf16d005d82f12dc3f426c71f902558c9725506a13e0b60fe1f7ec00818ec5e3a902a15e8c8 SHA512 67e5139fe841bd608087ee72ab5e25e688abe48892a8cf9e18ebcd61223ff16de03840510fe2e4eac852ad8e0c0da32df2edc797cb1b77a7a48639c2a3d16e10

View File

@@ -0,0 +1,29 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
inherit distutils-r1
DESCRIPTION="Utility to communicate with the ROM bootloader in Espressif ESP8266 and ESP32"
HOMEPAGE="https://github.com/espressif/esptool"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~amd64 ~arm ~x86"
IUSE=""
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
RDEPEND="${DEPEND}
dev-python/ecdsa[${PYTHON_USEDEP}]
dev-python/pyaes[${PYTHON_USEDEP}]
>=dev-python/pyserial-2.5[${PYTHON_USEDEP}]"
RESTRICT="test" # Uses a device connected to the serial port
python_test() {
${EPYTHON} test/test_esptool.py || die
}

View File

@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>m.j.everitt@iee.org</email>
<name>Michael Everitt</name>
</maintainer>
<maintainer type="project">
<email>proxy-maint@gentoo.org</email>
<name>Proxy Maintainers</name>
</maintainer>
<upstream>
<remote-id type="github">espressif/esptool</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1,9 @@
AUX 70protobuf-gentoo.el 170 BLAKE2B 6d9a92bd3310ca09d18dd762bc0bbd4b0b36184c17f95c80c02183c457fe4ff1142ca1e3207e5a77c078fe5f768cb3e85abc712abc1f4c85774ca1ebf178059b SHA512 ed73cd6b1bf6c0019e4da73c3a480b0f917e949dfad2696336e805263c81610b2a8a0514840e389db0f0e78252cf053d754c5e07731dc5e9c93c9e88f0b2923c
AUX proto.vim 49 BLAKE2B 9b6d31105811a8f8cbcf76328172fda5b66b33351bb16573ed1ed08d4c553af2805962a6d6609fbdad4a2644bf9cecd1e771a557f138111ad2c0be959b497ee9 SHA512 65c1f49887c17973d1dfce07fa86d04c5079d2382826eaeb22e128570717f181c53d22ba50905252021f7e476a90ecd29f9d18799c1ccea64b01f4638323538e
AUX protobuf-3.6.0-disable_no-warning-test.patch 965 BLAKE2B 6ec0b1fc9d9d0be4f6dc9bc023d65b6b04c98d624ca4d1926cff0554d774d7cffd8d3597383acff1b7aca1a92dff4dd8368d5d86f1612aace16ede836f025af5 SHA512 82e601a26e51903e6b193c50960024240aecd3ddeeba8b29f437c550ad0bd277573ea4f83bcd70b2a4187c7df2b25af2790de22fb6f009640c403a9502d703be
AUX protobuf-3.6.0-protoc_input_output_files.patch 9632 BLAKE2B 6466f6f6cf08e7a9a89ced8281790593fa9ea85e029d59ff20bba8c9add16bbb039a44d1839516bb109b9a2b269773640b43e6137fb9ccf5f100ef4109ad2b8d SHA512 8ac3c42684869e1b45d0d1ec70912610eaaa6962bc14d9a89b1244f424af7d638b4905b6dbd7445cd5f54bc4520fc1fbae88c66d9f4a9169db879abd1fba2faf
AUX protobuf-3.6.0-system_libraries.patch 6323 BLAKE2B 0fb8e389a58b76c592b592782900b48bb6c68e85fc159d4b9a59a43ab5a116916f7d9ef15cca392e5751f015a887f855631abb124b4d4109d51f6ba401059549 SHA512 ab58b9aa9d1398a15346d6e85611ad826f8e52744aa137ca4f138348b4738afc7c6cd27129f925f5142edac7e272d56da880a83b216b2ce264804d6967997728
AUX protobuf-3.6.1-libatomic_linking.patch 1753 BLAKE2B 50f8ac92dfada973ebcd187fa508a46ddd5d4e034e2eade2a3fcbb35ffab771578b241fa9a5343b46e91c90c4507e1d3a75a1bebc3426dbb1694c0fbb8cc03bf SHA512 c8bcb885dcf7d2871136a6410750aad69a61450b5a4bc80df56246a5875e1e9895d2d63e9e9e6deda3c4e516cd07344b92619457ef41f4f2ff0710c774957466
DIST protobuf-3.7.0.tar.gz 4784675 BLAKE2B cb65f3384c7b0f015ab48081764ee9e01ad4bcffdb4903025774d95626f804fb9f72532371cc090de2b2e86c4bb0eb8f618d1cf8ff4d9c54d281c45a43b1cd8b SHA512 c570ece1d42706982dd87f601af6b3dd1d788d1b150b543190d10d2f070c67f0d006726ec4eafd3b9234a679e7ef77ac9d97749414f53f619287a1f23a0b739c
EBUILD protobuf-3.7.0.ebuild 2538 BLAKE2B cdb7ed32938dcdc58e2c85e2c51f6d33ee2a960df6f0885b4ab4df7483ec1e873fb49444bce6a56d881bb6ede0972fdd75e744f9d769af8b160e1f36ee09c7df SHA512 f87873947266f45285734fa8cda6736a5090e320021a0ca8776bf8dd87780965cf835bd3f45657503fe2a360af25235ee8fd6f1371714f7bb8d9bc2c91d6d21c
MISC metadata.xml 543 BLAKE2B 43724e6d32707c62de4e1daffe50ba943c66286f6fe2357ec7171dad9feb7407049c26da517442957d61c11229617bd639d60bf070e7eedab8c871956cb3577a SHA512 f5a65ed219ff9f36c9d7bfdfe3bfe080ce0920e72f31f69820cc16822a04cdb38ec3c5d6b776b3c6cfde0bfc74c474558d048b706ac89e9405376e88504b8983

View File

@@ -0,0 +1,3 @@
(add-to-list 'load-path "@SITELISP@")
(add-to-list 'auto-mode-alist '("\\.proto\\'" . protobuf-mode))
(autoload 'protobuf-mode "protobuf-mode" "Google protobuf mode." t)

View File

@@ -0,0 +1 @@
au BufRead,BufNewFile *.proto set filetype=proto

View File

@@ -0,0 +1,19 @@
Disable no-warning-test which is compiled with -Werror option and whose only purpose is checking if compilation results in any warnings.
--- /src/Makefile.am
+++ /src/Makefile.am
@@ -717,7 +717,7 @@
GOOGLEMOCK_SRC_DIR=$(srcdir)/../third_party/googletest/googlemock
check_PROGRAMS = protoc protobuf-test protobuf-lazy-descriptor-test \
protobuf-lite-test test_plugin protobuf-lite-arena-test \
- no-warning-test $(GZCHECKPROGRAMS)
+ $(GZCHECKPROGRAMS)
protobuf_test_LDADD = $(PTHREAD_LIBS) libprotobuf.la libprotoc.la \
$(GOOGLETEST_BUILD_DIR)/lib/libgtest.la \
$(GOOGLEMOCK_BUILD_DIR)/lib/libgmock.la \
@@ -900,4 +900,4 @@
TESTS = protobuf-test protobuf-lazy-descriptor-test protobuf-lite-test \
google/protobuf/compiler/zip_output_unittest.sh $(GZTESTS) \
- protobuf-lite-arena-test no-warning-test
+ protobuf-lite-arena-test

View File

@@ -0,0 +1,233 @@
https://github.com/protocolbuffers/protobuf/pull/235
--- /src/google/protobuf/compiler/command_line_interface.cc
+++ /src/google/protobuf/compiler/command_line_interface.cc
@@ -931,6 +931,28 @@
}
if (mode_ == MODE_ENCODE || mode_ == MODE_DECODE) {
+ bool success = false;
+ int in_fd = STDIN_FILENO;
+ int out_fd = STDOUT_FILENO;
+
+ if (!protobuf_in_path_.empty()) {
+ in_fd = open(protobuf_in_path_.c_str(), O_RDONLY);
+ if (in_fd == -1) {
+ std::cerr << protobuf_in_path_ << ": error: failed to open file." << std::endl;
+ return 1;
+ }
+ }
+ if (!protobuf_out_path_.empty()) {
+ out_fd = open(protobuf_out_path_.c_str(),
+ O_WRONLY | O_CREAT | O_TRUNC,
+ 0644);
+ if (out_fd == -1) {
+ std::cerr << protobuf_out_path_ << ": error: failed to open file." << std::endl;
+ close(in_fd);
+ return 1;
+ }
+ }
+
if (codec_type_.empty()) {
// HACK: Define an EmptyMessage type to use for decoding.
DescriptorPool pool;
@@ -939,13 +961,20 @@
file.add_message_type()->set_name("EmptyMessage");
GOOGLE_CHECK(pool.BuildFile(file) != NULL);
codec_type_ = "EmptyMessage";
- if (!EncodeOrDecode(&pool)) {
- return 1;
- }
+ success = EncodeOrDecode(&pool, in_fd, out_fd);
} else {
- if (!EncodeOrDecode(descriptor_pool.get())) {
- return 1;
- }
+ success = EncodeOrDecode(descriptor_pool.get(), in_fd, out_fd);
+ }
+
+ if (in_fd != STDIN_FILENO) {
+ close(in_fd);
+ }
+ if (out_fd != STDOUT_FILENO) {
+ close(out_fd);
+ }
+
+ if (!success) {
+ return 1;
}
}
@@ -983,6 +1012,11 @@
for (int i = 0; i < proto_path_.size(); i++) {
source_tree->MapPath(proto_path_[i].first, proto_path_[i].second);
}
+ if (mode_ == MODE_COMPILE &&
+ (!protobuf_in_path_.empty() || !protobuf_out_path_.empty())) {
+ std::cerr << "--protobuf_in and --protobuf_out are only valid with "
+ << "decode operations. Ignoring.";
+ }
// Map input files to virtual paths if possible.
if (!MakeInputsBeProtoPathRelative(source_tree)) {
@@ -1571,6 +1605,12 @@
codec_type_ = value;
+ } else if (name == "--protobuf_in") {
+ protobuf_in_path_ = value;
+
+ } else if (name == "--protobuf_out") {
+ protobuf_out_path_ = value;
+
} else if (name == "--error_format") {
if (value == "gcc") {
error_format_ = ERROR_FORMAT_GCC;
@@ -1693,18 +1733,29 @@
" --version Show version info and exit.\n"
" -h, --help Show this text and exit.\n"
" --encode=MESSAGE_TYPE Read a text-format message of the given type\n"
-" from standard input and write it in binary\n"
-" to standard output. The message type must\n"
-" be defined in PROTO_FILES or their imports.\n"
-" --decode=MESSAGE_TYPE Read a binary message of the given type from\n"
-" standard input and write it in text format\n"
-" to standard output. The message type must\n"
+" an write it in binary. The message type must\n"
" be defined in PROTO_FILES or their imports.\n"
-" --decode_raw Read an arbitrary protocol message from\n"
-" standard input and write the raw tag/value\n"
-" pairs in text format to standard output. No\n"
+" The input/output protobuf files are specified\n"
+" using the --protobuf_in and --protobuf_out\n"
+" command line flags.\n"
+" --decode=MESSAGE_TYPE Read a binary message of the given type and\n"
+" write it in text format. The message type\n"
+" must be defined in PROTO_FILES or their\n"
+" imports. The input/output protobuf files are\n"
+" specified using the --protobuf_in and \n"
+" --protobuf_out command line flags.\n"
+" --decode_raw Read an arbitrary protocol message and write\n"
+" the raw tag/value pairs in text format. No\n"
" PROTO_FILES should be given when using this\n"
-" flag.\n"
+" flag. The input/output protobuf files are\n"
+" specified using the --protobuf_in and \n"
+" --protobuf_out command line flags.\n"
+" --protobuf_in Absolute path to the protobuf file to read to\n"
+" encode/decode. If omitted, file will be read\n"
+" from STDIN.\n"
+" --protobuf_out Absolute path to the protobuf file to write to\n"
+" after encode/decode operation. If omitted,\n"
+" output is written to STDOUT.\n"
" --descriptor_set_in=FILES Specifies a delimited list of FILES\n"
" each containing a FileDescriptorSet (a\n"
" protocol buffer defined in descriptor.proto).\n"
@@ -1983,7 +2034,9 @@
return true;
}
-bool CommandLineInterface::EncodeOrDecode(const DescriptorPool* pool) {
+bool CommandLineInterface::EncodeOrDecode(const DescriptorPool* pool,
+ int in_fd,
+ int out_fd) {
// Look up the type.
const Descriptor* type = pool->FindMessageTypeByName(codec_type_);
if (type == NULL) {
@@ -1995,15 +2048,15 @@
std::unique_ptr<Message> message(dynamic_factory.GetPrototype(type)->New());
if (mode_ == MODE_ENCODE) {
- SetFdToTextMode(STDIN_FILENO);
- SetFdToBinaryMode(STDOUT_FILENO);
+ SetFdToTextMode(in_fd);
+ SetFdToBinaryMode(out_fd);
} else {
- SetFdToBinaryMode(STDIN_FILENO);
- SetFdToTextMode(STDOUT_FILENO);
+ SetFdToBinaryMode(in_fd);
+ SetFdToTextMode(out_fd);
}
- io::FileInputStream in(STDIN_FILENO);
- io::FileOutputStream out(STDOUT_FILENO);
+ io::FileInputStream in(in_fd);
+ io::FileOutputStream out(out_fd);
if (mode_ == MODE_ENCODE) {
// Input is text.
--- /src/google/protobuf/compiler/command_line_interface.h
+++ /src/google/protobuf/compiler/command_line_interface.h
@@ -272,7 +272,9 @@
GeneratorContext* generator_context, string* error);
// Implements --encode and --decode.
- bool EncodeOrDecode(const DescriptorPool* pool);
+ bool EncodeOrDecode(const DescriptorPool* pool,
+ int in_fd,
+ int out_fd);
// Implements the --descriptor_set_out option.
bool WriteDescriptorSet(
@@ -405,6 +407,13 @@
// parsed FileDescriptorSets to be used for loading protos. Otherwise, empty.
std::vector<string> descriptor_set_in_names_;
+ // When using --encode / --decode / --decode_raw absolute path to the output
+ // file. (Empty string indicates write to STDOUT).
+ string protobuf_out_path_;
+ // When using --encode / --decode / --decode_raw, absolute path to the input
+ // file. (Empty string indicates read from STDIN).
+ string protobuf_in_path_;
+
// If --descriptor_set_out was given, this is the filename to which the
// FileDescriptorSet should be written. Otherwise, empty.
string descriptor_set_out_name_;
--- /src/google/protobuf/compiler/command_line_interface_unittest.cc
+++ /src/google/protobuf/compiler/command_line_interface_unittest.cc
@@ -94,7 +94,7 @@
virtual void SetUp();
virtual void TearDown();
- // Runs the CommandLineInterface with the given command line. The
+ // Run the CommandLineInterface with the given command line. The
// command is automatically split on spaces, and the string "$tmpdir"
// is replaced with TestTempDir().
void Run(const string& command);
@@ -2337,6 +2337,17 @@
EXPECT_EQ(StripCR(expected_text), StripCR(captured_stderr_));
}
+ void ExpectBinaryFilesMatch(const string &expected_file,
+ const string &actual_file) {
+ string expected_output, actual_output;
+ ASSERT_TRUE(File::ReadFileToString(expected_file, &expected_output));
+ ASSERT_TRUE(File::ReadFileToString(actual_file, &actual_output));
+
+ // Don't use EXPECT_EQ because we don't want to print raw binary data to
+ // stdout on failure.
+ EXPECT_TRUE(expected_output == actual_output);
+ }
+
private:
void WriteUnittestProtoDescriptorSet() {
unittest_proto_descriptor_set_filename_ =
@@ -2427,6 +2438,18 @@
"google/protobuf/no_such_file.proto: No such file or directory\n");
}
+TEST_P(EncodeDecodeTest, RedirectInputOutput) {
+ string out_file = TestTempDir() + "/golden_message_out.pbf";
+ string cmd = "";
+ cmd += "google/protobuf/unittest.proto ";
+ cmd += "--encode=protobuf_unittest.TestAllTypes ";
+ cmd += "--protobuf_in=" + TestSourceDir() +
+ "/google/protobuf/testdata/text_format_unittest_data_oneof_implemented.txt ";
+ cmd += "--protobuf_out=" + out_file;
+ EXPECT_TRUE(Run(cmd));
+ ExpectBinaryFilesMatch(out_file, TestSourceDir() + "/google/protobuf/testdata/golden_message_oneof_implemented");
+}
+
INSTANTIATE_TEST_CASE_P(FileDescriptorSetSource,
EncodeDecodeTest,
testing::Values(PROTO_PATH, DESCRIPTOR_SET_IN));

View File

@@ -0,0 +1,121 @@
--- /Makefile.am
+++ /Makefile.am
@@ -11,28 +11,10 @@
# Always include third_party directories in distributions.
DIST_SUBDIRS = src conformance benchmarks third_party/googletest
-# Build gmock before we build protobuf tests. We don't add gmock to SUBDIRS
-# because then "make check" would also build and run all of gmock's own tests,
-# which takes a lot of time and is generally not useful to us. Also, we don't
-# want "make install" to recurse into gmock since we don't want to overwrite
-# the installed version of gmock if there is one.
check-local:
- @echo "Making lib/libgmock.a lib/libgmock_main.a in gmock"
- @cd third_party/googletest/googletest && $(MAKE) $(AM_MAKEFLAGS) lib/libgtest.la lib/libgtest_main.la
- @cd third_party/googletest/googlemock && $(MAKE) $(AM_MAKEFLAGS) lib/libgmock.la lib/libgmock_main.la
-# We would like to clean gmock when "make clean" is invoked. But we have to
-# be careful because clean-local is also invoked during "make distclean", but
-# "make distclean" already recurses into gmock because it's listed among the
-# DIST_SUBDIRS. distclean will delete gmock/Makefile, so if we then try to
-# cd to the directory again and "make clean" it will fail. So, check that the
-# Makefile exists before recursing.
clean-local:
- @if test -e third_party/googletest/Makefile; then \
- echo "Making clean in googletest"; \
- cd third_party/googletest && $(MAKE) $(AM_MAKEFLAGS) clean; \
- fi; \
- if test -e conformance/Makefile; then \
+ @if test -e conformance/Makefile; then \
echo "Making clean in conformance"; \
cd conformance && $(MAKE) $(AM_MAKEFLAGS) clean; \
fi; \
--- /configure.ac
+++ /configure.ac
@@ -209,12 +209,5 @@
AX_CXX_COMPILE_STDCXX([11], [noext], [mandatory])
-# HACK: Make gmock's configure script pick up our copy of CFLAGS and CXXFLAGS,
-# since the flags added by ACX_CHECK_SUNCC must be used when compiling gmock
-# too.
-export CFLAGS
-export CXXFLAGS
-AC_CONFIG_SUBDIRS([third_party/googletest])
-
AC_CONFIG_FILES([Makefile src/Makefile benchmarks/Makefile conformance/Makefile protobuf.pc protobuf-lite.pc])
AC_OUTPUT
--- /src/Makefile.am
+++ /src/Makefile.am
@@ -711,19 +711,11 @@
google/protobuf/testing/file.cc \
google/protobuf/testing/file.h
-GOOGLETEST_BUILD_DIR=../third_party/googletest/googletest
-GOOGLEMOCK_BUILD_DIR=../third_party/googletest/googlemock
-GOOGLETEST_SRC_DIR=$(srcdir)/../third_party/googletest/googletest
-GOOGLEMOCK_SRC_DIR=$(srcdir)/../third_party/googletest/googlemock
check_PROGRAMS = protoc protobuf-test protobuf-lazy-descriptor-test \
protobuf-lite-test test_plugin protobuf-lite-arena-test \
$(GZCHECKPROGRAMS)
protobuf_test_LDADD = $(PTHREAD_LIBS) libprotobuf.la libprotoc.la \
- $(GOOGLETEST_BUILD_DIR)/lib/libgtest.la \
- $(GOOGLEMOCK_BUILD_DIR)/lib/libgmock.la \
- $(GOOGLEMOCK_BUILD_DIR)/lib/libgmock_main.la
-protobuf_test_CPPFLAGS = -I$(GOOGLETEST_SRC_DIR)/include \
- -I$(GOOGLEMOCK_SRC_DIR)/include
+ -lgtest -lgmock -lgmock_main
# Disable optimization for tests unless the user explicitly asked for it,
# since test_util.cc takes forever to compile with optimization (with GCC).
# See configure.ac for more info.
@@ -811,12 +803,8 @@
# Run cpp_unittest again with PROTOBUF_TEST_NO_DESCRIPTORS defined.
protobuf_lazy_descriptor_test_LDADD = $(PTHREAD_LIBS) libprotobuf.la \
libprotoc.la \
- $(GOOGLETEST_BUILD_DIR)/lib/libgtest.la \
- $(GOOGLEMOCK_BUILD_DIR)/lib/libgmock.la \
- $(GOOGLEMOCK_BUILD_DIR)/lib/libgmock_main.la
-protobuf_lazy_descriptor_test_CPPFLAGS = -I$(GOOGLEMOCK_SRC_DIR)/include \
- -I$(GOOGLETEST_SRC_DIR)/include \
- -DPROTOBUF_TEST_NO_DESCRIPTORS
+ -lgtest -lgmock -lgmock_main
+protobuf_lazy_descriptor_test_CPPFLAGS = -DPROTOBUF_TEST_NO_DESCRIPTORS
protobuf_lazy_descriptor_test_CXXFLAGS = $(NO_OPT_CXXFLAGS)
protobuf_lazy_descriptor_test_SOURCES = \
google/protobuf/compiler/cpp/cpp_unittest.cc \
@@ -837,11 +825,7 @@
# full runtime and we want to make sure this test builds without full
# runtime.
protobuf_lite_test_LDADD = $(PTHREAD_LIBS) libprotobuf-lite.la \
- $(GOOGLETEST_BUILD_DIR)/lib/libgtest.la \
- $(GOOGLEMOCK_BUILD_DIR)/lib/libgmock.la \
- $(GOOGLEMOCK_BUILD_DIR)/lib/libgmock_main.la
-protobuf_lite_test_CPPFLAGS= -I$(GOOGLEMOCK_SRC_DIR)/include \
- -I$(GOOGLETEST_SRC_DIR)/include
+ -lgtest -lgmock -lgmock_main
protobuf_lite_test_CXXFLAGS = $(NO_OPT_CXXFLAGS)
protobuf_lite_test_SOURCES = \
google/protobuf/lite_unittest.cc \
@@ -853,11 +837,7 @@
# gtest when building the test internally our memory sanitizer doesn't detect
# memory leaks (don't know why).
protobuf_lite_arena_test_LDADD = $(PTHREAD_LIBS) libprotobuf-lite.la \
- $(GOOGLETEST_BUILD_DIR)/lib/libgtest.la \
- $(GOOGLEMOCK_BUILD_DIR)/lib/libgmock.la \
- $(GOOGLEMOCK_BUILD_DIR)/lib/libgmock_main.la
-protobuf_lite_arena_test_CPPFLAGS = -I$(GOOGLEMOCK_SRC_DIR)/include \
- -I$(GOOGLETEST_SRC_DIR)/include
+ -lgtest -lgmock -lgmock_main
protobuf_lite_arena_test_CXXFLAGS = $(NO_OPT_CXXFLAGS)
protobuf_lite_arena_test_SOURCES = \
google/protobuf/lite_arena_unittest.cc \
@@ -867,8 +847,7 @@
# Test plugin binary.
test_plugin_LDADD = $(PTHREAD_LIBS) libprotobuf.la libprotoc.la \
- $(GOOGLETEST_BUILD_DIR)/lib/libgtest.la
-test_plugin_CPPFLAGS = -I$(GOOGLETEST_SRC_DIR)/include
+ -lgtest
test_plugin_SOURCES = \
google/protobuf/compiler/mock_code_generator.cc \
google/protobuf/testing/file.cc \

View File

@@ -0,0 +1,49 @@
https://github.com/protocolbuffers/protobuf/issues/5219
https://github.com/protocolbuffers/protobuf/pull/5227
https://github.com/protocolbuffers/protobuf/commit/56b40a8f055cfd05633054aed5d3466a6e058b72
--- /configure.ac
+++ /configure.ac
@@ -165,6 +165,22 @@
])
AM_CONDITIONAL([HAVE_ZLIB], [test $HAVE_ZLIB = 1])
+dnl On some platforms, std::atomic needs a helper library
+AC_MSG_CHECKING(whether -latomic is needed)
+AC_LINK_IFELSE([AC_LANG_SOURCE([[
+ #include <atomic>
+ #include <cstdint>
+ std::atomic<std::int64_t> v;
+ int main() {
+ return v;
+ }
+]])], STD_ATOMIC_NEED_LIBATOMIC=no, STD_ATOMIC_NEED_LIBATOMIC=yes)
+AC_MSG_RESULT($STD_ATOMIC_NEED_LIBATOMIC)
+if test "x$STD_ATOMIC_NEED_LIBATOMIC" = xyes; then
+ LIBATOMIC_LIBS="-latomic"
+fi
+AC_SUBST([LIBATOMIC_LIBS])
+
AS_IF([test "$with_protoc" != "no"], [
PROTOC=$with_protoc
AS_IF([test "$with_protoc" = "yes"], [
--- /src/Makefile.am
+++ /src/Makefile.am
@@ -163,7 +163,7 @@
lib_LTLIBRARIES = libprotobuf-lite.la libprotobuf.la libprotoc.la
-libprotobuf_lite_la_LIBADD = $(PTHREAD_LIBS)
+libprotobuf_lite_la_LIBADD = $(PTHREAD_LIBS) $(LIBATOMIC_LIBS)
libprotobuf_lite_la_LDFLAGS = -version-info 17:0:0 -export-dynamic -no-undefined
if HAVE_LD_VERSION_SCRIPT
libprotobuf_lite_la_LDFLAGS += -Wl,--version-script=$(srcdir)/libprotobuf-lite.map
@@ -209,7 +209,7 @@
google/protobuf/io/zero_copy_stream.cc \
google/protobuf/io/zero_copy_stream_impl_lite.cc
-libprotobuf_la_LIBADD = $(PTHREAD_LIBS)
+libprotobuf_la_LIBADD = $(PTHREAD_LIBS) $(LIBATOMIC_LIBS)
libprotobuf_la_LDFLAGS = -version-info 17:0:0 -export-dynamic -no-undefined
if HAVE_LD_VERSION_SCRIPT
libprotobuf_la_LDFLAGS += -Wl,--version-script=$(srcdir)/libprotobuf.map

View File

@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>arfrever.fta@gmail.com</email>
<name>Arfrever Frehtes Taifersar Arahesis</name>
</maintainer>
<maintainer type="project">
<email>proxy-maint@gentoo.org</email>
<name>Proxy Maintainers</name>
</maintainer>
<slots>
<subslots>Soname version number</subslots>
</slots>
<upstream>
<remote-id type="github">protocolbuffers/protobuf</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1,106 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="6"
inherit autotools elisp-common flag-o-matic multilib-minimal toolchain-funcs
DESCRIPTION="Google's Protocol Buffers - Extensible mechanism for serializing structured data"
HOMEPAGE="https://developers.google.com/protocol-buffers/ https://github.com/protocolbuffers/protobuf"
SRC_URI="https://github.com/protocolbuffers/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="BSD"
SLOT="0/17"
KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 s390 ~sh sparc x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
IUSE="emacs examples static-libs test zlib"
RDEPEND="emacs? ( virtual/emacs )
zlib? ( sys-libs/zlib[${MULTILIB_USEDEP}] )"
DEPEND="${RDEPEND}
test? ( >=dev-cpp/gtest-1.8.0[${MULTILIB_USEDEP}] )"
PATCHES=(
"${FILESDIR}/${PN}-3.6.0-disable_no-warning-test.patch"
"${FILESDIR}/${PN}-3.6.0-system_libraries.patch"
"${FILESDIR}/${PN}-3.6.0-protoc_input_output_files.patch"
)
# "${FILESDIR}/${PN}-3.6.1-libatomic_linking.patch"
DOCS=(CHANGES.txt CONTRIBUTORS.txt README.md)
src_prepare() {
default
eautoreconf
}
src_configure() {
append-cppflags -DGOOGLE_PROTOBUF_NO_RTTI
multilib-minimal_src_configure
}
multilib_src_configure() {
local options=(
$(use_enable static-libs static)
$(use_with zlib)
)
if tc-is-cross-compiler; then
# Build system uses protoc when building, so protoc copy runnable on host is needed.
mkdir -p "${WORKDIR}/build" || die
pushd "${WORKDIR}/build" > /dev/null || die
ECONF_SOURCE="${S}" econf_build "${options[@]}"
options+=(--with-protoc="$(pwd)/src/protoc")
popd > /dev/null || die
fi
ECONF_SOURCE="${S}" econf "${options[@]}"
}
src_compile() {
multilib-minimal_src_compile
if use emacs; then
elisp-compile editors/protobuf-mode.el
fi
}
multilib_src_compile() {
if tc-is-cross-compiler; then
emake -C "${WORKDIR}/build/src" protoc
fi
default
}
multilib_src_test() {
emake check
}
multilib_src_install_all() {
find "${D}" -name "*.la" -delete || die
insinto /usr/share/vim/vimfiles/syntax
doins editors/proto.vim
insinto /usr/share/vim/vimfiles/ftdetect
doins "${FILESDIR}/proto.vim"
if use emacs; then
elisp-install ${PN} editors/protobuf-mode.el*
elisp-site-file-install "${FILESDIR}/70${PN}-gentoo.el"
fi
if use examples; then
DOCS+=(examples)
docompress -x /usr/share/doc/${PF}/examples
fi
einstalldocs
}
pkg_postinst() {
use emacs && elisp-site-regen
}
pkg_postrm() {
use emacs && elisp-site-regen
}

View File

@@ -1,9 +1,11 @@
DIST androidtv-0.0.11.tar.gz 11088 BLAKE2B ee755b43a12ecedb282f041e6d76286ea6f2eb51d095d4acd6d058b3be08edf59428ec3dac37d86d15be417922526e9711b482b2536f58db712b7e821dcf930c SHA512 50316c2fc3a4bad500cf9f5214ba3e76d9eaa1c2306b73398c80c1f553ac4ca4e4e48a435760dd08003d70858ffc36363b929a67b1efe3a25d6904cc888bd74c
DIST androidtv-0.0.12.tar.gz 11104 BLAKE2B 4372c27fa54c3f267ad2a847d1b30ac0d0fa530cbdac0b750ab7d4f32cd27ef2d4ed3ff99decedb323131c57a927f38363cdd6f84d2c2324d71ce1fa6655d5b9 SHA512 b931a06f1f0d58a95a8aa812b292b5bac9a97ce0f2424fc76ae71d9f571937ab1130acc65e797bfcaeb87a45a53ffeb3084c6c20224cc189b02c16eb27822404
DIST androidtv-0.0.14.tar.gz 11104 BLAKE2B b0838e95edd3b691fa8c0030cf7509de635fc23fb55e93358325e4fb3190c6c1ff8b3afc50bed48ad404f72338b199da741a3c76d0498d242e29c9c4fab8f082 SHA512 029ae0a8e14e4ff92cffcc7b1cb40275f096b96c27294ab5cb690400265d625053f5803d548c09c4e0fc1a482e2c7b10d449c3c0a7b91f63e666f3c22b9d7e37
DIST androidtv-0.0.7.tar.gz 7765 BLAKE2B fb903b2b147671fa2b4f42f2202ef38d6b6885ca8cd295ac3b405aa7d924df13a1f0df37cdba0303e25b3ba6ce972b4b3fbcc387746f0267f6ecd85e93c153de SHA512 730986fde120056afecd45061a567d7760983af26d5f323780ca1de2a3aafa17033b3654c6302246f50e2abef11d0979fe8bbe12fd1d465fe561ec496879699a
DIST androidtv-0.0.9.tar.gz 7454 BLAKE2B 041181259e83deb7aff13b79ed637cc3d2b04536e33640b220f2fe953449cef348bafc5d0ca698cf89f208efe7a12c9c1c936913f01896cfa6199e9ee8808ece SHA512 e740aaa499326f8a476c0b3ce3f0addb17c71e2232898bcdd7f0a12a9c42e6733e17747e923a9aaf091182c11f5abbbb10c22870df35c7b99aab020f03e42758
EBUILD androidtv-0.0.11.ebuild 755 BLAKE2B 850cdf5bce66a161cf8e24354192f14d113dd9073ccc76cbbae2dc45e0619e18490986937fb9d8c2729c47542300f0b23fa51fc89f79605d3e69ecb1206b07cc SHA512 95db5dca441646e1484b47459a5b07c6f9f0020bc97b0b1ae02231b76f57cc356cf254aa6fd1f5f98e78d7abfa991c19483a5f7f960c44d4908c56d076d3de89
EBUILD androidtv-0.0.12.ebuild 755 BLAKE2B 850cdf5bce66a161cf8e24354192f14d113dd9073ccc76cbbae2dc45e0619e18490986937fb9d8c2729c47542300f0b23fa51fc89f79605d3e69ecb1206b07cc SHA512 95db5dca441646e1484b47459a5b07c6f9f0020bc97b0b1ae02231b76f57cc356cf254aa6fd1f5f98e78d7abfa991c19483a5f7f960c44d4908c56d076d3de89
EBUILD androidtv-0.0.14.ebuild 755 BLAKE2B 850cdf5bce66a161cf8e24354192f14d113dd9073ccc76cbbae2dc45e0619e18490986937fb9d8c2729c47542300f0b23fa51fc89f79605d3e69ecb1206b07cc SHA512 95db5dca441646e1484b47459a5b07c6f9f0020bc97b0b1ae02231b76f57cc356cf254aa6fd1f5f98e78d7abfa991c19483a5f7f960c44d4908c56d076d3de89
EBUILD androidtv-0.0.7.ebuild 755 BLAKE2B 850cdf5bce66a161cf8e24354192f14d113dd9073ccc76cbbae2dc45e0619e18490986937fb9d8c2729c47542300f0b23fa51fc89f79605d3e69ecb1206b07cc SHA512 95db5dca441646e1484b47459a5b07c6f9f0020bc97b0b1ae02231b76f57cc356cf254aa6fd1f5f98e78d7abfa991c19483a5f7f960c44d4908c56d076d3de89
EBUILD androidtv-0.0.9.ebuild 755 BLAKE2B 850cdf5bce66a161cf8e24354192f14d113dd9073ccc76cbbae2dc45e0619e18490986937fb9d8c2729c47542300f0b23fa51fc89f79605d3e69ecb1206b07cc SHA512 95db5dca441646e1484b47459a5b07c6f9f0020bc97b0b1ae02231b76f57cc356cf254aa6fd1f5f98e78d7abfa991c19483a5f7f960c44d4908c56d076d3de89
MISC metadata.xml 474 BLAKE2B b771a17e02ae763561a8e1aa4ef700881b5a6bac845b10b23f1cad983377cdc45601e5e997314fc1ea4fac4af88df5ef1d6fa07908d142833599e781ccadf00b SHA512 99c3df1197ebb6faadf804a6ca31dd84f5a7588ec604fa52d9cfea4e263ead84655f6336dc4deda61b2af19d969bdcaa159cf3baad5230746c5461bf56b3e70f

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="Communicate with an Android TV or Fire TV device via ADB over a network."
HOMEPAGE="https://github.com/JeffLIrion/python-androidtv/ https://pypi.org/project/androidtv/"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
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

@@ -1,5 +1,7 @@
DIST async-upnp-client-0.14.3.tar.gz 48772 BLAKE2B 99a0282e3f13829ad6059790ce83efb998ec2bd5848540b973e0ab39761fd4e003238740a49f3ac628ae3400885fc8675d185ca1940a5e98767f4ec2b991cefa SHA512 7f5cb2484cada1a21df47aacff87944366c3b9962ea2368dabe672d7c0c1718f0bc9e2ec30457e200e9f5422f9f270fe8a54d18a3649a8f31e23f4ecfa02c379
DIST async-upnp-client-0.14.4.tar.gz 48843 BLAKE2B 4d93ea4f5550a645d1d4940d0fd91931293ab50da558b6d9c9ffacdb5a9726beadc8e08b2f0477ef2c6609c27fc2cff4065282cb30a6418caa97b9f40905f655 SHA512 4f67b0855c05fa9d57e9e706733255bad7c1dbf413893cec36f3944e7f2b6972d15b80bbcbe104eba29a68d297283d0465ca3cddef319c69ec08946e70884cb6
DIST async-upnp-client-0.14.7.tar.gz 50209 BLAKE2B 7d5bb5a9be0352fb0ba2843b5960682467acb3e46d2bb771a4d9fa7dedeee678cc806033cef3266b901c184f5e9d38c6a3546b9094c83320a5133beb3159457b SHA512 cac301b473b18f60ad5269a1c3ad9a80bb647ef9dd4d7ce674846b1aed9d74b0b2d84111433c1cd2016ea5af8d4d1c3b7e6491762f1cea17d94bb5dc9b5f1603
EBUILD async-upnp-client-0.14.3.ebuild 1051 BLAKE2B 2626bd0380447ef9a751674a0f14bd45abc9855f1d525e4a23f6f3a2061e01c22deb9629b6f02eb4bc61d515f8c6258c6c2a77e1253c9d52a7f964186aa337b7 SHA512 726e7f104ea360debcf0ca3f854eb9563b4c0a48ee0cc88c13dba67afecb412f120d1a815b399f142b937ad3ba182159b2c447980a657ea11cbc6dd002649ed3
EBUILD async-upnp-client-0.14.4.ebuild 1051 BLAKE2B 2626bd0380447ef9a751674a0f14bd45abc9855f1d525e4a23f6f3a2061e01c22deb9629b6f02eb4bc61d515f8c6258c6c2a77e1253c9d52a7f964186aa337b7 SHA512 726e7f104ea360debcf0ca3f854eb9563b4c0a48ee0cc88c13dba67afecb412f120d1a815b399f142b937ad3ba182159b2c447980a657ea11cbc6dd002649ed3
EBUILD async-upnp-client-0.14.7.ebuild 1051 BLAKE2B 2626bd0380447ef9a751674a0f14bd45abc9855f1d525e4a23f6f3a2061e01c22deb9629b6f02eb4bc61d515f8c6258c6c2a77e1253c9d52a7f964186aa337b7 SHA512 726e7f104ea360debcf0ca3f854eb9563b4c0a48ee0cc88c13dba67afecb412f120d1a815b399f142b937ad3ba182159b2c447980a657ea11cbc6dd002649ed3
MISC metadata.xml 252 BLAKE2B 507e0ddc9d50b879ff374b903b142f85d020dfd6c486aba2af84fe082c878e780edbb79188ae10104d57db0eb775c86814cc8c06891a3854c9da840a4d377050 SHA512 9470ac9c8a5a4f80e3f767e7aa198addc7b21866c63b2a310e9f41ce65817672fb77423117bdd619e99cb62322025aeadf50717e23eafabf99080fcc106820af

View File

@@ -0,0 +1,39 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python3_{5,6,7} )
inherit distutils-r1
MY_PN=${PN//-/_}
DESCRIPTION="Async UPnP Client"
HOMEPAGE="https://github.com/StevenLooman/async_upnp_client https://pypi.org/project/async-upnp-client/"
SRC_URI="https://github.com/StevenLooman/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="https://www.apache.org/licenses/LICENSE-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
RDEPEND="
>=dev-python/voluptuous-0.11.1[${PYTHON_USEDEP}]
>=dev-python/aiohttp-3.3.2[${PYTHON_USEDEP}]
>=dev-python/async_timeout-3.0.0[${PYTHON_USEDEP}]
=dev-python/python-didl-lite-1.2.3[${PYTHON_USEDEP}]
>=dev-python/defusedxml-0.5.0[${PYTHON_USEDEP}]
"
DEPEND="${REDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
dev-python/nose[${PYTHON_USEDEP}]
dev-python/pytest[${PYTHON_USEDEP}]
)"
S=${WORKDIR}/${MY_PN}-${PV}
python_test() {
nosetests --verbose || die
py.test -v -v || die
}

View File

@@ -1,3 +1,5 @@
DIST bellows-homeassistant-0.7.1.tar.gz 46623 BLAKE2B 35db111572bae7b6ee75e38b3ce5fdc4a312a5f99c8ec44cef3c1274ed9e98e8a40a788a6ae4b8ef9c35f0506a8a44c06aa563955cefa53bb5b27a4f603e0e69 SHA512 c45990e6573f1e9251243d51deec58c4da2735797391b9080de4a684f0c69d46158da79b75aac75843543abbaf7cc36a2f61553bc362bbb36c4e54c22052d7f5
DIST bellows-homeassistant-0.7.2.tar.gz 48671 BLAKE2B e3eda4cf28f96a579617b49c21ded7f6f9f6d1ecf14831745bfea3b59e1d034d6f34949deeaee257e8b68e1c4f7737267fe64f33e7437d9864b5fe394d3ee550 SHA512 144df9125df797674a790893ccdf1397024a5a6f6a6400938e6df001de74ed6d3fd950c588869e2b660cd4247c9cb5151ff891ff779ba510a810a05b853822ab
EBUILD bellows-homeassistant-0.7.1.ebuild 673 BLAKE2B be6ae6e53486c6ec35ddf1224622aae567915af2beafe64214e2b5fe38dfae708794f66f5cf51b1c67c36ea00f804599ec1544236e173c7099075ea0bec9a75d SHA512 67c5b2205d5e6889e340688b5ff2bfc81e4397de31a16cf88dc4d0301889d30b9d578b48213b8fc690df7e9a41c9021a9effd1afa52d6bebedcd0aa062641cc3
EBUILD bellows-homeassistant-0.7.2.ebuild 673 BLAKE2B be6ae6e53486c6ec35ddf1224622aae567915af2beafe64214e2b5fe38dfae708794f66f5cf51b1c67c36ea00f804599ec1544236e173c7099075ea0bec9a75d SHA512 67c5b2205d5e6889e340688b5ff2bfc81e4397de31a16cf88dc4d0301889d30b9d578b48213b8fc690df7e9a41c9021a9effd1afa52d6bebedcd0aa062641cc3
MISC metadata.xml 374 BLAKE2B ef9bed1725f9a06124f79befeb6f0f2d4a5108b349767a48b0354d5ec44c8a9dd82f9458c6725529bac2d6b14e91253bb5341f4515e5816ba83c05f55419c15c SHA512 c0d0f70f8a6c7afec9ff09043c7c1fd1066a6305ceef963058a846ad4456b4194185ac6bbc069fcecfcf284dba8c17f4ce9dab383e18b4fd345221c74364612b

View File

@@ -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="Library implementing EZSP"
HOMEPAGE="http://github.com/zigpy/bellows https://pypi.org/project/bellows-homeassistant/"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="GPL-3.0"
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

@@ -1,5 +1,7 @@
DIST ha-ffmpeg-1.11.tar.gz 6323 BLAKE2B 95f40aacc9c554349db9df6fed9b09018d21671ff6531e3c65a59143f8a6583fd3e17bb6788970123af78951b2fdc301e74d99492099e266ab67b9b0ac0d863e SHA512 a5e8d62a10cdd90c60a00cb56e3eada85da1ee4f783a210de27d9f324b9feb1d08ee5eff18a237121e359c1ae20eab64d7b40b24f684505960e850a919d79070
DIST ha-ffmpeg-1.9.tar.gz 6362 BLAKE2B 202073fbe02f5d6a31f9773c6abfe03c44752182e40a0b330c7191514b7c461f6ba7e19ed3f1da6b8092e2f4ce55e86219ee171b3e2e4367938a81354682917e SHA512 70e30a46a74180a82354e6ea9003cd866424bf8de07ed62fca9390014722d78b0a8bdab13e0e3f64cf4139643b8471d4c28b343796e4a08b5eee107dfeb3c5a3
DIST ha-ffmpeg-2.0.tar.gz 6999 BLAKE2B d77bb13106289ef0a5e27be147843775d26b2b8863aee8fac8fcaaf4b9e649df6b9a1e4ff544117daed9e4127cd6c958a17a81e0b65c1f08888c2918f523d1d9 SHA512 55702e4256f376ceeeb4f4e0adc49b11e2f76cfdea441bc35787692671efb1d5106f7ec22c202c7ff22cdc48b05eab6251becc61c8ef64691df17af32bafbf29
EBUILD ha-ffmpeg-1.11.ebuild 704 BLAKE2B 04b9765bfe7f4722e69919229dc55e29285367659d672543ede00234613d326263e1bf1121f45128eeb7d6d614de16b32d9498d96cc0d81719b9887804702fbc SHA512 b813f0801527c78382f6dedc6d1a116d4280c8d9181045fa42f86ee7cf7a7b7c9363637d9338554473b37e31be76f12de4cbb84a11462e1ab199f0955678d6b7
EBUILD ha-ffmpeg-1.9.ebuild 704 BLAKE2B 04b9765bfe7f4722e69919229dc55e29285367659d672543ede00234613d326263e1bf1121f45128eeb7d6d614de16b32d9498d96cc0d81719b9887804702fbc SHA512 b813f0801527c78382f6dedc6d1a116d4280c8d9181045fa42f86ee7cf7a7b7c9363637d9338554473b37e31be76f12de4cbb84a11462e1ab199f0955678d6b7
EBUILD ha-ffmpeg-2.0.ebuild 704 BLAKE2B 04b9765bfe7f4722e69919229dc55e29285367659d672543ede00234613d326263e1bf1121f45128eeb7d6d614de16b32d9498d96cc0d81719b9887804702fbc SHA512 b813f0801527c78382f6dedc6d1a116d4280c8d9181045fa42f86ee7cf7a7b7c9363637d9338554473b37e31be76f12de4cbb84a11462e1ab199f0955678d6b7
MISC metadata.xml 252 BLAKE2B 507e0ddc9d50b879ff374b903b142f85d020dfd6c486aba2af84fe082c878e780edbb79188ae10104d57db0eb775c86814cc8c06891a3854c9da840a4d377050 SHA512 9470ac9c8a5a4f80e3f767e7aa198addc7b21866c63b2a310e9f41ce65817672fb77423117bdd619e99cb62322025aeadf50717e23eafabf99080fcc106820af

View File

@@ -0,0 +1,31 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
PYTHON_COMPAT=( python3_{5,6,7} )
inherit distutils-r1
DESCRIPTION="A library that handling with ffmpeg for home-assistant"
HOMEPAGE="https://github.com/pvizeli/ha-ffmpeg https://pypi.org/project/ha-ffmpeg/"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="BSD 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
}

View File

@@ -1,7 +1,9 @@
DIST hass-nabucasa-0.10.tar.gz 15549 BLAKE2B 5a9bfc11a05ddf2a6a79a6406e7eb9206f7e3262cae20f0d3149eea71e7222969c75efe6358c76b158dbd94b9954e7afd59a984d1d68374b5476726ae83cea6a SHA512 6fdc3b1a80e3e4fd2557d2006d129aa4d880d8ccef55aac3d38b2400fe7110a61813b58985c8cb4cddf0c31ec2c8ae9399148bc4eee139f46a1ebfdc545af3ca
DIST hass-nabucasa-0.11.tar.gz 15554 BLAKE2B f99f94feac5e25aaff3840efb97003096805e6154a76cee50d196231a80ca6e07ac24087a3667e5c783260d2703cd85dcc00fedfa676646c306fe98fa52317de SHA512 cb6450fa29c6c35c5022f936a223ef73e3f0303fce11b8171a9868c2c2b852d93ccc83112660a542f65405cab10fb41507cd1465cccd5e34fe64eea8c9ac6807
DIST hass-nabucasa-0.7.tar.gz 15360 BLAKE2B b4c304ae73171d1a0ec66ef558cf91ee4aad082f0161ab62d8240c81d1f812bcab9b47eae023119a6d4e3006841709b1fed5f803048486eb0a966439eb067159 SHA512 67b21a31bec5ce715f8a56179cea45cd5791d6457a22ad6badf66b83ed5371082d453fa8710b5c11fe99aa17e2ddae782a731ed4ab9d37e985685d42d7352fd5
DIST hass-nabucasa-0.8.tar.gz 15399 BLAKE2B 722ad3ca682fca4f0c91a4ae8ee44faa10bd97488d2c8651ead3b8022166c75e1aaea3e36ccd6f93823260b3a2a157217adbfce67373ac51c93dbc25bc0fde5a SHA512 2b9cde1c09a7f29a687a63dccd464d0cefbe9733387be41a52f700ce2c059e1f9c5764ce8d0e82fa3c88c8c9a8454ce10c5a50fac2fa5c3dc5829082e8a9fa3f
EBUILD hass-nabucasa-0.10.ebuild 719 BLAKE2B 317b373a6d6dfc0e5ee033300ed61eee2f7cded85587d4495f0536ce232462251b0583b5305c98d363cd975633bb6e9cc6fbee40e8fdd18ba839f735003e30ae SHA512 b289b347b73cebf03ca6a2a2c2aab14a97cd74c2144c5d1541d21dc7c104a3ebf9732c05be83951a275d6562c2fab32238528336789c572d29fd0ad1b498cfef
EBUILD hass-nabucasa-0.11.ebuild 719 BLAKE2B 317b373a6d6dfc0e5ee033300ed61eee2f7cded85587d4495f0536ce232462251b0583b5305c98d363cd975633bb6e9cc6fbee40e8fdd18ba839f735003e30ae SHA512 b289b347b73cebf03ca6a2a2c2aab14a97cd74c2144c5d1541d21dc7c104a3ebf9732c05be83951a275d6562c2fab32238528336789c572d29fd0ad1b498cfef
EBUILD hass-nabucasa-0.7.ebuild 719 BLAKE2B 317b373a6d6dfc0e5ee033300ed61eee2f7cded85587d4495f0536ce232462251b0583b5305c98d363cd975633bb6e9cc6fbee40e8fdd18ba839f735003e30ae SHA512 b289b347b73cebf03ca6a2a2c2aab14a97cd74c2144c5d1541d21dc7c104a3ebf9732c05be83951a275d6562c2fab32238528336789c572d29fd0ad1b498cfef
EBUILD hass-nabucasa-0.8.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

@@ -1,3 +1,5 @@
DIST homeassistant_pyozw-0.1.2.zip 147475 BLAKE2B 303833a1a5022f2e1cca4576db0bc711b61216d0ab586dcf23f2969692cc4c52ce8fab0af104b8bce781ca997bd9039f89ce77d87bc027bfa7580ff0856dc7fe SHA512 63cd362c3c775837b81e92a9d075e88f13a9ba9d2fe817873731690eade41547b3bf0e82020b7784f9470aa9ebc03fbd8f661308e94481392d9d72a9d154c503
DIST homeassistant_pyozw-0.1.3.zip 147474 BLAKE2B 0bf33dee81391d1d6407e2d230698458f0b2d21d0a5af8e8b2932ade62b924e9764cb506f4e5337052f9a9eb886c4a2aff5604592fa23f33b72e5da0e09f5a48 SHA512 5cea798a36377a3eaf76b40294d786679392ebecd3dea2a813fb7cd32ee488f8e252b46fcade58299d6ccde8b0459b8e6ecab774d42eb27cd3d2fa9f6e239d14
EBUILD homeassistant-pyozw-0.1.2.ebuild 774 BLAKE2B a9d2489f36a361af28fa017b332b92703219ef1494ece1b9e28ffbaa245fa1719fb41cfbd61b39d7f18a8a7d520543d0a7ae0861ddfa5ea571010033a0992d0e SHA512 35bd22a5b4250ff7880e7ff78bc700656f4408ee36d1f68a45a4076e143c59801562fd8b2968527c68c9f9bc2deec917b141118bf6f7bbe7048f8af79bae5a92
EBUILD homeassistant-pyozw-0.1.3.ebuild 774 BLAKE2B a9d2489f36a361af28fa017b332b92703219ef1494ece1b9e28ffbaa245fa1719fb41cfbd61b39d7f18a8a7d520543d0a7ae0861ddfa5ea571010033a0992d0e SHA512 35bd22a5b4250ff7880e7ff78bc700656f4408ee36d1f68a45a4076e143c59801562fd8b2968527c68c9f9bc2deec917b141118bf6f7bbe7048f8af79bae5a92
MISC metadata.xml 252 BLAKE2B 507e0ddc9d50b879ff374b903b142f85d020dfd6c486aba2af84fe082c878e780edbb79188ae10104d57db0eb775c86814cc8c06891a3854c9da840a4d377050 SHA512 9470ac9c8a5a4f80e3f767e7aa198addc7b21866c63b2a310e9f41ce65817672fb77423117bdd619e99cb62322025aeadf50717e23eafabf99080fcc106820af

View File

@@ -0,0 +1,33 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python3_{6,7} )
inherit distutils-r1
MY_P=${PN/-/_}-${PV}
DESCRIPTION="python_openzwave is a python wrapper for the openzwave c++ library."
HOMEPAGE="https://home-assistant.io/ https://pypi.org/project/homeassistant-pyozw/"
#SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${MY_P}.zip"
LICENSE="GPLv3+"
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,3 @@
DIST protobuf-3.7.0.tar.gz 4784675 BLAKE2B cb65f3384c7b0f015ab48081764ee9e01ad4bcffdb4903025774d95626f804fb9f72532371cc090de2b2e86c4bb0eb8f618d1cf8ff4d9c54d281c45a43b1cd8b SHA512 c570ece1d42706982dd87f601af6b3dd1d788d1b150b543190d10d2f070c67f0d006726ec4eafd3b9234a679e7ef77ac9d97749414f53f619287a1f23a0b739c
EBUILD protobuf-python-3.7.0.ebuild 1255 BLAKE2B 4a258f7a8e674a56572525d8bbc3df360318c5b347cc0a8cfc7e192751f9ce2cbfe541060a956a02d48657e59eb8f65360bbdb2184ac673f67bf2c56c61562f5 SHA512 6de00197cc7e097365958d54e2a3775083fc931a5d2a32346e600e78fa178f6e7755dafb00c376d5f5dd3dc9bd559de97b39817b82368b87b719380ac2ebbd61
MISC metadata.xml 656 BLAKE2B e63db63e247b105b51b506a404d8edc821cc0ccc276a3f813df3b06951184218e736e57b577ad2f64880250c55ef09c50a9fe04428f7cec02fb04293c337175a SHA512 5d747585e025672d423690fa2d8df09380a1714c2e0adad5838a41f099e3984b70c7f80c5873ea296101898cd92dea70edee964bf01b9d86acb9a1d0140169fd

View File

@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>arfrever.fta@gmail.com</email>
<name>Arfrever Frehtes Taifersar Arahesis</name>
</maintainer>
<maintainer type="project">
<email>proxy-maint@gentoo.org</email>
<name>Proxy Maintainers</name>
</maintainer>
<maintainer type="project">
<email>python@gentoo.org</email>
<name>Python</name>
</maintainer>
<slots>
<subslots>Soname version number of Protobuf</subslots>
</slots>
<upstream>
<remote-id type="github">protocolbuffers/protobuf</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1,49 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="6"
PYTHON_COMPAT=(python{2_7,3_4,3_5,3_6,3_7})
inherit distutils-r1
DESCRIPTION="Google's Protocol Buffers - Python bindings"
HOMEPAGE="https://developers.google.com/protocol-buffers/ https://github.com/protocolbuffers/protobuf"
SRC_URI="https://github.com/protocolbuffers/protobuf/archive/v${PV}.tar.gz -> protobuf-${PV}.tar.gz"
LICENSE="BSD"
SLOT="0/17"
KEYWORDS="alpha amd64 arm ~arm64 ~hppa ia64 ~mips ppc ppc64 ~sh ~sparc x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
IUSE=""
DEPEND="${PYTHON_DEPS}
~dev-libs/protobuf-${PV}
dev-python/namespace-google[${PYTHON_USEDEP}]
dev-python/setuptools[${PYTHON_USEDEP}]
dev-python/six[${PYTHON_USEDEP}]"
RDEPEND="${DEPEND}
!<dev-libs/protobuf-3[python(-)]"
S="${WORKDIR}/protobuf-${PV}/python"
python_prepare_all() {
distutils-r1_python_prepare_all
}
python_configure_all() {
mydistutilsargs=(--cpp_implementation)
}
python_compile() {
python_is_python3 || local -x CXXFLAGS="${CXXFLAGS} -fno-strict-aliasing"
distutils-r1_python_compile
}
python_test() {
esetup.py test
}
python_install_all() {
distutils-r1_python_install_all
find "${D}" -name "*.pth" -delete || die
}

View File

@@ -1,3 +1,5 @@
DIST pylinky-0.3.0.tar.gz 4364 BLAKE2B fd4c5a64a603ee13090c73413710847e6e05f44ac2042837ab9149b70c8bb776949c45582253effcc5915047035c79c86c9d166e8ab61c109a2c39dab8ed8773 SHA512 8b0b6fe2acf18458febdf6265b017198924c383c8cbb64e60b1eaf84d1c278789ed749d4c0cdc2ca8bab26d49c7bd43c458f0abe225e7724e89887d9c4b3224d
DIST pylinky-0.3.3.tar.gz 4836 BLAKE2B 891c2828dba4c99dbb515b0f1f274fd242bc5da5a33d4b9ba57aec8881b85a180da2e91e7c6a7af4e60c25cfc8aebe7a2ba75843b3293d9bc3000e1b95561d73 SHA512 00e4f0028d6d8be95445c07913c8e8650cf2de007e3ce0e1c60385ecc9359db1ccc78e36435e98eba2e6615b07fc0fa9b169cf1e5fd4df8c8d82f7c10d491123
EBUILD pylinky-0.3.0.ebuild 707 BLAKE2B b8bd28617d26bcd8a114b019f82c99a566c09fe135ccf5aa8b952b17d2eea60fbf4d9b8e145ec9714cddd4303b9c854dc5bcef854f7b80bab5cdcf9df4e419a0 SHA512 e22516a3f00d1c9405a7f4b064e491849703126c5d925815043588e513a7f1e4c6413c3b10f79418e187e3e9c57b72e75278d6b6311981d8bdf7fee309744a76
EBUILD pylinky-0.3.3.ebuild 707 BLAKE2B b8bd28617d26bcd8a114b019f82c99a566c09fe135ccf5aa8b952b17d2eea60fbf4d9b8e145ec9714cddd4303b9c854dc5bcef854f7b80bab5cdcf9df4e419a0 SHA512 e22516a3f00d1c9405a7f4b064e491849703126c5d925815043588e513a7f1e4c6413c3b10f79418e187e3e9c57b72e75278d6b6311981d8bdf7fee309744a76
MISC metadata.xml 364 BLAKE2B 46963b0a40101a79d02a9a8286f93669ff53c654eab6b2a79905cf1fa92f45ae9b01195fa30894494ad164c3b6fa0b8b10b0841bb4e436869cb806aef0a80c1d SHA512 1ad3327cda4a7fecf9c31c1e4ead274f5207b3eb2f769bbb01a779a328cda088cf0c4e785856b32a288d5c6b2480daffa4fd34b9b2995fd31288c9f53710efea

View File

@@ -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="Get your consumption data from your Enedis account (www.enedis.fr)"
HOMEPAGE="https://github.com/Pirionfr/pyLinky https://pypi.org/project/pylinky/"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="Apache 2.0"
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,3 @@
DIST PyYAML-5.1.tar.gz 274244 BLAKE2B ea8cc4b56b9fc70bc7b01f8c654ceb8b73c82dcc936c939cba3c3654df04fe32fc46c7df322a38869d28ad5a58f6134b35cbe43924df3b4d5f3e54e33700dc73 SHA512 8f27f92bdfa310a99dd6d83947332cc033fa18f0011998bb585ad5c4340a2da20d8c20bfdb53beaae15651198d1240c986818379b0a05b230f74d1f30f53e7fd
EBUILD pyyaml-5.1.ebuild 1089 BLAKE2B d900f24c166c37f081dada722466b3e706277695910e8295b6ec21f56059571135dc39eb2ba7a09677efb753d83dfba77448055bb13d18ecca58f9698c7950d1 SHA512 8c20f13caff7cf5ed57165b8ca62e23a5225272e296422578ac031f7e6a175c2e3cd1bd37794b0085272fb433724c3b2953a18b2a273464d43f41c60d3b43474
MISC metadata.xml 345 BLAKE2B 8c26b8b05b08ed9abab5ed2cb36552dc9af33ee2b30cf3ebe551576d7ad44908b3dff195cd7f1a3f5af9323d17eadee407e42bfeb99150be2a0ac4b48653c1eb SHA512 1fdee5219c989b3edf11bdb63264c6ca6bd54fb1f44907bf20ce7ee6b1968c9c6f2c94363698be87d92eb6cd07a034acca7dbcffaeac40d2add8d57a240772da

View File

@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>python@gentoo.org</email>
<name>Python</name>
</maintainer>
<use>
<flag name="libyaml">enable support for C implementation using libyaml</flag>
</use>
</pkgmetadata>

View File

@@ -0,0 +1,42 @@
# Copyright 1999-2019 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 )
inherit distutils-r1
MY_PN="PyYAML"
MY_P="PyYAML-${PV}"
DESCRIPTION="YAML parser and emitter for Python"
HOMEPAGE="https://pyyaml.org/wiki/PyYAML https://pypi.org/project/PyYAML/"
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
IUSE="examples libyaml"
RDEPEND="libyaml? ( dev-libs/libyaml )"
DEPEND="${RDEPEND}
libyaml? ( $(python_gen_cond_dep 'dev-python/cython[${PYTHON_USEDEP}]' python2_7 'python3*') )"
S="${WORKDIR}/${MY_P}"
python_configure_all() {
mydistutilsargs=( $(use_with libyaml) )
}
python_test() {
esetup.py test
}
python_install_all() {
distutils-r1_python_install_all
if use examples; then
dodoc -r examples
docompress -x /usr/share/doc/${PF}
fi
}

View File

@@ -2,8 +2,10 @@ DIST SQLAlchemy-1.2.15.tar.gz 5645275 BLAKE2B 97f90c8653eaaa68900ab056dc14ff88b8
DIST SQLAlchemy-1.2.16.tar.gz 5659983 BLAKE2B 8b59f4ad639ade5008e7c9a8a1f767e93721fd5a0613ec0c8cc8a28c0b7f9f7004086b5791de57ad42afe931ac35e10d3794e8f88d5582a555667999b02acbc9 SHA512 b80a6111a34495127ffe4dd0cb8ddc087b355c6fd891df5f829f6b1de3119dee5c6b181bc8dde9089c9a48a9e9ecbac52354bc2314989489f7a1e854fcbb535c
DIST SQLAlchemy-1.2.17.tar.gz 5670715 BLAKE2B 77fac5ba4f8c30effa9b83e9032cb1c32897b114a965da4280a8d8c668c3251f0be6936d36b9beab5473498c59d683aab4d92b0b70faefdf6cd53b6e58a21af9 SHA512 87c97a8e5cc79e0b0f76820ee88fb72f001b8a707da4a3f52fe334e43d5d9f182d0d638df04d5e92e7587603232071180cc1b29a97788f9d9c57bf14c7af3bd6
DIST SQLAlchemy-1.2.18.tar.gz 5675143 BLAKE2B 2e0a54d16b64801cb60b619c39dfba64d3b1705ac43a89f6a3873c9fd1bb9af02d38d1026f309eb3d33ad20265da8b3731d7d7092bec8fa035e4d696d74f1d5f SHA512 a3074e0f7b9a307937f02ad030811413f3c92b7edcc4f1c6eda7c94c1178708f8c920840385a9b33c7952e224fe46dc73223aee00123e863abf6d1d446aebdb2
DIST SQLAlchemy-1.3.0.tar.gz 5862243 BLAKE2B f497f51f1bed6537ec0d96421a1fe678847b2d9b6f240e08dc9642456e346e7e6c553f4c82df1d0f1f2ec30ec6fbcfad9355c78252835d53aa0f42040f230120 SHA512 031c912dc8830bab70ebb48b253d47ef949818a9a49f9b8d38a2daed21dd27b295182641158578c4a1bfe4bf065968824430b4f4bf949ffdacb12bb99dae9119
EBUILD sqlalchemy-1.2.15.ebuild 1735 BLAKE2B e2f7fb8d56489639a4af2183b88fe09c552a8ee8d9b893a5abf025ce442c3401e2745899b50f4ef177f4944fbee7ae1649f85b665bb4af67225332663189b3da SHA512 0d2d96e67b6be26cf3a335adb4934360960548f8afc224528833e229495e6f6bc5782908e8bf1b5888b39a9ea8d05e73c54c04b13907a6692bf639a8adc24a7d
EBUILD sqlalchemy-1.2.16.ebuild 1755 BLAKE2B c1f7673f7ba2469418c2e5914a9090dc4648bed31a7619bad764daa22790c1aee2d2cdda583a77891bd8b2959bfce5ccf86196c5c55c181c5c0786ba3608d382 SHA512 52402ac3da19b2a394bf753677ee919de0263266214eefc5f4073182a87e713a612a53a8765a0ce89a7fd812ee08dd863b0a9dd09fd6fcdb1e2e3d5a94d444ba
EBUILD sqlalchemy-1.2.17.ebuild 1755 BLAKE2B c1f7673f7ba2469418c2e5914a9090dc4648bed31a7619bad764daa22790c1aee2d2cdda583a77891bd8b2959bfce5ccf86196c5c55c181c5c0786ba3608d382 SHA512 52402ac3da19b2a394bf753677ee919de0263266214eefc5f4073182a87e713a612a53a8765a0ce89a7fd812ee08dd863b0a9dd09fd6fcdb1e2e3d5a94d444ba
EBUILD sqlalchemy-1.2.18.ebuild 1755 BLAKE2B c1f7673f7ba2469418c2e5914a9090dc4648bed31a7619bad764daa22790c1aee2d2cdda583a77891bd8b2959bfce5ccf86196c5c55c181c5c0786ba3608d382 SHA512 52402ac3da19b2a394bf753677ee919de0263266214eefc5f4073182a87e713a612a53a8765a0ce89a7fd812ee08dd863b0a9dd09fd6fcdb1e2e3d5a94d444ba
EBUILD sqlalchemy-1.3.0.ebuild 1755 BLAKE2B c1f7673f7ba2469418c2e5914a9090dc4648bed31a7619bad764daa22790c1aee2d2cdda583a77891bd8b2959bfce5ccf86196c5c55c181c5c0786ba3608d382 SHA512 52402ac3da19b2a394bf753677ee919de0263266214eefc5f4073182a87e713a612a53a8765a0ce89a7fd812ee08dd863b0a9dd09fd6fcdb1e2e3d5a94d444ba
MISC metadata.xml 252 BLAKE2B 507e0ddc9d50b879ff374b903b142f85d020dfd6c486aba2af84fe082c878e780edbb79188ae10104d57db0eb775c86814cc8c06891a3854c9da840a4d377050 SHA512 9470ac9c8a5a4f80e3f767e7aa198addc7b21866c63b2a310e9f41ce65817672fb77423117bdd619e99cb62322025aeadf50717e23eafabf99080fcc106820af

View File

@@ -0,0 +1,67 @@
# Copyright 1999-2019 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{,3} )
PYTHON_REQ_USE="sqlite?"
inherit distutils-r1 eutils flag-o-matic
MY_PN="SQLAlchemy"
MY_P="${MY_PN}-${PV/_beta/b}"
DESCRIPTION="Python SQL toolkit and Object Relational Mapper"
HOMEPAGE="https://www.sqlalchemy.org/ https://pypi.org/project/SQLAlchemy/"
SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris"
IUSE="doc examples +sqlite test"
REQUIRED_USE="test? ( sqlite )"
RDEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]"
DEPEND="
${RDEPEND}
test? (
<dev-python/pluggy-0.7s[${PYTHON_USEDEP}]
dev-python/pytest[${PYTHON_USEDEP}]
$(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' python2_7 pypy)
)"
S="${WORKDIR}/${MY_P}"
python_prepare_all() {
# Disable tests hardcoding function call counts specific to Python versions.
rm -r test/aaa_profiling || die
distutils-r1_python_prepare_all
}
python_compile() {
if ! python_is_python3; then
local CFLAGS=${CFLAGS}
append-cflags -fno-strict-aliasing
fi
distutils-r1_python_compile
}
python_test() {
pytest -vv test || die "Testsuite failed under ${EPYTHON}"
}
python_install_all() {
use doc && HTML_DOCS=( doc/. )
use examples && dodoc -r examples
distutils-r1_python_install_all
}
pkg_postinst() {
optfeature "MySQL support" dev-python/mysql-python dev-python/mysql-connector-python
optfeature "mssql support" dev-python/pymssql
optfeature "postgresql support" dev-python/psycopg:2
}

View File

@@ -1,5 +1,7 @@
DIST typing-3.5.3.0.tar.gz 60350 BLAKE2B 56b59ce3e38f0d17aed88b3e47c89383798c5d7f781c65d8f7a960ae11c16c30837254b1b1f198116ea9bc748b93faf672844661b0c811b07961c3e814811228 SHA512 e1930de61cbb0b49ebeec49b87ce3a60752ed062ebf44ff2c5becf2e19a22726d08607ce6723b5b4e633190d8a9686176d44f7672c44bd246acb8e367c5d3c37
DIST typing-3.6.4.tar.gz 71347 BLAKE2B dd49919595698347ce4b1004abd075409296acf11e10dd6ae0697d2bf94dc9d1cebedb2afe454be95eddb80fd0a60aebe14ddadc8df8de86545dd2ea05986c57 SHA512 f595e0fc395ba13a129ae45681faca7b199fd5c23e8f1573f49e2a6f162b7f2aef680306e76cbf50b978de9f047c674323219981e89c476474295bb8c02211ce
DIST typing-3.6.6.tar.gz 71799 BLAKE2B d2dccb031b0489acce32fcff7061dc5b12b8fe5890041a47e41b8f109596a125e66619f099dff1cc73852771b0acf3e48637d70aeb9f4274500b6b61ff807c79 SHA512 9baa331a2093276b571f26a21ab6419e85138574109471141eb88ccddb6c30adb6fbda35f11aeb1231adc334191c426c242494b17d593a2b279f09dea1b1f0ca
EBUILD typing-3.5.3.0.ebuild 623 BLAKE2B ed970ba343288db7a3b4f6725faf4b861bb482c784076582c1331e943e0690f5614a7e1c6a1f2cdab21224b8fcbea0a1caba68c0ae2bcd6a621323d972c26f5c SHA512 e9c5385d56a05de044e7593345b97697dd529b443364a22f533f1c98190b5636078d65f8e0c012c69a8e22e78930478c46280660ed2619d1a2802a18b1b178f3
EBUILD typing-3.6.4-r1.ebuild 770 BLAKE2B 2a8944a66f0cd81283dc1d36eae3022ffe117d1818ac80f0bd72ef250bb9e1cf57920f97b6382c75b47fa70cb6486deeefc3f4cc2fc814953bcd97dd94d3c60c SHA512 a2306ef1bc1b36c823131dd1c2b47b72e0ccb44b3d3bb884bc165c673f2dd1fb090c61243f612f59eab3816c06b75e5b06264b784dc5a2cbfd5529b4ff451873
EBUILD typing-3.6.6.ebuild 770 BLAKE2B 2a8944a66f0cd81283dc1d36eae3022ffe117d1818ac80f0bd72ef250bb9e1cf57920f97b6382c75b47fa70cb6486deeefc3f4cc2fc814953bcd97dd94d3c60c SHA512 a2306ef1bc1b36c823131dd1c2b47b72e0ccb44b3d3bb884bc165c673f2dd1fb090c61243f612f59eab3816c06b75e5b06264b784dc5a2cbfd5529b4ff451873
MISC metadata.xml 252 BLAKE2B 507e0ddc9d50b879ff374b903b142f85d020dfd6c486aba2af84fe082c878e780edbb79188ae10104d57db0eb775c86814cc8c06891a3854c9da840a4d377050 SHA512 9470ac9c8a5a4f80e3f767e7aa198addc7b21866c63b2a310e9f41ce65817672fb77423117bdd619e99cb62322025aeadf50717e23eafabf99080fcc106820af

View File

@@ -0,0 +1,30 @@
# Copyright 1999-2019 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python{2_7,3_{5,6,7}} )
inherit distutils-r1
DESCRIPTION="Type Hints for Python"
HOMEPAGE="https://docs.python.org/3/library/typing.html https://pypi.org/project/typing/"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="PSF-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-fbsd ~x64-solaris"
IUSE=""
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
RDEPEND=""
python_test() {
if [[ ${EPYTHON} == python2* || ${EPYTHON} == pypy ]]; then
cd "${S}"/python2 || die
else
cd "${S}"/src || die
fi
"${PYTHON}" test_typing.py || die "tests failed under ${EPYTHON}"
}

View File

@@ -1,3 +1,5 @@
DIST tzlocal-1.4.tar.gz 15279 BLAKE2B 2d1814c2a4fd2ed5b4b345c94e1cad05c850ab02764fc76e33940aa5f2c4c593c376e9252ca9524a0fc5732b201c222e7d4c1374c2842de6686e277dd537468f SHA512 e846f00cb0571da0c891ca8576d614ebfed622431201c713ef38a80fc990fa19298873bad74e5020648ec4b8307ce8362412e0e05d260121e9d70691814a321b
DIST tzlocal-1.5.1.tar.gz 16809 BLAKE2B e2d73cc7a47623deb179af92b590dd558beed214ea9f203012c0947e848ac7a3abc27a5f00dec666eedfbe5909f1c3ab3521267bf9d417d7e734744693df7742 SHA512 9141e3941435fa16afe040f49b8225cdc3434e10003275fe5df9166cb9562764a51c83bc16b6d5be197feb45c913859a37393e13285f0e612510ce076a6451d9
EBUILD tzlocal-1.4.ebuild 573 BLAKE2B f498a29e56c094a32194af2e5ad9ae5f970dba69b522b34d9be17b60ac66099bbb83a4c959260548e2837063e4d652aa73b3f6495c35016f9b20a8e74834b96f SHA512 c1759bbef8505e48cf00ef41b183652bb7606832f3bedc07055d166d8a1560cf9eb91d13d6f6553d44e973bff838b0e4c1730b3bb936e3e7a79dd20947c3c4f2
EBUILD tzlocal-1.5.1.ebuild 573 BLAKE2B f498a29e56c094a32194af2e5ad9ae5f970dba69b522b34d9be17b60ac66099bbb83a4c959260548e2837063e4d652aa73b3f6495c35016f9b20a8e74834b96f SHA512 c1759bbef8505e48cf00ef41b183652bb7606832f3bedc07055d166d8a1560cf9eb91d13d6f6553d44e973bff838b0e4c1730b3bb936e3e7a79dd20947c3c4f2
MISC metadata.xml 377 BLAKE2B c85be3067a235a5d7546bcf7c3eb05857986a371bca6743e222e9016ab6d6d5a212f3f65d7e9db523ef9ddb8091b62c1cfbd2d5c5d6d8560fcf881aaa3ffad80 SHA512 3ada56c5037a2a59fb53408483f03bc3ae72c9d7f676dd046125b035b34d4195e653662b67529453d63556dedda4471a9c77daaa1137af1245e49174fef1fd87

View File

@@ -0,0 +1,25 @@
# Copyright 1999-2019 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python{2_7,3_{5,6,7}} )
inherit distutils-r1
DESCRIPTION="tzinfo object for the local timezone"
HOMEPAGE="https://github.com/regebro/tzlocal"
SRC_URI="mirror://pypi/t/${PN}/${P}.tar.gz"
LICENSE="CC0-1.0"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
RDPEND="dev-python/pytz[${PYTHON_USEDEP}]"
python_test() {
unset TZ
"${PYTHON}" -m unittest discover || die "Testing failed with ${EPYTHON}"
}

View File

@@ -1,5 +1,7 @@
DIST zigpy-deconz-0.1.1.tar.gz 7643 BLAKE2B 2728fc03a22d84e6dc5a76d63d161f3475d5b282d0e1bf74787bc8c6548b6c7eedfb6a279ba917a9eb32543aa075290c616c0108b21efda3ac3ced0622453e40 SHA512 6c4a45f3664be5dac10791c60c622a437f0faadd1a4dcaf820300fce375b9e2cadedad1d76b44b204d194c9825560fcb575bb42835fbd74536e35dbb84fcf568
DIST zigpy-deconz-0.1.2.tar.gz 7666 BLAKE2B efed0ef2b3a65623dec96b1e646c34ee20eafff1dac4012e19bfb94a7fe9e68de976fed0ec39885e9dca7db8ce29b19b77e82f8a88a37bd049daa68fedec53c5 SHA512 bd72da2cf209dd6cf92abed7ea8ea35ec910f76d1d35c628bfe23d90490c92a091008778191ead57c71ef644afeb99660abc3ab935969fa578f6181fc730646b
DIST zigpy-deconz-0.1.3.tar.gz 7691 BLAKE2B 309756598d7c5ab5ce40d92499d04374825cb30ec2510304a0f3e0e7210c410c40ef78409305eb99fca932dd4ca3a91fe15e9579f40b45e0337d30ae7f469b40 SHA512 8b577983865964d525289861be6e9acb338f03c8f0fab11f9ba892f3439d9ff1cdb4d012661caf7dca5d3e18787137bfea50bcb8e6eb6f65d0c050edec784d8c
EBUILD zigpy-deconz-0.1.1.ebuild 699 BLAKE2B 76aab72e533f650fd2bde3050c767211760f616afd0403e35e4b08fd000d95c8adec68949cd0cc95f9d97bf9823946a2fd2b475788f82ddb422483ba00bda373 SHA512 b01ba1b2d29ed0c174fe434a802806d39bc9b5226b634946dd77b4f81e2552530e8e0a503be9275ab18d88a424bf9b45d95658c1c76235f440e43894065a69bc
EBUILD zigpy-deconz-0.1.2.ebuild 737 BLAKE2B a7876b4eef7e0e0eb12d09f019bdb16055f25d4f5e4ae176bdc7318aa6ab3bc9f63b1d9a3441589faa1bc0a372299be4d647ce3aae4d53609be9f70e6ec71b78 SHA512 cc994023dc3fc0b4ac70cfa00690e421eed67855b4ec065936b96b7d24a64ab30b50172f6d81ac2b340789612d23cfd2838357c3fdaf754ab6b6dc914ed34452
EBUILD zigpy-deconz-0.1.3.ebuild 737 BLAKE2B a7876b4eef7e0e0eb12d09f019bdb16055f25d4f5e4ae176bdc7318aa6ab3bc9f63b1d9a3441589faa1bc0a372299be4d647ce3aae4d53609be9f70e6ec71b78 SHA512 cc994023dc3fc0b4ac70cfa00690e421eed67855b4ec065936b96b7d24a64ab30b50172f6d81ac2b340789612d23cfd2838357c3fdaf754ab6b6dc914ed34452
MISC metadata.xml 462 BLAKE2B 2c1c0347d044bfdeeca5c6c48ddd3ce8d746a26c9f24e4aa28f9dfe238c292c871151cefa8b8580a68d582acfda6f10ea1bc4f3ec2154dcee33ee7ed2eb1ea6a SHA512 6c371b11f9d2058cba38610d86b0ad058b05169331e291930a3f31c17585fe8638367db75a0d83ff7f5b3506a3d45aedecc3279f87f7b930175df0e36835de3d

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="A library which communicates with Deconz radios for zigpy"
HOMEPAGE="https://github.com/zigpy/zigpy-deconz https://pypi.org/project/zigpy-deconz/"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="GPL-3.0"
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

@@ -1,3 +1,5 @@
DIST zigpy-xbee-homeassistant-0.1.2.tar.gz 8687 BLAKE2B 86829d4a9b4d75420054402abf6c7d285db2e724cb959834e9bc68d692ee48c09c90dde4acdc30909ba24ca097979adcf9ff91d2f52d9ae30e6e4de2027a7d7c SHA512 b6f6dc84e0c71492f767530e6b9135107097cbedfb06d85b89390a58df58764acf3deff64a10a2d55a58cc648cff3a23409e4b94e5be696480ffa25ddb2f9573
DIST zigpy-xbee-homeassistant-0.1.3.tar.gz 9081 BLAKE2B 32959fc493ed0b685d1e11bd6712d35e3248a17cd8326c9251db18556088edcc44034057d6d12e0ce592a723807a7e670edbff5f37c3762221dd607c92c3b8bb SHA512 0661f4eba534dc0af7f8425683e95276be8e314aba64c205a24da7fe5468358862f3c54f7b99df3cc305187e54f59c09eba16b3e21679eee2f95326b620ec6b6
EBUILD zigpy-xbee-homeassistant-0.1.2.ebuild 707 BLAKE2B b19aae13dad2d3a175f74d26d9113dfd7f8101d4ce396a98a5b504fc19fa5a52c168c94f2cb894344e20ab8e0c0209be9e2976a7c247b667881e8449709a7863 SHA512 c82748b7d20dbeee56192b42c91cdaad68dccbffff870d5a8a0aa43ee9d8835e3860cdf578b85704ffb25eacbac14e9d4a9078a663979d7474383c27ae2f2390
EBUILD zigpy-xbee-homeassistant-0.1.3.ebuild 707 BLAKE2B b19aae13dad2d3a175f74d26d9113dfd7f8101d4ce396a98a5b504fc19fa5a52c168c94f2cb894344e20ab8e0c0209be9e2976a7c247b667881e8449709a7863 SHA512 c82748b7d20dbeee56192b42c91cdaad68dccbffff870d5a8a0aa43ee9d8835e3860cdf578b85704ffb25eacbac14e9d4a9078a663979d7474383c27ae2f2390
MISC metadata.xml 377 BLAKE2B b2682469584993755768f6fb79076674fe9a475565a300579ae4a23154dabfcbc91c288d28105ff76a45b96b9bcf28042c392d4d15f5940d855aa4a7d99ce478 SHA512 d0ae9c9f994322d6a28313e9aaa522f86fe211cebce1cfb299cee04436835a30abb66a5a01a23add65b56c365674311641f7ee6584e24ea4ef6e192b53d2060e

View File

@@ -0,0 +1,30 @@
# Copyright 1999-2019 Gentoo Authors
# 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 which communicates with XBee radios for zigpy"
HOMEPAGE="https://github.com/zigpy/zigpy-xbee https://pypi.org/project/zigpy-xbee-homeassistant/"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="GPL-3.0"
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,3 @@
DIST tornado-5.1.1.tar.gz 516819 BLAKE2B d0c20d34be67f8f3cb146a3107995efacb20c713e8920b5204a969ef1fa378ab0e108c83db61c065bcd232aba61e4625994b263db7394f6c07f483d2c6dbeae4 SHA512 f9ecedb20c055981f482c9a2a8bb30082dcc479674f75f6c8654afcf40f2ce5a45e82c7e2b5a6ce5d1c9da7896e865e78c7d29a64b6b1d28d6e74a718be62dc7
EBUILD tornado-5.1.1.ebuild 1614 BLAKE2B b53658c6e6e1ff32c3e24ffcec98fc10f77f9fd13f6715cfd16e9335884bca70ce78fa072ae8b040cfd9e1f8d9b64fee8e91720bce67289cae743cdfb5e4df30 SHA512 f4cdb0adcbb69e364e9dee6baccad15ff19cae62233293cf82706b15fe5ee35b94dc62abfa5447a76658d84e768e7f60840ede1b1ccd989a8deb3b18ef3dd821
MISC metadata.xml 380 BLAKE2B 16a28ca707ba911df09dfad39b269bd888734c1f5e54fdc57d84f62b541e284f248137a01c13055f5e9fa1e1da0a2c9e1382006119cc11ec19302516262b7dc1 SHA512 e790429d61042b60a9011710e96df0044c64cc5ac941ab6268386138d3a66e46d40ed1098ec8bc164d9f4341040946ec7231e8f28dda11790ecc482b06978771

View File

@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>python@gentoo.org</email>
<name>Python</name>
</maintainer>
<upstream>
<remote-id type="pypi">tornado</remote-id>
<remote-id type="github">tornadoweb/tornado</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1,62 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python2_7 python3_{4,5,6,7} )
PYTHON_REQ_USE="threads(+)"
inherit distutils-r1
DESCRIPTION="Python web framework and asynchronous networking library"
HOMEPAGE="http://www.tornadoweb.org/"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~amd64-linux ~x86-linux"
IUSE="doc examples test"
CDEPEND="
$(python_gen_cond_dep 'dev-python/futures[${PYTHON_USEDEP}]' 'python2_7')
>=dev-python/pycurl-7.19.3.1[${PYTHON_USEDEP}]
>=dev-python/twisted-16.0.0[${PYTHON_USEDEP}]
virtual/python-backports_abc[${PYTHON_USEDEP}]
virtual/python-futures[${PYTHON_USEDEP}]
virtual/python-singledispatch[${PYTHON_USEDEP}]
"
DEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
doc? (
dev-python/sphinx[${PYTHON_USEDEP}]
dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}]
)
test? (
${CDEPEND}
dev-python/mock[${PYTHON_USEDEP}]
)
"
RDEPEND="${CDEPEND}"
# doc without intersphinx does not build (asyncio error)
#PATCHES=(
# "${FILESDIR}"/4.5.1-drop-intersphinx.patch
#)
python_compile_all() {
use doc && emake -C docs sphinx
}
python_test() {
"${PYTHON}" -m tornado.test.runtests || die "tests failed under ${EPYTHON}"
}
python_install_all() {
use doc && local HTML_DOCS=( docs/build/html/. )
if use examples; then
insinto /usr/share/doc/${PF}/examples
doins -r demos/.
docompress -x /usr/share/doc/${PF}/examples
fi
distutils-r1_python_install_all
}