Gentoo Archives: gentoo-commits

From: "Rafael Martins (rafaelmartins)" <rafaelmartins@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in www-apps/ownpaste: ChangeLog ownpaste-0.2.1.ebuild ownpaste-0.2.ebuild
Date: Fri, 15 Jun 2012 00:18:02
Message-Id: 20120615001751.D55002004B@flycatcher.gentoo.org
1 rafaelmartins 12/06/15 00:17:51
2
3 Modified: ChangeLog
4 Added: ownpaste-0.2.1.ebuild
5 Removed: ownpaste-0.2.ebuild
6 Log:
7 Version bump.
8
9 (Portage version: 2.2.0_alpha100/cvs/Linux x86_64)
10
11 Revision Changes Path
12 1.3 www-apps/ownpaste/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/ownpaste/ChangeLog?rev=1.3&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/ownpaste/ChangeLog?rev=1.3&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/ownpaste/ChangeLog?r1=1.2&r2=1.3
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/www-apps/ownpaste/ChangeLog,v
21 retrieving revision 1.2
22 retrieving revision 1.3
23 diff -u -r1.2 -r1.3
24 --- ChangeLog 10 Jun 2012 21:40:14 -0000 1.2
25 +++ ChangeLog 15 Jun 2012 00:17:51 -0000 1.3
26 @@ -1,6 +1,12 @@
27 # ChangeLog for www-apps/ownpaste
28 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/www-apps/ownpaste/ChangeLog,v 1.2 2012/06/10 21:40:14 rafaelmartins Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/www-apps/ownpaste/ChangeLog,v 1.3 2012/06/15 00:17:51 rafaelmartins Exp $
31 +
32 +*ownpaste-0.2.1 (15 Jun 2012)
33 +
34 + 15 Jun 2012; Rafael G. Martins <rafaelmartins@g.o>
35 + -ownpaste-0.2.ebuild, +ownpaste-0.2.1.ebuild:
36 + Version bump.
37
38 *ownpaste-0.2 (10 Jun 2012)
39
40
41
42
43 1.1 www-apps/ownpaste/ownpaste-0.2.1.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/ownpaste/ownpaste-0.2.1.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/ownpaste/ownpaste-0.2.1.ebuild?rev=1.1&content-type=text/plain
47
48 Index: ownpaste-0.2.1.ebuild
49 ===================================================================
50 # Copyright 1999-2012 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/www-apps/ownpaste/ownpaste-0.2.1.ebuild,v 1.1 2012/06/15 00:17:51 rafaelmartins Exp $
53
54 EAPI=4
55
56 PYTHON_COMPAT="python2_7"
57
58 HG_ECLASS=""
59 if [[ ${PV} = *9999* ]]; then
60 HG_ECLASS="mercurial"
61 EHG_REPO_URI="https://hg.rafaelmartins.eng.br/ownpaste/"
62 EHG_REVISION="default"
63 fi
64
65 inherit python-distutils-ng ${HG_ECLASS}
66
67 DESCRIPTION="Private pastebin (server-side implementation)"
68 HOMEPAGE="http://ownpaste.rtfd.org/ http://pypi.python.org/pypi/ownpaste"
69 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
70
71 LICENSE="BSD"
72 SLOT="0"
73 KEYWORDS="~amd64 ~x86"
74 IUSE="doc"
75
76 if [[ ${PV} = *9999* ]]; then
77 SRC_URI=""
78 KEYWORDS=""
79 fi
80
81 RDEPEND="dev-python/setuptools
82 >=dev-python/flask-0.8
83 >=dev-python/flask-script-0.3.3
84 >=dev-python/flask-sqlalchemy-0.15
85 >=dev-python/jinja-2.6
86 >=dev-python/werkzeug-0.8
87 >=dev-python/sqlalchemy-migrate-0.7.2
88 dev-python/pygments
89 dev-python/pytz"
90 DEPEND="${RDEPEND}
91 doc? ( dev-python/sphinx )"
92
93 src_compile() {
94 python-distutils-ng_src_compile
95
96 if use doc; then
97 einfo 'building documentation'
98 emake -C docs html
99 fi
100 }
101
102 src_install() {
103 python-distutils-ng_src_install
104
105 if use doc; then
106 einfo 'installing documentation'
107 dohtml -r "${S}/docs/_build/html/"*
108 fi
109 }