From 44e24f390af163d53d0f79460ea06d16c9071830 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Tue, 30 Sep 2014 12:41:04 -0700 Subject: [PATCH] raven-9999: Convert the old 2.0.10 ebuild into a live ebuild That also serves double-duty as a 5.0.0 ebuild, since the changes between 5.0.0 and the current master don't require different install instructions. Upgrade changes: * Modernize PYTHON_COMPAT entries. The upstream package is compatible with all of these (or at least tries to test on all of these [1]). They test on 2.6 too, but that's not in the Portage tree anymore. * I've added an if block to swap in git-2 live ebuild handling depending on the package version. * I've dropped the runtime dependencies, because the only runtime dependency is simplejson, which I imagine they only use for Python 2.6 support [2]. * The new dependencies are almost straight from the 5.0.0 setup.py, except I don't include python-coveralls (and neither will the next version of setup.py [3]). You'll want to emerge it by hand if you're using 5.0.0, to avoid Setuptools trying to install it for you. [1]: https://github.com/getsentry/raven-python/blob/5.0.0/.travis.yml [2]: https://github.com/getsentry/raven-python/blob/5.0.0/docs/install/index.rst#requirements [3]: https://github.com/getsentry/raven-python/pull/497 9b5c3d3d (setup.py: Remove python-coveralls requirement, 2014-09-30) --- Manifest | 12 +-------- raven-2.0.10.ebuild | 39 --------------------------- raven-5.0.0.ebuild | 1 + raven-9999.ebuild | 64 +++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 66 insertions(+), 50 deletions(-) delete mode 100644 raven-2.0.10.ebuild create mode 120000 raven-5.0.0.ebuild create mode 100644 raven-9999.ebuild diff --git a/Manifest b/Manifest index 932bef9..2f602f0 100644 --- a/Manifest +++ b/Manifest @@ -1,11 +1 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA512 - -DIST raven-2.0.10.tar.gz 55846 SHA256 16603933d2150c54984c69400c6ce3a09ee9edd3957eb9d33d399804ea201da1 SHA512 2a59712026c86dc7fce941d39c711c1c4380be3bc7f0bbad2d8561c05a059416b0fa84fc44638e7acf477180e0c5a3ade3ca9023d794fafa9d48f9003617a36f WHIRLPOOL afc249fe3c22698a5b289b5c1227e647ebc9c12d5fd4f2a7f9ae05bcc4dd3b896770e58ce23748ae4a979b0cf26c80e14bee250364761d7d4efba72f30f42256 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.19 (GNU/Linux) - -iEYEAREKAAYFAlDQ5Z0ACgkQ1fmVwcYIWAY8OQCeIoI/CQqgZlU0P7URAAMrJGFS -TVUAniS1GWghCxa8DDLCVq4oFMXj3Xz+ -=5R+T ------END PGP SIGNATURE----- +DIST raven-5.0.0.tar.gz 240287 SHA256 012de5afcd8af43db2d21bc074bc3037ca00f109fdbbebc18a9c6b016f9d63b1 SHA512 7b00d3e115be0bb785b42df36f641301ea76f507d340b39a3809ab6382a47c9950cc9b3ea27116005f1ec227f987329b0e48bb72466148d8a802020eeb95b696 WHIRLPOOL add23d178cda15a2ae56d1765aad0098003f978b38ebd91fbb7cc577899a1c52b8d80010ec4a058cc702b24ef3cad3389b52c1b9e398774eb5b01f7e1678b6d1 diff --git a/raven-2.0.10.ebuild b/raven-2.0.10.ebuild deleted file mode 100644 index 388f9ad..0000000 --- a/raven-2.0.10.ebuild +++ /dev/null @@ -1,39 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI="5" -PYTHON_COMPAT=( python2_{5,6,7} ) - -inherit distutils-r1 - -DESCRIPTION="Raven is a client for Sentry" -HOMEPAGE="http://github.com/getsentry/raven-python" -SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="test" - -RDEPEND=" - >=dev-python/blinker-1.1 - >=dev-python/celery-2.5 - >=dev-python/django-1.2 - >=dev-python/django-celery-2.5 - >=dev-python/flask-0.8 - dev-python/logbook - dev-python/webob - dev-python/pytz -" -DEPEND="${RDEPEND} - test? ( - dev-python/django-nose - dev-python/nose - dev-util/mock - dev-python/pep8 - dev-python/unittest2 ) -" -RDEPEND="${RDEPEND} -