From 62004ac9d166398d672fac078de56811a886eb96 Mon Sep 17 00:00:00 2001 From: "Andreas Billmeier (@Home/mbp)" Date: Sun, 10 Dec 2023 14:08:29 +0100 Subject: [PATCH] dev-python/ourgroceries: new package, add 1.5.4 Closes: https://git.edevau.net/onkelbeh/HomeAssistantRepository/issues/2472 Signed-off-by: Andreas Billmeier --- README.md | 4 +-- dev-python/ourgroceries/Manifest | 3 ++ dev-python/ourgroceries/metadata.xml | 16 ++++++++++ .../ourgroceries/ourgroceries-1.5.4.ebuild | 32 +++++++++++++++++++ 4 files changed, 53 insertions(+), 2 deletions(-) create mode 100644 dev-python/ourgroceries/Manifest create mode 100644 dev-python/ourgroceries/metadata.xml create mode 100644 dev-python/ourgroceries/ourgroceries-1.5.4.ebuild diff --git a/README.md b/README.md index b630cfebb..ccd94c2d8 100644 --- a/README.md +++ b/README.md @@ -612,11 +612,11 @@ A daily compile test is run at Github with Python 3.9 to catch general faults. E ## Licenses This repository itself is released under GPL-3 (like most Gentoo repositories), all work on the depending components under the licenses they came from. Perhaps you came here because I filed an issue at your component about a bad or missing license. It is easy to [assign a license](https://docs.github.com/en/communities/setting-up-your-project-for-healthy-contributions/adding-a-license-to-a-repository). During cleanups and license investigations I have been asked often which license to choose. I am not a lawyer, but I can offer the following table, counted over this repository, perhaps this helps your decision. If a package has more than one license listed, all of them are counted. -There are 1721 Ebuilds in total, 1710 of them have in total 1730 (43 different) licenses assigned. +There are 1722 Ebuilds in total, 1711 of them have in total 1731 (43 different) licenses assigned. |License| Ebuilds using it| |-------|-----| -|MIT|1006| +|MIT|1007| |Apache-2.0|363| |GPL-3|98| |BSD|96| diff --git a/dev-python/ourgroceries/Manifest b/dev-python/ourgroceries/Manifest new file mode 100644 index 000000000..4fe980178 --- /dev/null +++ b/dev-python/ourgroceries/Manifest @@ -0,0 +1,3 @@ +DIST ourgroceries-1.5.4.tar.gz 5572 BLAKE2B 16aae779d5c39da2e89727d8c887be2420b6ae9615ccde7947df95e77eb4565bb57c5bec96651fe74fddfc18904a029f5d9bc989024321907ce0a58a31477bcb SHA512 63ed1c94908397e935577c64fd5789b89f25a2441ba74442a15e6ccaae2df10fbda4727c2d267ec5752b526a7718721939ca556b2422196a7d0a574b40644073 +EBUILD ourgroceries-1.5.4.ebuild 693 BLAKE2B b5d3898ea149f30ee8d8f30682307a56480624c7da2641f699b06b94b1631bc131ecb33372a33acf67e3f99077ee864d4235f688ae3116baf837d2943cedb486 SHA512 6cc21245ea342ee36e0719b031524e303824a21bf08789655967ad0c64cf7e901f275ae525534ea476e53f9b04949a0c7680a92570ddd7653631ccb2402b438f +MISC metadata.xml 522 BLAKE2B ec11ce347b10d229e0fabc17de399096017eed4483368e6585339b32ff79c6365420de3f3f58bb792bc97af3b9e06700ae1d1ade118afeed6a8c88f41180e8e1 SHA512 e8746ac3d5ba1490acbd0c5963d178cadb3dfa14bac0a72efcadc2f47618b3cc7d4e0500671a3f1e8cd87516568af66485b55b278829cd0ff7557cfd29322e9a diff --git a/dev-python/ourgroceries/metadata.xml b/dev-python/ourgroceries/metadata.xml new file mode 100644 index 000000000..c90c9b649 --- /dev/null +++ b/dev-python/ourgroceries/metadata.xml @@ -0,0 +1,16 @@ + + + + + b@edevau.net + Andreas Billmeier + + + ourgroceries + ljmerza/py-our-groceries + + ljmerza@gmail.com + Leonardo Merza + + + diff --git a/dev-python/ourgroceries/ourgroceries-1.5.4.ebuild b/dev-python/ourgroceries/ourgroceries-1.5.4.ebuild new file mode 100644 index 000000000..658b803d1 --- /dev/null +++ b/dev-python/ourgroceries/ourgroceries-1.5.4.ebuild @@ -0,0 +1,32 @@ +# 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