Merge remote-tracking branch 'origin/dev-python/raven'
authorW. Trevor King <wking@tremily.us>
Wed, 8 Oct 2014 16:35:20 +0000 (09:35 -0700)
committerW. Trevor King <wking@tremily.us>
Wed, 8 Oct 2014 16:35:20 +0000 (09:35 -0700)
Pull in this per-package branch with a subtree merge [1]:

  $ git merge -s ours --no-commit origin/dev-python/raven
  $ git read-tree --prefix=dev-python/dev-python/raven/ -u origin/dev-python/raven
  $ git commit -v

so folks who aren't using a version of Layman that supports submodules
(currently everybody) can use this modular package.

[1]: https://www.kernel.org/pub/software/scm/git/docs/howto/using-merge-subtree.html

dev-python/raven/Manifest [new file with mode: 0644]
dev-python/raven/metadata.xml [new file with mode: 0644]
dev-python/raven/raven-5.0.0.ebuild [new symlink]
dev-python/raven/raven-9999.ebuild [new file with mode: 0644]

diff --git a/dev-python/raven/Manifest b/dev-python/raven/Manifest
new file mode 100644 (file)
index 0000000..2f602f0
--- /dev/null
@@ -0,0 +1 @@
+DIST raven-5.0.0.tar.gz 240287 SHA256 012de5afcd8af43db2d21bc074bc3037ca00f109fdbbebc18a9c6b016f9d63b1 SHA512 7b00d3e115be0bb785b42df36f641301ea76f507d340b39a3809ab6382a47c9950cc9b3ea27116005f1ec227f987329b0e48bb72466148d8a802020eeb95b696 WHIRLPOOL add23d178cda15a2ae56d1765aad0098003f978b38ebd91fbb7cc577899a1c52b8d80010ec4a058cc702b24ef3cad3389b52c1b9e398774eb5b01f7e1678b6d1
diff --git a/dev-python/raven/metadata.xml b/dev-python/raven/metadata.xml
new file mode 100644 (file)
index 0000000..440c5f4
--- /dev/null
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer>
+       <email>eva@gentoo.org</email>
+       <name>Gilles Dartiguelongue</name>
+</maintainer>
+<upstream>
+       <remote-id type="pypi">raven</remote-id>
+       <remote-id type="github">raven-python</remote-id>
+</upstream>
+</pkgmetadata>
diff --git a/dev-python/raven/raven-5.0.0.ebuild b/dev-python/raven/raven-5.0.0.ebuild
new file mode 120000 (symlink)
index 0000000..4d91556
--- /dev/null
@@ -0,0 +1 @@
+raven-9999.ebuild
\ No newline at end of file
diff --git a/dev-python/raven/raven-9999.ebuild b/dev-python/raven/raven-9999.ebuild
new file mode 100644 (file)
index 0000000..2d3e10c
--- /dev/null
@@ -0,0 +1,64 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="5"
+PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy )
+
+inherit distutils-r1
+
+if [[ "${PV}" == "9999" ]]; then
+       inherit git-2
+       EGIT_REPO_URI="git://github.com/getsentry/${PN}-python.git"
+       SRC_URI=""
+else
+       SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
+fi
+
+DESCRIPTION="Raven is a client for Sentry"
+HOMEPAGE="http://github.com/getsentry/raven-python"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+RDEPEND=""
+DEPEND="${RDEPEND}
+       test? (
+               dev-python/anyjson[${PYTHON_USEDEP}]
+               >=dev-python/blinker-1.1[${PYTHON_USEDEP}]
+               dev-python/bottle[${PYTHON_USEDEP}]
+               >=dev-python/celery-2.5[${PYTHON_USEDEP}]
+               >=dev-python/django-1.4[${PYTHON_USEDEP}]
+               >=dev-python/django-celery-2.5[${PYTHON_USEDEP}]
+               >=dev-python/exam-0.5.2[${PYTHON_USEDEP}]
+               >=dev-python/flask-0.8[${PYTHON_USEDEP}]
+               >=dev-python/flask-login-0.2.0[${PYTHON_USEDEP}]
+               dev-python/logbook[${PYTHON_USEDEP}]
+               dev-python/mock[${PYTHON_USEDEP}]
+               dev-python/nose[${PYTHON_USEDEP}]
+               dev-python/pep8[${PYTHON_USEDEP}]
+               dev-python/pytest[${PYTHON_USEDEP}]
+               >=dev-python/pytest-cov-1.4[${PYTHON_USEDEP}]
+               dev-python/pytest-django[${PYTHON_USEDEP}]
+               dev-python/pytz[${PYTHON_USEDEP}]
+               dev-python/webob[${PYTHON_USEDEP}]
+               dev-python/webtest[${PYTHON_USEDEP}]
+               www-servers/tornado[${PYTHON_USEDEP}]
+               python_targets_python3_3? (
+                       dev-python/aiohttp[python_targets_python3_3]
+               )
+               python_targets_python3_4? (
+                       dev-python/aiohttp[python_targets_python3_4]
+               )
+               python_targets_python2_7? (
+                       dev-python/paste[python_targets_python2_7]
+                       dev-python/unittest2[python_targets_python2_7]
+                       dev-python/webpy[python_targets_python2_7]
+               )
+       )"
+
+python_test() {
+       py.test || die "Testsuite failed under ${EPYTHON}"
+}