/[gentoo-x86]/net-misc/flexget/flexget-1.0_beta2821.ebuild
Gentoo

Contents of /net-misc/flexget/flexget-1.0_beta2821.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Thu Aug 16 03:28:22 2012 UTC (7 years, 4 months ago) by floppym
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Version bump.

(Portage version: 2.2.0_alpha121/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-misc/flexget/flexget-1.0_beta2821.ebuild,v 1.1 2012/04/01 19:06:47 floppym Exp $
4
5 EAPI=4
6
7 PYTHON_DEPEND="2:2.6"
8 SUPPORT_PYTHON_ABIS="1"
9 RESTRICT_PYTHON_ABIS="2.4 2.5 *-pypy-* 3.*"
10 DISTUTILS_SRC_TEST="setup.py"
11
12 inherit distutils eutils
13
14 if [[ ${PV} != 9999 ]]; then
15 MY_P="FlexGet-${PV/_beta/r}"
16 SRC_URI="http://download.flexget.com/unstable/${MY_P}.tar.gz"
17 KEYWORDS="~amd64 ~x86"
18 else
19 inherit subversion
20 SRC_URI=""
21 ESVN_REPO_URI="http://svn.flexget.com/trunk"
22 KEYWORDS=""
23 fi
24
25 DESCRIPTION="Multipurpose automation tool for content like torrents, nzbs, podcasts, comics"
26 HOMEPAGE="http://flexget.com/"
27
28 LICENSE="MIT"
29 SLOT="0"
30 IUSE="deluge test transmission"
31
32 RDEPEND="
33 >=dev-python/feedparser-5.1
34 >=dev-python/sqlalchemy-0.7
35 dev-python/pyyaml
36 dev-python/beautifulsoup:python-2
37 dev-python/html5lib
38 dev-python/jinja
39 dev-python/PyRSS2Gen
40 dev-python/pynzb
41 dev-python/progressbar
42 dev-python/flask
43 dev-python/cherrypy
44 dev-python/python-dateutil
45 >=dev-python/requests-0.10.0
46 !=dev-python/requests-0.10.1
47 "
48 DEPEND="
49 dev-python/setuptools
50 test? ( ${RDEPEND} dev-python/nose )
51 "
52 RDEPEND+="
53 dev-python/setuptools
54 deluge? ( net-p2p/deluge )
55 transmission? ( dev-python/transmissionrpc )
56 "
57
58 if [[ ${PV} == 9999 ]]; then
59 DEPEND+=" dev-python/paver"
60 else
61 S="${WORKDIR}/${MY_P}"
62 fi
63
64 src_prepare() {
65 # Prevent setup from grabbing nose from pypi
66 sed -e /setup_requires/d \
67 -e '/requests/s/, <0.11//' \
68 -i pavement.py || die
69
70 if [[ ${PV} == 9999 ]]; then
71 # Generate setup.py
72 paver generate_setup || die
73 fi
74
75 epatch_user
76 distutils_src_prepare
77 }

  ViewVC Help
Powered by ViewVC 1.1.20