From: "Ian Delaney" <idella4@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pysrt/
Date: Tue, 2 Feb 2016 12:43:29 +0000 (UTC) [thread overview]
Message-ID: <1454290942.c1f9eae2aaf0f57da949d20b601985c55a053870.idella4@gentoo> (raw)
commit: c1f9eae2aaf0f57da949d20b601985c55a053870
Author: Louis Sautier <sautier.louis <AT> gmail <DOT> com>
AuthorDate: Mon Feb 1 01:35:33 2016 +0000
Commit: Ian Delaney <idella4 <AT> gentoo <DOT> org>
CommitDate: Mon Feb 1 01:42:22 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c1f9eae2
dev-python/pysrt: support Python 3.5, fix tests, take package
Pull releases from github instead of pypi
Package-Manager: portage-2.2.27
dev-python/pysrt/metadata.xml | 24 +++++++++++++-----------
dev-python/pysrt/pysrt-1.0.1.ebuild | 21 ++++++++++-----------
dev-python/pysrt/pysrt-9999.ebuild | 15 ++++++++-------
3 files changed, 31 insertions(+), 29 deletions(-)
diff --git a/dev-python/pysrt/metadata.xml b/dev-python/pysrt/metadata.xml
index 6518363..9950bf8 100644
--- a/dev-python/pysrt/metadata.xml
+++ b/dev-python/pysrt/metadata.xml
@@ -1,15 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <maintainer type="person">
- <email>nikoli@gmx.us</email>
- </maintainer>
- <maintainer type="project">
- <email>proxy-maint@gentoo.org</email>
- <name>Proxy Maintainers</name>
- </maintainer>
- <upstream>
- <remote-id type="pypi">pysrt</remote-id>
- <remote-id type="github">byroot/pysrt</remote-id>
- </upstream>
+ <maintainer type="person">
+ <email>sautier.louis@gmail.com</email>
+ <name>Louis Sautier</name>
+ <description>Proxied maintainer; set to assignee in all bugs</description>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="pypi">pysrt</remote-id>
+ <remote-id type="github">byroot/pysrt</remote-id>
+ </upstream>
</pkgmetadata>
diff --git a/dev-python/pysrt/pysrt-1.0.1.ebuild b/dev-python/pysrt/pysrt-1.0.1.ebuild
index db90218..effad92 100644
--- a/dev-python/pysrt/pysrt-1.0.1.ebuild
+++ b/dev-python/pysrt/pysrt-1.0.1.ebuild
@@ -1,32 +1,31 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="5"
-PYTHON_COMPAT=( python{2_7,3_3,3_4} )
+PYTHON_COMPAT=( python{2_7,3_3,3_4,3_5} )
inherit distutils-r1
DESCRIPTION="Python library used to edit or create SubRip files"
HOMEPAGE="https://github.com/byroot/pysrt https://pypi.python.org/pypi/pysrt"
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+# pypi tarballs don't include tests https://github.com/byroot/pysrt/issues/42
+SRC_URI="https://github.com/byroot/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
-RDEPEND="
- dev-python/chardet[${PYTHON_USEDEP}]
-"
-DEPEND="${RDEPEND}
+RDEPEND="dev-python/chardet[${PYTHON_USEDEP}]"
+DEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
- test? ( dev-python/nose[coverage(+),${PYTHON_USEDEP}] )
+ test? (
+ dev-python/nose[coverage(+),${PYTHON_USEDEP}]
+ ${RDEPEND}
+ )
"
-# https://github.com/byroot/pysrt/issues/42
-RESTRICT="test"
-
python_test() {
nosetests --with-coverage --cover-package=pysrt \
|| die "Tests failed under ${EPYTHON}"
diff --git a/dev-python/pysrt/pysrt-9999.ebuild b/dev-python/pysrt/pysrt-9999.ebuild
index 374a8c7..52db6b6 100644
--- a/dev-python/pysrt/pysrt-9999.ebuild
+++ b/dev-python/pysrt/pysrt-9999.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="5"
-PYTHON_COMPAT=( python{2_7,3_3,3_4} )
+PYTHON_COMPAT=( python{2_7,3_3,3_4,3_5} )
inherit distutils-r1 git-r3
@@ -16,12 +16,13 @@ SLOT="0"
KEYWORDS=""
IUSE="test"
-RDEPEND="
- dev-python/chardet[${PYTHON_USEDEP}]
-"
-DEPEND="${RDEPEND}
+RDEPEND="dev-python/chardet[${PYTHON_USEDEP}]"
+DEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
- test? ( dev-python/nose[coverage(+),${PYTHON_USEDEP}] )
+ test? (
+ dev-python/nose[coverage(+),${PYTHON_USEDEP}]
+ ${RDEPEND}
+ )
"
python_test() {
next reply other threads:[~2016-02-02 12:43 UTC|newest]
Thread overview: 34+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-02 12:43 Ian Delaney [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-05-27 16:29 [gentoo-commits] repo/gentoo:master commit in: dev-python/pysrt/ Michał Górny
2024-05-18 8:09 Michał Górny
2023-11-24 15:45 Arthur Zamarin
2023-10-28 18:40 Michał Górny
2023-03-16 18:52 Michał Górny
2022-07-02 19:26 Michał Górny
2022-07-02 18:18 Sam James
2022-07-02 16:11 Michał Górny
2022-07-02 16:05 Jakov Smolić
2022-06-01 1:25 Sam James
2021-05-19 7:33 Michał Górny
2020-10-27 19:58 Sam James
2020-10-27 5:11 Sam James
2020-08-02 19:05 Sam James
2020-05-09 7:48 Agostino Sarubbo
2020-05-09 7:40 Agostino Sarubbo
2020-03-28 18:26 Michał Górny
2020-02-05 19:53 Michał Górny
2020-01-22 14:44 Louis Sautier
2020-01-22 12:33 Louis Sautier
2020-01-22 12:33 Louis Sautier
2020-01-22 12:33 Louis Sautier
2018-07-25 23:23 Louis Sautier
2018-07-25 23:23 Louis Sautier
2018-07-25 23:23 Louis Sautier
2018-06-18 10:34 Louis Sautier
2017-05-17 11:39 Manuel Rüger
2016-12-29 10:45 Agostino Sarubbo
2016-12-20 13:29 Tobias Klausmann
2016-04-24 13:31 Ian Delaney
2016-03-07 9:28 Jason Zaman
2016-03-07 8:07 Ian Delaney
2015-10-22 11:09 Justin Lecher
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1454290942.c1f9eae2aaf0f57da949d20b601985c55a053870.idella4@gentoo \
--to=idella4@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox