mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-25 21:08:35 -07:00
Merge remote-tracking branch 'remotes/sbraz/pysrt'
Pull request: https://github.com/gentoo/gentoo/pull/762
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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}"
|
||||
|
||||
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user