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

Contents of /net-misc/flexget/flexget-1.0.3279.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Tue Mar 19 02:25:59 2013 UTC (6 years, 8 months ago) by floppym
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Add upper bound on sqlalchemy dependency, bug 462260.

(Portage version: 2.2.0_alpha166/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.3279.ebuild,v 1.1 2013/01/18 04:03:10 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}"
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.3
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-1.0
44 <dev-python/requests-1.99
45 dev-python/setuptools
46 virtual/python-argparse[${PYTHON_USEDEP}]
47 "
48 RDEPEND="${DEPEND}"
49 DEPEND+=" test? ( dev-python/nose )"
50
51 if [[ ${PV} == 9999 ]]; then
52 DEPEND+=" dev-python/paver"
53 else
54 S="${WORKDIR}/${MY_P}"
55 fi
56
57 src_prepare() {
58 # Prevent setup from grabbing nose from pypi
59 sed -e /setup_requires/d \
60 -e '/SQLAlchemy/s/, <0.8//' \
61 -e '/BeautifulSoup/s/, <3.3//' \
62 -e '/beautifulsoup4/s/, <4.2//' \
63 -i pavement.py || die
64
65 if [[ ${PV} == 9999 ]]; then
66 # Generate setup.py
67 paver generate_setup || die
68 fi
69
70 distutils-r1_src_prepare
71 }
72
73 python_test() {
74 esetup.py test
75 }

  ViewVC Help
Powered by ViewVC 1.1.20