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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Mon Jan 5 23:48:38 2015 UTC (4 years, 11 months ago) by floppym
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +2 -2 lines
Adjust bs4 blocker.

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

1 # Copyright 1999-2015 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.2.247.ebuild,v 1.2 2015/01/05 23:45:26 floppym Exp $
4
5 EAPI=5
6
7 PYTHON_COMPAT=( python2_7 )
8
9 inherit distutils-r1 eutils
10
11 if [[ ${PV} != 9999 ]]; then
12 MY_P="FlexGet-${PV}"
13 SRC_URI="mirror://pypi/F/FlexGet/${MY_P}.tar.gz"
14 KEYWORDS="~amd64 ~x86"
15 else
16 inherit git-r3
17 EGIT_REPO_URI="git://github.com/Flexget/Flexget.git
18 https://github.com/Flexget/Flexget.git"
19 fi
20
21 DESCRIPTION="Multipurpose automation tool for content like torrents, nzbs, podcasts, comics"
22 HOMEPAGE="http://flexget.com/"
23
24 LICENSE="MIT"
25 SLOT="0"
26 IUSE="test transmission"
27
28 DEPEND="
29 dev-python/setuptools[${PYTHON_USEDEP}]
30 >=dev-python/feedparser-5.1.3[${PYTHON_USEDEP}]
31 >=dev-python/sqlalchemy-0.7.5[${PYTHON_USEDEP}]
32 <dev-python/sqlalchemy-0.9.99
33 dev-python/pyyaml[${PYTHON_USEDEP}]
34 >=dev-python/beautifulsoup-4.1:4[${PYTHON_USEDEP}]
35 <dev-python/beautifulsoup-4.4:4[${PYTHON_USEDEP}]
36 !~dev-python/beautifulsoup-4.2.0
37 >=dev-python/html5lib-0.11[${PYTHON_USEDEP}]
38 dev-python/PyRSS2Gen[${PYTHON_USEDEP}]
39 dev-python/pynzb[${PYTHON_USEDEP}]
40 dev-python/progressbar[${PYTHON_USEDEP}]
41 dev-python/rpyc[${PYTHON_USEDEP}]
42 dev-python/jinja[${PYTHON_USEDEP}]
43 >=dev-python/requests-1.0[${PYTHON_USEDEP}]
44 <dev-python/requests-2.99[${PYTHON_USEDEP}]
45 >=dev-python/python-dateutil-2.1[${PYTHON_USEDEP}]
46 !~dev-python/python-dateutil-2.2
47 >=dev-python/jsonschema-2.0[${PYTHON_USEDEP}]
48 dev-python/python-tvrage[${PYTHON_USEDEP}]
49 dev-python/tmdb3[${PYTHON_USEDEP}]
50 dev-python/path-py[${PYTHON_USEDEP}]
51 >=dev-python/guessit-0.9.3[${PYTHON_USEDEP}]
52 dev-python/APScheduler[${PYTHON_USEDEP}]
53 "
54 RDEPEND="${DEPEND}
55 transmission? ( dev-python/transmissionrpc[${PYTHON_USEDEP}] )
56 "
57 DEPEND+=" test? ( dev-python/nose[${PYTHON_USEDEP}] )"
58
59 if [[ ${PV} == 9999 ]]; then
60 DEPEND+=" dev-python/paver[${PYTHON_USEDEP}]"
61 else
62 S="${WORKDIR}/${MY_P}"
63 fi
64
65 python_prepare_all() {
66 # Prevent setup from grabbing nose from pypi
67 sed -e /setup_requires/d -i pavement.py || die
68
69 distutils-r1_python_prepare_all
70 }
71
72 python_test() {
73 cp -lr tests setup.cfg "${BUILD_DIR}" || die
74 run_in_build_dir nosetests -v --attr=!online > "${T}/tests-${EPYTHON}.log" \
75 || die "Tests fail with ${EPYTHON}"
76 }

  ViewVC Help
Powered by ViewVC 1.1.20