dev-python/todoist-python: remove olds, cleanup, enable pytest
This commit is contained in:
parent
5e58d28d6e
commit
48147f22b3
@ -551,10 +551,10 @@ There are 1470 Ebuilds in total, 1463 of them have in total 1473 (34 different)
|
||||
|
||||
|License| Ebuilds using it|
|
||||
|-------|-----|
|
||||
|MIT|856|
|
||||
|MIT|857|
|
||||
|Apache-2.0|298|
|
||||
|GPL-3|91|
|
||||
|BSD|89|
|
||||
|BSD|88|
|
||||
|LGPL-3|22|
|
||||
|GPL-2|19|
|
||||
|all-rights-reserved|14|
|
||||
|
||||
@ -1,3 +1,3 @@
|
||||
DIST todoist-python-8.0.0.tar.gz 23176 BLAKE2B fb1a1ee41437da5067c675994188f0e5484072f5dda6763df3e069f9941b63e638eee51354c3b02aec448a026d5d747fe0d0d37a46b55bc5525d38888805737c SHA512 77103896682276f4deaaef7d9269932a8ca124d543b21376d3447f7f76c4277137757497f3f34de2759496931974659ab57a10a96863a9d3afcd3e373ad3ee65
|
||||
EBUILD todoist-python-8.0.0.ebuild 731 BLAKE2B e128a50c00d9b587239daa7942e6f9893a6ef1111f8bb2e99c86bfe38e3fdbe9cfa11d32df607f4777e35acc9e884cffc4369c30fd8dd67a49bd481ec30c75d3 SHA512 42da8fae85562da2a4fc0e11fc9ce5597500970c5c376afefb722c0790f41bb5cd8c2cd9db637359693441cdd37f0dad4bbbcfcb166d7a6d961d1a5a8e21544d
|
||||
DIST todoist-python-8.0.0.gh.tar.gz 23176 BLAKE2B fb1a1ee41437da5067c675994188f0e5484072f5dda6763df3e069f9941b63e638eee51354c3b02aec448a026d5d747fe0d0d37a46b55bc5525d38888805737c SHA512 77103896682276f4deaaef7d9269932a8ca124d543b21376d3447f7f76c4277137757497f3f34de2759496931974659ab57a10a96863a9d3afcd3e373ad3ee65
|
||||
EBUILD todoist-python-8.0.0.ebuild 771 BLAKE2B 94489e15436a5aedb92be2cf6191c87c3313e2aa1c4eda4b3b5cb37d4d354bf3ae5c5943af8c4a4f587a19921c5800aa88c4400cf0bcee61d83c24e11b24c555 SHA512 82d40ceaebfc0ebcdabd624904cfa193152b7e3de2652c57fb80ed2c167b19372adafc060f06a7ad409be4709c286429d456f77f84a4b931e3cbc998d78ddbed
|
||||
MISC metadata.xml 453 BLAKE2B 445ae7e4b70b1c24ec0f8b7c59d81bfdd3935224e511a4845a216a1b36a207fcbed731389fc31f7da729d0dfc52efd7c8ba204c5d9c36d3e3f46af08bb921369 SHA512 81b8782d302c31fbce65c22e105b2f2d77160faadc3814b48f9b0c395fda592e59fb83972237f89cfd41ed81bf4789fea8b8df632c7c41b23d7983df1aba3260
|
||||
|
||||
@ -1,33 +1,35 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="7"
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..9} )
|
||||
PYTHON_COMPAT=( python3_{8..11} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
MY_P=${PN/-/_}-${PV}
|
||||
|
||||
DESCRIPTION="todoist-python - The official Todoist Python API library"
|
||||
HOMEPAGE=" https://pypi.org/project/todoist-python/"
|
||||
SRC_URI="https://github.com/Doist/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
HOMEPAGE="https://github.com/Doist/todoist-python/ https://pypi.org/project/todoist-python/"
|
||||
SRC_URI="https://github.com/Doist/${PN}/archive/${PV}.tar.gz -> ${P}.gh.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 arm arm64 x86 ~amd64-linux ~x86-linux"
|
||||
KEYWORDS="amd64 arm arm64 x86"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND=""
|
||||
DOCS="README.md"
|
||||
|
||||
RDEPEND="dev-python/requests[${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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user