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 E7F5C139694 for ; Wed, 31 May 2017 16:36:19 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E6E1BE0BFA; Wed, 31 May 2017 16:36:17 +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 B0D0AE0BFA for ; Wed, 31 May 2017 16:36:17 +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 51ABF33B864 for ; Wed, 31 May 2017 16:36:16 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E31767463 for ; Wed, 31 May 2017 16:36:14 +0000 (UTC) From: "Patrice Clement" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Patrice Clement" Message-ID: <1496248571.68a264957372a636a5fffce3dd94cf2661092fd1.monsieurp@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.3.ebuild X-VCS-Directories: dev-python/guessit/ X-VCS-Committer: monsieurp X-VCS-Committer-Name: Patrice Clement X-VCS-Revision: 68a264957372a636a5fffce3dd94cf2661092fd1 X-VCS-Branch: master Date: Wed, 31 May 2017 16:36:14 +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: 0193d18c-7ddb-4305-a08d-4027e66540eb X-Archives-Hash: ed2a20373c7871cedaf4c63d7e2d42a6 commit: 68a264957372a636a5fffce3dd94cf2661092fd1 Author: Ilya Tumaykin gmail com> AuthorDate: Wed May 31 10:35:01 2017 +0000 Commit: Patrice Clement gentoo org> CommitDate: Wed May 31 16:36:11 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68a26495 dev-python/guessit: verbump to 2.1.3. Package-Manager: Portage-2.3.6, Repoman-2.3.2 Closes: https://github.com/gentoo/gentoo/pull/4815 dev-python/guessit/Manifest | 1 + dev-python/guessit/guessit-2.1.3.ebuild | 48 +++++++++++++++++++++++++++++++++ 2 files changed, 49 insertions(+) diff --git a/dev-python/guessit/Manifest b/dev-python/guessit/Manifest index e4565a495ac..7217a2e4370 100644 --- a/dev-python/guessit/Manifest +++ b/dev-python/guessit/Manifest @@ -1,2 +1,3 @@ DIST guessit-2.1.1.tar.gz 86447 SHA256 cdb51ced109e05318f35dc5ee1c50182a85edd800e86de77ec96eb68a0a99391 SHA512 61ace43bacf4bf2289bd1f0cd5105080b8302d92be8bda77942355594e07db14b594c73e4bf42bd14840f9f9723d602a38cd443cc3e1fabdca335d364fa97e2f WHIRLPOOL 885ee697f4929523527747d3ce5c0b548c6bcfe34c0e590bb1b8e5e4530ae4be6c0264a62dad83c5e2356a9063a9930ea3216f44b6df1b73000fd41c45b0e905 DIST guessit-2.1.2.tar.gz 100478 SHA256 9f7e12b7f2215548284631a20aae6fc009c8af2bb8cc5d5e5e339cb15361dd95 SHA512 394098cb61cdd1d140e47a969dd86422d6856d2cda42dc7072ab9e482a0001d62f6ffe91d74a7bad04f274197e36e731ce203fe92930558969a94889d47c8e14 WHIRLPOOL dd26470424be58231a5787da45ca9122596800fbb968366699bc799cc29d65562cded7d40f8c6abbb6e48466300521d07560c92f44868b8a4229a68b5795468f +DIST guessit-2.1.3.tar.gz 102452 SHA256 b2eebbb61e4d2b3764ce4462e0b27da0dccbb25b78e13493a2f913a402e1d0fb SHA512 e10d784709b0f66e344988021274077ae7e849c75b35701ded414f80de00d5314a149a99679b4e41e52c1bc91f6b8f481e82418126be0fba43541a05ecdfe95c WHIRLPOOL 573c1efef786758555e602b1cb17891570c53d491f170371037630ba5251954f2903c273d2d508f146a3e6c526320456bcafc86393f91ed15e095e01360dc82c diff --git a/dev-python/guessit/guessit-2.1.3.ebuild b/dev-python/guessit/guessit-2.1.3.ebuild new file mode 100644 index 00000000000..409fd7259eb --- /dev/null +++ b/dev-python/guessit/guessit-2.1.3.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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.8.2[${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 +}