dev-python/sharkiq: add 1.0.2, update SRC_URI, fix missing requirements.txt

Signed-off-by: Andreas Billmeier <b@edevau.net>
This commit is contained in:
Andreas Billmeier 2023-04-10 10:46:45 +02:00 committed by Andreas Billmeier
parent ed9c373dd5
commit be033f62a5
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
4 changed files with 50 additions and 8 deletions

View File

@ -576,11 +576,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 1837 Ebuilds in total, 1826 of them have in total 1842 (36 different) licenses assigned.
There are 1838 Ebuilds in total, 1827 of them have in total 1843 (36 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
|MIT|1075|
|MIT|1076|
|Apache-2.0|394|
|GPL-3|119|
|BSD|96|

View File

@ -1,3 +1,5 @@
DIST sharkiq-0.0.1.tar.gz 12623 BLAKE2B 2246f10dd021b9c0c19fa34c55702e8661955e44991ae447af8b1215835105b1b59d409e7ef31e910777453c093e7231140a7b6353b1554349aadcd804f3aa96 SHA512 3d08ba9f8b4c9f044cf0c185c9a4d75fdfa8ffe33b027e84bd242ed41a17b6581faca4b16fef432b4554c9b50dc6285592782bc44d81f1b88cf2150e813b940f
EBUILD sharkiq-0.0.1.ebuild 740 BLAKE2B 30f3f0a85212b965b982ae848dc0dd7afe15def0e2a8f146c0994f07c23c820ba6089cb457f94e023745fd67459f0b315a11b4d7ec2707e59461999e2fed37d0 SHA512 42ee697a29dd4246ad41af05eac95da6ab47cc3f5ce0f2029fab8d018664649883223be60b2f2d7ef47216a61ba849feb0033a70e0a21a1200c920e05a5da0a7
DIST sharkiq-1.0.2.tar.gz 14550 BLAKE2B f4e44e7794a51eb30de11ef1878b639f47fca803377a558f03383196a38f00b992fbd4bb948d6377a55c74100e09bd60cc7006c213ed29a7247d94354e8632c8 SHA512 447e1ea6a547653b6b3650415593302d7fe8a7342b1a91af3e173c9519d6200916c735ec4d50c72630f745979b1543a7f81079f3f8985367389a1e33f9f913be
EBUILD sharkiq-0.0.1.ebuild 779 BLAKE2B 9882d08359961ef34d261fa0886c550a473761ce8d6d504f16b33b226fcbdcd968856cf7e8507cba1e798986db731ce13b75e5924ba1960846d1befebb3eaa44 SHA512 39d341ecda3da72c6a837aa5ebd0f1c3097756fb06050c8a2d00d9502006a9c2772390e4e2570b575ff5f2baba9ebb44ad94dffbc6aa25fae21b328a1f158efd
EBUILD sharkiq-1.0.2.ebuild 779 BLAKE2B 9882d08359961ef34d261fa0886c550a473761ce8d6d504f16b33b226fcbdcd968856cf7e8507cba1e798986db731ce13b75e5924ba1960846d1befebb3eaa44 SHA512 39d341ecda3da72c6a837aa5ebd0f1c3097756fb06050c8a2d00d9502006a9c2772390e4e2570b575ff5f2baba9ebb44ad94dffbc6aa25fae21b328a1f158efd
MISC metadata.xml 513 BLAKE2B 1c72383d2443f2dd121b15f3e85932b9b31093e719bd1b38ef632774535a9c4a25684361945a676939aca489425db124f4695eca9395c1fcee52054a6a153834 SHA512 84f87f268fb7a65e6d66d24f5811932828ba6874d6df4a12e5a8df9262bf5af7a3ae398b44ab66aa2c2b89908e8d038784af86880b5b4f1707726c13b7695165

View File

@ -1,15 +1,14 @@
# Copyright 1999-2022 Gentoo Authors
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{9..11} )
inherit distutils-r1
DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1 pypi
DESCRIPTION="Python API for Shark IQ robots"
HOMEPAGE="https://github.com/JeffResc/sharkiq-ng https://pypi.org/project/sharkiq/"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
@ -22,11 +21,15 @@ DOCS="README.md"
RDEPEND=">=dev-python/aiohttp-3.8.1[${PYTHON_USEDEP}]
>=dev-python/requests-2.27.1[${PYTHON_USEDEP}]"
BDEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
dev-python/pytest[${PYTHON_USEDEP}]
)"
src_prepare() {
echo -e "aiohttp>=3.8.1\nrequests>=2.27.1" > requirements.txt
eapply_user
}
python_test() {
py.test -v -v || die
}

View File

@ -0,0 +1,37 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{9..11} )
DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1 pypi
DESCRIPTION="Python API for Shark IQ robots"
HOMEPAGE="https://github.com/JeffResc/sharkiq-ng https://pypi.org/project/sharkiq/"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 arm arm64 x86"
IUSE="test"
RESTRICT="!test? ( test )"
DOCS="README.md"
RDEPEND=">=dev-python/aiohttp-3.8.1[${PYTHON_USEDEP}]
>=dev-python/requests-2.27.1[${PYTHON_USEDEP}]"
BDEPEND="
test? (
dev-python/pytest[${PYTHON_USEDEP}]
)"
src_prepare() {
echo -e "aiohttp>=3.8.1\nrequests>=2.27.1" > requirements.txt
eapply_user
}
python_test() {
py.test -v -v || die
}
distutils_enable_tests pytest