[arch-commits] Commit in python-raven/repos (2 files)

2020-11-09 Thread Felix Yan via arch-commits
Date: Monday, November 9, 2020 @ 15:40:02
  Author: felixonmars
Revision: 747072

archrelease: copy trunk to community-staging-any

Added:
  python-raven/repos/community-staging-any/
  python-raven/repos/community-staging-any/PKGBUILD
(from rev 747070, python-raven/trunk/PKGBUILD)

--+
 PKGBUILD |   42 ++
 1 file changed, 42 insertions(+)

Copied: python-raven/repos/community-staging-any/PKGBUILD (from rev 747070, 
python-raven/trunk/PKGBUILD)
===
--- community-staging-any/PKGBUILD  (rev 0)
+++ community-staging-any/PKGBUILD  2020-11-09 15:40:02 UTC (rev 747072)
@@ -0,0 +1,42 @@
+# Maintainer: Felix Yan 
+# Contributor: Benjamin A. Shelton 
+
+pkgname=python-raven
+pkgver=6.10.0
+pkgrel=6
+pkgdesc="Python client for Sentry"
+arch=('any')
+url="https://pypi.python.org/pypi/raven;
+license=('BSD')
+depends=('python')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest-cov' 'python-bottle' 'python-celery' 
'python-django'
+  'python-pycodestyle' 'python-mock' 'python-nose' 'python-pytz' 
'python-exam'
+  'python-requests' 'python-tornado' 'python-paste' 'python-webob' 
'python-webtest'
+  'python-anyjson' 'python-flask' 'python-blinker' 'python-logbook'
+  'python-pytest-django' 'python-flask-login' 
'python-pytest-timeout' 'python-zconfig'
+  'python-pytest-xdist')
+optdepends=('python-setuptools: for "raven" script')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/getsentry/raven-python/archive/$pkgver.tar.gz;)
+sha512sums=('4e65c03b1c5d084588ef381223b06c7b2ded3239fb2f2da4b2694fcf897a590ba5b03ac421b6dd88e0ce408f2fafd605d92a2b544b4f975ece5510eb6010583b')
+
+build() {
+  cd "$srcdir"/raven-python-$pkgver
+  python 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.9/site-packages:$PYTHONPATH" \
+py.test -p no:logging tests || echo 
"https://github.com/getsentry/raven-python/issues/1275;
+}
+
+package() {
+  cd "$srcdir"/raven-python-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -Dm664 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}


[arch-commits] Commit in python-raven/repos (2 files)

2019-10-25 Thread Felix Yan via arch-commits
Date: Friday, October 25, 2019 @ 20:06:23
  Author: felixonmars
Revision: 519730

archrelease: copy trunk to community-staging-any

Added:
  python-raven/repos/community-staging-any/
  python-raven/repos/community-staging-any/PKGBUILD
(from rev 519729, python-raven/trunk/PKGBUILD)

--+
 PKGBUILD |   62 +
 1 file changed, 62 insertions(+)

Copied: python-raven/repos/community-staging-any/PKGBUILD (from rev 519729, 
python-raven/trunk/PKGBUILD)
===
--- community-staging-any/PKGBUILD  (rev 0)
+++ community-staging-any/PKGBUILD  2019-10-25 20:06:23 UTC (rev 519730)
@@ -0,0 +1,62 @@
+# Maintainer: Felix Yan 
+# Contributor: Benjamin A. Shelton 
+
+pkgbase=python-raven
+pkgname=(python-raven python2-raven)
+pkgver=6.10.0
+pkgrel=3
+pkgdesc="Python client for Sentry"
+arch=('any')
+url="https://pypi.python.org/pypi/raven;
+license=('BSD')
+makedepends=('python-setuptools' 'python2-setuptools' 'python2-contextlib2')
+checkdepends=('python-pytest-cov' 'python-bottle' 'python-celery' 
'python-django'
+  'python-pycodestyle' 'python-mock' 'python-nose' 'python-pytz' 
'python-exam'
+  'python-requests' 'python-tornado' 'python-paste' 'python-webob' 
'python-webtest'
+  'python-anyjson' 'python-flask' 'python-blinker' 'python-logbook'
+  'python-pytest-django' 'python-flask-login' 
'python-pytest-timeout' 'python-zconfig'
+  'python-pytest-xdist')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/getsentry/raven-python/archive/$pkgver.tar.gz;)
+sha512sums=('4e65c03b1c5d084588ef381223b06c7b2ded3239fb2f2da4b2694fcf897a590ba5b03ac421b6dd88e0ce408f2fafd605d92a2b544b4f975ece5510eb6010583b')
+
+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.8/site-packages:$PYTHONPATH" \
+py.test -p no:logging tests || warning 
"https://github.com/getsentry/raven-python/issues/1275;
+}
+
+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
+}


[arch-commits] Commit in python-raven/repos (2 files)

2018-07-17 Thread Evangelos Foutras via arch-commits
Date: Wednesday, July 18, 2018 @ 04:44:38
  Author: foutrelis
Revision: 361733

archrelease: copy trunk to community-staging-any

Added:
  python-raven/repos/community-staging-any/
  python-raven/repos/community-staging-any/PKGBUILD
(from rev 361732, python-raven/trunk/PKGBUILD)

--+
 PKGBUILD |   74 +
 1 file changed, 74 insertions(+)

