dev-python/coinbase-advanced-py: new package, add 1.2.2

Closes: #3595
Signed-off-by: Andreas Billmeier <b@edevau.net>
This commit is contained in:
Andreas Billmeier 2024-09-21 16:00:41 +02:00
parent d487b1dfe9
commit 2e58409767
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
4 changed files with 55 additions and 2 deletions

View File

@ -606,12 +606,12 @@ 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 1981 Ebuilds in total, 1970 of them have in total 1995 (42 different) licenses assigned.
There are 1982 Ebuilds in total, 1971 of them have in total 1996 (42 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
|MIT|1144|
|Apache-2.0|443|
|Apache-2.0|444|
|GPL-3|116|
|BSD|112|
|LGPL-3|25|

View File

@ -0,0 +1,3 @@
DIST coinbase-advanced-py-1.2.2.gh.tar.gz 38404 BLAKE2B 9fbd06d3e75421c609cd231fdd2cebfaf9ccd1ca44f6808f3de42bd6a58c15a279ffda1ea50cf12a403a52f7053a162989f8833eecefcf37d8d527acd3c438a9 SHA512 74fd7b1f7db9779d1cfc5f03bd7f9830d8799fe97ca7db3c7817c8dfbbac31afd55c2fd495e36e76e947f954fdca12acac2bc395d1d79dd0afd3e1ade4e6c88a
EBUILD coinbase-advanced-py-1.2.2.ebuild 1089 BLAKE2B 66c21870756012c24e213b0cc7c0ba5856cb8ebcf85ddb389bc3a29d9e75cc15976b76624444b6d77e1346e21cc8f31bb77226dfab1788e93fece3e5a616deb5 SHA512 8f1a458d17177af9348aaabcc8ec2638451a4e33f374d87d3602ee24117ba80da6eec5272cdab7af996ff25364804755ce3a00c5fcb49633acd65f6ee20e10b0
MISC metadata.xml 410 BLAKE2B b9dd1a1acefc9a9322304822e6dbc3958d47e97a2c0135c15e13627bb767787c137468db7ce168cfebb2c4921b6527795d221a440a67bc8a5bf5e8cd65a2cde3 SHA512 baaa8f5f41c9a49448d9f8865619bb46ece633245222323e6763876283fd07d7eed8e20a714667578240dce45e921ff774c5a853e68078a9bff9c6fd76182212

View File

@ -0,0 +1,38 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{11..13} )
DISTUTILS_USE_PEP517=setuptools
PYPI_NO_NORMALIZE=1
inherit distutils-r1
SRC_URI="https://github.com/coinbase/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
DESCRIPTION="Coinbase Advanced API Python SDK"
HOMEPAGE="https://github.com/coinbase/coinbase-advanced-py https://pypi.org/project/coinbase-advanced-py/"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 arm arm64 x86"
IUSE="test"
RESTRICT="!test? ( test )"
DOCS="README.md"
RDEPEND=">=dev-python/requests-2.31.0[${PYTHON_USEDEP}]
>=dev-python/cryptography-42.0.4[${PYTHON_USEDEP}]
>=dev-python/pyjwt-2.8.0[${PYTHON_USEDEP}]
>=dev-python/websockets-12.0[${PYTHON_USEDEP}]
>=dev-python/backoff-2.2.1[${PYTHON_USEDEP}]"
BDEPEND="
test? (
dev-python/asynctest[${PYTHON_USEDEP}]
)"
src_prepare() {
sed 's/packages=find_packages(exclude=("tests",))/packages=find_packages(exclude=["tests","tests.*"])/g' -i setup.py || die
eapply_user
}
distutils_enable_tests pytest

View File

@ -0,0 +1,12 @@
<?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">coinbase-advanced-py</remote-id>
<remote-id type="github">coinbase/coinbase-advanced-py</remote-id>
</upstream>
</pkgmetadata>