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 768FB138334 for ; Mon, 8 Jul 2019 08:20:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A3799E0844; Mon, 8 Jul 2019 08:20:19 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 86DB6E0844 for ; Mon, 8 Jul 2019 08:20:19 +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 43C9234736F for ; Mon, 8 Jul 2019 08:20:05 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CAEA2609 for ; Mon, 8 Jul 2019 08:20:01 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1562573990.0c3fd63e29b6180388d9cf669b4c40581bf62d64.mgorny@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.2.ebuild X-VCS-Directories: dev-python/jellyfish/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 0c3fd63e29b6180388d9cf669b4c40581bf62d64 X-VCS-Branch: master Date: Mon, 8 Jul 2019 08:20:01 +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: 1e36e2ff-6d4e-4d2d-b48b-52c1435e1e9e X-Archives-Hash: b1718dffb29010e880bfd9a2a76b4f56 commit: 0c3fd63e29b6180388d9cf669b4c40581bf62d64 Author: Michał Górny gentoo org> AuthorDate: Mon Jul 8 07:48:48 2019 +0000 Commit: Michał Górny gentoo org> CommitDate: Mon Jul 8 08:19:50 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c3fd63e dev-python/jellyfish: Bump to 0.7.2 Signed-off-by: Michał Górny gentoo.org> dev-python/jellyfish/Manifest | 1 + dev-python/jellyfish/jellyfish-0.7.2.ebuild | 43 +++++++++++++++++++++++++++++ 2 files changed, 44 insertions(+) diff --git a/dev-python/jellyfish/Manifest b/dev-python/jellyfish/Manifest index cc79ad9cd5e..4e8c43bffb8 100644 --- a/dev-python/jellyfish/Manifest +++ b/dev-python/jellyfish/Manifest @@ -1 +1,2 @@ DIST jellyfish-0.7.1.tar.gz 131122 BLAKE2B c494e38d3101b1a7bfd295b80957d834bc3e475dac72bd9d81669466eb395e293faa41a581953250133d455d20ca71959414cabd73d5c3dea444ee39e4e8f973 SHA512 c8464171cead812f6dab8c61c74d83afafbf6451e7143e5be74400dffcf895be925a3628ac4fff47467b6dbf70b6d068daaf1c141b1846e53d5d19bed1617ca0 +DIST jellyfish-0.7.2.tar.gz 133320 BLAKE2B 094610c79e8c7f1caa94ff6c8f6936c3ff26c8d8ab8a7605c145e8293d1ebc28f5d057a603f7d8392811aea5d31a87ecb3e3d9eb682e2fd8a3222f23fbc7c3f7 SHA512 5fa19826a3adb16dea26855d733bd3e8ccce0c68652249f7bcc06f9b5d5ac36919152301c9afafdfca9877cef6614dccbe8e46a51ab41c1fed493374929c3367 diff --git a/dev-python/jellyfish/jellyfish-0.7.2.ebuild b/dev-python/jellyfish/jellyfish-0.7.2.ebuild new file mode 100644 index 00000000000..f3bfa9346a1 --- /dev/null +++ b/dev-python/jellyfish/jellyfish-0.7.2.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}" +}