summaryrefslogtreecommitdiff
path: root/dev-python/abydos
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/abydos')
-rw-r--r--dev-python/abydos/Manifest2
-rw-r--r--dev-python/abydos/abydos-0.5.0-r3.ebuild (renamed from dev-python/abydos/abydos-0.5.0-r2.ebuild)29
2 files changed, 19 insertions, 12 deletions
diff --git a/dev-python/abydos/Manifest b/dev-python/abydos/Manifest
index f032c40e47b0..a34ededf7eed 100644
--- a/dev-python/abydos/Manifest
+++ b/dev-python/abydos/Manifest
@@ -1,4 +1,4 @@
AUX abydos-0.5.0-fix-py3.10.patch 719 BLAKE2B e0607ecb3633642be5b2b034088b7dd097d9dab3acf44619a3fb9493b8cc91dee4b7fdfc2564d88d60ffb83991a95d1f71838e2b48968a1983cf491a59d15c91 SHA512 12730eb82a3186f62da662456fd6648437ac631a3f0278d5840919b13d2798c154115c60f2301560b64234c28b30c68bf761989c682e57cd34c6279e92dcb531
DIST abydos-0.5.0.gh.tar.gz 21321759 BLAKE2B 1f14675f42e849e5e1563dd858bfb2bf040e25b0f90cb3da9986492378892bedd0f23eea990cd65d804aececb350b0e90fb27921382a8df8b91e55d7f820c27e SHA512 28aeea4ba16ea88b077e8b9902f5d8b3a650eeced489687daf9af0e4aa437eaee6c8eeb0747dd5a8f95291594064a1221cc1da2dfa989978bcc870045fee3531
-EBUILD abydos-0.5.0-r2.ebuild 1022 BLAKE2B 6914f57fe369fefe8ef28e1bacce375a6c34c8ada78b81526fb1d0de4683d4e6d8b2f4f98c6f8e0141d665d07a0a6fb1ae62fe4da808539a5a7348ca69638f88 SHA512 96605e6d8e66821367b48be9a806cbbdac4f385291ba0e1f3998d70f43d7c86c306da5c070635be157f9132250e86ba601df5e634a7905cbedfcf12eae0bb39d
+EBUILD abydos-0.5.0-r3.ebuild 1289 BLAKE2B da36f51d02d276bb86208de5dfde8aa5f79fd884b18b343cd0602763bd586761fe4a987a08de3f57250c549c32c925d19aaec58d0e56777b766a8bbb40d6d1f6 SHA512 791c960acfe5c176b24f79caf5f790f3ad7aea4610842a69ac4e1799eea79b73b7c2be05811b133c2efafce166e855cd4cc27264cd5f1abf5548df3bcb51861c
MISC metadata.xml 407 BLAKE2B f28b4d12169f91e75d4bdb117fef6bc8e3a1a1a9bce3498aa11a26d1ad71c486d4ee8a76084551d3563530a2d492c2f47b4d8f830e00d7379fe079ba1e3df8a8 SHA512 1738b7309d3a9f0e90c5716ac0376274d1f34bb3264d8a3bf69dfe020724417f1b89b1883eae34bba9cd0147b5f2e8962114a216a5e684fd10365505f684fac4
diff --git a/dev-python/abydos/abydos-0.5.0-r2.ebuild b/dev-python/abydos/abydos-0.5.0-r3.ebuild
index 1ed6a80c87e1..52da6583b530 100644
--- a/dev-python/abydos/abydos-0.5.0-r2.ebuild
+++ b/dev-python/abydos/abydos-0.5.0-r3.ebuild
@@ -3,31 +3,30 @@
EAPI=8
-PYTHON_COMPAT=( python3_{8..11} )
DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..11} )
+
inherit distutils-r1
DESCRIPTION="Abydos NLP/IR library"
-HOMEPAGE="https://github.com/chrislit/abydos"
-SRC_URI="https://github.com/chrislit/${PN}/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz"
+HOMEPAGE="
+ https://github.com/chrislit/abydos/
+ https://pypi.org/project/abydos/
+"
+SRC_URI="
+ https://github.com/chrislit/abydos/archive/v${PV}.tar.gz
+ -> ${P}.gh.tar.gz
+"
LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="amd64 ~ppc64 ~riscv x86"
-# Requires access to the internet
-RESTRICT="test"
-PROPERTIES="test_network"
-
RDEPEND="
dev-python/deprecation[${PYTHON_USEDEP}]
dev-python/numpy[${PYTHON_USEDEP}]
"
-BDEPEND="test? (
- dev-python/nltk[${PYTHON_USEDEP}]
-)"
-
PATCHES=(
"${FILESDIR}/${P}-fix-py3.10.patch"
)
@@ -36,6 +35,14 @@ 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
+EPYTEST_DESELECT=(
+ # Internet
+ tests/distance/test_distance_meta_levenshtein.py::MetaLevenshteinTestCases::test_meta_levenshtein_corpus
+ tests/distance/test_distance_softtf_idf.py::SoftTFIDFTestCases::test_softtf_idf_corpus
+ tests/distance/test_distance_tf_idf.py::TFIDFTestCases::test_tf_idf_corpus
+ tests/util/test_data.py::DataTestCases::test_data
+)
+
python_prepare_all() {
# do not depend on pytest-cov
sed -i -e '/addopts/d' setup.cfg || die