From: "Anna Vyalkova" <cyber+gentoo@sysrq.in>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-python/mastodon-py/
Date: Thu, 17 Nov 2022 15:38:10 +0000 (UTC) [thread overview]
Message-ID: <1668695973.8a2d67be99b10ce1b8adfec9856ad6d3e33c2846.cybertailor@gentoo> (raw)
commit: 8a2d67be99b10ce1b8adfec9856ad6d3e33c2846
Author: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Thu Nov 17 14:39:33 2022 +0000
Commit: Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> 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 <cyber+gentoo <AT> 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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>cyber+gentoo@sysrq.in</email>
+ <name>Anna</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="pypi">Mastodon.py</remote-id>
+ <remote-id type="github">halcy/Mastodon.py</remote-id>
+ </upstream>
+</pkgmetadata>
next reply other threads:[~2022-11-17 15:38 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-17 15:38 Anna Vyalkova [this message]
-- strict thread matches above, loose matches on Subject: below --
2022-11-18 10:12 [gentoo-commits] repo/proj/guru:dev commit in: dev-python/mastodon-py/ Anna Vyalkova
2022-11-21 20:12 Anna Vyalkova
2022-11-24 21:20 Anna Vyalkova
2022-12-02 8:51 Anna Vyalkova
2023-04-28 4:32 Anna Vyalkova
2023-12-30 14:12 Anna Vyalkova
2024-05-14 22:45 Julien Roy
2024-05-14 22:45 Julien Roy
2024-09-07 12:55 Takuya Wakazono
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1668695973.8a2d67be99b10ce1b8adfec9856ad6d3e33c2846.cybertailor@gentoo \
--to=cyber+gentoo@sysrq.in \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox