dev-python/ourgroceries: new package, add 1.5.4

Closes: #2472
Signed-off-by: Andreas Billmeier <b@edevau.net>
This commit is contained in:
Andreas Billmeier 2023-12-10 14:08:29 +01:00 committed by Andreas Billmeier
parent bd1e8d3a10
commit 62004ac9d1
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
4 changed files with 53 additions and 2 deletions

View File

@ -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|

View File

@ -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

View File

@ -0,0 +1,16 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>b@edevau.net</email>
<name>Andreas Billmeier</name>
</maintainer>
<upstream>
<remote-id type="pypi">ourgroceries</remote-id>
<remote-id type="github">ljmerza/py-our-groceries</remote-id>
<maintainer status="unknown">
<email>ljmerza@gmail.com</email>
<name>Leonardo Merza</name>
</maintainer>
</upstream>
</pkgmetadata>

View File

@ -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