[arch-commits] Commit in python-raven/repos/community-any (PKGBUILD PKGBUILD)

Jelle van der Waa jelle at archlinux.org
Tue May 12 21:10:25 UTC 2020


    Date: Tuesday, May 12, 2020 @ 21:10:24
  Author: jelle
Revision: 627235

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-05-12 21:10:13 UTC (rev 627234)
+++ PKGBUILD	2020-05-12 21:10:24 UTC (rev 627235)
@@ -1,62 +0,0 @@
-# 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.10.0
-pkgrel=4
-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
-}

Copied: python-raven/repos/community-any/PKGBUILD (from rev 627234, python-raven/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-05-12 21:10:24 UTC (rev 627235)
@@ -0,0 +1,42 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Benjamin A. Shelton <zancarius at gmail.com>
+
+pkgname=python-raven
+pkgver=6.10.0
+pkgrel=5
+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.8/site-packages:$PYTHONPATH" \
+    py.test -p no:logging tests || warning "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
+}



More information about the arch-commits mailing list