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

Felix Yan felixonmars at archlinux.org
Thu Oct 25 16:24:15 UTC 2018


    Date: Thursday, October 25, 2018 @ 16:24:15
  Author: felixonmars
Revision: 399006

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-10-25 16:23:55 UTC (rev 399005)
+++ PKGBUILD	2018-10-25 16:24:15 UTC (rev 399006)
@@ -1,53 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-responses
-pkgname=('python-responses' 'python2-responses')
-pkgver=0.10.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-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=('1f1ae6c04a5c414ad7b0a9900de177b73cdf800e9f516e9f7dda88f75bdbb3c4d70e4fa7d6f44cd5eb0b0045a81551b00fe131e8d294f0b6c83cfedf3a7a7474')
-
-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 399005, python-responses/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-10-25 16:24:15 UTC (rev 399006)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-responses
+pkgname=('python-responses' 'python2-responses')
+pkgver=0.10.2
+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=('d9b86d16ec31f6778c138f3dfa0a3a59cb4b1b97064297660518fe85c47d1e84f499668841e3dd276703f5b1be20732a1c48e8488b885e295b07e75ba6b742e2')
+
+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