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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations) (download)
Sun Jul 21 02:27:03 2013 UTC (6 years, 6 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_alpha188/cvs/Linux x86_64, signed Manifest commit with key 0BBEEA1FEA4843A4)

1 floppym 1.1 # Copyright 1999-2013 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 floppym 1.2 # $Header: /var/cvsroot/gentoo-x86/net-misc/flexget/flexget-1.1.11.ebuild,v 1.1 2013/05/27 01:33:15 floppym Exp $
4 floppym 1.1
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/${MY_P}.tar.gz
14     http://download.flexget.com/archive/${MY_P}.tar.gz"
15     KEYWORDS="~amd64 ~x86"
16     else
17     inherit git-2
18     EGIT_REPO_URI="git://github.com/Flexget/Flexget.git
19     https://github.com/Flexget/Flexget.git"
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[${PYTHON_USEDEP}]
31     >=dev-python/sqlalchemy-0.7
32     <dev-python/sqlalchemy-0.7.99
33     dev-python/pyyaml[${PYTHON_USEDEP}]
34     dev-python/beautifulsoup:python-2[${PYTHON_USEDEP}]
35     dev-python/beautifulsoup:4[${PYTHON_USEDEP}]
36     dev-python/html5lib[${PYTHON_USEDEP}]
37     dev-python/jinja[${PYTHON_USEDEP}]
38     >=dev-python/jsonschema-2.0[${PYTHON_USEDEP}]
39     dev-python/PyRSS2Gen[${PYTHON_USEDEP}]
40     dev-python/pynzb[${PYTHON_USEDEP}]
41     dev-python/progressbar[${PYTHON_USEDEP}]
42     dev-python/flask
43     dev-python/cherrypy[${PYTHON_USEDEP}]
44     dev-python/python-dateutil[${PYTHON_USEDEP}]
45     dev-python/python-tvrage[${PYTHON_USEDEP}]
46     >=dev-python/requests-1.0[${PYTHON_USEDEP}]
47     <dev-python/requests-1.99
48     dev-python/setuptools[${PYTHON_USEDEP}]
49     virtual/python-argparse[${PYTHON_USEDEP}]
50     "
51     RDEPEND="${DEPEND}"
52     DEPEND+=" test? ( dev-python/nose[${PYTHON_USEDEP}] )"
53    
54     if [[ ${PV} == 9999 ]]; then
55     DEPEND+=" dev-python/paver"
56     else
57     S="${WORKDIR}/${MY_P}"
58     fi
59    
60     python_prepare_all() {
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     -i pavement.py || die
67    
68     distutils-r1_python_prepare_all
69     }
70    
71     python_test() {
72     cp -lr tests setup.cfg "${BUILD_DIR}" || die
73     run_in_build_dir nosetests -v --attr=!online > "${T}/tests-${EPYTHON}.log" \
74     || die "Tests fail with ${EPYTHON}"
75     }

  ViewVC Help
Powered by ViewVC 1.1.20