diff options
-rw-r--r-- | net-misc/flexget/ChangeLog | 8 | ||||
-rw-r--r-- | net-misc/flexget/flexget-1.0.3240.ebuild | 74 | ||||
-rw-r--r-- | net-misc/flexget/flexget-9999.ebuild | 4 |
3 files changed, 83 insertions, 3 deletions
diff --git a/net-misc/flexget/ChangeLog b/net-misc/flexget/ChangeLog index 443042ab00a7..64daef4235d7 100644 --- a/net-misc/flexget/ChangeLog +++ b/net-misc/flexget/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-misc/flexget # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/flexget/ChangeLog,v 1.30 2013/01/01 18:45:01 floppym Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/flexget/ChangeLog,v 1.31 2013/01/08 21:22:32 floppym Exp $ + +*flexget-1.0.3240 (08 Jan 2013) + + 08 Jan 2013; Mike Gilbert <floppym@gentoo.org> +flexget-1.0.3240.ebuild, + flexget-9999.ebuild: + Version bump. 01 Jan 2013; Mike Gilbert <floppym@gentoo.org> flexget-1.0_beta3181.ebuild, flexget-9999.ebuild: diff --git a/net-misc/flexget/flexget-1.0.3240.ebuild b/net-misc/flexget/flexget-1.0.3240.ebuild new file mode 100644 index 000000000000..cd1e8f0bbb9f --- /dev/null +++ b/net-misc/flexget/flexget-1.0.3240.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/flexget/flexget-1.0.3240.ebuild,v 1.1 2013/01/08 21:22:32 floppym Exp $ + +EAPI=5 + +PYTHON_COMPAT=( python2_{6,7} ) + +inherit distutils-r1 eutils + +if [[ ${PV} != 9999 ]]; then + MY_P="FlexGet-${PV}" + SRC_URI="http://download.flexget.com/unstable/${MY_P}.tar.gz" + KEYWORDS="~amd64 ~x86" +else + inherit subversion + SRC_URI="" + ESVN_REPO_URI="http://svn.flexget.com/trunk" + KEYWORDS="" +fi + +DESCRIPTION="Multipurpose automation tool for content like torrents, nzbs, podcasts, comics" +HOMEPAGE="http://flexget.com/" + +LICENSE="MIT" +SLOT="0" +IUSE="test" + +DEPEND=" + >=dev-python/feedparser-5.1.2 + >=dev-python/sqlalchemy-0.7 + dev-python/pyyaml + dev-python/beautifulsoup:python-2 + dev-python/beautifulsoup:4 + dev-python/html5lib + dev-python/jinja + dev-python/PyRSS2Gen + dev-python/pynzb + dev-python/progressbar + dev-python/flask + dev-python/cherrypy + dev-python/python-dateutil + =dev-python/requests-0.14* + dev-python/setuptools + virtual/python-argparse[${PYTHON_USEDEP}] +" +RDEPEND="${DEPEND}" +DEPEND+=" test? ( dev-python/nose )" + +if [[ ${PV} == 9999 ]]; then + DEPEND+=" dev-python/paver" +else + S="${WORKDIR}/${MY_P}" +fi + +src_prepare() { + # Prevent setup from grabbing nose from pypi + sed -e /setup_requires/d \ + -e '/SQLAlchemy/s/, <0.8//' \ + -e '/BeautifulSoup/s/, <3.3//' \ + -e '/beautifulsoup4/s/, <4.2//' \ + -i pavement.py || die + + if [[ ${PV} == 9999 ]]; then + # Generate setup.py + paver generate_setup || die + fi + + distutils-r1_src_prepare +} + +python_test() { + esetup.py test +} diff --git a/net-misc/flexget/flexget-9999.ebuild b/net-misc/flexget/flexget-9999.ebuild index 2493278a7443..83260634a9e2 100644 --- a/net-misc/flexget/flexget-9999.ebuild +++ b/net-misc/flexget/flexget-9999.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/flexget/flexget-9999.ebuild,v 1.29 2013/01/01 18:45:01 floppym Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/flexget/flexget-9999.ebuild,v 1.30 2013/01/08 21:22:32 floppym Exp $ EAPI=5 @@ -9,7 +9,7 @@ PYTHON_COMPAT=( python2_{6,7} ) inherit distutils-r1 eutils if [[ ${PV} != 9999 ]]; then - MY_P="FlexGet-${PV/_beta/r}" + MY_P="FlexGet-${PV}" SRC_URI="http://download.flexget.com/unstable/${MY_P}.tar.gz" KEYWORDS="~amd64 ~x86" else |