[gentoo-commits] repo/proj/guru:master commit in: dev-python/mastodon-py/

2023-12-31 Thread David Roman
commit: 17f1a5ad14ac895e2a2cf6bced4b3be862015aca
Author: Anna (cybertailor) Vyalkova  sysrq  in>
AuthorDate: Sat Dec 30 13:47:08 2023 +
Commit: David Roman  gmail  com>
CommitDate: Sat Dec 30 14:10:51 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=17f1a5ad

dev-python/mastodon-py: deselect broken tests

Signed-off-by: Anna (cybertailor) Vyalkova  sysrq.in>

 dev-python/mastodon-py/mastodon-py-1.8.1.ebuild | 8 +++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/dev-python/mastodon-py/mastodon-py-1.8.1.ebuild 
b/dev-python/mastodon-py/mastodon-py-1.8.1.ebuild
index 8120456200..d44c17a7b4 100644
--- a/dev-python/mastodon-py/mastodon-py-1.8.1.ebuild
+++ b/dev-python/mastodon-py/mastodon-py-1.8.1.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..11} )
+PYTHON_COMPAT=( python3_{10..11} )  # fails all tests with py3.12
 PYPI_NO_NORMALIZE=1
 PYPI_PN="Mastodon.py"
 inherit distutils-r1 optfeature pypi
@@ -39,6 +39,12 @@ BDEPEND="
)
 "
 
+EPYTEST_DESELECT=(
+   # something related to simplejson
+   tests/test_notifications.py::test_notifications_dismiss_pre_2_9_2
+   tests/test_status.py::test_status_card_pre_2_9_2
+)
+
 distutils_enable_tests pytest
 
 distutils_enable_sphinx docs



[gentoo-commits] repo/proj/guru:master commit in: dev-python/mastodon-py/

2023-04-28 Thread Arthur Zamarin
commit: c60f1ea48f757bbb46c4acf304996934719235a4
Author: Anna (cybertailor) Vyalkova  sysrq  in>
AuthorDate: Fri Apr 28 00:59:43 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Apr 28 04:32:05 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c60f1ea4

dev-python/mastodon-py: add 1.8.1, drop 1.7.0

Signed-off-by: Anna (cybertailor) Vyalkova  sysrq.in>

 dev-python/mastodon-py/Manifest|  2 +-
 .../{mastodon-py-1.7.0.ebuild => mastodon-py-1.8.1.ebuild} | 10 --
 2 files changed, 5 insertions(+), 7 deletions(-)

diff --git a/dev-python/mastodon-py/Manifest b/dev-python/mastodon-py/Manifest
index c7178345c..5c81e85ca 100644
--- a/dev-python/mastodon-py/Manifest
+++ b/dev-python/mastodon-py/Manifest
@@ -1,2 +1,2 @@
-DIST Mastodon.py-1.7.0.tar.gz 8633772 BLAKE2B 
e27827cf7b5a010616524355c51771709591ee498b398cb009fe73697a96a313880e9f81e138c48c9f144fe9b35222b6852d84a2b4648803604b0a3a9ed190c3
 SHA512 
faa056fc800104a732524126458baec68ef838fe36fb7df5721262f6faf61e0f5591026efb1a19612ceeaa785eb81b4aab55728479bf216f6d2b9afcfedcdd18
 DIST Mastodon.py-1.8.0.tar.gz 8659035 BLAKE2B 
46c07fc3e3cf289f8a161975b1f3f36a2c3299e79b331f3c659c18c5cafbc7144be57bf580212152a345ab4c4e73a08ea4d6052953fae6664eabd6360c3f
 SHA512 
497cdb42adeceeea6f65210daf94eff0c6ce26b286fabc13976c8276649b6b6f51f47b4e99733133c60dc373fcbb0b0760a20ff526d8435391c43e8f0696
+DIST Mastodon.py-1.8.1.tar.gz 8694359 BLAKE2B 
d3b8d2196199eeaeb0377c8503e763099943142c58b5b4586a38c0629ea6ee6427b53c989267a13d4d2a0c104635387ffef96d05d7dfa7dd8c2756e8704b
 SHA512 
