Add updated flexget ebuild

This commit is contained in:
2011-06-26 17:44:13 +00:00
parent bef8a01ccf
commit 0bab39c247
2 changed files with 59 additions and 0 deletions

View File

@@ -0,0 +1,2 @@
DIST FlexGet-1.0r2269.tar.gz 638533 RMD160 4fe1632e61894dec1acbfe97c017d60d87428ebe SHA1 87254dcc0b7a63f112eac6c5f58e2fa9bd80ac76 SHA256 efdc69f6a824c378bd4c5f5f4c6e7a40fea5ac289d56dff000ca83718b57ef27
EBUILD flexget-1.0_beta2269.ebuild 1286 RMD160 97a4e5f58a7eda87eede0e6ccc507c1622bf7296 SHA1 fc080a4f33669f3b5e430d0798f96267eabf93c6 SHA256 737a42100c80fa848cb987a8cd49968dd45bb44d92a1a3b8cddc250b158b4f2e

View File

@@ -0,0 +1,57 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="3"
PYTHON_DEPEND="2:2.5"
SUPPORT_PYTHON_ABIS="1"
RESTRICT_PYTHON_ABIS="2.4 3.*"
DISTUTILS_SRC_TEST="setup.py"
inherit distutils eutils
MY_P="FlexGet-${PV/_beta/r}"
DESCRIPTION="A multipurpose automation tool for content like torrents, nzbs, podcasts, comics, etc."
HOMEPAGE="http://flexget.com/"
SRC_URI="http://download.flexget.com/unstable/${MY_P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""
RDEPEND="dev-python/setuptools
dev-python/feedparser
>=dev-python/sqlalchemy-0.6
dev-python/pyyaml
dev-python/beautifulsoup
>=dev-python/html5lib-0.11
dev-python/PyRSS2Gen
dev-python/pynzb
dev-python/progressbar
dev-python/flask
dev-python/cherrypy"
DEPEND="${RDEPEND}
dev-python/paver
test? ( >=dev-python/nose-0.11 )"
S="${WORKDIR}/${MY_P}"
src_prepare() {
# Prevent setup from grabbing nose from pypi
sed -e /setup_requires/d -i pavement.py || die
# Remove bundled paver
rm paver-minilib.zip || die
epatch_user
distutils_src_prepare
}
pkg_postinst() {
distutils_pkg_postinst
ewarn "FlexGet's database schema may need to be updated manually."
ewarn "See http://flexget.com/wiki/UpgradeActions for more information."
}