[arch-commits] Commit in python-requests/repos/extra-any (4 files)
Date: Thursday, December 17, 2020 @ 09:19:52 Author: felixonmars Revision: 404430 archrelease: copy trunk to extra-any Added: python-requests/repos/extra-any/PKGBUILD (from rev 404429, python-requests/trunk/PKGBUILD) python-requests/repos/extra-any/certs.patch (from rev 404429, python-requests/trunk/certs.patch) Deleted: python-requests/repos/extra-any/PKGBUILD python-requests/repos/extra-any/certs.patch -+ PKGBUILD| 126 +- certs.patch | 28 ++-- 2 files changed, 77 insertions(+), 77 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2020-12-17 09:19:25 UTC (rev 404429) +++ PKGBUILD2020-12-17 09:19:52 UTC (rev 404430) @@ -1,63 +0,0 @@ -# Maintainer: Felix Yan -# Contributor: Massimiliano Torromeo - -pkgbase=python-requests -pkgname=('python-requests' 'python2-requests') -pkgver=2.25.0 -pkgrel=1 -pkgdesc="Python HTTP for Humans" -arch=('any') -url="http://python-requests.org; -license=('Apache') -makedepends=('python-setuptools' 'python2-setuptools' 'python-chardet' 'python2-chardet' - 'python-urllib3' 'python2-urllib3' 'python-idna' 'python2-idna') -checkdepends=('python-pytest-httpbin' 'python-pytest-mock' 'python-pysocks' 'python-pyopenssl') -source=("$pkgbase-$pkgver.tar.gz::https://github.com/psf/requests/archive/v$pkgver.tar.gz; -certs.patch) -sha512sums=('f60d8dbbc7aaebaedc7647ab2cec1fffd01547ea3340b91d9c7fea51fde4cb932aaf81e3b8aac9f4be11243e4fc44c8266a69db5f52c4eb2afb1b7714c150b95' - '424a3bb01b23409284f6c9cd2bc22d92df31b85cfd96e1d1b16b5d68adeca670dfed4fff7977d8b10980102b0f780eacc465431021fcd661f3a17168a02a39a3') - -prepare() { - cd "$srcdir"/requests-$pkgver - sed -e '/certifi/d' \ - -e "s/,<.*'/'/" \ - -i setup.py - patch -p1 -i "$srcdir"/certs.patch - - cd "$srcdir" - cp -a requests-$pkgver{,-py2} - find requests-$pkgver-py2 -name \*.py -exec sed -r 's|^#!(.*)python$|#!\1python2|' -i {} + -} - -build() { - cd "$srcdir"/requests-$pkgver - python setup.py build - - cd "$srcdir"/requests-$pkgver-py2 - python2 setup.py build -} - -check() { - # Seems to be a problem about pytest-httpbin - - cd requests-$pkgver - pytest tests --deselect tests/test_requests.py::TestRequests::test_https_warnings -} - -package_python-requests() { - depends=('python-urllib3' 'python-chardet' 'python-idna') - optdepends=('python-pysocks: SOCKS proxy support') - - cd "$srcdir"/requests-$pkgver - python setup.py install --skip-build -O1 --root="$pkgdir" -} - -package_python2-requests() { - depends=('python2-urllib3' 'python2-chardet' 'python2-idna') - optdepends=('python2-ndg-httpsclient: HTTPS requests with SNI support' - 'python2-grequests: asynchronous requests with gevent' - 'python2-pysocks: SOCKS proxy support') - - cd "$srcdir"/requests-$pkgver-py2 - python2 setup.py install --skip-build -O1 --root="$pkgdir" -} Copied: python-requests/repos/extra-any/PKGBUILD (from rev 404429, python-requests/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2020-12-17 09:19:52 UTC (rev 404430) @@ -0,0 +1,63 @@ +# Maintainer: Felix Yan +# Contributor: Massimiliano Torromeo + +pkgbase=python-requests +pkgname=('python-requests' 'python2-requests') +pkgver=2.25.1 +pkgrel=1 +pkgdesc="Python HTTP for Humans" +arch=('any') +url="http://python-requests.org; +license=('Apache') +makedepends=('python-setuptools' 'python2-setuptools' 'python-chardet' 'python2-chardet' + 'python-urllib3' 'python2-urllib3' 'python-idna' 'python2-idna') +checkdepends=('python-pytest-httpbin' 'python-pytest-mock' 'python-pysocks' 'python-pyopenssl') +source=("$pkgbase-$pkgver.tar.gz::https://github.com/psf/requests/archive/v$pkgver.tar.gz; +certs.patch) +sha512sums=('e4fc90b229925a2b580e5cd85c39e8b0fe8006e1e49d247efc38616120ffdab319fc200424eeb4fb7175114daf1b6f98ba5c2f4baa00ce17fdc79e880df60ad8' + '424a3bb01b23409284f6c9cd2bc22d92df31b85cfd96e1d1b16b5d68adeca670dfed4fff7977d8b10980102b0f780eacc465431021fcd661f3a17168a02a39a3') + +prepare() { + cd "$srcdir"/requests-$pkgver + sed -e '/certifi/d' \ + -e "s/,<.*'/'/" \ + -i setup.py + patch -p1 -i "$srcdir"/certs.patch + + cd "$srcdir" + cp -a requests-$pkgver{,-py2} + find requests-$pkgver-py2 -name \*.py -exec sed -r 's|^#!(.*)python$|#!\1python2|' -i {} + +} + +build() { + cd "$srcdir"/requests-$pkgver + python setup.py build + + cd "$srcdir"/requests-$pkgver-py2 + python2 setup.py build +} + +check() { + # Seems to be a problem about pytest-httpbin + + cd requests-$pkgver + pytest tests --deselect tests/test_requests.py::TestRequests::test_https_warnings +} + +package_python-requests() { + depends=('python-urllib3' 'python-chardet' 'python-idna') + optdepends=('python-pysocks: SOCKS
[arch-commits] Commit in python-requests/repos/extra-any (4 files)
Date: Thursday, November 8, 2018 @ 17:33:39 Author: felixonmars Revision: 338391 archrelease: copy trunk to extra-any Added: python-requests/repos/extra-any/PKGBUILD (from rev 338390, python-requests/trunk/PKGBUILD) python-requests/repos/extra-any/certs.patch (from rev 338390, python-requests/trunk/certs.patch) Deleted: python-requests/repos/extra-any/PKGBUILD python-requests/repos/extra-any/certs.patch -+ PKGBUILD| 130 +- certs.patch | 28 ++-- 2 files changed, 79 insertions(+), 79 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2018-11-08 17:33:25 UTC (rev 338390) +++ PKGBUILD2018-11-08 17:33:39 UTC (rev 338391) @@ -1,65 +0,0 @@ -# Maintainer: Felix Yan -# Contributor: Massimiliano Torromeo - -pkgbase=python-requests -pkgname=('python-requests' 'python2-requests') -pkgver=2.20.0 -pkgrel=1 -pkgdesc="Python HTTP for Humans" -arch=('any') -url="http://python-requests.org; -license=('Apache') -makedepends=('python-setuptools' 'python2-setuptools' 'python-chardet' 'python2-chardet' - 'python-urllib3' 'python2-urllib3' 'python-idna' 'python2-idna') -checkdepends=('python-pytest-httpbin' 'python2-pytest-httpbin' 'python-pytest-mock' - 'python2-pytest-mock' 'python-pysocks' 'python2-pysocks') -source=("$pkgbase-$pkgver.tar.gz::https://github.com/kennethreitz/requests/archive/v$pkgver.tar.gz; -certs.patch) -sha512sums=('766c69d1778e7286232fcd750842e89cd9bb6637076e80fe95fb67f3ccb14049bf74a533de91ef9451ac6f397ad0a6d148eb444009f501178138cdeffc5ee7c4' - '424a3bb01b23409284f6c9cd2bc22d92df31b85cfd96e1d1b16b5d68adeca670dfed4fff7977d8b10980102b0f780eacc465431021fcd661f3a17168a02a39a3') - -prepare() { - cd "$srcdir"/requests-$pkgver - sed -e '/certifi/d' \ - -e "s/,<.*'/'/" \ - -i setup.py - patch -p1 -i "$srcdir"/certs.patch - - cd "$srcdir" - cp -a requests-$pkgver{,-py2} - find requests-$pkgver-py2 -name \*.py -exec sed -r 's|^#!(.*)python$|#!\1python2|' -i {} + -} - -build() { - cd "$srcdir"/requests-$pkgver - python setup.py build - - cd "$srcdir"/requests-$pkgver-py2 - python2 setup.py build -} - -check() { - cd "$srcdir"/requests-$pkgver - py.test tests - - cd "$srcdir"/requests-$pkgver-py2 - py.test2 tests -} - -package_python-requests() { - depends=('python-urllib3' 'python-chardet' 'python-idna') - optdepends=('python-pysocks: SOCKS proxy support') - - cd "$srcdir"/requests-$pkgver - python setup.py install --skip-build -O1 --root="$pkgdir" -} - -package_python2-requests() { - depends=('python2-urllib3' 'python2-chardet' 'python2-idna') - optdepends=('python2-ndg-httpsclient: HTTPS requests with SNI support' - 'python2-grequests: asynchronous requests with gevent' - 'python2-pysocks: SOCKS proxy support') - - cd "$srcdir"/requests-$pkgver-py2 - python2 setup.py install --skip-build -O1 --root="$pkgdir" -} Copied: python-requests/repos/extra-any/PKGBUILD (from rev 338390, python-requests/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2018-11-08 17:33:39 UTC (rev 338391) @@ -0,0 +1,65 @@ +# Maintainer: Felix Yan +# Contributor: Massimiliano Torromeo + +pkgbase=python-requests +pkgname=('python-requests' 'python2-requests') +pkgver=2.20.1 +pkgrel=1 +pkgdesc="Python HTTP for Humans" +arch=('any') +url="http://python-requests.org; +license=('Apache') +makedepends=('python-setuptools' 'python2-setuptools' 'python-chardet' 'python2-chardet' + 'python-urllib3' 'python2-urllib3' 'python-idna' 'python2-idna') +checkdepends=('python-pytest-httpbin' 'python2-pytest-httpbin' 'python-pytest-mock' + 'python2-pytest-mock' 'python-pysocks' 'python2-pysocks') +source=("$pkgbase-$pkgver.tar.gz::https://github.com/kennethreitz/requests/archive/v$pkgver.tar.gz; +certs.patch) +sha512sums=('939361477f2354a926d419e4cda5f68da2c3c456089982f1f07ac5e6af54f338f78e5d7f716827324b1a8c484947e3e07484b4677c38d79c34ea071bb18d0dc6' + '424a3bb01b23409284f6c9cd2bc22d92df31b85cfd96e1d1b16b5d68adeca670dfed4fff7977d8b10980102b0f780eacc465431021fcd661f3a17168a02a39a3') + +prepare() { + cd "$srcdir"/requests-$pkgver + sed -e '/certifi/d' \ + -e "s/,<.*'/'/" \ + -i setup.py + patch -p1 -i "$srcdir"/certs.patch + + cd "$srcdir" + cp -a requests-$pkgver{,-py2} + find requests-$pkgver-py2 -name \*.py -exec sed -r 's|^#!(.*)python$|#!\1python2|' -i {} + +} + +build() { + cd "$srcdir"/requests-$pkgver + python setup.py build + + cd "$srcdir"/requests-$pkgver-py2 + python2 setup.py build +} + +check() { + cd "$srcdir"/requests-$pkgver + py.test tests + + cd "$srcdir"/requests-$pkgver-py2 + py.test2 tests +} + +package_python-requests() { + depends=('python-urllib3' 'python-chardet' 'python-idna') +
[arch-commits] Commit in python-requests/repos/extra-any (4 files)
Date: Monday, June 11, 2018 @ 07:16:32 Author: felixonmars Revision: 326704 archrelease: copy trunk to extra-any Added: python-requests/repos/extra-any/PKGBUILD (from rev 326703, python-requests/trunk/PKGBUILD) python-requests/repos/extra-any/certs.patch (from rev 326703, python-requests/trunk/certs.patch) Deleted: python-requests/repos/extra-any/PKGBUILD python-requests/repos/extra-any/certs.patch -+ PKGBUILD| 139 +- certs.patch | 28 +-- 2 files changed, 84 insertions(+), 83 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2018-06-11 07:16:12 UTC (rev 326703) +++ PKGBUILD2018-06-11 07:16:32 UTC (rev 326704) @@ -1,69 +0,0 @@ -# $Id$ -# Maintainer: Felix Yan -# Contributor: Massimiliano Torromeo - -pkgbase=python-requests -pkgname=('python-requests' 'python2-requests') -pkgver=2.18.4 -pkgrel=3 -pkgdesc="Python HTTP for Humans" -arch=('any') -url="http://python-requests.org; -license=('Apache') -makedepends=('python-setuptools' 'python2-setuptools' 'python-chardet' 'python2-chardet' - 'python-urllib3' 'python2-urllib3' 'python-idna' 'python2-idna') -checkdepends=('python-pytest-httpbin' 'python2-pytest-httpbin' 'python-pytest-mock' - 'python2-pytest-mock' 'python-pysocks' 'python2-pysocks') -source=("$pkgbase-$pkgver.tar.gz::https://github.com/kennethreitz/requests/archive/v$pkgver.tar.gz; -certs.patch - https://github.com/yan12125/requests/commit/30b5079f46fa9e853a9efe635b60acdb172d250d.patch) -sha512sums=('8ca20fe18d13b8c62977be0c51617f2ae8618d3d002ad4dc554362828855db7359274efbff0cd13e8c5699508913e91205cffcf306221a70321e74ac10b2d4d7' - '424a3bb01b23409284f6c9cd2bc22d92df31b85cfd96e1d1b16b5d68adeca670dfed4fff7977d8b10980102b0f780eacc465431021fcd661f3a17168a02a39a3' - '1f63f76df4c819e5a6dbd8d32d6f3a5cfc22c569ebe9551310629dee24fe7d5566d47bcf1a689ada9d103318be779e2ded24b0c1b8e8100fdd365890c0b87448') - -prepare() { - cd "$srcdir"/requests-$pkgver - sed -e '/certifi/d' \ - -e 's/urllib3>=1.21.1,<1.23/urllib3>=1.21.1,<1.24/' \ - -i setup.py - patch -p1 -i ../30b5079f46fa9e853a9efe635b60acdb172d250d.patch - patch -p1 -i "$srcdir"/certs.patch - - cd "$srcdir" - cp -a requests-$pkgver{,-py2} - find requests-$pkgver-py2 -name \*.py -exec sed -r 's|^#!(.*)python$|#!\1python2|' -i {} + -} - -build() { - cd "$srcdir"/requests-$pkgver - python setup.py build - - cd "$srcdir"/requests-$pkgver-py2 - python2 setup.py build -} - -check() { - cd "$srcdir"/requests-$pkgver - py.test tests - - cd "$srcdir"/requests-$pkgver-py2 - py.test2 tests -} - -package_python-requests() { - depends=('python-urllib3' 'python-chardet' 'python-idna') - optdepends=('python-pysocks: SOCKS proxy support') - - cd "$srcdir"/requests-$pkgver - python setup.py install --skip-build -O1 --root="$pkgdir" -} - -package_python2-requests() { - depends=('python2-urllib3' 'python2-chardet' 'python2-idna') - optdepends=('python2-ndg-httpsclient: HTTPS requests with SNI support' - 'python2-grequests: asynchronous requests with gevent' - 'python2-pysocks: SOCKS proxy support') - - cd "$srcdir"/requests-$pkgver-py2 - python2 setup.py install --skip-build -O1 --root="$pkgdir" -} Copied: python-requests/repos/extra-any/PKGBUILD (from rev 326703, python-requests/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2018-06-11 07:16:32 UTC (rev 326704) @@ -0,0 +1,70 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Massimiliano Torromeo + +pkgbase=python-requests +pkgname=('python-requests' 'python2-requests') +pkgver=2.18.4 +pkgrel=4 +pkgdesc="Python HTTP for Humans" +arch=('any') +url="http://python-requests.org; +license=('Apache') +makedepends=('python-setuptools' 'python2-setuptools' 'python-chardet' 'python2-chardet' + 'python-urllib3' 'python2-urllib3' 'python-idna' 'python2-idna') +checkdepends=('python-pytest-httpbin' 'python2-pytest-httpbin' 'python-pytest-mock' + 'python2-pytest-mock' 'python-pysocks' 'python2-pysocks') +source=("$pkgbase-$pkgver.tar.gz::https://github.com/kennethreitz/requests/archive/v$pkgver.tar.gz; +certs.patch + https://github.com/yan12125/requests/commit/30b5079f46fa9e853a9efe635b60acdb172d250d.patch) +sha512sums=('8ca20fe18d13b8c62977be0c51617f2ae8618d3d002ad4dc554362828855db7359274efbff0cd13e8c5699508913e91205cffcf306221a70321e74ac10b2d4d7' + '424a3bb01b23409284f6c9cd2bc22d92df31b85cfd96e1d1b16b5d68adeca670dfed4fff7977d8b10980102b0f780eacc465431021fcd661f3a17168a02a39a3' + '1f63f76df4c819e5a6dbd8d32d6f3a5cfc22c569ebe9551310629dee24fe7d5566d47bcf1a689ada9d103318be779e2ded24b0c1b8e8100fdd365890c0b87448') + +prepare() { + cd "$srcdir"/requests-$pkgver + sed -e
[arch-commits] Commit in python-requests/repos/extra-any (4 files)
Date: Wednesday, June 6, 2018 @ 17:57:34 Author: felixonmars Revision: 326051 archrelease: copy trunk to extra-any Added: python-requests/repos/extra-any/PKGBUILD (from rev 326050, python-requests/trunk/PKGBUILD) python-requests/repos/extra-any/certs.patch (from rev 326050, python-requests/trunk/certs.patch) Deleted: python-requests/repos/extra-any/PKGBUILD python-requests/repos/extra-any/certs.patch -+ PKGBUILD| 135 +- certs.patch | 28 ++-- 2 files changed, 83 insertions(+), 80 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2018-06-06 17:57:08 UTC (rev 326050) +++ PKGBUILD2018-06-06 17:57:34 UTC (rev 326051) @@ -1,66 +0,0 @@ -# $Id$ -# Maintainer: Felix Yan -# Contributor: Massimiliano Torromeo - -pkgbase=python-requests -pkgname=('python-requests' 'python2-requests') -pkgver=2.18.4 -pkgrel=2 -pkgdesc="Python HTTP for Humans" -arch=('any') -url="http://python-requests.org; -license=('Apache') -makedepends=('python-setuptools' 'python2-setuptools' 'python-chardet' 'python2-chardet' - 'python-urllib3' 'python2-urllib3' 'python-idna' 'python2-idna') -checkdepends=('python-pytest-httpbin' 'python2-pytest-httpbin' 'python-pytest-mock' - 'python2-pytest-mock' 'python-pysocks' 'python2-pysocks') -source=("$pkgbase-$pkgver.tar.gz::https://github.com/kennethreitz/requests/archive/v$pkgver.tar.gz; -certs.patch) -sha512sums=('8ca20fe18d13b8c62977be0c51617f2ae8618d3d002ad4dc554362828855db7359274efbff0cd13e8c5699508913e91205cffcf306221a70321e74ac10b2d4d7' - '424a3bb01b23409284f6c9cd2bc22d92df31b85cfd96e1d1b16b5d68adeca670dfed4fff7977d8b10980102b0f780eacc465431021fcd661f3a17168a02a39a3') - -prepare() { - cd "$srcdir"/requests-$pkgver - sed -e '/certifi/d' \ - -e 's/urllib3>=1.21.1,<1.23/urllib3>=1.21.1,<1.24/' \ - -i setup.py - patch -p1 -i "$srcdir"/certs.patch - - cd "$srcdir" - cp -a requests-$pkgver{,-py2} - find requests-$pkgver-py2 -name \*.py -exec sed -r 's|^#!(.*)python$|#!\1python2|' -i {} + -} - -build() { - cd "$srcdir"/requests-$pkgver - python setup.py build - - cd "$srcdir"/requests-$pkgver-py2 - python2 setup.py build -} - -check() { - cd "$srcdir"/requests-$pkgver - py.test tests - - cd "$srcdir"/requests-$pkgver-py2 - py.test2 tests -} - -package_python-requests() { - depends=('python-urllib3' 'python-chardet' 'python-idna') - optdepends=('python-pysocks: SOCKS proxy support') - - cd "$srcdir"/requests-$pkgver - python setup.py install --skip-build -O1 --root="$pkgdir" -} - -package_python2-requests() { - depends=('python2-urllib3' 'python2-chardet' 'python2-idna') - optdepends=('python2-ndg-httpsclient: HTTPS requests with SNI support' - 'python2-grequests: asynchronous requests with gevent' - 'python2-pysocks: SOCKS proxy support') - - cd "$srcdir"/requests-$pkgver-py2 - python2 setup.py install --skip-build -O1 --root="$pkgdir" -} Copied: python-requests/repos/extra-any/PKGBUILD (from rev 326050, python-requests/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2018-06-06 17:57:34 UTC (rev 326051) @@ -0,0 +1,69 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Massimiliano Torromeo + +pkgbase=python-requests +pkgname=('python-requests' 'python2-requests') +pkgver=2.18.4 +pkgrel=3 +pkgdesc="Python HTTP for Humans" +arch=('any') +url="http://python-requests.org; +license=('Apache') +makedepends=('python-setuptools' 'python2-setuptools' 'python-chardet' 'python2-chardet' + 'python-urllib3' 'python2-urllib3' 'python-idna' 'python2-idna') +checkdepends=('python-pytest-httpbin' 'python2-pytest-httpbin' 'python-pytest-mock' + 'python2-pytest-mock' 'python-pysocks' 'python2-pysocks') +source=("$pkgbase-$pkgver.tar.gz::https://github.com/kennethreitz/requests/archive/v$pkgver.tar.gz; +certs.patch + https://github.com/yan12125/requests/commit/30b5079f46fa9e853a9efe635b60acdb172d250d.patch) +sha512sums=('8ca20fe18d13b8c62977be0c51617f2ae8618d3d002ad4dc554362828855db7359274efbff0cd13e8c5699508913e91205cffcf306221a70321e74ac10b2d4d7' + '424a3bb01b23409284f6c9cd2bc22d92df31b85cfd96e1d1b16b5d68adeca670dfed4fff7977d8b10980102b0f780eacc465431021fcd661f3a17168a02a39a3' + '1f63f76df4c819e5a6dbd8d32d6f3a5cfc22c569ebe9551310629dee24fe7d5566d47bcf1a689ada9d103318be779e2ded24b0c1b8e8100fdd365890c0b87448') + +prepare() { + cd "$srcdir"/requests-$pkgver + sed -e '/certifi/d' \ + -e 's/urllib3>=1.21.1,<1.23/urllib3>=1.21.1,<1.24/' \ + -i setup.py + patch -p1 -i ../30b5079f46fa9e853a9efe635b60acdb172d250d.patch + patch -p1 -i "$srcdir"/certs.patch + + cd "$srcdir" + cp -a requests-$pkgver{,-py2} + find requests-$pkgver-py2 -name \*.py -exec sed -r
[arch-commits] Commit in python-requests/repos/extra-any (4 files)
Date: Tuesday, June 5, 2018 @ 15:44:47 Author: felixonmars Revision: 325924 archrelease: copy trunk to extra-any Added: python-requests/repos/extra-any/PKGBUILD (from rev 325923, python-requests/trunk/PKGBUILD) python-requests/repos/extra-any/certs.patch (from rev 325923, python-requests/trunk/certs.patch) Deleted: python-requests/repos/extra-any/PKGBUILD python-requests/repos/extra-any/certs.patch -+ PKGBUILD| 131 +- certs.patch | 28 ++-- 2 files changed, 80 insertions(+), 79 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2018-06-05 15:44:25 UTC (rev 325923) +++ PKGBUILD2018-06-05 15:44:47 UTC (rev 325924) @@ -1,65 +0,0 @@ -# $Id$ -# Maintainer: Felix Yan -# Contributor: Massimiliano Torromeo - -pkgbase=python-requests -pkgname=('python-requests' 'python2-requests') -pkgver=2.18.4 -pkgrel=1 -pkgdesc="Python HTTP for Humans" -arch=('any') -url="http://python-requests.org; -license=('Apache') -makedepends=('python-setuptools' 'python2-setuptools' 'python-chardet' 'python2-chardet' - 'python-urllib3' 'python2-urllib3' 'python-idna' 'python2-idna') -checkdepends=('python-pytest-httpbin' 'python2-pytest-httpbin' 'python-pytest-mock' - 'python2-pytest-mock' 'python-pysocks' 'python2-pysocks') -source=("$pkgbase-$pkgver.tar.gz::https://github.com/kennethreitz/requests/archive/v$pkgver.tar.gz; -certs.patch) -sha512sums=('8ca20fe18d13b8c62977be0c51617f2ae8618d3d002ad4dc554362828855db7359274efbff0cd13e8c5699508913e91205cffcf306221a70321e74ac10b2d4d7' - '424a3bb01b23409284f6c9cd2bc22d92df31b85cfd96e1d1b16b5d68adeca670dfed4fff7977d8b10980102b0f780eacc465431021fcd661f3a17168a02a39a3') - -prepare() { - cd "$srcdir"/requests-$pkgver - sed -e '/certifi/d' \ - -i setup.py - patch -p1 -i "$srcdir"/certs.patch - - cd "$srcdir" - cp -a requests-$pkgver{,-py2} - find requests-$pkgver-py2 -name \*.py -exec sed -r 's|^#!(.*)python$|#!\1python2|' -i {} + -} - -build() { - cd "$srcdir"/requests-$pkgver - python setup.py build - - cd "$srcdir"/requests-$pkgver-py2 - python2 setup.py build -} - -check() { - cd "$srcdir"/requests-$pkgver - py.test tests - - cd "$srcdir"/requests-$pkgver-py2 - py.test2 tests -} - -package_python-requests() { - depends=('python-urllib3' 'python-chardet' 'python-idna') - optdepends=('python-pysocks: SOCKS proxy support') - - cd "$srcdir"/requests-$pkgver - python setup.py install --skip-build -O1 --root="$pkgdir" -} - -package_python2-requests() { - depends=('python2-urllib3' 'python2-chardet' 'python2-idna') - optdepends=('python2-ndg-httpsclient: HTTPS requests with SNI support' - 'python2-grequests: asynchronous requests with gevent' - 'python2-pysocks: SOCKS proxy support') - - cd "$srcdir"/requests-$pkgver-py2 - python2 setup.py install --skip-build -O1 --root="$pkgdir" -} Copied: python-requests/repos/extra-any/PKGBUILD (from rev 325923, python-requests/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2018-06-05 15:44:47 UTC (rev 325924) @@ -0,0 +1,66 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Massimiliano Torromeo + +pkgbase=python-requests +pkgname=('python-requests' 'python2-requests') +pkgver=2.18.4 +pkgrel=2 +pkgdesc="Python HTTP for Humans" +arch=('any') +url="http://python-requests.org; +license=('Apache') +makedepends=('python-setuptools' 'python2-setuptools' 'python-chardet' 'python2-chardet' + 'python-urllib3' 'python2-urllib3' 'python-idna' 'python2-idna') +checkdepends=('python-pytest-httpbin' 'python2-pytest-httpbin' 'python-pytest-mock' + 'python2-pytest-mock' 'python-pysocks' 'python2-pysocks') +source=("$pkgbase-$pkgver.tar.gz::https://github.com/kennethreitz/requests/archive/v$pkgver.tar.gz; +certs.patch) +sha512sums=('8ca20fe18d13b8c62977be0c51617f2ae8618d3d002ad4dc554362828855db7359274efbff0cd13e8c5699508913e91205cffcf306221a70321e74ac10b2d4d7' + '424a3bb01b23409284f6c9cd2bc22d92df31b85cfd96e1d1b16b5d68adeca670dfed4fff7977d8b10980102b0f780eacc465431021fcd661f3a17168a02a39a3') + +prepare() { + cd "$srcdir"/requests-$pkgver + sed -e '/certifi/d' \ + -e 's/urllib3>=1.21.1,<1.23/urllib3>=1.21.1,<1.24/' \ + -i setup.py + patch -p1 -i "$srcdir"/certs.patch + + cd "$srcdir" + cp -a requests-$pkgver{,-py2} + find requests-$pkgver-py2 -name \*.py -exec sed -r 's|^#!(.*)python$|#!\1python2|' -i {} + +} + +build() { + cd "$srcdir"/requests-$pkgver + python setup.py build + + cd "$srcdir"/requests-$pkgver-py2 + python2 setup.py build +} + +check() { + cd "$srcdir"/requests-$pkgver + py.test tests + + cd "$srcdir"/requests-$pkgver-py2 + py.test2 tests +} + +package_python-requests() { + depends=('python-urllib3'
[arch-commits] Commit in python-requests/repos/extra-any (4 files)
Date: Tuesday, August 15, 2017 @ 14:56:36 Author: felixonmars Revision: 302213 archrelease: copy trunk to extra-any Added: python-requests/repos/extra-any/PKGBUILD (from rev 302212, python-requests/trunk/PKGBUILD) python-requests/repos/extra-any/certs.patch (from rev 302212, python-requests/trunk/certs.patch) Deleted: python-requests/repos/extra-any/PKGBUILD python-requests/repos/extra-any/certs.patch -+ PKGBUILD| 130 +- certs.patch | 28 ++-- 2 files changed, 79 insertions(+), 79 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2017-08-15 14:56:15 UTC (rev 302212) +++ PKGBUILD2017-08-15 14:56:36 UTC (rev 302213) @@ -1,65 +0,0 @@ -# $Id$ -# Maintainer: Felix Yan-# Contributor: Massimiliano Torromeo - -pkgbase=python-requests -pkgname=('python-requests' 'python2-requests') -pkgver=2.18.3 -pkgrel=1 -pkgdesc="Python HTTP for Humans" -arch=('any') -url="http://python-requests.org; -license=('Apache') -makedepends=('python-setuptools' 'python2-setuptools' 'python-chardet' 'python2-chardet' - 'python-urllib3' 'python2-urllib3' 'python-idna' 'python2-idna') -checkdepends=('python-pytest-httpbin' 'python2-pytest-httpbin' 'python-pytest-mock' - 'python2-pytest-mock' 'python-pysocks' 'python2-pysocks') -source=("$pkgbase-$pkgver.tar.gz::https://github.com/kennethreitz/requests/archive/v$pkgver.tar.gz; -certs.patch) -sha512sums=('23fa5386ff7a7f28e9fedd43cb804c488084f73fe4e4bf262161bb3d538cd2de67d965e6f005731ca10fe6c9b49760c24abbdc0435bbfe729a1ea2d7c1a8101b' - '424a3bb01b23409284f6c9cd2bc22d92df31b85cfd96e1d1b16b5d68adeca670dfed4fff7977d8b10980102b0f780eacc465431021fcd661f3a17168a02a39a3') - -prepare() { - cd "$srcdir"/requests-$pkgver - sed -e '/certifi/d' \ - -i setup.py - patch -p1 -i "$srcdir"/certs.patch - - cd "$srcdir" - cp -a requests-$pkgver{,-py2} - find requests-$pkgver-py2 -name \*.py -exec sed -r 's|^#!(.*)python$|#!\1python2|' -i {} + -} - -build() { - cd "$srcdir"/requests-$pkgver - python setup.py build - - cd "$srcdir"/requests-$pkgver-py2 - python2 setup.py build -} - -check() { - cd "$srcdir"/requests-$pkgver - py.test tests - - cd "$srcdir"/requests-$pkgver-py2 - py.test2 tests -} - -package_python-requests() { - depends=('python-urllib3' 'python-chardet' 'python-idna') - optdepends=('python-pysocks: SOCKS proxy support') - - cd "$srcdir"/requests-$pkgver - python setup.py install --skip-build -O1 --root="$pkgdir" -} - -package_python2-requests() { - depends=('python2-urllib3' 'python2-chardet' 'python2-idna') - optdepends=('python2-ndg-httpsclient: HTTPS requests with SNI support' - 'python2-grequests: asynchronous requests with gevent' - 'python2-pysocks: SOCKS proxy support') - - cd "$srcdir"/requests-$pkgver-py2 - python2 setup.py install --skip-build -O1 --root="$pkgdir" -} Copied: python-requests/repos/extra-any/PKGBUILD (from rev 302212, python-requests/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2017-08-15 14:56:36 UTC (rev 302213) @@ -0,0 +1,65 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Massimiliano Torromeo + +pkgbase=python-requests +pkgname=('python-requests' 'python2-requests') +pkgver=2.18.4 +pkgrel=1 +pkgdesc="Python HTTP for Humans" +arch=('any') +url="http://python-requests.org; +license=('Apache') +makedepends=('python-setuptools' 'python2-setuptools' 'python-chardet' 'python2-chardet' + 'python-urllib3' 'python2-urllib3' 'python-idna' 'python2-idna') +checkdepends=('python-pytest-httpbin' 'python2-pytest-httpbin' 'python-pytest-mock' + 'python2-pytest-mock' 'python-pysocks' 'python2-pysocks') +source=("$pkgbase-$pkgver.tar.gz::https://github.com/kennethreitz/requests/archive/v$pkgver.tar.gz; +certs.patch) +sha512sums=('8ca20fe18d13b8c62977be0c51617f2ae8618d3d002ad4dc554362828855db7359274efbff0cd13e8c5699508913e91205cffcf306221a70321e74ac10b2d4d7' + '424a3bb01b23409284f6c9cd2bc22d92df31b85cfd96e1d1b16b5d68adeca670dfed4fff7977d8b10980102b0f780eacc465431021fcd661f3a17168a02a39a3') + +prepare() { + cd "$srcdir"/requests-$pkgver + sed -e '/certifi/d' \ + -i setup.py + patch -p1 -i "$srcdir"/certs.patch + + cd "$srcdir" + cp -a requests-$pkgver{,-py2} + find requests-$pkgver-py2 -name \*.py -exec sed -r 's|^#!(.*)python$|#!\1python2|' -i {} + +} + +build() { + cd "$srcdir"/requests-$pkgver + python setup.py build + + cd "$srcdir"/requests-$pkgver-py2 + python2 setup.py build +} + +check() { + cd "$srcdir"/requests-$pkgver + py.test tests + + cd "$srcdir"/requests-$pkgver-py2 + py.test2 tests +} +
[arch-commits] Commit in python-requests/repos/extra-any (4 files)
Date: Wednesday, June 14, 2017 @ 18:09:10 Author: felixonmars Revision: 298833 archrelease: copy trunk to extra-any Added: python-requests/repos/extra-any/PKGBUILD (from rev 298832, python-requests/trunk/PKGBUILD) python-requests/repos/extra-any/certs.patch (from rev 298832, python-requests/trunk/certs.patch) Deleted: python-requests/repos/extra-any/PKGBUILD python-requests/repos/extra-any/certs.patch -+ PKGBUILD| 128 +- certs.patch | 28 ++-- 2 files changed, 78 insertions(+), 78 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2017-06-14 18:08:53 UTC (rev 298832) +++ PKGBUILD2017-06-14 18:09:10 UTC (rev 298833) @@ -1,64 +0,0 @@ -# $Id$ -# Maintainer: Felix Yan-# Contributor: Massimiliano Torromeo - -pkgbase=python-requests -pkgname=('python-requests' 'python2-requests') -pkgver=2.17.3 -pkgrel=1 -pkgdesc="Python HTTP for Humans" -arch=('any') -url="http://python-requests.org; -license=('Apache') -makedepends=('python-setuptools' 'python2-setuptools' 'python-chardet' 'python2-chardet' - 'python-urllib3' 'python2-urllib3' 'python-idna' 'python2-idna') -checkdepends=('python-pytest-httpbin' 'python2-pytest-httpbin' 'python-pytest-mock' - 'python2-pytest-mock' 'python-pysocks' 'python2-pysocks') -source=("$pkgbase-$pkgver.tar.gz::https://github.com/kennethreitz/requests/archive/v$pkgver.tar.gz; -certs.patch) -sha512sums=('e6eed37561201dec8184fad29d391110852cf5ef961eb51b87068595e261f48c238ee0c0f31488e88cb6aed61249b520a218822615aaaf80aaa9daafb2d57e3e' - '424a3bb01b23409284f6c9cd2bc22d92df31b85cfd96e1d1b16b5d68adeca670dfed4fff7977d8b10980102b0f780eacc465431021fcd661f3a17168a02a39a3') - -prepare() { - cd "$srcdir"/requests-$pkgver - sed -i '/certifi/d' setup.py - patch -p1 -i "$srcdir"/certs.patch - - cd "$srcdir" - cp -a requests-$pkgver{,-py2} - find requests-$pkgver-py2 -name \*.py -exec sed -r 's|^#!(.*)python$|#!\1python2|' -i {} + -} - -build() { - cd "$srcdir"/requests-$pkgver - python setup.py build - - cd "$srcdir"/requests-$pkgver-py2 - python2 setup.py build -} - -check() { - cd "$srcdir"/requests-$pkgver - py.test tests - - cd "$srcdir"/requests-$pkgver-py2 - py.test2 tests -} - -package_python-requests() { - depends=('python-urllib3' 'python-chardet' 'python-idna') - optdepends=('python-pysocks: SOCKS proxy support') - - cd "$srcdir"/requests-$pkgver - python setup.py install --skip-build -O1 --root="$pkgdir" -} - -package_python2-requests() { - depends=('python2-urllib3' 'python2-chardet' 'python2-idna') - optdepends=('python2-ndg-httpsclient: HTTPS requests with SNI support' - 'python2-grequests: asynchronous requests with gevent' - 'python2-pysocks: SOCKS proxy support') - - cd "$srcdir"/requests-$pkgver-py2 - python2 setup.py install --skip-build -O1 --root="$pkgdir" -} Copied: python-requests/repos/extra-any/PKGBUILD (from rev 298832, python-requests/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2017-06-14 18:09:10 UTC (rev 298833) @@ -0,0 +1,64 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Massimiliano Torromeo + +pkgbase=python-requests +pkgname=('python-requests' 'python2-requests') +pkgver=2.18.1 +pkgrel=1 +pkgdesc="Python HTTP for Humans" +arch=('any') +url="http://python-requests.org; +license=('Apache') +makedepends=('python-setuptools' 'python2-setuptools' 'python-chardet' 'python2-chardet' + 'python-urllib3' 'python2-urllib3' 'python-idna' 'python2-idna') +checkdepends=('python-pytest-httpbin' 'python2-pytest-httpbin' 'python-pytest-mock' + 'python2-pytest-mock' 'python-pysocks' 'python2-pysocks') +source=("$pkgbase-$pkgver.tar.gz::https://github.com/kennethreitz/requests/archive/v$pkgver.tar.gz; +certs.patch) +sha512sums=('a80e0487b4b729e69522817bc2eec2a9c5f1df34df385581b3e937c2409e0fcb4e1f9b4794b198c8b8a57fc05b1bc513fc70d41b324ae251de0fa9bc7c9e6947' + '424a3bb01b23409284f6c9cd2bc22d92df31b85cfd96e1d1b16b5d68adeca670dfed4fff7977d8b10980102b0f780eacc465431021fcd661f3a17168a02a39a3') + +prepare() { + cd "$srcdir"/requests-$pkgver + sed -i '/certifi/d' setup.py + patch -p1 -i "$srcdir"/certs.patch + + cd "$srcdir" + cp -a requests-$pkgver{,-py2} + find requests-$pkgver-py2 -name \*.py -exec sed -r 's|^#!(.*)python$|#!\1python2|' -i {} + +} + +build() { + cd "$srcdir"/requests-$pkgver + python setup.py build + + cd "$srcdir"/requests-$pkgver-py2 + python2 setup.py build +} + +check() { + cd "$srcdir"/requests-$pkgver + py.test tests + + cd "$srcdir"/requests-$pkgver-py2 + py.test2 tests +} + +package_python-requests() { +
[arch-commits] Commit in python-requests/repos/extra-any (4 files)
Date: Thursday, January 26, 2017 @ 06:49:46 Author: felixonmars Revision: 287498 archrelease: copy trunk to extra-any Added: python-requests/repos/extra-any/PKGBUILD (from rev 287497, python-requests/trunk/PKGBUILD) python-requests/repos/extra-any/certs.patch (from rev 287497, python-requests/trunk/certs.patch) Deleted: python-requests/repos/extra-any/PKGBUILD python-requests/repos/extra-any/certs.patch -+ PKGBUILD| 148 +- certs.patch | 26 +- 2 files changed, 87 insertions(+), 87 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2017-01-26 06:49:27 UTC (rev 287497) +++ PKGBUILD2017-01-26 06:49:46 UTC (rev 287498) @@ -1,74 +0,0 @@ -# $Id$ -# Maintainer: Felix Yan-# Contributor: Massimiliano Torromeo - -pkgbase=python-requests -pkgname=('python-requests' 'python2-requests') -pkgver=2.12.5 -pkgrel=1 -pkgdesc="Python HTTP for Humans" -arch=('any') -url="http://python-requests.org; -license=('Apache') -makedepends=('python-setuptools' 'python2-setuptools' 'python-chardet' 'python2-chardet' - 'python-urllib3' 'python2-urllib3' 'python-pysocks' 'python2-pysocks' 'git') -checkdepends=('python-pytest-httpbin' 'python2-pytest-httpbin' 'python-pytest-mock' - 'python2-pytest-mock') -source=("git+https://github.com/kennethreitz/requests.git#tag=v$pkgver; -certs.patch) -sha256sums=('SKIP' -'e35e779d8640f35ea2ea51112f967d927b44d59483af4cd2c0945c84e79bb7c7') - -prepare() { - cd "$srcdir"/requests - - patch -p1 -i "$srcdir"/certs.patch - sed -r 's#(\W|^)requests/cacert\.pem(\W|$)##' -i MANIFEST.in - rm -f requests/cacert.pem - - rm -r requests/packages/{urllib3,chardet} - sed -e '/packages.chardet/d' \ - -e '/packages.urllib3/d' \ - -i setup.py - - cd "$srcdir" - cp -a requests{,-py2} - find requests-py2 -name \*.py -exec sed -r 's|^#!(.*)python$|#!\1python2|' -i {} + -} - -build() { - cd "$srcdir"/requests - python setup.py build - - cd "$srcdir"/requests-py2 - python2 setup.py build -} - -check() { - cd "$srcdir"/requests - test -f "$(python -m requests.certs)" - py.test tests - - cd "$srcdir"/requests-py2 - test -f "$(python2 -m requests.certs)" - py.test2 tests || warning "Tests failed" -} - -package_python-requests() { - depends=('python-urllib3' 'python-chardet') - optdepends=('python-pysocks: SOCKS proxy support') - - cd "$srcdir"/requests - python setup.py install --skip-build -O1 --root="$pkgdir" - install -m0644 -D "LICENSE" "$pkgdir"/usr/share/licenses/$pkgname/LICENSE -} - -package_python2-requests() { - depends=('python2-urllib3' 'python2-chardet') - optdepends=('python2-ndg-httpsclient: HTTPS requests with SNI support' - 'python2-grequests: asynchronous requests with gevent' - 'python2-pysocks: SOCKS proxy support') - - cd "$srcdir"/requests-py2 - python2 setup.py install --skip-build -O1 --root="$pkgdir" -} Copied: python-requests/repos/extra-any/PKGBUILD (from rev 287497, python-requests/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2017-01-26 06:49:46 UTC (rev 287498) @@ -0,0 +1,74 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Massimiliano Torromeo + +pkgbase=python-requests +pkgname=('python-requests' 'python2-requests') +pkgver=2.13.0 +pkgrel=1 +pkgdesc="Python HTTP for Humans" +arch=('any') +url="http://python-requests.org; +license=('Apache') +makedepends=('python-setuptools' 'python2-setuptools' 'python-chardet' 'python2-chardet' + 'python-urllib3' 'python2-urllib3' 'python-pysocks' 'python2-pysocks' 'git') +checkdepends=('python-pytest-httpbin' 'python2-pytest-httpbin' 'python-pytest-mock' + 'python2-pytest-mock') +source=("git+https://github.com/kennethreitz/requests.git#tag=v$pkgver; +certs.patch) +sha256sums=('SKIP' +'e35e779d8640f35ea2ea51112f967d927b44d59483af4cd2c0945c84e79bb7c7') + +prepare() { + cd "$srcdir"/requests + + patch -p1 -i "$srcdir"/certs.patch + sed -r 's#(\W|^)requests/cacert\.pem(\W|$)##' -i MANIFEST.in + rm -f requests/cacert.pem + + rm -r requests/packages/{urllib3,chardet} + sed -e '/packages.chardet/d' \ + -e '/packages.urllib3/d' \ + -i setup.py + + cd "$srcdir" + cp -a requests{,-py2} + find requests-py2 -name \*.py -exec sed -r 's|^#!(.*)python$|#!\1python2|' -i {} + +} + +build() { + cd "$srcdir"/requests + python setup.py build + + cd "$srcdir"/requests-py2 + python2 setup.py build +} + +check() { + cd "$srcdir"/requests + test -f "$(python -m requests.certs)" + py.test tests + + cd "$srcdir"/requests-py2 + test -f "$(python2 -m requests.certs)" + py.test2 tests || warning
[arch-commits] Commit in python-requests/repos/extra-any (4 files)
Date: Thursday, January 19, 2017 @ 15:27:07 Author: felixonmars Revision: 286975 archrelease: copy trunk to extra-any Added: python-requests/repos/extra-any/PKGBUILD (from rev 286974, python-requests/trunk/PKGBUILD) python-requests/repos/extra-any/certs.patch (from rev 286974, python-requests/trunk/certs.patch) Deleted: python-requests/repos/extra-any/PKGBUILD python-requests/repos/extra-any/certs.patch -+ PKGBUILD| 148 +- certs.patch | 26 +- 2 files changed, 87 insertions(+), 87 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2017-01-19 15:26:45 UTC (rev 286974) +++ PKGBUILD2017-01-19 15:27:07 UTC (rev 286975) @@ -1,74 +0,0 @@ -# $Id$ -# Maintainer: Felix Yan-# Contributor: Massimiliano Torromeo - -pkgbase=python-requests -pkgname=('python-requests' 'python2-requests') -pkgver=2.12.4 -pkgrel=2 -pkgdesc="Python HTTP for Humans" -arch=('any') -url="http://python-requests.org; -license=('Apache') -makedepends=('python-setuptools' 'python2-setuptools' 'python-chardet' 'python2-chardet' - 'python-urllib3' 'python2-urllib3' 'python-pysocks' 'python2-pysocks' 'git') -checkdepends=('python-pytest-httpbin' 'python2-pytest-httpbin' 'python-pytest-mock' - 'python2-pytest-mock') -source=("git+https://github.com/kennethreitz/requests.git#tag=v$pkgver; -certs.patch) -sha256sums=('SKIP' -'e35e779d8640f35ea2ea51112f967d927b44d59483af4cd2c0945c84e79bb7c7') - -prepare() { - cd "$srcdir"/requests - - patch -p1 -i "$srcdir"/certs.patch - sed -r 's#(\W|^)requests/cacert\.pem(\W|$)##' -i MANIFEST.in - rm -f requests/cacert.pem - - rm -r requests/packages/{urllib3,chardet} - sed -e '/packages.chardet/d' \ - -e '/packages.urllib3/d' \ - -i setup.py - - cd "$srcdir" - cp -a requests{,-py2} - find requests-py2 -name \*.py -exec sed -r 's|^#!(.*)python$|#!\1python2|' -i {} + -} - -build() { - cd "$srcdir"/requests - python setup.py build - - cd "$srcdir"/requests-py2 - python2 setup.py build -} - -check() { - cd "$srcdir"/requests - test -f "$(python -m requests.certs)" - py.test tests - - cd "$srcdir"/requests-py2 - test -f "$(python2 -m requests.certs)" - py.test2 tests || warning "Tests failed" -} - -package_python-requests() { - depends=('python-urllib3' 'python-chardet') - optdepends=('python-pysocks: SOCKS proxy support') - - cd "$srcdir"/requests - python setup.py install --skip-build -O1 --root="$pkgdir" - install -m0644 -D "LICENSE" "$pkgdir"/usr/share/licenses/$pkgname/LICENSE -} - -package_python2-requests() { - depends=('python2-urllib3' 'python2-chardet') - optdepends=('python2-ndg-httpsclient: HTTPS requests with SNI support' - 'python2-grequests: asynchronous requests with gevent' - 'python2-pysocks: SOCKS proxy support') - - cd "$srcdir"/requests-py2 - python2 setup.py install --skip-build -O1 --root="$pkgdir" -} Copied: python-requests/repos/extra-any/PKGBUILD (from rev 286974, python-requests/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2017-01-19 15:27:07 UTC (rev 286975) @@ -0,0 +1,74 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Massimiliano Torromeo + +pkgbase=python-requests +pkgname=('python-requests' 'python2-requests') +pkgver=2.12.5 +pkgrel=1 +pkgdesc="Python HTTP for Humans" +arch=('any') +url="http://python-requests.org; +license=('Apache') +makedepends=('python-setuptools' 'python2-setuptools' 'python-chardet' 'python2-chardet' + 'python-urllib3' 'python2-urllib3' 'python-pysocks' 'python2-pysocks' 'git') +checkdepends=('python-pytest-httpbin' 'python2-pytest-httpbin' 'python-pytest-mock' + 'python2-pytest-mock') +source=("git+https://github.com/kennethreitz/requests.git#tag=v$pkgver; +certs.patch) +sha256sums=('SKIP' +'e35e779d8640f35ea2ea51112f967d927b44d59483af4cd2c0945c84e79bb7c7') + +prepare() { + cd "$srcdir"/requests + + patch -p1 -i "$srcdir"/certs.patch + sed -r 's#(\W|^)requests/cacert\.pem(\W|$)##' -i MANIFEST.in + rm -f requests/cacert.pem + + rm -r requests/packages/{urllib3,chardet} + sed -e '/packages.chardet/d' \ + -e '/packages.urllib3/d' \ + -i setup.py + + cd "$srcdir" + cp -a requests{,-py2} + find requests-py2 -name \*.py -exec sed -r 's|^#!(.*)python$|#!\1python2|' -i {} + +} + +build() { + cd "$srcdir"/requests + python setup.py build + + cd "$srcdir"/requests-py2 + python2 setup.py build +} + +check() { + cd "$srcdir"/requests + test -f "$(python -m requests.certs)" + py.test tests + + cd "$srcdir"/requests-py2 + test -f "$(python2 -m requests.certs)" + py.test2 tests || warning
[arch-commits] Commit in python-requests/repos/extra-any (4 files)
Date: Thursday, December 15, 2016 @ 08:42:30 Author: felixonmars Revision: 283324 archrelease: copy trunk to extra-any Added: python-requests/repos/extra-any/PKGBUILD (from rev 283323, python-requests/trunk/PKGBUILD) python-requests/repos/extra-any/certs.patch (from rev 283323, python-requests/trunk/certs.patch) Deleted: python-requests/repos/extra-any/PKGBUILD python-requests/repos/extra-any/certs.patch -+ PKGBUILD| 148 +- certs.patch | 26 +- 2 files changed, 87 insertions(+), 87 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2016-12-15 08:42:11 UTC (rev 283323) +++ PKGBUILD2016-12-15 08:42:30 UTC (rev 283324) @@ -1,74 +0,0 @@ -# $Id$ -# Maintainer: Felix Yan-# Contributor: Massimiliano Torromeo - -pkgbase=python-requests -pkgname=('python-requests' 'python2-requests') -pkgver=2.12.3 -pkgrel=1 -pkgdesc="Python HTTP for Humans" -arch=('any') -url="http://python-requests.org; -license=('Apache') -makedepends=('python-setuptools' 'python2-setuptools' 'python-chardet' 'python2-chardet' - 'python-urllib3' 'python2-urllib3' 'python-pysocks' 'python2-pysocks' 'git') -checkdepends=('python-pytest-httpbin' 'python2-pytest-httpbin' 'python-pytest-mock' - 'python2-pytest-mock') -source=("git+https://github.com/kennethreitz/requests.git#tag=v$pkgver; -certs.patch) -sha256sums=('SKIP' -'e35e779d8640f35ea2ea51112f967d927b44d59483af4cd2c0945c84e79bb7c7') - -prepare() { - cd "$srcdir"/requests - - patch -p1 -i "$srcdir"/certs.patch - sed -r 's#(\W|^)requests/cacert\.pem(\W|$)##' -i MANIFEST.in - rm -f requests/cacert.pem - - rm -r requests/packages/{urllib3,chardet} - sed -e '/packages.chardet/d' \ - -e '/packages.urllib3/d' \ - -i setup.py - - cd "$srcdir" - cp -a requests{,-py2} - find requests-py2 -name \*.py -exec sed -r 's|^#!(.*)python$|#!\1python2|' -i {} + -} - -build() { - cd "$srcdir"/requests - python setup.py build - - cd "$srcdir"/requests-py2 - python2 setup.py build -} - -check() { - cd "$srcdir"/requests - test -f "$(python -m requests.certs)" - py.test tests - - cd "$srcdir"/requests-py2 - test -f "$(python2 -m requests.certs)" - py.test2 tests || warning "Tests failed" -} - -package_python-requests() { - depends=('python-urllib3' 'python-chardet') - optdepends=('python-pysocks: SOCKS proxy support') - - cd "$srcdir"/requests - python setup.py install --skip-build -O1 --root="$pkgdir" - install -m0644 -D "LICENSE" "$pkgdir"/usr/share/licenses/$pkgname/LICENSE -} - -package_python2-requests() { - depends=('python2-urllib3' 'python2-chardet') - optdepends=('python2-ndg-httpsclient: HTTPS requests with SNI support' - 'python2-grequests: asynchronous requests with gevent' - 'python2-pysocks: SOCKS proxy support') - - cd "$srcdir"/requests-py2 - python2 setup.py install --skip-build -O1 --root="$pkgdir" -} Copied: python-requests/repos/extra-any/PKGBUILD (from rev 283323, python-requests/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2016-12-15 08:42:30 UTC (rev 283324) @@ -0,0 +1,74 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Massimiliano Torromeo + +pkgbase=python-requests +pkgname=('python-requests' 'python2-requests') +pkgver=2.12.4 +pkgrel=1 +pkgdesc="Python HTTP for Humans" +arch=('any') +url="http://python-requests.org; +license=('Apache') +makedepends=('python-setuptools' 'python2-setuptools' 'python-chardet' 'python2-chardet' + 'python-urllib3' 'python2-urllib3' 'python-pysocks' 'python2-pysocks' 'git') +checkdepends=('python-pytest-httpbin' 'python2-pytest-httpbin' 'python-pytest-mock' + 'python2-pytest-mock') +source=("git+https://github.com/kennethreitz/requests.git#tag=v$pkgver; +certs.patch) +sha256sums=('SKIP' +'e35e779d8640f35ea2ea51112f967d927b44d59483af4cd2c0945c84e79bb7c7') + +prepare() { + cd "$srcdir"/requests + + patch -p1 -i "$srcdir"/certs.patch + sed -r 's#(\W|^)requests/cacert\.pem(\W|$)##' -i MANIFEST.in + rm -f requests/cacert.pem + + rm -r requests/packages/{urllib3,chardet} + sed -e '/packages.chardet/d' \ + -e '/packages.urllib3/d' \ + -i setup.py + + cd "$srcdir" + cp -a requests{,-py2} + find requests-py2 -name \*.py -exec sed -r 's|^#!(.*)python$|#!\1python2|' -i {} + +} + +build() { + cd "$srcdir"/requests + python setup.py build + + cd "$srcdir"/requests-py2 + python2 setup.py build +} + +check() { + cd "$srcdir"/requests + test -f "$(python -m requests.certs)" + py.test tests + + cd "$srcdir"/requests-py2 + test -f "$(python2 -m requests.certs)" + py.test2 tests || warning
[arch-commits] Commit in python-requests/repos/extra-any (4 files)
Date: Tuesday, December 22, 2015 @ 02:53:02 Author: fyan Revision: 257100 archrelease: copy trunk to extra-any Added: python-requests/repos/extra-any/PKGBUILD (from rev 257099, python-requests/trunk/PKGBUILD) python-requests/repos/extra-any/certs.patch (from rev 257099, python-requests/trunk/certs.patch) Deleted: python-requests/repos/extra-any/PKGBUILD python-requests/repos/extra-any/certs.patch -+ PKGBUILD| 142 +- certs.patch | 26 +- 2 files changed, 84 insertions(+), 84 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2015-12-22 01:52:37 UTC (rev 257099) +++ PKGBUILD2015-12-22 01:53:02 UTC (rev 257100) @@ -1,71 +0,0 @@ -# $Id$ -# Maintainer: Felix Yan-# Contributor: Massimiliano Torromeo - -pkgbase=python-requests -pkgname=('python-requests' 'python2-requests') -pkgver=2.9.0 -pkgrel=1 -pkgdesc="Python HTTP for Humans" -arch=('any') -url="http://python-requests.org; -license=('Apache') -makedepends=('python-setuptools' 'python2-setuptools' 'python-chardet' 'python2-chardet' - 'python-urllib3' 'python2-urllib3') -checkdepends=('python-pytest-httpbin' 'python2-pytest-httpbin') -source=(http://pypi.python.org/packages/source/r/requests/requests-$pkgver.tar.gz -certs.patch) -sha256sums=('4881966532b5a36c552244fd909de66d1b8c4a26086f56fd5837cfcde63f8eb8' -'e35e779d8640f35ea2ea51112f967d927b44d59483af4cd2c0945c84e79bb7c7') - -prepare() { -cd "$srcdir"/requests-$pkgver - -patch -p1 -i "$srcdir"/certs.patch -sed -r 's#(\W|^)requests/cacert\.pem(\W|$)##' -i MANIFEST.in -rm -f requests/cacert.pem - -rm -r requests/packages/{urllib3,chardet} -sed -e '/packages.chardet/d' \ --e '/packages.urllib3/d' \ --i setup.py - -cd "$srcdir" -cp -a requests-$pkgver{,-py2} -find requests-$pkgver-py2 -name \*.py -exec sed -r 's|^#!(.*)python$|#!\1python2|' -i {} + -} - -build() { -cd "$srcdir"/requests-$pkgver -python setup.py build - -cd "$srcdir"/requests-$pkgver-py2 -python2 setup.py build -} - -check() { -cd "$srcdir"/requests-$pkgver -test -f "$(python -m requests.certs)" -py.test - -cd "$srcdir"/requests-$pkgver-py2 -test -f "$(python2 -m requests.certs)" -py.test2 -} - -package_python-requests() { -depends=('python-urllib3' 'python-chardet') - -cd "$srcdir"/requests-$pkgver -python setup.py install --skip-build -O1 --root="$pkgdir" -install -m0644 -D "LICENSE" "$pkgdir"/usr/share/licenses/$pkgname/LICENSE -} - -package_python2-requests() { -depends=('python2-urllib3' 'python2-chardet') -optdepends=('python2-ndg-httpsclient: HTTPS requests with SNI support' -'python2-grequests: asynchronous requests with gevent') - -cd "$srcdir"/requests-$pkgver-py2 -python2 setup.py install --skip-build -O1 --root="$pkgdir" -} Copied: python-requests/repos/extra-any/PKGBUILD (from rev 257099, python-requests/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2015-12-22 01:53:02 UTC (rev 257100) @@ -0,0 +1,71 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Massimiliano Torromeo + +pkgbase=python-requests +pkgname=('python-requests' 'python2-requests') +pkgver=2.9.1 +pkgrel=1 +pkgdesc="Python HTTP for Humans" +arch=('any') +url="http://python-requests.org; +license=('Apache') +makedepends=('python-setuptools' 'python2-setuptools' 'python-chardet' 'python2-chardet' + 'python-urllib3' 'python2-urllib3') +checkdepends=('python-pytest-httpbin' 'python2-pytest-httpbin') +source=(http://pypi.python.org/packages/source/r/requests/requests-$pkgver.tar.gz +certs.patch) +sha256sums=('c577815dd00f1394203fc44eb979724b098f88264a9ef898ee45b8e5e9cf587f' +'e35e779d8640f35ea2ea51112f967d927b44d59483af4cd2c0945c84e79bb7c7') + +prepare() { +cd "$srcdir"/requests-$pkgver + +patch -p1 -i "$srcdir"/certs.patch +sed -r 's#(\W|^)requests/cacert\.pem(\W|$)##' -i MANIFEST.in +rm -f requests/cacert.pem + +rm -r requests/packages/{urllib3,chardet} +sed -e '/packages.chardet/d' \ +-e '/packages.urllib3/d' \ +-i setup.py + +cd "$srcdir" +cp -a requests-$pkgver{,-py2} +find requests-$pkgver-py2 -name \*.py -exec sed -r 's|^#!(.*)python$|#!\1python2|' -i {} + +} + +build() { +cd "$srcdir"/requests-$pkgver +python setup.py build + +cd "$srcdir"/requests-$pkgver-py2 +python2 setup.py build +} + +check() { +cd "$srcdir"/requests-$pkgver +test -f "$(python -m requests.certs)" +py.test + +cd "$srcdir"/requests-$pkgver-py2 +test -f "$(python2 -m requests.certs)" +py.test2 +} +
[arch-commits] Commit in python-requests/repos/extra-any (4 files)
Date: Wednesday, December 16, 2015 @ 03:42:34 Author: fyan Revision: 256267 archrelease: copy trunk to extra-any Added: python-requests/repos/extra-any/PKGBUILD (from rev 256266, python-requests/trunk/PKGBUILD) python-requests/repos/extra-any/certs.patch (from rev 256266, python-requests/trunk/certs.patch) Deleted: python-requests/repos/extra-any/PKGBUILD python-requests/repos/extra-any/certs.patch -+ PKGBUILD| 142 +- certs.patch | 26 +- 2 files changed, 84 insertions(+), 84 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2015-12-16 02:42:11 UTC (rev 256266) +++ PKGBUILD2015-12-16 02:42:34 UTC (rev 256267) @@ -1,71 +0,0 @@ -# $Id$ -# Maintainer: Felix Yan-# Contributor: Massimiliano Torromeo - -pkgbase=python-requests -pkgname=('python-requests' 'python2-requests') -pkgver=2.8.1 -pkgrel=1 -pkgdesc="Python HTTP for Humans" -arch=('any') -url="http://python-requests.org; -license=('Apache') -makedepends=('python-setuptools' 'python2-setuptools' 'python-chardet' 'python2-chardet' - 'python-urllib3' 'python2-urllib3') -checkdepends=('python-pytest' 'python2-pytest') -source=(http://pypi.python.org/packages/source/r/requests/requests-$pkgver.tar.gz -certs.patch) -sha256sums=('84fe8d5bf4dcdcc49002446c47a146d17ac10facf00d9086659064ac43b6c25b' -'e35e779d8640f35ea2ea51112f967d927b44d59483af4cd2c0945c84e79bb7c7') - -prepare() { -cd "$srcdir"/requests-$pkgver - -patch -p1 -i "$srcdir"/certs.patch -sed -r 's#(\W|^)requests/cacert\.pem(\W|$)##' -i MANIFEST.in -rm -f requests/cacert.pem - -rm -r requests/packages/{urllib3,chardet} -sed -e '/packages.chardet/d' \ --e '/packages.urllib3/d' \ --i setup.py - -cd "$srcdir" -cp -a requests-$pkgver{,-py2} -find requests-$pkgver-py2 -name \*.py -exec sed -r 's|^#!(.*)python$|#!\1python2|' -i {} + -} - -build() { -cd "$srcdir"/requests-$pkgver -python setup.py build - -cd "$srcdir"/requests-$pkgver-py2 -python2 setup.py build -} - -check() { -cd "$srcdir"/requests-$pkgver -test -f "$(python -m requests.certs)" -py.test - -cd "$srcdir"/requests-$pkgver-py2 -test -f "$(python2 -m requests.certs)" -py.test2 -} - -package_python-requests() { -depends=('python-urllib3' 'python-chardet') - -cd "$srcdir"/requests-$pkgver -python setup.py install --skip-build -O1 --root="$pkgdir" -install -m0644 -D "LICENSE" "$pkgdir"/usr/share/licenses/$pkgname/LICENSE -} - -package_python2-requests() { -depends=('python2-urllib3' 'python2-chardet') -optdepends=('python2-ndg-httpsclient: HTTPS requests with SNI support' -'python2-grequests: asynchronous requests with gevent') - -cd "$srcdir"/requests-$pkgver-py2 -python2 setup.py install --skip-build -O1 --root="$pkgdir" -} Copied: python-requests/repos/extra-any/PKGBUILD (from rev 256266, python-requests/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2015-12-16 02:42:34 UTC (rev 256267) @@ -0,0 +1,71 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Massimiliano Torromeo + +pkgbase=python-requests +pkgname=('python-requests' 'python2-requests') +pkgver=2.9.0 +pkgrel=1 +pkgdesc="Python HTTP for Humans" +arch=('any') +url="http://python-requests.org; +license=('Apache') +makedepends=('python-setuptools' 'python2-setuptools' 'python-chardet' 'python2-chardet' + 'python-urllib3' 'python2-urllib3') +checkdepends=('python-pytest-httpbin' 'python2-pytest-httpbin') +source=(http://pypi.python.org/packages/source/r/requests/requests-$pkgver.tar.gz +certs.patch) +sha256sums=('4881966532b5a36c552244fd909de66d1b8c4a26086f56fd5837cfcde63f8eb8' +'e35e779d8640f35ea2ea51112f967d927b44d59483af4cd2c0945c84e79bb7c7') + +prepare() { +cd "$srcdir"/requests-$pkgver + +patch -p1 -i "$srcdir"/certs.patch +sed -r 's#(\W|^)requests/cacert\.pem(\W|$)##' -i MANIFEST.in +rm -f requests/cacert.pem + +rm -r requests/packages/{urllib3,chardet} +sed -e '/packages.chardet/d' \ +-e '/packages.urllib3/d' \ +-i setup.py + +cd "$srcdir" +cp -a requests-$pkgver{,-py2} +find requests-$pkgver-py2 -name \*.py -exec sed -r 's|^#!(.*)python$|#!\1python2|' -i {} + +} + +build() { +cd "$srcdir"/requests-$pkgver +python setup.py build + +cd "$srcdir"/requests-$pkgver-py2 +python2 setup.py build +} + +check() { +cd "$srcdir"/requests-$pkgver +test -f "$(python -m requests.certs)" +py.test + +cd "$srcdir"/requests-$pkgver-py2 +test -f "$(python2 -m requests.certs)" +py.test2 +} +
[arch-commits] Commit in python-requests/repos/extra-any (4 files)
Date: Wednesday, October 14, 2015 @ 03:43:59 Author: fyan Revision: 249238 archrelease: copy trunk to extra-any Added: python-requests/repos/extra-any/PKGBUILD (from rev 249237, python-requests/trunk/PKGBUILD) python-requests/repos/extra-any/certs.patch (from rev 249237, python-requests/trunk/certs.patch) Deleted: python-requests/repos/extra-any/PKGBUILD python-requests/repos/extra-any/certs.patch -+ PKGBUILD| 142 +- certs.patch | 26 +- 2 files changed, 84 insertions(+), 84 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2015-10-14 01:43:35 UTC (rev 249237) +++ PKGBUILD2015-10-14 01:43:59 UTC (rev 249238) @@ -1,71 +0,0 @@ -# $Id$ -# Maintainer: Felix Yan-# Contributor: Massimiliano Torromeo - -pkgbase=python-requests -pkgname=('python-requests' 'python2-requests') -pkgver=2.8.0 -pkgrel=1 -pkgdesc="Python HTTP for Humans" -arch=('any') -url="http://python-requests.org; -license=('Apache') -makedepends=('python-setuptools' 'python2-setuptools' 'python-chardet' 'python2-chardet' - 'python-urllib3' 'python2-urllib3') -checkdepends=('python-pytest' 'python2-pytest') -source=(http://pypi.python.org/packages/source/r/requests/requests-$pkgver.tar.gz -certs.patch) -sha256sums=('b2f003589b60924909c0acde472590c5ea83906986a7a25b6f7929eb20923b7b' -'e35e779d8640f35ea2ea51112f967d927b44d59483af4cd2c0945c84e79bb7c7') - -prepare() { -cd "$srcdir"/requests-$pkgver - -patch -p1 -i "$srcdir"/certs.patch -sed -r 's#(\W|^)requests/cacert\.pem(\W|$)##' -i MANIFEST.in -rm -f requests/cacert.pem - -rm -r requests/packages/{urllib3,chardet} -sed -e '/packages.chardet/d' \ --e '/packages.urllib3/d' \ --i setup.py - -cd "$srcdir" -cp -a requests-$pkgver{,-py2} -find requests-$pkgver-py2 -name \*.py -exec sed -r 's|^#!(.*)python$|#!\1python2|' -i {} + -} - -build() { -cd "$srcdir"/requests-$pkgver -python setup.py build - -cd "$srcdir"/requests-$pkgver-py2 -python2 setup.py build -} - -check() { -cd "$srcdir"/requests-$pkgver -test -f "$(python -m requests.certs)" -py.test - -cd "$srcdir"/requests-$pkgver-py2 -test -f "$(python2 -m requests.certs)" -py.test2 -} - -package_python-requests() { -depends=('python-urllib3' 'python-chardet') - -cd "$srcdir"/requests-$pkgver -python setup.py install --skip-build -O1 --root="$pkgdir" -install -m0644 -D "LICENSE" "$pkgdir"/usr/share/licenses/$pkgname/LICENSE -} - -package_python2-requests() { -depends=('python2-urllib3' 'python2-chardet') -optdepends=('python2-ndg-httpsclient: HTTPS requests with SNI support' -'python2-grequests: asynchronous requests with gevent') - -cd "$srcdir"/requests-$pkgver-py2 -python2 setup.py install --skip-build -O1 --root="$pkgdir" -} Copied: python-requests/repos/extra-any/PKGBUILD (from rev 249237, python-requests/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2015-10-14 01:43:59 UTC (rev 249238) @@ -0,0 +1,71 @@ +# $Id$ +# Maintainer: Felix Yan +# Contributor: Massimiliano Torromeo + +pkgbase=python-requests +pkgname=('python-requests' 'python2-requests') +pkgver=2.8.1 +pkgrel=1 +pkgdesc="Python HTTP for Humans" +arch=('any') +url="http://python-requests.org; +license=('Apache') +makedepends=('python-setuptools' 'python2-setuptools' 'python-chardet' 'python2-chardet' + 'python-urllib3' 'python2-urllib3') +checkdepends=('python-pytest' 'python2-pytest') +source=(http://pypi.python.org/packages/source/r/requests/requests-$pkgver.tar.gz +certs.patch) +sha256sums=('84fe8d5bf4dcdcc49002446c47a146d17ac10facf00d9086659064ac43b6c25b' +'e35e779d8640f35ea2ea51112f967d927b44d59483af4cd2c0945c84e79bb7c7') + +prepare() { +cd "$srcdir"/requests-$pkgver + +patch -p1 -i "$srcdir"/certs.patch +sed -r 's#(\W|^)requests/cacert\.pem(\W|$)##' -i MANIFEST.in +rm -f requests/cacert.pem + +rm -r requests/packages/{urllib3,chardet} +sed -e '/packages.chardet/d' \ +-e '/packages.urllib3/d' \ +-i setup.py + +cd "$srcdir" +cp -a requests-$pkgver{,-py2} +find requests-$pkgver-py2 -name \*.py -exec sed -r 's|^#!(.*)python$|#!\1python2|' -i {} + +} + +build() { +cd "$srcdir"/requests-$pkgver +python setup.py build + +cd "$srcdir"/requests-$pkgver-py2 +python2 setup.py build +} + +check() { +cd "$srcdir"/requests-$pkgver +test -f "$(python -m requests.certs)" +py.test + +cd "$srcdir"/requests-$pkgver-py2 +test -f "$(python2 -m requests.certs)" +py.test2 +} + +package_python-requests() { +
[arch-commits] Commit in python-requests/repos/extra-any (4 files)
Date: Sunday, May 3, 2015 @ 18:13:58 Author: fyan Revision: 238382 archrelease: copy trunk to extra-any Added: python-requests/repos/extra-any/PKGBUILD (from rev 238381, python-requests/trunk/PKGBUILD) python-requests/repos/extra-any/certs.patch (from rev 238381, python-requests/trunk/certs.patch) Deleted: python-requests/repos/extra-any/PKGBUILD python-requests/repos/extra-any/certs.patch -+ PKGBUILD| 116 +- certs.patch | 26 ++--- 2 files changed, 71 insertions(+), 71 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2015-05-03 16:13:44 UTC (rev 238381) +++ PKGBUILD2015-05-03 16:13:58 UTC (rev 238382) @@ -1,58 +0,0 @@ -# $Id$ -# Maintainer: Felix Yan felixonm...@archlinux.org -# Contributor: Massimiliano Torromeo massimiliano.torro...@gmail.com - -pkgbase=python-requests -pkgname=('python-requests' 'python2-requests') -pkgver=2.6.2 -pkgrel=1 -pkgdesc=Python HTTP for Humans -arch=('any') -url=http://python-requests.org; -license=('Apache') -makedepends=('python-setuptools' 'python2-setuptools') -source=(http://pypi.python.org/packages/source/r/requests/requests-$pkgver.tar.gz -certs.patch) -sha256sums=('0577249d4b6c4b11fd97c28037e98664bfaa0559022fee7bcef6b752a106e505' -'e35e779d8640f35ea2ea51112f967d927b44d59483af4cd2c0945c84e79bb7c7') - -prepare() { -cd $srcdir/requests-$pkgver -patch -p1 -i $srcdir/certs.patch -sed -r 's#(\W|^)requests/cacert\.pem(\W|$)##' -i MANIFEST.in -rm -f requests/cacert.pem - -cd $srcdir -cp -a requests-$pkgver{,-py2} -find requests-$pkgver-py2 -name \*.py -exec sed -r 's|^#!(.*)python$|#!\1python2|' -i {} + -} - -build() { -cd $srcdir/requests-$pkgver -python setup.py build - -cd $srcdir/requests-$pkgver-py2 -python2 setup.py build -} - -check() { -cd $srcdir/requests-$pkgver -test -f $(python -m requests.certs) -} - -package_python-requests() { -depends=('python') - -cd $srcdir/requests-$pkgver -python setup.py install --skip-build -O1 --root=$pkgdir -install -m0644 -D LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE -} - -package_python2-requests() { -depends=('python2') -optdepends=('python2-ndg-httpsclient: HTTPS requests with SNI support' -'python2-grequests: asynchronous requests with gevent') - -cd $srcdir/requests-$pkgver-py2 -python2 setup.py install --skip-build -O1 --root=$pkgdir -} Copied: python-requests/repos/extra-any/PKGBUILD (from rev 238381, python-requests/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2015-05-03 16:13:58 UTC (rev 238382) @@ -0,0 +1,58 @@ +# $Id$ +# Maintainer: Felix Yan felixonm...@archlinux.org +# Contributor: Massimiliano Torromeo massimiliano.torro...@gmail.com + +pkgbase=python-requests +pkgname=('python-requests' 'python2-requests') +pkgver=2.7.0 +pkgrel=1 +pkgdesc=Python HTTP for Humans +arch=('any') +url=http://python-requests.org; +license=('Apache') +makedepends=('python-setuptools' 'python2-setuptools') +source=(http://pypi.python.org/packages/source/r/requests/requests-$pkgver.tar.gz +certs.patch) +sha256sums=('398a3db6d61899d25fd4a06c6ca12051b0ce171d705decd7ed5511517b4bb93d' +'e35e779d8640f35ea2ea51112f967d927b44d59483af4cd2c0945c84e79bb7c7') + +prepare() { +cd $srcdir/requests-$pkgver +patch -p1 -i $srcdir/certs.patch +sed -r 's#(\W|^)requests/cacert\.pem(\W|$)##' -i MANIFEST.in +rm -f requests/cacert.pem + +cd $srcdir +cp -a requests-$pkgver{,-py2} +find requests-$pkgver-py2 -name \*.py -exec sed -r 's|^#!(.*)python$|#!\1python2|' -i {} + +} + +build() { +cd $srcdir/requests-$pkgver +python setup.py build + +cd $srcdir/requests-$pkgver-py2 +python2 setup.py build +} + +check() { +cd $srcdir/requests-$pkgver +test -f $(python -m requests.certs) +} + +package_python-requests() { +depends=('python') + +cd $srcdir/requests-$pkgver +python setup.py install --skip-build -O1 --root=$pkgdir +install -m0644 -D LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE +} + +package_python2-requests() { +depends=('python2') +optdepends=('python2-ndg-httpsclient: HTTPS requests with SNI support' +'python2-grequests: asynchronous requests with gevent') + +cd $srcdir/requests-$pkgver-py2 +python2 setup.py install --skip-build -O1 --root=$pkgdir +} Deleted: certs.patch === --- certs.patch 2015-05-03 16:13:44 UTC (rev 238381) +++ certs.patch 2015-05-03 16:13:58 UTC (rev 238382) @@ -1,13 +0,0 @@ -diff --git a/requests/certs.py b/requests/certs.py -index 07e6475..33db011 100644 a/requests/certs.py -+++ b/requests/certs.py -@@ -19,7 +19,7 @@ except ImportError: -
[arch-commits] Commit in python-requests/repos/extra-any (4 files)
Date: Friday, April 24, 2015 @ 10:40:16 Author: fyan Revision: 237991 archrelease: copy trunk to extra-any Added: python-requests/repos/extra-any/PKGBUILD (from rev 237990, python-requests/trunk/PKGBUILD) python-requests/repos/extra-any/certs.patch (from rev 237990, python-requests/trunk/certs.patch) Deleted: python-requests/repos/extra-any/PKGBUILD python-requests/repos/extra-any/certs.patch -+ PKGBUILD| 116 +- certs.patch | 26 ++--- 2 files changed, 71 insertions(+), 71 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2015-04-24 08:39:53 UTC (rev 237990) +++ PKGBUILD2015-04-24 08:40:16 UTC (rev 237991) @@ -1,58 +0,0 @@ -# $Id$ -# Maintainer: Massimiliano Torromeo massimiliano.torro...@gmail.com - -pkgbase=python-requests -pkgname=('python-requests' 'python2-requests') -pkgver=2.6.0 -pkgrel=1 -pkgdesc=Python HTTP for Humans -arch=('any') -url=http://python-requests.org; -license=('Apache') -makedepends=('python-setuptools' 'python2-setuptools') -source=(http://pypi.python.org/packages/source/r/requests/requests-$pkgver.tar.gz -certs.patch) -sha256sums=('1cdbed1f0e236f35ef54e919982c7a338e4fea3786310933d3a7887a04b74d75' -'e35e779d8640f35ea2ea51112f967d927b44d59483af4cd2c0945c84e79bb7c7') - -prepare() { -cd $srcdir/requests-$pkgver -patch -p1 -i $srcdir/certs.patch -sed -r 's#(\W|^)requests/cacert\.pem(\W|$)##' -i MANIFEST.in -rm -f requests/cacert.pem -} - -build() { -cd $srcdir/requests-$pkgver - -rm -rf ../buildpy3; mkdir ../buildpy3 -python setup.py build -b ../buildpy3 - -rm -rf ../buildpy2; mkdir ../buildpy2 -python2 setup.py build -b ../buildpy2 -find ../buildpy2 -name \*.py -exec sed -r 's|^#!(.*)python$|#!\1python2|' -i {} + -} - -check() { -cd $srcdir/requests-$pkgver -test -f $(python -m requests.certs) -} - -package_python-requests() { -depends=('python') - -cd $srcdir/requests-$pkgver -rm -rf build; ln -s ../buildpy3 build -python setup.py install --skip-build -O1 --root=$pkgdir -install -m0644 -D LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE -} - -package_python2-requests() { -depends=('python2') -optdepends=('python2-ndg-httpsclient: HTTPS requests with SNI support' -'python2-grequests: asynchronous requests with gevent') - -cd $srcdir/requests-$pkgver -rm -rf build; ln -s ../buildpy2 build -python2 setup.py install --skip-build -O1 --root=$pkgdir -} Copied: python-requests/repos/extra-any/PKGBUILD (from rev 237990, python-requests/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2015-04-24 08:40:16 UTC (rev 237991) @@ -0,0 +1,58 @@ +# $Id$ +# Maintainer: Felix Yan felixonm...@archlinux.org +# Contributor: Massimiliano Torromeo massimiliano.torro...@gmail.com + +pkgbase=python-requests +pkgname=('python-requests' 'python2-requests') +pkgver=2.6.2 +pkgrel=1 +pkgdesc=Python HTTP for Humans +arch=('any') +url=http://python-requests.org; +license=('Apache') +makedepends=('python-setuptools' 'python2-setuptools') +source=(http://pypi.python.org/packages/source/r/requests/requests-$pkgver.tar.gz +certs.patch) +sha256sums=('0577249d4b6c4b11fd97c28037e98664bfaa0559022fee7bcef6b752a106e505' +'e35e779d8640f35ea2ea51112f967d927b44d59483af4cd2c0945c84e79bb7c7') + +prepare() { +cd $srcdir/requests-$pkgver +patch -p1 -i $srcdir/certs.patch +sed -r 's#(\W|^)requests/cacert\.pem(\W|$)##' -i MANIFEST.in +rm -f requests/cacert.pem + +cd $srcdir +cp -a requests-$pkgver{,-py2} +find requests-$pkgver-py2 -name \*.py -exec sed -r 's|^#!(.*)python$|#!\1python2|' -i {} + +} + +build() { +cd $srcdir/requests-$pkgver +python setup.py build + +cd $srcdir/requests-$pkgver-py2 +python2 setup.py build +} + +check() { +cd $srcdir/requests-$pkgver +test -f $(python -m requests.certs) +} + +package_python-requests() { +depends=('python') + +cd $srcdir/requests-$pkgver +python setup.py install --skip-build -O1 --root=$pkgdir +install -m0644 -D LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE +} + +package_python2-requests() { +depends=('python2') +optdepends=('python2-ndg-httpsclient: HTTPS requests with SNI support' +'python2-grequests: asynchronous requests with gevent') + +cd $srcdir/requests-$pkgver-py2 +python2 setup.py install --skip-build -O1 --root=$pkgdir +} Deleted: certs.patch === --- certs.patch 2015-04-24 08:39:53 UTC (rev 237990) +++ certs.patch 2015-04-24 08:40:16 UTC (rev 237991) @@ -1,13 +0,0 @@ -diff --git a/requests/certs.py b/requests/certs.py -index 07e6475..33db011 100644 a/requests/certs.py -+++
[arch-commits] Commit in python-requests/repos/extra-any (4 files)
Date: Friday, March 20, 2015 @ 19:04:01 Author: eric Revision: 234250 archrelease: copy trunk to extra-any Added: python-requests/repos/extra-any/PKGBUILD (from rev 234249, python-requests/trunk/PKGBUILD) python-requests/repos/extra-any/certs.patch (from rev 234249, python-requests/trunk/certs.patch) Deleted: python-requests/repos/extra-any/PKGBUILD python-requests/repos/extra-any/certs.patch -+ PKGBUILD| 117 -- certs.patch | 26 ++-- 2 files changed, 71 insertions(+), 72 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2015-03-20 18:02:41 UTC (rev 234249) +++ PKGBUILD2015-03-20 18:04:01 UTC (rev 234250) @@ -1,59 +0,0 @@ -# $Id$ -# Maintainer: Massimiliano Torromeo massimiliano.torro...@gmail.com - -pkgbase=python-requests -pkgname=(python-requests python2-requests) -pkgver=2.5.3 -pkgrel=1 -_libname=requests -pkgdesc=Python HTTP for Humans. -url=http://python-requests.org; -makedepends=('python-setuptools' 'python2-setuptools') -license=('Apache') -arch=('any') -source=(http://pypi.python.org/packages/source/${_libname:0:1}/$_libname/$_libname-$pkgver.tar.gz -certs.patch) -sha256sums=('55d7f5619daae94ec49ee81ed8c865e5a2a47f0bbf8e06cf94636bee103eaf65' -'e35e779d8640f35ea2ea51112f967d927b44d59483af4cd2c0945c84e79bb7c7') - -prepare() { -cd $srcdir/$_libname-$pkgver -patch -p1 -i $srcdir/certs.patch -sed -r 's#(\W|^)requests/cacert\.pem(\W|$)##' -i MANIFEST.in -rm -f requests/cacert.pem -} - -build() { -cd $srcdir/$_libname-$pkgver - -rm -rf ../buildpy3; mkdir ../buildpy3 -python setup.py build -b ../buildpy3 - -rm -rf ../buildpy2; mkdir ../buildpy2 -python2 setup.py build -b ../buildpy2 -find ../buildpy2 -name \*.py -exec sed -r 's|^#!(.*)python$|#!\1python2|' -i {} + -} - -check() { -cd $srcdir/$_libname-$pkgver -test -f $(python -m requests.certs) -} - -package_python-requests() { -depends=(python) - -cd $srcdir/$_libname-$pkgver -rm -rf build; ln -s ../buildpy3 build -python setup.py install --skip-build -O1 --root=$pkgdir -install -m0644 -D LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE -} - -package_python2-requests() { -depends=(python2) -optdepends=('python2-ndg-httpsclient: HTTPS requests with SNI support' -'python2-grequests: asynchronous requests with gevent') - -cd $srcdir/$_libname-$pkgver -rm -rf build; ln -s ../buildpy2 build -python2 setup.py install --skip-build -O1 --root=$pkgdir -} Copied: python-requests/repos/extra-any/PKGBUILD (from rev 234249, python-requests/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2015-03-20 18:04:01 UTC (rev 234250) @@ -0,0 +1,58 @@ +# $Id$ +# Maintainer: Massimiliano Torromeo massimiliano.torro...@gmail.com + +pkgbase=python-requests +pkgname=('python-requests' 'python2-requests') +pkgver=2.6.0 +pkgrel=1 +pkgdesc=Python HTTP for Humans +arch=('any') +url=http://python-requests.org; +license=('Apache') +makedepends=('python-setuptools' 'python2-setuptools') +source=(http://pypi.python.org/packages/source/r/requests/requests-$pkgver.tar.gz +certs.patch) +sha256sums=('1cdbed1f0e236f35ef54e919982c7a338e4fea3786310933d3a7887a04b74d75' +'e35e779d8640f35ea2ea51112f967d927b44d59483af4cd2c0945c84e79bb7c7') + +prepare() { +cd $srcdir/requests-$pkgver +patch -p1 -i $srcdir/certs.patch +sed -r 's#(\W|^)requests/cacert\.pem(\W|$)##' -i MANIFEST.in +rm -f requests/cacert.pem +} + +build() { +cd $srcdir/requests-$pkgver + +rm -rf ../buildpy3; mkdir ../buildpy3 +python setup.py build -b ../buildpy3 + +rm -rf ../buildpy2; mkdir ../buildpy2 +python2 setup.py build -b ../buildpy2 +find ../buildpy2 -name \*.py -exec sed -r 's|^#!(.*)python$|#!\1python2|' -i {} + +} + +check() { +cd $srcdir/requests-$pkgver +test -f $(python -m requests.certs) +} + +package_python-requests() { +depends=('python') + +cd $srcdir/requests-$pkgver +rm -rf build; ln -s ../buildpy3 build +python setup.py install --skip-build -O1 --root=$pkgdir +install -m0644 -D LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE +} + +package_python2-requests() { +depends=('python2') +optdepends=('python2-ndg-httpsclient: HTTPS requests with SNI support' +'python2-grequests: asynchronous requests with gevent') + +cd $srcdir/requests-$pkgver +rm -rf build; ln -s ../buildpy2 build +python2 setup.py install --skip-build -O1 --root=$pkgdir +} Deleted: certs.patch === --- certs.patch 2015-03-20 18:02:41 UTC (rev 234249) +++ certs.patch 2015-03-20 18:04:01 UTC (rev 234250) @@ -1,13 +0,0 @@ -diff --git a/requests/certs.py
[arch-commits] Commit in python-requests/repos/extra-any (4 files)
Date: Thursday, March 5, 2015 @ 06:06:09 Author: eric Revision: 232871 archrelease: copy trunk to extra-any Added: python-requests/repos/extra-any/PKGBUILD (from rev 232870, python-requests/trunk/PKGBUILD) python-requests/repos/extra-any/certs.patch (from rev 232870, python-requests/trunk/certs.patch) Deleted: python-requests/repos/extra-any/PKGBUILD python-requests/repos/extra-any/certs.patch -+ PKGBUILD| 118 +- certs.patch | 26 ++-- 2 files changed, 72 insertions(+), 72 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2015-03-05 05:04:48 UTC (rev 232870) +++ PKGBUILD2015-03-05 05:06:09 UTC (rev 232871) @@ -1,59 +0,0 @@ -# $Id$ -# Maintainer: Massimiliano Torromeo massimiliano.torro...@gmail.com - -pkgbase=python-requests -pkgname=(python-requests python2-requests) -pkgver=2.5.1 -pkgrel=1 -_libname=requests -pkgdesc=Python HTTP for Humans. -url=http://python-requests.org; -makedepends=('python-setuptools' 'python2-setuptools') -license=('Apache') -arch=('any') -source=(http://pypi.python.org/packages/source/${_libname:0:1}/$_libname/$_libname-$pkgver.tar.gz -certs.patch) -sha256sums=('7b7735efd3b1e2323dc9fcef060b380d05f5f18bd0f247f5e9e74a628279de66' -'e35e779d8640f35ea2ea51112f967d927b44d59483af4cd2c0945c84e79bb7c7') - -prepare() { -cd $srcdir/$_libname-$pkgver -patch -p1 -i $srcdir/certs.patch -sed -r 's#(\W|^)requests/cacert\.pem(\W|$)##' -i MANIFEST.in -rm -f requests/cacert.pem -} - -build() { -cd $srcdir/$_libname-$pkgver - -rm -rf ../buildpy3; mkdir ../buildpy3 -python setup.py build -b ../buildpy3 - -rm -rf ../buildpy2; mkdir ../buildpy2 -python2 setup.py build -b ../buildpy2 -find ../buildpy2 -name \*.py -exec sed -r 's|^#!(.*)python$|#!\1python2|' -i {} + -} - -check() { -cd $srcdir/$_libname-$pkgver -test -f $(python -m requests.certs) -} - -package_python-requests() { -depends=(python) - -cd $srcdir/$_libname-$pkgver -rm -rf build; ln -s ../buildpy3 build -python setup.py install --skip-build -O1 --root=$pkgdir -install -m0644 -D LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE -} - -package_python2-requests() { -depends=(python2) -optdepends=('python2-ndg-httpsclient: HTTPS requests with SNI support' -'python2-grequests: asynchronous requests with gevent') - -cd $srcdir/$_libname-$pkgver -rm -rf build; ln -s ../buildpy2 build -python2 setup.py install --skip-build -O1 --root=$pkgdir -} Copied: python-requests/repos/extra-any/PKGBUILD (from rev 232870, python-requests/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2015-03-05 05:06:09 UTC (rev 232871) @@ -0,0 +1,59 @@ +# $Id$ +# Maintainer: Massimiliano Torromeo massimiliano.torro...@gmail.com + +pkgbase=python-requests +pkgname=(python-requests python2-requests) +pkgver=2.5.3 +pkgrel=1 +_libname=requests +pkgdesc=Python HTTP for Humans. +url=http://python-requests.org; +makedepends=('python-setuptools' 'python2-setuptools') +license=('Apache') +arch=('any') +source=(http://pypi.python.org/packages/source/${_libname:0:1}/$_libname/$_libname-$pkgver.tar.gz +certs.patch) +sha256sums=('55d7f5619daae94ec49ee81ed8c865e5a2a47f0bbf8e06cf94636bee103eaf65' +'e35e779d8640f35ea2ea51112f967d927b44d59483af4cd2c0945c84e79bb7c7') + +prepare() { +cd $srcdir/$_libname-$pkgver +patch -p1 -i $srcdir/certs.patch +sed -r 's#(\W|^)requests/cacert\.pem(\W|$)##' -i MANIFEST.in +rm -f requests/cacert.pem +} + +build() { +cd $srcdir/$_libname-$pkgver + +rm -rf ../buildpy3; mkdir ../buildpy3 +python setup.py build -b ../buildpy3 + +rm -rf ../buildpy2; mkdir ../buildpy2 +python2 setup.py build -b ../buildpy2 +find ../buildpy2 -name \*.py -exec sed -r 's|^#!(.*)python$|#!\1python2|' -i {} + +} + +check() { +cd $srcdir/$_libname-$pkgver +test -f $(python -m requests.certs) +} + +package_python-requests() { +depends=(python) + +cd $srcdir/$_libname-$pkgver +rm -rf build; ln -s ../buildpy3 build +python setup.py install --skip-build -O1 --root=$pkgdir +install -m0644 -D LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE +} + +package_python2-requests() { +depends=(python2) +optdepends=('python2-ndg-httpsclient: HTTPS requests with SNI support' +'python2-grequests: asynchronous requests with gevent') + +cd $srcdir/$_libname-$pkgver +rm -rf build; ln -s ../buildpy2 build +python2 setup.py install --skip-build -O1 --root=$pkgdir +} Deleted: certs.patch === --- certs.patch 2015-03-05 05:04:48 UTC (rev 232870) +++ certs.patch 2015-03-05 05:06:09 UTC (rev 232871) @@ -1,13 +0,0 @@ -diff