812bfdcb1a59a06376bfb48798b43cac9dc9390781b3949e4b3d751ec0530b25b187e688c7cfc18eff6d5bb23c9bf442bce5f6902727331e8bc550e310dab94c

diff --git a/dev-python/mastodon-py/mastodon-py-1.7.0.ebuild 
b/dev-python/mastodon-py/mastodon-py-1.8.1.ebuild
similarity index 85%
rename from dev-python/mastodon-py/mastodon-py-1.7.0.ebuild
rename to dev-python/mastodon-py/mastodon-py-1.8.1.ebuild
index cad6a34bf..7325ee507 100644
--- a/dev-python/mastodon-py/mastodon-py-1.7.0.ebuild
+++ b/dev-python/mastodon-py/mastodon-py-1.8.1.ebuild
@@ -1,21 +1,19 @@
-# Copyright 2022 Gentoo Authors
+# Copyright 2022-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
 PYTHON_COMPAT=( python3_{9..11} )
-inherit distutils-r1 optfeature
+PYPI_NO_NORMALIZE=1
+PYPI_PN="Mastodon.py"
+inherit distutils-r1 optfeature pypi
 
-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"



[gentoo-commits] repo/proj/guru:master commit in: dev-python/mastodon-py/

2022-11-26 Thread Florian Schmaus
commit: 3a397fd04de312d43d4b4e2e1a8f3e2f4f2a4302
Author: Anna (cybertailor) Vyalkova  sysrq  in>
AuthorDate: Thu Nov 24 21:16:49 2022 +
Commit: Florian Schmaus  gentoo  org>
CommitDate: Thu Nov 24 21:16:49 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3a397fd0

dev-python/mastodon-py: add 1.7.0, drop 1.6.3

Signed-off-by: Anna (cybertailor) Vyalkova  sysrq.in>

 dev-python/mastodon-py/Manifest | 2 +-
 .../mastodon-py/{mastodon-py-1.6.3.ebuild => mastodon-py-1.7.0.ebuild}  | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/mastodon-py/Manifest b/dev-python/mastodon-py/Manifest
index 066169f0f..f09b43622 100644
--- a/dev-python/mastodon-py/Manifest
+++ b/dev-python/mastodon-py/Manifest
@@ -1 +1 @@
-DIST Mastodon.py-1.6.3.tar.gz 8561061 BLAKE2B 
001eb4bbd2ba601209e71d3a22f66702c8380f8a8d816a8d9a3adb28b9fddf012ad9c760ff8e492f05994ebf9673ae97c92d9366907b735a4b0af07fffb9c817
 SHA512 
bca3b5ecff431d20431f73402a203cdd66a572260e88584ba08a3aafc065f45498b775b0e7e3d167cc759338d3c00ae2c6d9d71c63f1fc0a52aaf8a63410ac35
+DIST Mastodon.py-1.7.0.tar.gz 8633772 BLAKE2B 
e27827cf7b5a010616524355c51771709591ee498b398cb009fe73697a96a313880e9f81e138c48c9f144fe9b35222b6852d84a2b4648803604b0a3a9ed190c3
 SHA512 
faa056fc800104a732524126458baec68ef838fe36fb7df5721262f6faf61e0f5591026efb1a19612ceeaa785eb81b4aab55728479bf216f6d2b9afcfedcdd18

diff --git a/dev-python/mastodon-py/mastodon-py-1.6.3.ebuild 
b/dev-python/mastodon-py/mastodon-py-1.7.0.ebuild
similarity index 100%
rename from dev-python/mastodon-py/mastodon-py-1.6.3.ebuild
rename to dev-python/mastodon-py/mastodon-py-1.7.0.ebuild