add aioopenexchangerates-0.4.0

This commit is contained in:
2022-09-03 13:54:38 +02:00
committed by Andreas Billmeier
parent e199d52462
commit 653b43483b
4 changed files with 57 additions and 2 deletions

View File

@@ -0,0 +1,3 @@
DIST aioopenexchangerates-0.4.0.tar.gz 10358 BLAKE2B e1be2834af935ebd1cb881eacc5ee510e7e4b7f1a9318387615db835ef11c5f417ec71f536f7c31634f1de94f57c3c31dd536cde7bed1ab6b62e4531d1d549b4 SHA512 852660cf3b1e0d2c15d0da9142daf99344e6c0b07f48a83089a06b41400fa6a9ef11a6ce1acc8699e2bd44d957895ceb146cf04a32526581f3d5fc6cc4d30a4f
EBUILD aioopenexchangerates-0.4.0.ebuild 883 BLAKE2B f7dd853175429cc4081b08e0fe19e95807f715887ea2c0494d6d2a32f90ee3a36918406661c60a35608c1b9606f971fe07624b4ff9d2f3c6e2e9d8b5eb6987c6 SHA512 490da937b025dab6e613525ad900da79849334ccf1ee9e4a05b7967da6018f1f5ecfd9c3907d973f25ce04331366c718b5a0811c8d8e79290bacbca2087034e7
MISC metadata.xml 466 BLAKE2B b82cd467fb6f1978f050a159d5102e5d27a2b1891547de46c669677c3b444773a724715ca44e97ecdd057b47d670be5992a4c0e2a407e12527d0657466b6d347 SHA512 340aa38ee378d70894f8b17e2a0f2e06708bd2ef06e183a37ba38715e0ae4b88e9862de61ca9e1e74c94807e45634d1ba3e43fa1635486a1a1631aa5d08ca693

View File

@@ -0,0 +1,37 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{8..11} )
DISTUTILS_USE_PEP517=poetry
inherit distutils-r1
DESCRIPTION="Fetch rates from openexchangerates with aiohttp."
HOMEPAGE="https://github.com/MartinHjelmare/aioopenexchangerates https://pypi.org/project/aioopenexchangerates/"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 arm arm64 x86"
IUSE="test"
RESTRICT="!test? ( test )"
DOCS="README.md"
RDEPEND=">=dev-python/aiohttp-3.8.0[${PYTHON_USEDEP}]
>=dev-python/pydantic-1.9[${PYTHON_USEDEP}]"
BDEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
dev-python/nose[${PYTHON_USEDEP}]
dev-python/pytest[${PYTHON_USEDEP}]
)"
python_test() {
nosetests --verbose || die
py.test -v -v || die
}
distutils_enable_tests pytest

View File

@@ -0,0 +1,15 @@
<?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">aioopenexchangerates</remote-id>
<maintainer status="unknown">
<email>marhje52@gmail.com</email>
<name>Martin Hjelmare</name>
</maintainer>
</upstream>
</pkgmetadata>