From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id DC7E0138336 for ; Sat, 1 Jun 2019 14:26:31 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 67C31E0729; Sat, 1 Jun 2019 14:26:29 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3B104E0729 for ; Sat, 1 Jun 2019 14:26:28 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 81D4B3454FF for ; Sat, 1 Jun 2019 14:26:27 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D1B5F603 for ; Sat, 1 Jun 2019 14:26:24 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1559399161.73bd795e295490c7b85d0a9ed281a2f6520e084c.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/jellyfish/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/jellyfish/Manifest dev-python/jellyfish/jellyfish-0.7.1.ebuild X-VCS-Directories: dev-python/jellyfish/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 73bd795e295490c7b85d0a9ed281a2f6520e084c X-VCS-Branch: master Date: Sat, 1 Jun 2019 14:26:24 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 2268b3be-b942-47ff-abb1-21e151e571f5 X-Archives-Hash: 6276af2fb152d34fc0d8fb06cbe70c08 commit: 73bd795e295490c7b85d0a9ed281a2f6520e084c Author: Andreas Sturmlechner gentoo org> AuthorDate: Sat Jun 1 12:53:53 2019 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Sat Jun 1 14:26:01 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=73bd795e dev-python/jellyfish: 0.7.1 version bump, EAPI-7, python2_7-- Closes: https://bugs.gentoo.org/686808 Package-Manager: Portage-2.3.67, Repoman-2.3.13 Signed-off-by: Andreas Sturmlechner gentoo.org> dev-python/jellyfish/Manifest | 1 + dev-python/jellyfish/jellyfish-0.7.1.ebuild | 43 +++++++++++++++++++++++++++++ 2 files changed, 44 insertions(+) diff --git a/dev-python/jellyfish/Manifest b/dev-python/jellyfish/Manifest index 136a243d0f7..c47409de319 100644 --- a/dev-python/jellyfish/Manifest +++ b/dev-python/jellyfish/Manifest @@ -1 +1,2 @@ DIST jellyfish-0.5.6.tar.gz 132177 BLAKE2B f5d3ac95c6057fc890705c7435c4d79ce81de4684cecea89001c00f785bc85c316587a85ffc5e3334d239d1ae6b375525924fcadb32d5159925d0217e488465a SHA512 12f09e877dd2a9386adc336a56c8ea6566179e5ba333045ad70604c17c288fa61fad2aa9735c76c58d69dfba95f99876e608e2d05995085f970834132fb8504f +DIST jellyfish-0.7.1.tar.gz 131122 BLAKE2B c494e38d3101b1a7bfd295b80957d834bc3e475dac72bd9d81669466eb395e293faa41a581953250133d455d20ca71959414cabd73d5c3dea444ee39e4e8f973 SHA512 c8464171cead812f6dab8c61c74d83afafbf6451e7143e5be74400dffcf895be925a3628ac4fff47467b6dbf70b6d068daaf1c141b1846e53d5d19bed1617ca0 diff --git a/dev-python/jellyfish/jellyfish-0.7.1.ebuild b/dev-python/jellyfish/jellyfish-0.7.1.ebuild new file mode 100644 index 00000000000..f3bfa9346a1 --- /dev/null +++ b/dev-python/jellyfish/jellyfish-0.7.1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{5,6,7} ) +DISTUTILS_IN_SOURCE_BUILD=1 +inherit distutils-r1 + +DESCRIPTION="Python module for doing approximate and phonetic matching of strings" +HOMEPAGE="https://github.com/jamesturk/jellyfish https://pypi.org/project/jellyfish/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc test" + +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) + test? ( + dev-python/pytest-runner[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + dev-python/unicodecsv[${PYTHON_USEDEP}] + ) +" + +python_compile() { + esetup.py build_ext --inplace + esetup.py build +} + +python_compile_all() { + if use doc; then + esetup.py build_sphinx + HTML_DOCS=( build/sphinx/html/. ) + fi +} + +python_test() { + py.test jellyfish/test.py || die "tests failed with ${EPYTHON}" +}