Copied: python-raven/repos/community-staging-any/PKGBUILD (from rev 361732, 
python-raven/trunk/PKGBUILD)
===
--- community-staging-any/PKGBUILD  (rev 0)
+++ community-staging-any/PKGBUILD  2018-07-18 04:44:38 UTC (rev 361733)
@@ -0,0 +1,74 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Benjamin A. Shelton 
+
+pkgbase=python-raven
+pkgname=(python-raven python2-raven)
+pkgver=6.9.0
+pkgrel=2
+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=('a8ab761779b9c4cf06150a763d31f56caf1688210354deeb065950b82276b6f7d4c9daff65bfd9fa865093350a2c65b983f7d8662d3232ea3b0304a8027276a9')
+
+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
+}


[arch-commits] Commit in python-raven/repos (2 files)

2018-05-22 Thread Felix Yan via arch-commits
Date: Wednesday, May 23, 2018 @ 03:42:31
  Author: felixonmars
Revision: 327850

archrelease: copy trunk to community-testing-any

Added:
  python-raven/repos/community-testing-any/
  python-raven/repos/community-testing-any/PKGBUILD
(from rev 327849, python-raven/trunk/PKGBUILD)

--+
 PKGBUILD |   74 +
 1 file changed, 74 insertions(+)

Copied: python-raven/repos/community-testing-any/PKGBUILD (from rev 327849, 
python-raven/trunk/PKGBUILD)
===
--- community-testing-any/PKGBUILD  (rev 0)
+++ community-testing-any/PKGBUILD  2018-05-23 03:42:31 UTC (rev 327850)
@@ -0,0 +1,74 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Benjamin A. Shelton 
+
+pkgbase=python-raven
+pkgname=(python-raven python2-raven)
+pkgver=6.8.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=('4fdd186a5bc413e9b1a6e63088a3c43a057d6351edcd7e0302aca387cd6895d0b0862e35bfa86b647dd70b6e3c33201aadca80691b18880a456db5d84e33fb17')
+
+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
+}


[arch-commits] Commit in python-raven/repos (2 files)

2016-12-27 Thread Felix Yan
Date: Tuesday, December 27, 2016 @ 13:03:46
  Author: felixonmars
Revision: 203056

archrelease: copy trunk to community-staging-any

Added:
  python-raven/repos/community-staging-any/
  python-raven/repos/community-staging-any/PKGBUILD
(from rev 203055, python-raven/trunk/PKGBUILD)

--+
 PKGBUILD |   72 +
 1 file changed, 72 insertions(+)

Copied: python-raven/repos/community-staging-any/PKGBUILD (from rev 203055, 
python-raven/trunk/PKGBUILD)
===
--- community-staging-any/PKGBUILD  (rev 0)
+++ community-staging-any/PKGBUILD  2016-12-27 13:03:46 UTC (rev 203056)
@@ -0,0 +1,72 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Benjamin A. Shelton 
+
+pkgbase=python-raven
+pkgname=(python-raven python2-raven)
+pkgver=5.32.0
+pkgrel=2
+pkgdesc="Python client for Sentry"
+arch=('any')
+url="http://pypi.python.org/pypi/raven;
+license=('BSD')
+makedepends=('python-setuptools' 'python2-setuptools' 'python2-contextlib2' 
'git')
+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')
+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
+  python setup.py install --root="$PWD/tmp_install" --optimize=1
+  PYTHONPATH="$PWD/tmp_install/usr/lib/python3.5/site-packages:$PYTHONPATH" \
+py.test tests
+
+  cd "$srcdir"/raven-python
+  python2 setup.py install --root="$PWD/tmp_install" --optimize=1
+  PYTHONPATH="$PWD/tmp_install/usr/lib/python2.7/site-packages:$PYTHONPATH" \
+py.test2 tests
+}
+
+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-contextlib2')
+  optdepends=('python2-setuptools: for "raven2" script')
+
+  cd "$srcdir"/raven-python-py2
+  python2 setup.py install --root="$pkgdir" --optimize=1
+  mv "$pkgdir"/usr/bin/raven{,2}
+
+  install -Dm664 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}


[arch-commits] Commit in python-raven/repos (2 files)

2015-09-21 Thread Felix Yan
Date: Tuesday, September 22, 2015 @ 07:37:34
  Author: fyan
Revision: 141444

archrelease: copy trunk to community-staging-any

Added:
  python-raven/repos/community-staging-any/
  python-raven/repos/community-staging-any/PKGBUILD
(from rev 141443, python-raven/trunk/PKGBUILD)

--+
 PKGBUILD |   73 +
 1 file changed, 73 insertions(+)

Copied: python-raven/repos/community-staging-any/PKGBUILD (from rev 141443, 
python-raven/trunk/PKGBUILD)
===
--- community-staging-any/PKGBUILD  (rev 0)
+++ community-staging-any/PKGBUILD  2015-09-22 05:37:34 UTC (rev 141444)
@@ -0,0 +1,73 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Benjamin A. Shelton 
+
+pkgbase=python-raven
+pkgname=(python-raven python2-raven)
+pkgver=5.7.2
+pkgrel=2
+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' 'python-flask-login' 'python2-flask-login')
+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"
+  python setup.py install --root="$PWD/tmp_install" --optimize=1
+  PYTHONPATH="$PWD/tmp_install/usr/lib/python3.5/site-packages:$PYTHONPATH" \
+py.test tests
+
+  cd "$srcdir/raven-python"
+  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"
+  # pytest-django doesn't work with pytest 2.8
+}
+
+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"
+}