dev-python/todoist-api-python: new package, add 2.0.2

Signed-off-by: Andreas Billmeier <b@edevau.net>
This commit is contained in:
Andreas Billmeier 2023-02-11 01:48:34 +01:00 committed by Andreas Billmeier
parent 45bf8f1281
commit a4734c16e0
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
3 changed files with 62 additions and 0 deletions

View File

@ -0,0 +1,3 @@
DIST todoist-api-python-2.0.2.tar.gz 9432 BLAKE2B c7ff6c866485a5e75dc0a31ace24e2fc5e59c48dcc88a6d2c9baf883b5991eb4ad99e41a5005d582818de1f393369630f9915f0904c5729a3d9c5c8a9398fde1 SHA512 c4826f74d8ef8798b6b664e233924805a30f2ed10985c7e3511fef47c2743d3294e21c24965c72ebe4b040553159c6137d516b6f3017ded833db0e68443df3e9
EBUILD todoist-api-python-2.0.2.ebuild 968 BLAKE2B 8bf23e5316e5fbc5479be54a0596c02601f818ba897c9926467589ea5722fcd2a0fb0cfc5c122bd7684081f0fceb42a5787ed922dbc5b73e2980bbee985a3057 SHA512 a7cc7e89327023888d1bffade18bb5b475d974fec6ca7a5086494de742ed932c8a0413c286576e473dd6cd5b97ad60e32c0fcdd5b14e8e39fbb8586dc985a3c3
MISC metadata.xml 526 BLAKE2B 690a0af51cb068a1b1bf064a71d499520886de31a7d0dac10d48d6e9607cc37b9f485c3eb77f4904d2667438d95323d9725984a409cc076f97c9e4519fddfadf SHA512 c70e6397c14d91b3d2a4bde8462db86f0983b1d2509e1126e8dd22d508f6b79e914f9e5d3322cf3d45c13f1fbc5903c448a5ee216cd0c1b8fab48f797a52d63a

View File

@ -0,0 +1,16 @@
<?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">todoist-api-python</remote-id>
<remote-id type="github">Doist/todoist-api-python</remote-id>
<maintainer status="unknown">
<email>dev@doist.com</email>
<name>Doist Developers</name>
</maintainer>
</upstream>
</pkgmetadata>

View File

@ -0,0 +1,43 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{9..11} )
DISTUTILS_USE_PEP517=poetry
inherit distutils-r1
DESCRIPTION="Official Python SDK for the Todoist REST API."
HOMEPAGE="https://github.com/Doist/todoist-api-python https://pypi.org/project/todoist-api-python/"
MY_PN=${PN//-/_}
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_PN}-${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${MY_PN}-${PV}"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 arm arm64 x86"
IUSE="test"
RESTRICT="!test? ( test )"
DOCS="README.md"
RDEPEND=">=dev-python/requests-2.26.0[${PYTHON_USEDEP}]
>=dev-python/attrs-22.0.0[${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
# "LICENSE",
src_prepare() {
sed -e '/include =/,/]/d' -i pyproject.toml || die
eapply_user
}