summaryrefslogtreecommitdiff
path: root/dev-python/apse
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-python/apse
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-python/apse')
-rw-r--r--dev-python/apse/Manifest5
-rw-r--r--dev-python/apse/apse-0.2-r3.ebuild40
-rw-r--r--dev-python/apse/metadata.xml19
3 files changed, 64 insertions, 0 deletions
diff --git a/dev-python/apse/Manifest b/dev-python/apse/Manifest
new file mode 100644
index 000000000000..8b75c08c3a0e
--- /dev/null
+++ b/dev-python/apse/Manifest
@@ -0,0 +1,5 @@
+DIST Apse-0.2.tar.gz 18005 SHA256 cacdb5fa76bc63998bae65c858797423d8b5c047290a762ab9e299097faa983f SHA512 accad6d4fa4056e5dd0ac1036b47b6e258ceea9b458ca91065b0a8411d5e3a3461cd8e87bebbf884982d02bc0f6cc996a3df800fe74a0567a336ee79e05a9837 WHIRLPOOL 912327a3d5ca2f8a20c41604a67323f7c97c71aa1a4120498420bb335eb081e33c39b5bab1de80d0a693b54cefbd91eeefca644fba100182d45e27454bd70b8e
+EBUILD apse-0.2-r3.ebuild 881 SHA256 d04507b2adf19da9e8eee089509d5965a0e6b222583d0fb92ae17f394e8dc2b9 SHA512 3f4c4795f6ebe0e102e7e6cb3bb276f502e63989fb14bcea077ec20dc9ccf8908671eccfcb6931e50bc72792b7f9496f2de73e6b5a5e0303fdfe4284d3721f22 WHIRLPOOL 76c503146a403373093ea052786a45ad41cfec1f888a207f9eddf0635070b41904fac44fdf9a0d5a92c26519067b18c3550bda364d558b216f17d472d1f6fa4b
+MISC ChangeLog 2815 SHA256 8d9be2ce9b18f44fe5c05f6027f494218d5dee5a4ead1c46e184bf972caf09ea SHA512 7d5a692de507e36d119ca5e5afc65ebb60da3687b8e0fa37477ef516fea0aef7d393ba95c2356894f918ae1dfbe123eb868c897e6000112955bfa975f93677c0 WHIRLPOOL 01ab50966c613c66c853547f47cc9e0242fb9f559668cac5530b8b837cfe41d17f8c80f61e773d246c1f209e9712ae2c39d50738c503dbe148bd405d6e5beb56
+MISC ChangeLog-2015 2988 SHA256 8c61c0b0112c1d98c00f04e98f8d8078c2e00f76678352ce0f6bd994e3a912d4 SHA512 c73c27d6da666232bd54c7e8c7fe1fc9e007a4b26a7d936442080738e3eb844243e77b9d52d192f0f9563dc707dcb62d1263bfd65f951505f6d98afba8e7818e WHIRLPOOL 8f142bb4fd085a4ae989927a9f055a8c1ed5e1ba5fc7e5c977716fe20c56e478af80c6eb4b1cbae23b3dd400d4799db4851c4f360570a724ad0b01710bbf4249
+MISC metadata.xml 1115 SHA256 3325bab79b17961b1e5aebca74f0f528cd5fb3b626b6679e9965237e6a1dfcf0 SHA512 18be72bd7a6340856103bd1a49c53966e8b25eedd551fb118929786ad5a09a558b64f598df05aede3c19a77bcc5a21f30ac990e19e70c63ecf30ec78bfb60f2b WHIRLPOOL 62f6cd21ad7be8722a482d7e947421e5e7d5892c05d615bcefe10b72f7f5cb7529a98c18843e3ccfb8747f8a13734bc3eeb0ea1efc00b2caac6ad8a09997d436
diff --git a/dev-python/apse/apse-0.2-r3.ebuild b/dev-python/apse/apse-0.2-r3.ebuild
new file mode 100644
index 000000000000..a2843e778096
--- /dev/null
+++ b/dev-python/apse/apse-0.2-r3.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+PYTHON_COMPAT=( python2_7 pypy )
+
+inherit distutils-r1
+
+MY_P="Apse-${PV}"
+
+DESCRIPTION="Approximate String Matching in Python"
+HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage"
+SRC_URI="http://www.personal.psu.edu/staff/i/u/iua1/python/${PN}/dist/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ia64 ppc ppc64 x86"
+IUSE=""
+
+RDEPEND=""
+DEPEND="dev-lang/swig:1"
+
+S="${WORKDIR}/${MY_P}"
+
+python_prepare_all() {
+ # Prevent the build system from calling swig over and over again.
+ sed -i -e 's:Apse.i:Apse_wrap.c:' setup.py || die
+
+ distutils-r1_python_prepare_all
+}
+
+python_configure_all() {
+ set -- swig1.3 -python -o Apse_wrap.c Apse.i
+ echo "${@}" >&2
+ "${@}" || die
+}
+
+python_test() {
+ "${PYTHON}" test/test_Apse.py || die "Tests fail with ${EPYTHON}"
+}
diff --git a/dev-python/apse/metadata.xml b/dev-python/apse/metadata.xml
new file mode 100644
index 000000000000..e3518cf8565b
--- /dev/null
+++ b/dev-python/apse/metadata.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>python@gentoo.org</email>
+ <name>Python</name>
+ </maintainer>
+ <longdescription lang="en">
+ Approximate String Matching in Python: identifies typing and spelling
+ errors, closely related vocabularies, genetic mutations (GAG ACT),
+ abbreviations. While it implements the same algorithm as the agrep
+ program, Apse lets the user choose how many edits (substitutions,
+ deletions, additions) will be acceptable as 'match'.
+ </longdescription>
+ <longdescription lang="ja">
+ Python言語に近似した文字列の一致を判断させます。タイピング・エラー、スペリング・
+ エラー、ボキャブラリ的に近い単語、一般的な同意語(GAG ACT)、略語を同一視できます&gt;。agrepプログラムと同一のアルゴリズムを用いて、Apseはユーザーに"一致する"と判断&gt;した場合の処理(置換、削除、追加)を何回行うかを選ばせます。
+ </longdescription>
+</pkgmetadata>