add tzlocal-1.4 for esphomeyaml

This commit is contained in:
Andreas Billmeier 2019-01-12 20:12:33 +01:00
parent e10a212329
commit 5c335a4a39
3 changed files with 40 additions and 0 deletions

View File

@ -0,0 +1,3 @@
DIST tzlocal-1.4.tar.gz 15279 BLAKE2B 2d1814c2a4fd2ed5b4b345c94e1cad05c850ab02764fc76e33940aa5f2c4c593c376e9252ca9524a0fc5732b201c222e7d4c1374c2842de6686e277dd537468f SHA512 e846f00cb0571da0c891ca8576d614ebfed622431201c713ef38a80fc990fa19298873bad74e5020648ec4b8307ce8362412e0e05d260121e9d70691814a321b
EBUILD tzlocal-1.4.ebuild 575 BLAKE2B 736e515d5c640638f1dabaf7eedca7c2695ed4251b2e0b8008e2009064c0b477b654686c6045041c05f0e34456dd70c02a661ced6393f30a0c1c1f1a94bf675b SHA512 ef19fb06419aacb21af45de7314cd6253e1f0a20477afbe6bd4b14edd7e5729746f0b137ff2c79e214fa025c4e53b555f61cdba032389e286285f557c1bce585
MISC metadata.xml 377 BLAKE2B c85be3067a235a5d7546bcf7c3eb05857986a371bca6743e222e9016ab6d6d5a212f3f65d7e9db523ef9ddb8091b62c1cfbd2d5c5d6d8560fcf881aaa3ffad80 SHA512 3ada56c5037a2a59fb53408483f03bc3ae72c9d7f676dd046125b035b34d4195e653662b67529453d63556dedda4471a9c77daaa1137af1245e49174fef1fd87

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">tzlocal</remote-id>
<remote-id type="github">regebro/tzlocal</remote-id>
</upstream>
</pkgmetadata>

View File

@ -0,0 +1,25 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
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}"
}