dev-python/coinbase-advanced-py - 1.8.2 (ha-bleeding-edge)

Search

Install

Install this version:

emerge -a =dev-python/coinbase-advanced-py-1.8.2

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =dev-python/coinbase-advanced-py-1.8.2

Or alternatively:

emerge --autounmask-write -a =dev-python/coinbase-advanced-py-1.8.2

Package Information

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

Ebuild Details

Version EAPI Keywords Slot
1.8.2 8 amd64 arm arm64 x86 0
View Raw Ebuild
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

PYTHON_COMPAT=( python3_{12..14} )
DISTUTILS_USE_PEP517=setuptools
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/websockets-14.0[${PYTHON_USEDEP}]
	>=dev-python/backoff-2.2.1[${PYTHON_USEDEP}]"
BDEPEND="
	test? (
		dev-python/asynctest[${PYTHON_USEDEP}]
	)
"

src_prepare() {
	mv ${S}/coinbase ${S}/coinbase-advanced-py
	sed 's/packages=find_packages(exclude=("tests",))/packages=find_packages(exclude=["tests","tests.*"])/g' -i setup.py || die
	eapply "${FILESDIR}"/rename-coinbase.patch
	eapply_user
}

distutils_enable_tests pytest

USE Flags

Manage flags for this package: euse -i <flag> -p dev-python/coinbase-advanced-py | euse -E <flag> -p dev-python/coinbase-advanced-py | euse -D <flag> -p dev-python/coinbase-advanced-py

Global/Standard Flags

Inherited Eclasses

Dependencies

RDEPEND

>=dev-python/requests-2.31.0[]
	>=dev-python/cryptography-42.0.4[]
	>=dev-python/pyjwt-2.8.0[]
	>=dev-python/websockets-12.0[]
	<dev-python/websockets-14.0[]
	>=dev-python/backoff-2.2.1[]

BDEPEND

	test? (
		dev-python/asynctest[]
	)

Manifest for 1.8.2

Type File Size Source URLs
DIST coinbase-advanced-py-1.8.2.gh.tar.gz 60371 bytes https://github.com/coinbase/coinbase-advanced-py/archive/refs/tags/v1.8.2.tar.gz