diff options
Diffstat (limited to 'dev-python/pyxDamerauLevenshtein')
-rw-r--r-- | dev-python/pyxDamerauLevenshtein/Manifest | 4 | ||||
-rw-r--r-- | dev-python/pyxDamerauLevenshtein/metadata.xml | 2 | ||||
-rw-r--r-- | dev-python/pyxDamerauLevenshtein/pyxDamerauLevenshtein-1.7.1.ebuild | 40 |
3 files changed, 44 insertions, 2 deletions
diff --git a/dev-python/pyxDamerauLevenshtein/Manifest b/dev-python/pyxDamerauLevenshtein/Manifest index 05f9fd2812c9..81763a4bf957 100644 --- a/dev-python/pyxDamerauLevenshtein/Manifest +++ b/dev-python/pyxDamerauLevenshtein/Manifest @@ -1,3 +1,5 @@ DIST pyxDamerauLevenshtein-1.7.0.tar.gz 41867 BLAKE2B a8fe379a10bfd37e1675dab83d83d1b53308b5539c86e31f507a0243da898d57c4d320661642e23be439c4aabf88b1aaa559bc620e193e58586568cdfd8040df SHA512 11704d3968261cd844ce248c913f1b9baf813d0f8c712971ac4ec05466f8aa5719932e282b49e378d6799ae88483804055765a881d3cef8e7adff486b450e98e +DIST pyxDamerauLevenshtein-1.7.1.gh.tar.gz 43690 BLAKE2B 52950fa10667775828ee57ae9f68ea06bf8cf4e794c3cf27189fbc1affe877ee2537a5dfc3173a58a8b9ccfae664190e4eac250ddbc7cbeda748af033dd3fbbb SHA512 d16be05305ac8cdabecae90353e68cc51ac99ea88338fafe8379f6969434a9e3e3ac95ba58f71d15ccfcadfb3a9fbe30af563ec848e54115c64c83c69596e116 EBUILD pyxDamerauLevenshtein-1.7.0.ebuild 543 BLAKE2B dbb6d96fa9e0d67483603cdea1e148f3ea0da215afb7912fa3ad6c0d72162b06414a2b5607ee465761795fd7c2779df0d413afa8bf3827b5528273e0a771865a SHA512 def118bcf9987323851d3e51a2d94c5b612fc42cc771b1121dac9cba59f7584d59c781082b39ce9113cb510debc366fed710213991fd40c27d42de7546bc54fe -MISC metadata.xml 516 BLAKE2B e5677cda6ad803bdc75b1958e40bfcf4ca2134400d4b93f821e217977d441b8ed09872699b512897eddaefb3b5676e5bbbe3f2199542940ed5010fc58e048152 SHA512 8d724bfe477be076c126ceae44f1b94b12d24fa0bdfc62ba95783ef1ab8d1e46f421b533cfd5184433ff876230c3c09c77516a9ac9248b4a683b977f07733f98 +EBUILD pyxDamerauLevenshtein-1.7.1.ebuild 797 BLAKE2B 6d6d832a3a2ec26a3ddd906c30ebf34867a547dbcea9a7f0b62ef39376e2740a52f5632cb0f72b8833918921d29a76357b4a0b5feaaa164e86efb290687f21c7 SHA512 66f37ac1a53451d7ec222540477af8d48b29e6048573556d634e3927d6566b8d7d3245c0801c863c58e39f9c26ce0b289609a50cf4315fb558ad85c54abfb19b +MISC metadata.xml 510 BLAKE2B dd0d5b9fec3a47497224256828fbcbe3be48a96f134e77819c59fa1a3feaf1203bef6db6d92f857304e9507f548d25ddc969035b644a56f7941cf60528989fc0 SHA512 0db8a2056ebd89f91e65589e70ec28330e8a653464f6361e795595c16f478e7e2e0e6ad7edf12281cde8ae302ad9ef08a7f160b8eb9e6f8a6bc7ebb290f2ef96 diff --git a/dev-python/pyxDamerauLevenshtein/metadata.xml b/dev-python/pyxDamerauLevenshtein/metadata.xml index 0fd668f7517e..053dcd413581 100644 --- a/dev-python/pyxDamerauLevenshtein/metadata.xml +++ b/dev-python/pyxDamerauLevenshtein/metadata.xml @@ -11,6 +11,6 @@ </maintainer> <upstream> <remote-id type="pypi">pyxDamerauLevenshtein</remote-id> - <remote-id type="github">gfairchild/pyxDamerauLevenshtein</remote-id> + <remote-id type="github">lanl/pyxDamerauLevenshtein</remote-id> </upstream> </pkgmetadata> diff --git a/dev-python/pyxDamerauLevenshtein/pyxDamerauLevenshtein-1.7.1.ebuild b/dev-python/pyxDamerauLevenshtein/pyxDamerauLevenshtein-1.7.1.ebuild new file mode 100644 index 000000000000..0a2eac2f69e0 --- /dev/null +++ b/dev-python/pyxDamerauLevenshtein/pyxDamerauLevenshtein-1.7.1.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-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 + +DESCRIPTION="Implements the Damerau-Levenshtein edit distance algorithm for Python in Cython" +HOMEPAGE=" + https://github.com/lanl/pyxDamerauLevenshtein/ + https://pypi.org/project/pyxDamerauLevenshtein/ +" +SRC_URI=" + https://github.com/lanl/${PN}/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~riscv ~x86" + +RDEPEND=" + dev-python/cython[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +src_configure() { + # recythonize + cd pyxdameraulevenshtein || die + cython -3 -f *.pyx || die +} + +src_test() { + rm -r pyxdameraulevenshtein || die + distutils-r1_src_test +} |