dev-python/python-join-api: remove olds, cleanup, enable pytest

This commit is contained in:
Andreas Billmeier 2022-10-17 21:06:26 +02:00 committed by Andreas Billmeier
parent ba82850700
commit 658becdddc
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
4 changed files with 8 additions and 41 deletions

View File

@ -547,11 +547,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 1519 Ebuilds in total, 1512 of them have in total 1523 (34 different) licenses assigned.
There are 1518 Ebuilds in total, 1511 of them have in total 1522 (34 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
|MIT|890|
|MIT|889|
|Apache-2.0|307|
|GPL-3|93|
|BSD|89|

View File

@ -1,5 +1,3 @@
DIST python-join-api-0.0.6.tar.gz 2876 BLAKE2B c4d64dcda614dda887c246f2a02ea26c92048329c8d770672a1005072907e59075c05aff9a13c2e13e14b180e4223eb38989f1958fc6d2a5298a11b64ba1cb02 SHA512 d4c98b4a708e4dbf574da80f36b9b0db04a32443555753992bb94a67bd3cce43322fe87b236c432217bec5e2615646165aadd56d014e7f4f425a2dc4fa64ee74
DIST python-join-api-0.0.9.tar.gz 3850 BLAKE2B a249859703a5b0305a14a37339373940e4252547e1b3bf17d2536f89bfa65abadca138e6967ecd446254d93418e104157a65ae59a9395299f59bbe1571698940 SHA512 2b2a432c0acbfd77a72c734f0c3de9966dd58d446671ba70810a51c21ce13890c3e64c57e31271caa47558ca29889b93d14dcb30c650066e779df1844bb0d386
EBUILD python-join-api-0.0.6.ebuild 771 BLAKE2B 2f1c5ade5f5e3e1c0498cdf351a7a93491f785b64ef5b23567736645de6e8ae7b8f838307ea2f079a6821598ae80a27ec2efa00ae88c1208019da0f48233b457 SHA512 7682f65db535f934e9858d7fe8ecce4a920c235b1489054f8fbf1d7acac06f23c5a05b1a52052efeada1c7b6f2a70278a800c9e8742741bd7051635725243aeb
EBUILD python-join-api-0.0.9.ebuild 815 BLAKE2B 97203fe51f86036d71a9831f3b7ad330347e26fff9b646789ceba23803ff227c197ce80ca3ec774db7bfe18b75618b882dd1dfb000a76e691ea65ca259190ccf SHA512 cc68cd2230c3d00e82f394e9181080fcd829f09fb51f4f8c2ac00f714456eb86716bb3762eaf763c52f256c1ffdf6efc79688559a5da04f99e51b93589df2b13
EBUILD python-join-api-0.0.9.ebuild 831 BLAKE2B 63d7699fd62dea052a47342bd4e7db965b18f733a48171f87cd85875d7e714baabb578939308d57161713dcb1f0abbcc6ea1bd83d4cbf3ec1588293947a006b5 SHA512 29d2e68658769e444f7223e5ea289c32603315a5c9149121541e47793df9afdb5749fd46f2f8300cea6a23f3b212c56189d5e50a07f42515cd6242ea53c93c91
MISC metadata.xml 458 BLAKE2B ced6e1176b862fed126b9697e43160477eb9e7d3462440b88047f9bc8f8f6e03984ef27ea0920d386b62a3d786bd7ef7e663d754c109c8fc472c736d98a6a0ed SHA512 fd7ce8574b1f9124bb340c637a28540a9fb659056b5c08a713ba0470aca2ad68a93d3a7b27431db51f7d850792ce17e71d7f92525f81e2f2c8a550f94fb8790e

View File

@ -1,33 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{8..10} )
inherit distutils-r1
DESCRIPTION="Python API for interacting with Join by joaoapps."
HOMEPAGE="https://github.com/nkgilley/python-join-api https://pypi.org/project/python-join-api/"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 arm arm64 x86 ~amd64-linux ~x86-linux"
IUSE="test"
RESTRICT="!test? ( test )"
DOCS=""
RDEPEND=">=dev-python/requests-2.0[${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
}

View File

@ -3,7 +3,7 @@
EAPI=8
PYTHON_COMPAT=( python3_{8..10} )
PYTHON_COMPAT=( python3_{8..11} )
inherit distutils-r1
@ -13,11 +13,11 @@ SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 arm arm64 x86 ~amd64-linux ~x86-linux"
KEYWORDS="amd64 arm arm64 x86"
IUSE="test"
RESTRICT="!test? ( test )"
DOCS=""
DOCS="README.md"
RDEPEND=">=dev-python/requests-2.0[${PYTHON_USEDEP}]
>=dev-python/flask-1.1.2[${PYTHON_USEDEP}]"
@ -32,3 +32,5 @@ python_test() {
nosetests --verbose || die
py.test -v -v || die
}
distutils_enable_tests pytest