HomeAssistantRepository/dev-python/ourgroceries/ourgroceries-1.5.4.ebuild
Andreas Billmeier (@Home/mbp) 62004ac9d1
dev-python/ourgroceries: new package, add 1.5.4
Closes: #2472
Signed-off-by: Andreas Billmeier <b@edevau.net>
2023-12-10 14:08:29 +01:00

33 lines
693 B
Bash

# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{10..12} )
DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1 pypi
DESCRIPTION="Our Groceries Unofficial Python Package"
HOMEPAGE="https://github.com/ljmerza/py-our-groceries https://pypi.org/project/ourgroceries/"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 arm arm64 x86"
IUSE="test"
RESTRICT="!test? ( test )"
DOCS="README.md"
RDEPEND="dev-python/aiohttp[${PYTHON_USEDEP}]
dev-python/beautifulsoup4[${PYTHON_USEDEP}]"
BDEPEND="
test? (
dev-python/pytest[${PYTHON_USEDEP}]
)"
python_test() {
py.test -v -v || die
}
distutils_enable_tests pytest