[arch-commits] Commit in python-raven/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
fyan at archlinux.org
Thu Sep 17 02:06:56 UTC 2015
Date: Thursday, September 17, 2015 @ 04:06:55
Author: fyan
Revision: 140386
archrelease: copy trunk to community-any
Added:
python-raven/repos/community-any/PKGBUILD
(from rev 140385, python-raven/trunk/PKGBUILD)
Deleted:
python-raven/repos/community-any/PKGBUILD
----------+
PKGBUILD | 146 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 73 insertions(+), 73 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2015-09-17 02:06:34 UTC (rev 140385)
+++ PKGBUILD 2015-09-17 02:06:55 UTC (rev 140386)
@@ -1,73 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Benjamin A. Shelton <zancarius at gmail.com>
-
-pkgbase=python-raven
-pkgname=(python-raven python2-raven)
-pkgver=5.6.0
-pkgrel=1
-pkgdesc="Python client for Sentry."
-arch=(any)
-url="http://pypi.python.org/pypi/raven"
-license=('BSD')
-makedepends=('python-setuptools' 'python2-setuptools' 'git')
-checkdepends=('python-pytest-cov' 'python2-pytest-cov' 'python-bottle' 'python2-bottle'
- 'python-celery' 'python2-celery' 'python-django' 'python2-django' 'pep8'
- 'python-mock' 'python2-mock' 'python-nose' 'python2-nose' 'python2-gevent'
- 'python2-pep8' 'python-pytz' 'python2-pytz' 'python-exam' 'python2-exam'
- 'python-requests' 'python2-requests' 'python-tornado' 'python2-tornado'
- 'python-paste' 'python2-paste' 'python-webob' 'python2-webob'
- 'python-webtest' 'python2-webtest' 'python-anyjson' 'python2-anyjson'
- 'python-flask' 'python2-flask' 'python-blinker' 'python2-blinker'
- 'python-logbook' 'python2-logbook' 'python-pytest-django' 'python2-pytest-django'
- 'python2-webpy')
-source=("git+https://github.com/getsentry/raven-python.git#tag=$pkgver")
-md5sums=('SKIP')
-
-prepare() {
- cp -a raven-python{,-py2}
-}
-
-build() {
- cd "$srcdir/raven-python"
- python setup.py build
-
- cd "$srcdir/raven-python-py2"
- python2 setup.py build
-}
-
-check() {
- # Hack distribution check by installing it
-
- cd "$srcdir/raven-python"
- # Expected failures: No Python 3 package for flask-login.
- python setup.py install --root="$PWD/tmp_install" --optimize=1
- PYTHONPATH="$PWD/tmp_install/usr/lib/python3.4/site-packages:$PYTHONPATH" \
- py.test tests || warning "Tests failed"
-
- cd "$srcdir/raven-python"
- # Expected failures: No Python 2 package for flask-login.
- python2 setup.py install --root="$PWD/tmp_install" --optimize=1
- PYTHONPATH="$PWD/tmp_install/usr/lib/python2.7/site-packages:$PYTHONPATH" \
- py.test tests || warning "Tests failed"
-}
-
-package_python-raven() {
- depends=('python')
- optdepends=('python-setuptools: for "raven" script')
-
- cd "${srcdir}/raven-python"
- python setup.py install --root="${pkgdir}/" --optimize=1
- install -Dm664 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}
-
-package_python2-raven() {
- depends=('python2')
- optdepends=('python2-setuptools: for "raven2" script')
-
- cd "${srcdir}/raven-python-py2"
- python2 setup.py install --root="${pkgdir}/" --optimize=1
- mv "${pkgdir}/usr/bin/raven" "${pkgdir}/usr/bin/raven2"
-
- install -Dm664 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}
Copied: python-raven/repos/community-any/PKGBUILD (from rev 140385, python-raven/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2015-09-17 02:06:55 UTC (rev 140386)
@@ -0,0 +1,73 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Benjamin A. Shelton <zancarius at gmail.com>
+
+pkgbase=python-raven
+pkgname=(python-raven python2-raven)
+pkgver=5.7.1
+pkgrel=1
+pkgdesc="Python client for Sentry."
+arch=(any)
+url="http://pypi.python.org/pypi/raven"
+license=('BSD')
+makedepends=('python-setuptools' 'python2-setuptools' 'git')
+checkdepends=('python-pytest-cov' 'python2-pytest-cov' 'python-bottle' 'python2-bottle'
+ 'python-celery' 'python2-celery' 'python-django' 'python2-django' 'pep8'
+ 'python-mock' 'python2-mock' 'python-nose' 'python2-nose' 'python2-gevent'
+ 'python2-pep8' 'python-pytz' 'python2-pytz' 'python-exam' 'python2-exam'
+ 'python-requests' 'python2-requests' 'python-tornado' 'python2-tornado'
+ 'python-paste' 'python2-paste' 'python-webob' 'python2-webob'
+ 'python-webtest' 'python2-webtest' 'python-anyjson' 'python2-anyjson'
+ 'python-flask' 'python2-flask' 'python-blinker' 'python2-blinker'
+ 'python-logbook' 'python2-logbook' 'python-pytest-django' 'python2-pytest-django'
+ 'python2-webpy')
+source=("git+https://github.com/getsentry/raven-python.git#tag=$pkgver")
+md5sums=('SKIP')
+
+prepare() {
+ cp -a raven-python{,-py2}
+}
+
+build() {
+ cd "$srcdir/raven-python"
+ python setup.py build
+
+ cd "$srcdir/raven-python-py2"
+ python2 setup.py build
+}
+
+check() {
+ # Hack distribution check by installing it
+
+ cd "$srcdir/raven-python"
+ # Expected failures: No Python 3 package for flask-login.
+ python setup.py install --root="$PWD/tmp_install" --optimize=1
+ PYTHONPATH="$PWD/tmp_install/usr/lib/python3.4/site-packages:$PYTHONPATH" \
+ py.test tests || warning "Tests failed"
+
+ cd "$srcdir/raven-python"
+ # Expected failures: No Python 2 package for flask-login.
+ python2 setup.py install --root="$PWD/tmp_install" --optimize=1
+ PYTHONPATH="$PWD/tmp_install/usr/lib/python2.7/site-packages:$PYTHONPATH" \
+ py.test tests || warning "Tests failed"
+}
+
+package_python-raven() {
+ depends=('python')
+ optdepends=('python-setuptools: for "raven" script')
+
+ cd "${srcdir}/raven-python"
+ python setup.py install --root="${pkgdir}/" --optimize=1
+ install -Dm664 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+package_python2-raven() {
+ depends=('python2')
+ optdepends=('python2-setuptools: for "raven2" script')
+
+ cd "${srcdir}/raven-python-py2"
+ python2 setup.py install --root="${pkgdir}/" --optimize=1
+ mv "${pkgdir}/usr/bin/raven" "${pkgdir}/usr/bin/raven2"
+
+ install -Dm664 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
More information about the arch-commits
mailing list