summaryrefslogtreecommitdiff
path: root/dev-python/abydos
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-09-16 22:05:01 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-09-16 22:05:01 +0100
commitcc4618c9ba3d974948ebf340b542d8cb01db2f55 (patch)
tree125ee67bb9e0d548771cf7b61d04bb1f0dc57687 /dev-python/abydos
parent677b7ba5c317778df2ad7e70df94b9b7eec4adbc (diff)
gentoo resync : 16.09.2021
Diffstat (limited to 'dev-python/abydos')
-rw-r--r--dev-python/abydos/Manifest5
-rw-r--r--dev-python/abydos/abydos-0.5.0-r1.ebuild9
-rw-r--r--dev-python/abydos/files/abydos-0.5.0-fix-py3.10.patch33
-rw-r--r--dev-python/abydos/metadata.xml2
4 files changed, 44 insertions, 5 deletions
diff --git a/dev-python/abydos/Manifest b/dev-python/abydos/Manifest
index e795fc69cbc9..f963d40781c8 100644
--- a/dev-python/abydos/Manifest
+++ b/dev-python/abydos/Manifest
@@ -1,3 +1,4 @@
+AUX abydos-0.5.0-fix-py3.10.patch 719 BLAKE2B e0607ecb3633642be5b2b034088b7dd097d9dab3acf44619a3fb9493b8cc91dee4b7fdfc2564d88d60ffb83991a95d1f71838e2b48968a1983cf491a59d15c91 SHA512 12730eb82a3186f62da662456fd6648437ac631a3f0278d5840919b13d2798c154115c60f2301560b64234c28b30c68bf761989c682e57cd34c6279e92dcb531
DIST abydos-0.5.0.tar.gz 21321759 BLAKE2B 1f14675f42e849e5e1563dd858bfb2bf040e25b0f90cb3da9986492378892bedd0f23eea990cd65d804aececb350b0e90fb27921382a8df8b91e55d7f820c27e SHA512 28aeea4ba16ea88b077e8b9902f5d8b3a650eeced489687daf9af0e4aa437eaee6c8eeb0747dd5a8f95291594064a1221cc1da2dfa989978bcc870045fee3531
-EBUILD abydos-0.5.0-r1.ebuild 897 BLAKE2B 370644a19829edf7a2fc5b607099a54f2f442c72d2024cea6c8c329058cfaaba3784c195263a4030d21ca6d46f0cda2b4d9d48433ecd8e75a3706d027d78a013 SHA512 4d8ddb0d6584bf293ad1df5669c4acc68f504135e6121ce936dae0e64887644e4a33acf7ff0c3d5f6588155ed3758d1ae6b8bb19ca559074090cdee7faa74412
-MISC metadata.xml 406 BLAKE2B 4e8c6843dd9cc2c15bf0d33244ee57240db247ecdf6b38e33d621598b64eb59c6a69e7150b3c91ed77bda70b48e6e745dbb137cdac38c468f76b82fe881b4f8e SHA512 026a691d5843d311f39be399b6729c097862a1714ac551cc1d8b4102011a6cc15001a4aa3f58905dced7783d27479ee1012231bafa3342ea6d051454608388c1
+EBUILD abydos-0.5.0-r1.ebuild 974 BLAKE2B 8ce1e6b89333cbf3ee16acddcf45c0df486367d4743243db5409262bcb55d70afba1e319bd3184514238014ef61d2b4adf09b14b4cfcaa87b9a965810a181d95 SHA512 8546324be7e7760167be7aef4cbaba4c3cb3458ba61a76e81f552005c1be3944eb2d2142da5451d91efce8f54cd2f84baedaa1b94d6387e42a82430f3b3bb7a7
+MISC metadata.xml 407 BLAKE2B f28b4d12169f91e75d4bdb117fef6bc8e3a1a1a9bce3498aa11a26d1ad71c486d4ee8a76084551d3563530a2d492c2f47b4d8f830e00d7379fe079ba1e3df8a8 SHA512 1738b7309d3a9f0e90c5716ac0376274d1f34bb3264d8a3bf69dfe020724417f1b89b1883eae34bba9cd0147b5f2e8962114a216a5e684fd10365505f684fac4
diff --git a/dev-python/abydos/abydos-0.5.0-r1.ebuild b/dev-python/abydos/abydos-0.5.0-r1.ebuild
index 2af57c2683f9..d7abda55c8f7 100644
--- a/dev-python/abydos/abydos-0.5.0-r1.ebuild
+++ b/dev-python/abydos/abydos-0.5.0-r1.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-PYTHON_COMPAT=( python3_{7,8,9} )
+PYTHON_COMPAT=( python3_{8..10} )
inherit distutils-r1
@@ -11,12 +11,13 @@ DESCRIPTION="Abydos NLP/IR library"
HOMEPAGE="https://github.com/chrislit/abydos"
SRC_URI="https://github.com/chrislit/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-LICENSE="GPL-3"
+LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="amd64 x86"
# Requires access to the internet
RESTRICT="test"
+PROPERTIES="test_network"
RDEPEND="
dev-python/deprecation[${PYTHON_USEDEP}]
@@ -27,6 +28,10 @@ BDEPEND="test? (
dev-python/nltk[${PYTHON_USEDEP}]
)"
+PATCHES=(
+ "${FILESDIR}/${P}-fix-py3.10.patch"
+)
+
distutils_enable_tests pytest
# Extension error: You must configure the bibtex_bibfiles setting
#distutils_enable_sphinx docs dev-python/sphinx_rtd_theme dev-python/sphinxcontrib-bibtex
diff --git a/dev-python/abydos/files/abydos-0.5.0-fix-py3.10.patch b/dev-python/abydos/files/abydos-0.5.0-fix-py3.10.patch
new file mode 100644
index 000000000000..9cdcf77f4674
--- /dev/null
+++ b/dev-python/abydos/files/abydos-0.5.0-fix-py3.10.patch
@@ -0,0 +1,33 @@
+--- a/abydos/distance/_synoname.py
++++ b/abydos/distance/_synoname.py
+@@ -19,7 +19,7 @@
+ Synoname.
+ """
+
+-from collections import Iterable
++from collections.abc import Iterable
+
+ from deprecation import deprecated
+
+--- a/abydos/tokenizer/_q_grams.py
++++ b/abydos/tokenizer/_q_grams.py
+@@ -19,7 +19,7 @@
+ QGrams multi-set class
+ """
+
+-from collections import Iterable
++from collections.abc import Iterable
+
+ from ._tokenizer import _Tokenizer
+
+--- a/abydos/tokenizer/_q_skipgrams.py
++++ b/abydos/tokenizer/_q_skipgrams.py
+@@ -19,7 +19,7 @@
+ Q-Skipgrams multi-set class
+ """
+
+-from collections import Iterable
++from collections.abc import Iterable
+ from itertools import combinations
+
+ from ._tokenizer import _Tokenizer
diff --git a/dev-python/abydos/metadata.xml b/dev-python/abydos/metadata.xml
index 289752035b81..6334fd4696fd 100644
--- a/dev-python/abydos/metadata.xml
+++ b/dev-python/abydos/metadata.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>andrewammerlaan@gentoo.org</email>