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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Fri Jan 18 04:03:10 2013 UTC (6 years, 10 months ago) by floppym
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +1 -1 lines
FILE REMOVED
Version bump. Update requests dependency.

(Portage version: 2.2.0_alpha154/cvs/Linux x86_64, signed Manifest commit with key 0BBEEA1FEA4843A4)

1 # Copyright 1999-2013 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_beta3181.ebuild,v 1.5 2013/01/01 18:45:01 floppym Exp $
4
5 EAPI=5
6
7 PYTHON_COMPAT=( python2_{6,7} )
8
9 inherit distutils-r1 eutils
10
11 if [[ ${PV} != 9999 ]]; then
12 MY_P="FlexGet-${PV/_beta/r}"
13 SRC_URI="http://download.flexget.com/unstable/${MY_P}.tar.gz"
14 KEYWORDS="~amd64 ~x86"
15 else
16 inherit subversion
17 SRC_URI=""
18 ESVN_REPO_URI="http://svn.flexget.com/trunk"
19 KEYWORDS=""
20 fi
21
22 DESCRIPTION="Multipurpose automation tool for content like torrents, nzbs, podcasts, comics"
23 HOMEPAGE="http://flexget.com/"
24
25 LICENSE="MIT"
26 SLOT="0"
27 IUSE="test"
28
29 DEPEND="
30 >=dev-python/feedparser-5.1.2
31 >=dev-python/sqlalchemy-0.7
32 dev-python/pyyaml
33 dev-python/beautifulsoup:python-2
34 dev-python/beautifulsoup:4
35 dev-python/html5lib
36 dev-python/jinja
37 dev-python/PyRSS2Gen
38 dev-python/pynzb
39 dev-python/progressbar
40 dev-python/flask
41 dev-python/cherrypy
42 dev-python/python-dateutil
43 =dev-python/requests-0.14*
44 dev-python/setuptools
45 virtual/python-argparse[${PYTHON_USEDEP}]
46 "
47 RDEPEND="${DEPEND}"
48 DEPEND+=" test? ( dev-python/nose )"
49
50 if [[ ${PV} == 9999 ]]; then
51 DEPEND+=" dev-python/paver"
52 else
53 S="${WORKDIR}/${MY_P}"
54 fi
55
56 src_prepare() {
57 # Prevent setup from grabbing nose from pypi
58 sed -e /setup_requires/d \
59 -e '/SQLAlchemy/s/, <0.8//' \
60 -e '/BeautifulSoup/s/, <3.3//' \
61 -e '/beautifulsoup4/s/, <4.2//' \
62 -i pavement.py || die
63
64 if [[ ${PV} == 9999 ]]; then
65 # Generate setup.py
66 paver generate_setup || die
67 fi
68
69 distutils-r1_src_prepare
70 }
71
72 python_test() {
73 esetup.py test
74 }

  ViewVC Help
Powered by ViewVC 1.1.20