summaryrefslogtreecommitdiff
path: root/dev-python/pyphen
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/pyphen')
-rw-r--r--dev-python/pyphen/Manifest2
-rw-r--r--dev-python/pyphen/pyphen-0.10.0.ebuild30
2 files changed, 32 insertions, 0 deletions
diff --git a/dev-python/pyphen/Manifest b/dev-python/pyphen/Manifest
index dfece56646c3..f87981a37cd1 100644
--- a/dev-python/pyphen/Manifest
+++ b/dev-python/pyphen/Manifest
@@ -1,3 +1,5 @@
+DIST pyphen-0.10.0.tar.gz 1894118 BLAKE2B c33283d6eb3dd7affb52b91826fa0f8fab8ec8f858158e905e8487dc2ad8c77a88e4b25699ed6272d246bcf8a926560e18ec224f59703452ea1ad5c921e4fb4b SHA512 b6d789ca6eb010c1c79b28a9a0e68620ea5600adc43111bed5dbda3cb8b3a4c8c05caa3fb44ea60b0ef4a20272f17cf5e6fe61f0d1e48038395407ff53da7a92
DIST pyphen-0.9.5.tar.gz 1901384 BLAKE2B 809f7e3c204ab7de87a387909fb0d9aebd3d48586a6b1da8a683a8b1f862e2d2489babfb30c9792acca44c0fe7bd5da39c1508245ec784dce30a4c7124e91152 SHA512 049a62b226e90e568c8f56e756f8fa6fbc74f3bc40d61af8eb05ff2d4404a7b29cef14d4f144d68ed2f2b11eb128491de64536240ba7b76a2d04010c76e10346
+EBUILD pyphen-0.10.0.ebuild 679 BLAKE2B 14da6d594bc52a56c99c0f74d5c8a34f0ee6f00b0d8351ded3a66276a10082c31f7fe0cd5986f1b4794bb8fc09eb17592d6e5f38afcab09588f8867e77801291 SHA512 0a5f227802b566139d6b4a8bceae99fdd0c5a94042fef5df33988bda192af8b857a7d8ab36cac1d0728b318fcea27988c81edbfa34a4d250b74781ccf9fc077c
EBUILD pyphen-0.9.5.ebuild 675 BLAKE2B 66b6f629cbec9c907a437d5ffff78ddbf1a9979e612181f0a4cf7c548fb822dda019803141e883f67489dcb764d145e2055c5744244d8f3d9dc852f69b849230 SHA512 3829045d3e715e7929fd171eac870c6d476bd21962f5ffeb0346a161ac991d70074085b2eeb64f6a9b26632d44fd3f46e0d37cb9b5fbb49dd8adef5a5cf67d04
MISC metadata.xml 384 BLAKE2B 420bdcd5d54a1d049e16700ef9a7f2457a88fe8e5f5883c1905f2309197390803f6a58afd4d2678f563441839f7c8067410f00994134217883efd240359b868b SHA512 b07060cd3359359498cf6bd51151eb0874f2c65d0174df993d1041408c394d12cbf188f0f929e41364e9116a9d98804a0536685bcb232561706dff5e626e47f4
diff --git a/dev-python/pyphen/pyphen-0.10.0.ebuild b/dev-python/pyphen/pyphen-0.10.0.ebuild
new file mode 100644
index 000000000000..1dbb3a13825e
--- /dev/null
+++ b/dev-python/pyphen/pyphen-0.10.0.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+PYTHON_COMPAT=( python3_{6,7,8,9} )
+
+DISTUTILS_USE_SETUPTOOLS=bdepend
+inherit distutils-r1
+
+DESCRIPTION="Python module for hyphenation using hunspell dictionaries"
+MY_PN="Pyphen"
+MY_P="${MY_PN}-${PV}"
+SRC_URI="https://github.com/Kozea/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+HOMEPAGE="https://github.com/Kozea/Pyphen"
+
+LICENSE="GPL-2+ LGPL-2+ MPL-1.1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND=""
+DEPEND="test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
+
+S="${WORKDIR}/${MY_P}"
+
+distutils_enable_tests pytest
+
+python_test() {
+ pytest -v test.py || die
+}