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

Felix Yan felixonmars at archlinux.org
Mon Mar 18 19:59:59 UTC 2019


    Date: Monday, March 18, 2019 @ 19:59:58
  Author: felixonmars
Revision: 442498

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |  106 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 53 insertions(+), 53 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-03-18 19:59:42 UTC (rev 442497)
+++ PKGBUILD	2019-03-18 19:59:58 UTC (rev 442498)
@@ -1,53 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-responses
-pkgname=('python-responses' 'python2-responses')
-pkgver=0.10.5
-pkgrel=1
-pkgdesc='A utility library for mocking out the `requests` Python library.'
-arch=('any')
-license=('Apache')
-url='https://github.com/getsentry/responses'
-makedepends=('python-setuptools' 'python2-setuptools' 'python-requests' 'python2-requests'
-             'python-biscuits' 'python2-cookies' 'python-six' 'python2-six' 'python2-mock')
-checkdepends=('python-pytest-runner' 'python2-pytest-runner' 'python-pytest-cov'
-              'python2-pytest-cov' 'flake8' 'python2-flake8' 'python-pytest-localserver'
-              'python2-pytest-localserver')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/getsentry/responses/archive/$pkgver.tar.gz")
-sha512sums=('e98cc538c779b4f738419776d40eacbcb4cb59909cd7168b5ae8b802b0c4c83a209b9af9b325649598b522fac83cf56e4ff8ccfdbd3afe9881bd40c44dd234fd')
-
-prepare() {
-  cp -a responses-$pkgver{,-py2}
-}
-
-build() {
-  cd "$srcdir"/responses-$pkgver
-  python setup.py build
-
-  cd "$srcdir"/responses-$pkgver-py2
-  python2 setup.py build
-}
-
-check() {
-  cd "$srcdir"/responses-$pkgver
-  python setup.py pytest
-
-  cd "$srcdir"/responses-$pkgver-py2
-  python2 setup.py pytest
-}
-
-package_python-responses() {
-  depends=('python-requests' 'python-biscuits' 'python-six')
-
-  cd responses-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
-}
-
-package_python2-responses() {
-  depends=('python2-requests' 'python2-cookies' 'python2-six' 'python2-mock')
-
-  cd responses-$pkgver-py2
-  python2 setup.py install --root="$pkgdir" --optimize=1
-}
-
-# vim:set ts=2 sw=2 et:

Copied: python-responses/repos/community-any/PKGBUILD (from rev 442497, python-responses/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-03-18 19:59:58 UTC (rev 442498)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-responses
+pkgname=('python-responses' 'python2-responses')
+pkgver=0.10.6
+pkgrel=1
+pkgdesc='A utility library for mocking out the `requests` Python library.'
+arch=('any')
+license=('Apache')
+url='https://github.com/getsentry/responses'
+makedepends=('python-setuptools' 'python2-setuptools' 'python-requests' 'python2-requests'
+             'python-biscuits' 'python2-cookies' 'python-six' 'python2-six' 'python2-mock')
+checkdepends=('python-pytest-runner' 'python2-pytest-runner' 'python-pytest-cov'
+              'python2-pytest-cov' 'flake8' 'python2-flake8' 'python-pytest-localserver'
+              'python2-pytest-localserver')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/getsentry/responses/archive/$pkgver.tar.gz")
+sha512sums=('7fee4150de9b477ca2fb01e71ee9dffae0e3e2138502af54c39bb9291d950d5feb6a6f8db3e37a8a58b6561d625ae8e42a90921463ecb0c5a0f9213466047334')
+
+prepare() {
+  cp -a responses-$pkgver{,-py2}
+}
+
+build() {
+  cd "$srcdir"/responses-$pkgver
+  python setup.py build
+
+  cd "$srcdir"/responses-$pkgver-py2
+  python2 setup.py build
+}
+
+check() {
+  cd "$srcdir"/responses-$pkgver
+  python setup.py pytest
+
+  cd "$srcdir"/responses-$pkgver-py2
+  python2 setup.py pytest
+}
+
+package_python-responses() {
+  depends=('python-requests' 'python-biscuits' 'python-six')
+
+  cd responses-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+}
+
+package_python2-responses() {
+  depends=('python2-requests' 'python2-cookies' 'python2-six' 'python2-mock')
+
+  cd responses-$pkgver-py2
+  python2 setup.py install --root="$pkgdir" --optimize=1
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list