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

Felix Yan felixonmars at archlinux.org
Wed Jul 26 05:40:27 UTC 2017


    Date: Wednesday, July 26, 2017 @ 05:40:26
  Author: felixonmars
Revision: 246381

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2017-07-26 05:40:08 UTC (rev 246380)
+++ PKGBUILD	2017-07-26 05:40:26 UTC (rev 246381)
@@ -1,53 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-responses
-pkgname=('python-responses' 'python2-responses')
-pkgver=0.5.1
-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-cookies' 'python2-cookies' 'python-six' 'python2-six' 'python2-mock')
-checkdepends=('python-pytest-runner' 'python2-pytest-runner' 'python-pytest-cov'
-              'python2-pytest-cov' 'flake8' 'python2-flake8')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/getsentry/responses/archive/$pkgver.tar.gz")
-sha512sums=('bd3dcd0cb97d46519371fbda11b42f2dae6c12e2492e6872f29cab31d5cc3942388d0d1d1d400ddd07bf810951edb75ee20f144b24750a3103a0d0d9ba2f78eb')
-
-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-cookies' '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 246380, python-responses/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2017-07-26 05:40:26 UTC (rev 246381)
@@ -0,0 +1,53 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-responses
+pkgname=('python-responses' 'python2-responses')
+pkgver=0.6.0
+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-cookies' 'python2-cookies' 'python-six' 'python2-six' 'python2-mock')
+checkdepends=('python-pytest-runner' 'python2-pytest-runner' 'python-pytest-cov'
+              'python2-pytest-cov' 'flake8' 'python2-flake8')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/getsentry/responses/archive/$pkgver.tar.gz")
+sha512sums=('32d41be5850f0040a4f2ad82a057d6ef73f0f83f7d3c250fa223d5614470b0b8b58790667af76ecc6b0b7e8e2a0a069c46c7913e983730c968c603e2716dec0b')
+
+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-cookies' '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