From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C01F8158021 for ; Thu, 17 Nov 2022 15:38:14 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 91CA7E08EB; Thu, 17 Nov 2022 15:38:13 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 72F6EE08EB for ; Thu, 17 Nov 2022 15:38:13 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6303F340FA5 for ; Thu, 17 Nov 2022 15:38:12 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A91DB755 for ; Thu, 17 Nov 2022 15:38:10 +0000 (UTC) From: "Anna Vyalkova" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Anna Vyalkova" Message-ID: <1668695973.8a2d67be99b10ce1b8adfec9856ad6d3e33c2846.cybertailor@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-python/mastodon-py/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-python/mastodon-py/Manifest dev-python/mastodon-py/mastodon-py-1.6.1.ebuild dev-python/mastodon-py/metadata.xml X-VCS-Directories: dev-python/mastodon-py/ X-VCS-Committer: cybertailor X-VCS-Committer-Name: Anna Vyalkova X-VCS-Revision: 8a2d67be99b10ce1b8adfec9856ad6d3e33c2846 X-VCS-Branch: dev Date: Thu, 17 Nov 2022 15:38:10 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 77628838-6623-45d1-966a-2ff43c2a4284 X-Archives-Hash: 999a25702a1e14e60f3499d137806918 commit: 8a2d67be99b10ce1b8adfec9856ad6d3e33c2846 Author: Anna (cybertailor) Vyalkova sysrq in> AuthorDate: Thu Nov 17 14:39:33 2022 +0000 Commit: Anna Vyalkova sysrq in> CommitDate: Thu Nov 17 14:39:33 2022 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8a2d67be dev-python/mastodon-py: new package, add 1.6.1 Signed-off-by: Anna (cybertailor) Vyalkova sysrq.in> dev-python/mastodon-py/Manifest | 1 + dev-python/mastodon-py/mastodon-py-1.6.1.ebuild | 55 +++++++++++++++++++++++++ dev-python/mastodon-py/metadata.xml | 12 ++++++ 3 files changed, 68 insertions(+) diff --git a/dev-python/mastodon-py/Manifest b/dev-python/mastodon-py/Manifest new file mode 100644 index 000000000..76e2ba0db --- /dev/null +++ b/dev-python/mastodon-py/Manifest @@ -0,0 +1 @@ +DIST Mastodon.py-1.6.1.tar.gz 8558179 BLAKE2B 52c1154317da2298a3f3ad15a0844fbc7ef330fc1344e5c327411e89461899d3d4f08915e060ef5140f384c2c2c84e11d468c55a6c6a5174a3200e9cf97c3cb5 SHA512 db5101eabf269850f538a32ddee1ddb3287bf98ed54c487f115a9eb519e2f9565ffbac380d7d5bb1796ff26d1cce071a6f578591d2b68e83f0319e6649e07e02 diff --git a/dev-python/mastodon-py/mastodon-py-1.6.1.ebuild b/dev-python/mastodon-py/mastodon-py-1.6.1.ebuild new file mode 100644 index 000000000..9f6ab1e3e --- /dev/null +++ b/dev-python/mastodon-py/mastodon-py-1.6.1.ebuild @@ -0,0 +1,55 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..11} ) +inherit distutils-r1 optfeature + +MY_PN="Mastodon.py" +MY_P="${MY_PN}-${PV}" +DESCRIPTION="Python wrapper for the Mastodon API" +HOMEPAGE=" + https://pypi.org/project/Mastodon.py/ + https://github.com/halcy/Mastodon.py +" +SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" +S="${WORKDIR}/${MY_P}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + dev-python/blurhash[${PYTHON_USEDEP}] + dev-python/decorator[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + dev-python/python-magic[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/cryptography[${PYTHON_USEDEP}] + dev-python/http_ece[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + dev-python/pytest-vcr[${PYTHON_USEDEP}] + dev-python/requests-mock[${PYTHON_USEDEP}] + dev-python/vcrpy[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +distutils_enable_sphinx docs + +src_prepare() { + distutils-r1_src_prepare + rm setup.cfg || die +} + +pkg_postinst() { + optfeature "webpush support" "dev-python/cryptography dev-python/http_ece" +} diff --git a/dev-python/mastodon-py/metadata.xml b/dev-python/mastodon-py/metadata.xml new file mode 100644 index 000000000..f2555fe79 --- /dev/null +++ b/dev-python/mastodon-py/metadata.xml @@ -0,0 +1,12 @@ + + + + + cyber+gentoo@sysrq.in + Anna + + + Mastodon.py + halcy/Mastodon.py + +