Merge pull request 'gassist-text-0.0.10.ebuild' (#985) from inode64/HomeAssistantRepository:gassist_text into 2023.2.3

Reviewed-on: #985
This commit is contained in:
Andreas Billmeier 2023-02-12 20:16:10 +01:00
commit 2d01112655
2 changed files with 42 additions and 0 deletions

View File

@ -0,0 +1,2 @@
DIST gassist-text-0.0.10.gh.tar.gz 19478 BLAKE2B 4c4d7fbb678ac3466e20e9c402c87ad9edfb2bf50876bc1486c92d5544aaee23996f1211f2685ed40a30f457c3276fb29381c3182273a500d1fd1aebb037ee36 SHA512 532e2d1446ed7004eee5bb501685cf8bc096c36d3479fac079704ccf7932277ed99aae9ffd0a8c19c0c3666f94efdb9bba9a5d749fda219d438ccf562bb5b105
EBUILD gassist-text-0.0.10.ebuild 915 BLAKE2B 726dbbf317207c4232c55d77a24387f211e0ebbc698b13e430ce05c7d133a022c3b026a61bbc3a82444bc83fbd0e9f0c1b21007cf8c09b417fde624507b93846 SHA512 1b7e929409593312849aac1eaf8db77aa1d8d887f5cf71835c6a719d42f9b07e72778f423a3f114b00235d47b2d2b20cfb7f523250a4f304b71f8ca0efae09bf

View File

@ -0,0 +1,40 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
MY_PN=${PN/-/_}
MY_P=${MY_PN}-${PV}
PYTHON_COMPAT=( python3_{9..11} )
DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1
DESCRIPTION="A Python library for interacting with Google Assistant API via text"
HOMEPAGE="https://github.com/tronikos/gassist_text https://pypi.org/project/gassist-text/"
SRC_URI="https://github.com/tronikos/${MY_PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 arm arm64 x86"
IUSE=""
DOCS="README.md"
BDEPEND="
dev-python/grpcio
dev-libs/protobuf
dev-python/requests
dev-python/google-auth
"
S="${WORKDIR}/${MY_P}"
distutils_enable_tests pytest
src_configure() {
cat > pyproject.toml <<-EOF || die
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
EOF
}