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 D9AB7138334 for ; Wed, 25 Jul 2018 23:23:43 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 09D2BE0871; Wed, 25 Jul 2018 23:23:43 +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 D106AE0871 for ; Wed, 25 Jul 2018 23:23:42 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 428A9335CC2 for ; Wed, 25 Jul 2018 23:23:41 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DF360389 for ; Wed, 25 Jul 2018 23:23:38 +0000 (UTC) From: "Louis Sautier" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Louis Sautier" Message-ID: <1532561012.9de01c8e147ed2759b0572d0fef024956384e27d.sbraz@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pysrt/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pysrt/pysrt-9999.ebuild X-VCS-Directories: dev-python/pysrt/ X-VCS-Committer: sbraz X-VCS-Committer-Name: Louis Sautier X-VCS-Revision: 9de01c8e147ed2759b0572d0fef024956384e27d X-VCS-Branch: master Date: Wed, 25 Jul 2018 23:23:38 +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: 90a5dc2e-fd95-42aa-8407-eb39851711a2 X-Archives-Hash: f62e2a3a06e603bba6d14deb5642615c commit: 9de01c8e147ed2759b0572d0fef024956384e27d Author: Louis Sautier gentoo org> AuthorDate: Wed Jul 25 23:14:25 2018 +0000 Commit: Louis Sautier gentoo org> CommitDate: Wed Jul 25 23:23:32 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9de01c8e dev-python/pysrt: sync live ebuild with 1.1.1-r1 Package-Manager: Portage-2.3.43, Repoman-2.3.10 dev-python/pysrt/pysrt-9999.ebuild | 25 +++++++++++++++---------- 1 file changed, 15 insertions(+), 10 deletions(-) diff --git a/dev-python/pysrt/pysrt-9999.ebuild b/dev-python/pysrt/pysrt-9999.ebuild index bda2f23780f..5ceb7f70950 100644 --- a/dev-python/pysrt/pysrt-9999.ebuild +++ b/dev-python/pysrt/pysrt-9999.ebuild @@ -1,30 +1,35 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI=6 -PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} ) +EAPI=7 -inherit distutils-r1 git-r3 +PYTHON_COMPAT=( pypy{,3} python{2_7,3_{4,5,6,7}} ) + +inherit distutils-r1 DESCRIPTION="Python library used to edit or create SubRip files" HOMEPAGE="https://github.com/byroot/pysrt https://pypi.org/project/pysrt/" -EGIT_REPO_URI="https://github.com/byroot/pysrt.git" +if [[ ${PV} == "9999" ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/byroot/pysrt.git" +else + SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi -LICENSE="GPL-3" +LICENSE="GPL-3+" SLOT="0" -KEYWORDS="" IUSE="test" RDEPEND="dev-python/chardet[${PYTHON_USEDEP}]" DEPEND=" dev-python/setuptools[${PYTHON_USEDEP}] test? ( - dev-python/nose[coverage(+),${PYTHON_USEDEP}] ${RDEPEND} + dev-python/nose[${PYTHON_USEDEP}] ) " python_test() { - nosetests --with-coverage --cover-package=pysrt \ - || die "Tests failed under ${EPYTHON}" + nosetests -v || die "Tests failed under ${EPYTHON}" }