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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download)
Thu Aug 16 03:28:22 2012 UTC (7 years, 6 months ago) by floppym
Branch: MAIN
Version bump.

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

1 floppym 1.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-9999.ebuild,v 1.20 2012/07/11 04:13:37 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="test"
31    
32     DEPEND="
33     >=dev-python/feedparser-5.1.2
34     >=dev-python/sqlalchemy-0.7
35     dev-python/pyyaml
36     dev-python/beautifulsoup:python-2
37     dev-python/beautifulsoup:4
38     dev-python/html5lib
39     dev-python/jinja
40     dev-python/PyRSS2Gen
41     dev-python/pynzb
42     dev-python/progressbar
43     dev-python/flask
44     dev-python/cherrypy
45     dev-python/python-dateutil
46     >=dev-python/requests-0.10.0
47     !=dev-python/requests-0.10.1
48     || ( dev-lang/python:2.7 dev-python/argparse )
49     dev-python/setuptools
50     "
51     RDEPEND="${DEPEND}"
52     DEPEND+=" test? ( dev-python/nose )"
53    
54     if [[ ${PV} == 9999 ]]; then
55     DEPEND+=" dev-python/paver"
56     else
57     S="${WORKDIR}/${MY_P}"
58     fi
59    
60     src_prepare() {
61     # Prevent setup from grabbing nose from pypi
62     sed -e /setup_requires/d \
63     -e '/SQLAlchemy/s/, <0.8//' \
64     -e '/BeautifulSoup/s/, <3.3//' \
65     -e '/beautifulsoup4/s/, <4.2//' \
66     -e '/requests/s/, <0.11//' \
67     -i pavement.py || die
68    
69     if [[ ${PV} == 9999 ]]; then
70     # Generate setup.py
71     paver generate_setup || die
72     fi
73    
74     epatch_user
75     distutils_src_prepare
76     }

  ViewVC Help
Powered by ViewVC 1.1.20