[arch-commits] Commit in python-raven/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Thu Mar 1 14:37:34 UTC 2018
Date: Thursday, March 1, 2018 @ 14:37:32
Author: felixonmars
Revision: 300955
archrelease: copy trunk to community-any
Added:
python-raven/repos/community-any/PKGBUILD
(from rev 300954, python-raven/trunk/PKGBUILD)
Deleted:
python-raven/repos/community-any/PKGBUILD
----------+
PKGBUILD | 148 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 74 insertions(+), 74 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-03-01 14:37:03 UTC (rev 300954)
+++ PKGBUILD 2018-03-01 14:37:32 UTC (rev 300955)
@@ -1,74 +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=6.5.0
-pkgrel=1
-pkgdesc="Python client for Sentry"
-arch=('any')
-url="http://pypi.python.org/pypi/raven"
-license=('BSD')
-makedepends=('python-setuptools' 'python2-setuptools' 'python2-contextlib2')
-checkdepends=('python-pytest-cov' 'python2-pytest-cov' 'python-bottle' 'python2-bottle'
- 'python-celery' 'python2-celery' 'python-django' 'python2-django'
- 'python-pycodestyle' 'python2-pycodestyle' 'python-mock' 'python2-mock' 'python-nose'
- 'python2-nose' 'python2-gevent' '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'
- 'python-flask-login' 'python2-flask-login' 'python-pytest-timeout'
- 'python2-pytest-timeout' 'python-zconfig' 'python2-zconfig' 'python-pytest-xdist'
- 'python2-pytest-xdist')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/getsentry/raven-python/archive/$pkgver.tar.gz")
-sha512sums=('94944325a2a02358660139bcbd92fd217dcf9be9d4e6ec566b54529b5605339b40f8b06ae70efd2cca3a3015bec4e2db2a02f51112cd7b9029be98e15daecfbe')
-
-prepare() {
- cp -a raven-python-$pkgver{,-py2}
-}
-
-build() {
- cd "$srcdir"/raven-python-$pkgver
- python setup.py build
-
- cd "$srcdir"/raven-python-$pkgver-py2
- python2 setup.py build
-}
-
-check() {
- # Hack distribution check by installing it
- # "-p no:logging": https://github.com/getsentry/raven-python/issues/1164
-
- cd "$srcdir"/raven-python-$pkgver
- python setup.py install --root="$PWD/tmp_install" --optimize=1
- PYTHONPATH="$PWD/tmp_install/usr/lib/python3.6/site-packages:$PYTHONPATH" \
- py.test -p no:logging tests
-
- cd "$srcdir"/raven-python-$pkgver-py2
- python2 setup.py install --root="$PWD/tmp_install" --optimize=1
- PYTHONPATH="$PWD/tmp_install/usr/lib/python2.7/site-packages:$PYTHONPATH" \
- py.test2 -p no:logging tests
-}
-
-package_python-raven() {
- depends=('python')
- optdepends=('python-setuptools: for "raven" script')
-
- cd "$srcdir"/raven-python-$pkgver
- python setup.py install --root="$pkgdir" --optimize=1
- install -Dm664 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_python2-raven() {
- depends=('python2-contextlib2')
- optdepends=('python2-setuptools: for "raven2" script')
-
- cd "$srcdir"/raven-python-$pkgver-py2
- python2 setup.py install --root="$pkgdir" --optimize=1
- mv "$pkgdir"/usr/bin/raven{,2}
-
- install -Dm664 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
Copied: python-raven/repos/community-any/PKGBUILD (from rev 300954, python-raven/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-03-01 14:37:32 UTC (rev 300955)
@@ -0,0 +1,74 @@
+# $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=6.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' 'python2-contextlib2')
+checkdepends=('python-pytest-cov' 'python2-pytest-cov' 'python-bottle' 'python2-bottle'
+ 'python-celery' 'python2-celery' 'python-django' 'python2-django'
+ 'python-pycodestyle' 'python2-pycodestyle' 'python-mock' 'python2-mock' 'python-nose'
+ 'python2-nose' 'python2-gevent' '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'
+ 'python-flask-login' 'python2-flask-login' 'python-pytest-timeout'
+ 'python2-pytest-timeout' 'python-zconfig' 'python2-zconfig' 'python-pytest-xdist'
+ 'python2-pytest-xdist')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/getsentry/raven-python/archive/$pkgver.tar.gz")
+sha512sums=('19d5db95669b44748d6a7f0478993e0119b23d11de80d6c25e77a6044b655bca8bb18fc48e20fbc93f592f6d9111e7666857509b42f48cbea2006a491e2ad1cd')
+
+prepare() {
+ cp -a raven-python-$pkgver{,-py2}
+}
+
+build() {
+ cd "$srcdir"/raven-python-$pkgver
+ python setup.py build
+
+ cd "$srcdir"/raven-python-$pkgver-py2
+ python2 setup.py build
+}
+
+check() {
+ # Hack distribution check by installing it
+ # "-p no:logging": https://github.com/getsentry/raven-python/issues/1164
+
+ cd "$srcdir"/raven-python-$pkgver
+ python setup.py install --root="$PWD/tmp_install" --optimize=1
+ PYTHONPATH="$PWD/tmp_install/usr/lib/python3.6/site-packages:$PYTHONPATH" \
+ py.test -p no:logging tests
+
+ cd "$srcdir"/raven-python-$pkgver-py2
+ python2 setup.py install --root="$PWD/tmp_install" --optimize=1
+ PYTHONPATH="$PWD/tmp_install/usr/lib/python2.7/site-packages:$PYTHONPATH" \
+ py.test2 -p no:logging tests
+}
+
+package_python-raven() {
+ depends=('python')
+ optdepends=('python-setuptools: for "raven" script')
+
+ cd "$srcdir"/raven-python-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+ install -Dm664 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_python2-raven() {
+ depends=('python2-contextlib2')
+ optdepends=('python2-setuptools: for "raven2" script')
+
+ cd "$srcdir"/raven-python-$pkgver-py2
+ python2 setup.py install --root="$pkgdir" --optimize=1
+ mv "$pkgdir"/usr/bin/raven{,2}
+
+ install -Dm664 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
More information about the arch-commits
mailing list