[arch-commits] Commit in python-responses/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Thu Nov 15 11:59:11 UTC 2018
Date: Thursday, November 15, 2018 @ 11:59:10
Author: felixonmars
Revision: 407704
archrelease: copy trunk to community-any
Added:
python-responses/repos/community-any/PKGBUILD
(from rev 407703, python-responses/trunk/PKGBUILD)
Deleted:
python-responses/repos/community-any/PKGBUILD
----------+
PKGBUILD | 106 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 53 insertions(+), 53 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-11-15 11:58:51 UTC (rev 407703)
+++ PKGBUILD 2018-11-15 11:59:10 UTC (rev 407704)
@@ -1,53 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-responses
-pkgname=('python-responses' 'python2-responses')
-pkgver=0.10.3
-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=('6a9cd8c9bc87ff4e8c0b19b8e7ec43b066016f6c84744173cd9f487334e89a8f55d24a869f39be50852711e9da77eb25feecb70b173f5c200267cfafbce43b44')
-
-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 407703, python-responses/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-11-15 11:59:10 UTC (rev 407704)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-responses
+pkgname=('python-responses' 'python2-responses')
+pkgver=0.10.4
+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=('29167c93be40343a5f43476fc5243a1fa79ae48bb5db073f5f0b87b9c4159afe8f8ecafc398b2c7abdc7384be7e6083922c050e8abbb19a1cac4928d04203dcc')
+
+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