dev-python/pywikibot: add 10.7.4

This commit is contained in:
Vitaly Zdanevich authored and jinqiang zhang committed 2025-12-29 15:03:50 +08:00
1 parent 302d5b158e
commit e2f121f44b
2 files changed
+42

No files matched your search

+1
View File
@@ -1 +1,2 @@
DIST pywikibot-10.3.0.tar.gz 623346 BLAKE2B 3bc29751e446addfb4bd3a1342615788a4bbcb15dafe9005350d270431030315acbb602d1039e4580331c1312209bb3cbbe745e9f60b2ef37032abca95943060 SHA512 aef8bf9b2c94e9810bea450ed04b93f3dc29fba69308c95b234c4c7a0b260e70e37ecfedf7d1d3c3b2d3b4fb02161797ccdd8ce12886e016e863dc5a3652aad3
DIST pywikibot-10.7.4.tar.gz 637652 BLAKE2B bdfee5c1b9be8db3edcacb2bfbf03966ea0e7864f2185b078c6ac3f17d1f16fa149164c743774824ff2f6f2cc446c01ea63682fa4e3a3d2cf002993e11539779 SHA512 33d68bbdbacabde6680420a602ccb6985724c75baf464a1495821c72f61ea6e0fff1aa0131dd928d42d97636c0158c272dae4981c49d0e0a57fa80738fe23b2a
@@ -0,0 +1,41 @@
# Copyright 2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{11..14} )
inherit pypi distutils-r1
DESCRIPTION="To interact with MediaWiki API (for example Wikipedia, Wikimedia Commons)"
HOMEPAGE="
https://www.mediawiki.org/wiki/Manual:Pywikibot
https://github.com/wikimedia/pywikibot
https://pypi.org/project/pywikibot
"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="
dev-python/mwparserfromhell[${PYTHON_USEDEP}]
dev-python/requests[${PYTHON_USEDEP}]
"
# TODO drop this after releasing of
# https://github.com/wikimedia/pywikibot/commit/af271172a09b39f9f68d707520dad454cefd74db
# We have this against
# "
# License classifiers are deprecated.
# `project.license` as a TOML table is deprecated
# "
src_prepare() {
default
# Remove deprecared license lines
sed -i '/^license = {.*}/d' pyproject.toml || die
sed -i '/"License ::/d' pyproject.toml || die
}