dev-python/pytrafikverket: add 0.2.1

Signed-off-by: Andreas Billmeier <b@edevau.net>
This commit is contained in:
Andreas Billmeier 2022-10-30 18:00:51 +01:00 committed by Andreas Billmeier
parent 216950f20d
commit 1b9a6900f8
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
3 changed files with 39 additions and 2 deletions

View File

@ -548,11 +548,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 1501 Ebuilds in total, 1494 of them have in total 1503 (34 different) licenses assigned.
There are 1502 Ebuilds in total, 1495 of them have in total 1504 (34 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
|MIT|874|
|MIT|875|
|Apache-2.0|304|
|GPL-3|94|
|BSD|88|

View File

@ -1,3 +1,5 @@
DIST pytrafikverket-0.2.0.1.tar.gz 9516 BLAKE2B 6f65d88b1bd28eb30823ecc8ca5f5e53b209b2dc89df4dc03224d5b63978587694ab3339c1e8baeba728846f11d89ef4509fe5369f35ea2e3484b94872c69b6d SHA512 20d018b8bc6dcfe828e25991b762475e783eebe1b28202321f5d2e4b9c425930b750e0fff7ebca8afa4ca3cc41624adb6333cc07bd9c9fb89854d5905a275192
DIST pytrafikverket-0.2.1.tar.gz 10015 BLAKE2B 053c8ed6a978a0d83dd5183ff47cb4bae8920bae22ffcd37678b4469dae9c76a2ecd2445f5af206a342076c14d1beea3e76354b45ead4d73a4c5b25fa88fd3fa SHA512 d9561f8b0d3f97acf5a82992979c19bf76a17ddd7fb96c26c9ad495fcbe8e6ef20aaffd33a172d1335683bdf990a9e647a93c835a0f22c049308ed81bce29bdd
EBUILD pytrafikverket-0.2.0.1.ebuild 805 BLAKE2B ba08692f41fa91625770f2de01a354efabf005b4d85394d82055754e9ff18024cc72dda8e9f0bb737e8b32abafeb46601d9ec06f1b8d27584229a27e3dece682 SHA512 a5dae38a8da651018ed2749c19062b60cc8209bdeb7ece76f1fca4c7f4e51d8036768fe60879d496f1f71e30d06e4434c2897eaf329e0c8583270f460eb28ae1
EBUILD pytrafikverket-0.2.1.ebuild 805 BLAKE2B ba08692f41fa91625770f2de01a354efabf005b4d85394d82055754e9ff18024cc72dda8e9f0bb737e8b32abafeb46601d9ec06f1b8d27584229a27e3dece682 SHA512 a5dae38a8da651018ed2749c19062b60cc8209bdeb7ece76f1fca4c7f4e51d8036768fe60879d496f1f71e30d06e4434c2897eaf329e0c8583270f460eb28ae1
MISC metadata.xml 333 BLAKE2B 7558471b17d66a6c55945de25b4b6e8c658a4ce4e623918d3e3476f50b0748a631996afcdabea77bdb36f9042ba1ab02ab57bd97e7ebf8f279e68449a3731110 SHA512 cf5ab3341d8a9db68b53b2103e297bff99d0bad83793024ee214d94a1d8f3b71a83ad5b64544ce1d6bbd944a3d450e42180ceffde2de1185ec9592bf893c1fd5

View File

@ -0,0 +1,35 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{8..11} )
inherit distutils-r1
DESCRIPTION="Retreive values from public API at trafikverket in sweden."
HOMEPAGE="https://github.com/endor-force/pytrafikverket https://pypi.org/project/pytrafikverket/"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
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/async-timeout[${PYTHON_USEDEP}]
dev-python/lxml[${PYTHON_USEDEP}]"
BDEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
dev-python/pytest[${PYTHON_USEDEP}]
)"
python_test() {
py.test -v -v || die
}
distutils_enable_tests pytest