Gentoo Archives: gentoo-commits

From: "Tom Wijsman (tomwij)" <tomwij@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/pysrt: metadata.xml pysrt-0.5.1.ebuild pysrt-9999.ebuild ChangeLog
Date: Sat, 07 Dec 2013 17:31:29
Message-Id: 20131207173126.2BBF32004B@flycatcher.gentoo.org
1 tomwij 13/12/07 17:31:26
2
3 Added: metadata.xml pysrt-0.5.1.ebuild pysrt-9999.ebuild
4 ChangeLog
5 Log:
6 New ebuild for dev-python/pysrt, a library used to edit or create SubRip files; fixes bug #493510, proxied commit for Nikoli whom provided the ebuilds and will maintain this package.
7
8 (Portage version: HEAD/cvs/Linux x86_64, signed Manifest commit with key 6D34E57D)
9
10 Revision Changes Path
11 1.1 dev-python/pysrt/metadata.xml
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pysrt/metadata.xml?rev=1.1&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pysrt/metadata.xml?rev=1.1&content-type=text/plain
15
16 Index: metadata.xml
17 ===================================================================
18 <?xml version="1.0" encoding="UTF-8"?>
19 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
20 <pkgmetadata>
21 <maintainer>
22 <email>nikoli@×××.us</email>
23 </maintainer>
24 <herd>proxy-maintainers</herd>
25 </pkgmetadata>
26
27
28
29 1.1 dev-python/pysrt/pysrt-0.5.1.ebuild
30
31 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pysrt/pysrt-0.5.1.ebuild?rev=1.1&view=markup
32 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pysrt/pysrt-0.5.1.ebuild?rev=1.1&content-type=text/plain
33
34 Index: pysrt-0.5.1.ebuild
35 ===================================================================
36 # Copyright 1999-2013 Gentoo Foundation
37 # Distributed under the terms of the GNU General Public License v2
38 # $Header: /var/cvsroot/gentoo-x86/dev-python/pysrt/pysrt-0.5.1.ebuild,v 1.1 2013/12/07 17:31:25 tomwij Exp $
39
40 EAPI="5"
41 PYTHON_COMPAT=( python{2_6,2_7} )
42
43 inherit distutils-r1
44
45 DESCRIPTION="A library used to edit or create SubRip files"
46 HOMEPAGE="https://github.com/byroot/pysrt https://pypi.python.org/pypi/pysrt"
47 # does not have tests/static/ # SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
48 SRC_URI="https://github.com/byroot/pysrt/archive/v${PV}.tar.gz -> ${P}.tar.gz"
49
50 LICENSE="GPL-3"
51 SLOT="0"
52 KEYWORDS="~amd64 ~x86"
53 IUSE="test"
54
55 RDEPEND="
56 dev-python/charade[${PYTHON_USEDEP}]
57 virtual/python-argparse[${PYTHON_USEDEP}]
58 "
59 DEPEND="${RDEPEND}
60 dev-python/setuptools[${PYTHON_USEDEP}]
61 test? ( dev-python/nose[coverage(+),${PYTHON_USEDEP}] )
62 "
63
64 python_test() {
65 nosetests --with-coverage --cover-package=pysrt \
66 || die "Tests failed under ${EPYTHON}"
67 }
68
69 src_install() {
70 rm -rf "${S}/tests" || die
71
72 distutils-r1_src_install
73 }
74
75 python_install() {
76 rm -rf "${BUILD_DIR}/lib/tests" || die
77
78 distutils-r1_python_install
79 }
80
81
82
83 1.1 dev-python/pysrt/pysrt-9999.ebuild
84
85 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pysrt/pysrt-9999.ebuild?rev=1.1&view=markup
86 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pysrt/pysrt-9999.ebuild?rev=1.1&content-type=text/plain
87
88 Index: pysrt-9999.ebuild
89 ===================================================================
90 # Copyright 1999-2013 Gentoo Foundation
91 # Distributed under the terms of the GNU General Public License v2
92 # $Header: /var/cvsroot/gentoo-x86/dev-python/pysrt/pysrt-9999.ebuild,v 1.1 2013/12/07 17:31:25 tomwij Exp $
93
94 EAPI="5"
95 PYTHON_COMPAT=( python{2_6,2_7} )
96 EGIT_REPO_URI="https://github.com/byroot/pysrt.git"
97
98 inherit distutils-r1 git-2
99
100 DESCRIPTION="A library used to edit or create SubRip files"
101 HOMEPAGE="https://github.com/byroot/pysrt https://pypi.python.org/pypi/pysrt"
102
103 LICENSE="GPL-3"
104 SLOT="0"
105 KEYWORDS=""
106 IUSE="test"
107
108 RDEPEND="
109 dev-python/charade[${PYTHON_USEDEP}]
110 virtual/python-argparse[${PYTHON_USEDEP}]
111 "
112 DEPEND="${RDEPEND}
113 dev-python/setuptools[${PYTHON_USEDEP}]
114 test? ( dev-python/nose[coverage(+),${PYTHON_USEDEP}] )
115 "
116
117 python_test() {
118 nosetests --with-coverage --cover-package=pysrt \
119 || die "Tests failed under ${EPYTHON}"
120 }
121
122 src_install() {
123 rm -rf "${S}/tests" || die
124
125 distutils-r1_src_install
126 }
127
128 python_install() {
129 rm -rf "${BUILD_DIR}/lib/tests" || die
130
131 distutils-r1_python_install
132 }
133
134
135
136 1.1 dev-python/pysrt/ChangeLog
137
138 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pysrt/ChangeLog?rev=1.1&view=markup
139 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pysrt/ChangeLog?rev=1.1&content-type=text/plain
140
141 Index: ChangeLog
142 ===================================================================
143 # ChangeLog for dev-python/pysrt
144 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
145 # $Header: /var/cvsroot/gentoo-x86/dev-python/pysrt/ChangeLog,v 1.1 2013/12/07 17:31:25 tomwij Exp $
146
147 *pysrt-0.5.1 (07 Dec 2013)
148 *pysrt-9999 (07 Dec 2013)
149
150 07 Dec 2013; Tom Wijsman <TomWij@g.o> +metadata.xml,
151 +pysrt-0.5.1.ebuild, +pysrt-9999.ebuild:
152 New ebuild for dev-python/pysrt, a library used to edit or create SubRip
153 files; fixes bug #493510, proxied commit for Nikoli whom provided the ebuilds
154 and will maintain this package.