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 9DC3A138330 for ; Sun, 11 Sep 2016 08:56:38 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 83E72E0BF6; Sun, 11 Sep 2016 08:56:27 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 550C7E0BF6 for ; Sun, 11 Sep 2016 08:56:27 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 51C70340A8E for ; Sun, 11 Sep 2016 08:56:26 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 08AB12492 for ; Sun, 11 Sep 2016 08:56:22 +0000 (UTC) From: "David Seifert" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "David Seifert" Message-ID: <1473584087.fb3f586947b0c6b8b593498a271b2b2005bc799c.soap@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/guessit/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/guessit/Manifest dev-python/guessit/guessit-2.1.0.ebuild X-VCS-Directories: dev-python/guessit/ X-VCS-Committer: soap X-VCS-Committer-Name: David Seifert X-VCS-Revision: fb3f586947b0c6b8b593498a271b2b2005bc799c X-VCS-Branch: master Date: Sun, 11 Sep 2016 08:56:22 +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-Archives-Salt: 8a06311a-a1ae-4997-9af1-3c5cf8a60bf2 X-Archives-Hash: f5edc37f9bd9439e5025c23d2c6bc226 commit: fb3f586947b0c6b8b593498a271b2b2005bc799c Author: Ilya Tumaykin gmail com> AuthorDate: Sat Sep 10 18:54:09 2016 +0000 Commit: David Seifert gentoo org> CommitDate: Sun Sep 11 08:54:47 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fb3f5869 dev-python/guessit: verbump to 2.1.0 Closes: https://github.com/gentoo/gentoo/pull/2294 Package-Manager: portage-2.3.0 Signed-off-by: David Seifert gentoo.org> dev-python/guessit/Manifest | 1 + dev-python/guessit/guessit-2.1.0.ebuild | 49 +++++++++++++++++++++++++++++++++ 2 files changed, 50 insertions(+) diff --git a/dev-python/guessit/Manifest b/dev-python/guessit/Manifest index fcec1cd..e03b1b9 100644 --- a/dev-python/guessit/Manifest +++ b/dev-python/guessit/Manifest @@ -1,2 +1,3 @@ DIST guessit-1.0.3.tar.gz 1200782 SHA256 6de9149b663b415ebc1f4ab9f12eb624ca859cf13cc1a491382f56619f33f59b SHA512 be427d3ac5b598fe14b26b4fa41c3bd9c0cc946df85381c61be9180275b54f6beac9d433ba781f4351bf94eba5a53b1097d8503268efd9019d50beb60f92cfcb WHIRLPOOL 31b2bb0e57a395f38f7ebe2420945cf00e00149a8345db245c3978cebb6366b53b8b1eae89838d4729e1e8c15abef2f4c8c91f64e5eb3e6f36a56f54de715546 DIST guessit-2.0.5.tar.gz 74464 SHA256 626e0024c5cca9b84883b65246e4f238e3f39064664486f69f086c853a63ff61 SHA512 6d02df5caebc0373ea0609b2ef4fa0b2ca2bedce62f5df3f1bdcf84808c09aff57f1c043704effedfb3ca4dbd4235f5a84c5580b1f2839f79933b40342309d2a WHIRLPOOL da5da3ac6a27f96714683acafe9664c316c522290cdd01308097c42fd55e8df16f735e54938c1e8b7b3c2531426d00b60c5361aedd8da8eea597fdc27a22b858 +DIST guessit-2.1.0.tar.gz 77587 SHA256 a534a46bef3bbac7b313a55744860a9ddd5b7fae6abb6f6ae8bbace2b3e973b1 SHA512 0acdfa75dab709cfab00772536404503865554f060052ddb05c120d019e4c70833a4af7a7a7401ca608a65a0e8927e61e11d10878ba77b51fc8f99b3950e2ec0 WHIRLPOOL eafc863bddda4f63a22b9088ae7eba3d9ce7c56f82b25d5e0a6c84e6c20a877906d651acf04cd9d5243ebd32ac73064c2e96c2ae83226fbe814e2831cebaf590 diff --git a/dev-python/guessit/guessit-2.1.0.ebuild b/dev-python/guessit/guessit-2.1.0.ebuild new file mode 100644 index 00000000..2661caa --- /dev/null +++ b/dev-python/guessit/guessit-2.1.0.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +PYTHON_COMPAT=( python{2_7,3_4,3_5} ) + +inherit distutils-r1 + +DESCRIPTION="Python library for guessing information from video filenames" +HOMEPAGE="https://github.com/guessit-io/guessit https://pypi.python.org/pypi/guessit" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +RDEPEND=" + >=dev-python/babelfish-0.5.5[${PYTHON_USEDEP}] + >=dev-python/rebulk-0.7.3[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + dev-python/setuptools[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] +" +DEPEND="${RDEPEND} + test? ( + >=dev-python/pytest-2.7.3[${PYTHON_USEDEP}] + dev-python/pytest-capturelog[${PYTHON_USEDEP}] + dev-python/pytest-runner[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + ) +" + +python_prepare_all() { + # Disable benchmarks as they require unavailable pytest-benchmark. + rm guessit/test/test_benchmark.py || die + sed -i -e "s|'pytest-benchmark',||g" setup.py || die + + # Disable unconditional dependency on dev-python/pytest-runner. + sed -i -e "s|'pytest-runner'||g" setup.py || die + + distutils-r1_python_prepare_all +} + +python_test() { + esetup.py test +}