From 5067f90a289e1849122742e4543406c2bb133f79 Mon Sep 17 00:00:00 2001 From: Ryan Fox Date: Sat, 6 Jan 2024 18:51:52 -0800 Subject: [PATCH] dev-python/tinytuya: add 1.13.1, fix deps --- dev-python/tinytuya/Manifest | 1 + dev-python/tinytuya/tinytuya-1.13.1.ebuild | 31 ++++++++++++++++++++++ dev-python/tinytuya/tinytuya-9999.ebuild | 3 ++- 3 files changed, 34 insertions(+), 1 deletion(-) create mode 100644 dev-python/tinytuya/tinytuya-1.13.1.ebuild diff --git a/dev-python/tinytuya/Manifest b/dev-python/tinytuya/Manifest index d88f6b0..4e8b9f1 100644 --- a/dev-python/tinytuya/Manifest +++ b/dev-python/tinytuya/Manifest @@ -1 +1,2 @@ DIST tinytuya-1.12.11.gh.tar.gz 366968 BLAKE2B 701143141d138db571b4d4fa17f855d9844ce54f25196b11bed7042afe5e0b24fe9ebf82f375722e5ffdab6d66754dbc4db4f92b0f166495222de90c201424e3 SHA512 a0c1feb581917536d923d74197e1ea7e506f101232c30e5388cb937ed7f9d737b8fbd607c2b400dd6823d2154d059f7bd406964115d15ec148cfa3b9aaf5321b +DIST tinytuya-1.13.1.gh.tar.gz 375110 BLAKE2B 8197bd764748e783b164256ba29a857ea9220138c5bbb28eda35c8cbc6ac132f73bc9a23b9ce5451a3b7944ce04f41ca0703e944e129941ca0ae1ce8161c753e SHA512 391d61811ef6dbde55e4da1799b2148d60cec884967315e8319d0ae21525dbaa39c3d4c2198c9e7df059e6d3ccff147f55f870d9cc2a093eefbcfdd1f169dba1 diff --git a/dev-python/tinytuya/tinytuya-1.13.1.ebuild b/dev-python/tinytuya/tinytuya-1.13.1.ebuild new file mode 100644 index 0000000..7664e55 --- /dev/null +++ b/dev-python/tinytuya/tinytuya-1.13.1.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..12} ) + +inherit distutils-r1 + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/jasonacox/tinytuya.git" +else + SRC_URI="https://github.com/jasonacox/tinytuya/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz" + KEYWORDS="~amd64" +fi + +DESCRIPTION="Python API for Tuya devices" +HOMEPAGE="https://github.com/jasonacox/tinytuya" +LICENSE="MIT" +SLOT="0" + +DEPEND="" +RDEPEND=" + ${DEPEND} + dev-python/colorama + dev-python/cryptography + dev-python/requests +" +BDEPEND="" diff --git a/dev-python/tinytuya/tinytuya-9999.ebuild b/dev-python/tinytuya/tinytuya-9999.ebuild index 4ad6d9d..7664e55 100644 --- a/dev-python/tinytuya/tinytuya-9999.ebuild +++ b/dev-python/tinytuya/tinytuya-9999.ebuild @@ -24,7 +24,8 @@ SLOT="0" DEPEND="" RDEPEND=" ${DEPEND} - dev-python/pycryptodome + dev-python/colorama + dev-python/cryptography dev-python/requests " BDEPEND=""