Browse Source

[trunk] -> [extra] 'python-urllib3-1.26.7-2' add

master
artoo 8 months ago
parent
commit
46b58d870d
  1. 23
      trunk/PKGBUILD
  2. 23
      x86_64/extra/PKGBUILD

23
trunk/PKGBUILD

@ -4,16 +4,16 @@
# Contributor: BorgHunter <borghunter at gmail dot com>
pkgbase=python-urllib3
pkgname=(python-urllib3 python2-urllib3 python-urllib3-doc)
pkgname=(python-urllib3 python-urllib3-doc)
pkgver=1.26.7
pkgrel=1
pkgrel=2
pkgdesc="HTTP library with thread-safe connection pooling and file post support"
arch=("any")
url="https://github.com/urllib3/urllib3"
license=("MIT")
makedepends=('python-setuptools' 'python2-setuptools' 'python-sphinx' 'python-ndg-httpsclient'
'python2-ndg-httpsclient' 'python-pyasn1' 'python2-pyasn1' 'python-pyopenssl'
'python2-pyopenssl' 'python-pysocks' 'python2-pysocks' 'python-mock' 'python2-mock'
makedepends=('python-setuptools' 'python-sphinx' 'python-ndg-httpsclient'
'python-pyasn1' 'python-pyopenssl'
'python-pysocks' 'python-mock'
'python-brotli' 'python-sphinx-furo')
checkdepends=('python-pytest-runner' 'python-tornado' 'python-nose' 'python-psutil' 'python-trustme'
'python-gcp-devrel-py-tools' 'python-flaky' 'python-dateutil')
@ -31,9 +31,6 @@ build() {
cd "$srcdir"/urllib3-$pkgver
python setup.py build
cd "$srcdir"/urllib3-$pkgver-py2
python2 setup.py build
cd "$srcdir"/urllib3-$pkgver/docs
make html
}
@ -56,16 +53,6 @@ package_python-urllib3() {
install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
}
package_python2-urllib3() {
depends=('python2')
optdepends=('python2-pysocks: SOCKS support'
'python2-pyopenssl: security support')
cd urllib3-$pkgver-py2
python2 setup.py install --root="$pkgdir"
install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
}
package_python-urllib3-doc() {
pkgdesc="urllib3 Documentation"

23
x86_64/extra/PKGBUILD

@ -4,16 +4,16 @@
# Contributor: BorgHunter <borghunter at gmail dot com>
pkgbase=python-urllib3
pkgname=(python-urllib3 python2-urllib3 python-urllib3-doc)
pkgname=(python-urllib3 python-urllib3-doc)
pkgver=1.26.7
pkgrel=1
pkgrel=2
pkgdesc="HTTP library with thread-safe connection pooling and file post support"
arch=("any")
url="https://github.com/urllib3/urllib3"
license=("MIT")
makedepends=('python-setuptools' 'python2-setuptools' 'python-sphinx' 'python-ndg-httpsclient'
'python2-ndg-httpsclient' 'python-pyasn1' 'python2-pyasn1' 'python-pyopenssl'
'python2-pyopenssl' 'python-pysocks' 'python2-pysocks' 'python-mock' 'python2-mock'
makedepends=('python-setuptools' 'python-sphinx' 'python-ndg-httpsclient'
'python-pyasn1' 'python-pyopenssl'
'python-pysocks' 'python-mock'
'python-brotli' 'python-sphinx-furo')
checkdepends=('python-pytest-runner' 'python-tornado' 'python-nose' 'python-psutil' 'python-trustme'
'python-gcp-devrel-py-tools' 'python-flaky' 'python-dateutil')
@ -31,9 +31,6 @@ build() {
cd "$srcdir"/urllib3-$pkgver
python setup.py build
cd "$srcdir"/urllib3-$pkgver-py2
python2 setup.py build
cd "$srcdir"/urllib3-$pkgver/docs
make html
}
@ -56,16 +53,6 @@ package_python-urllib3() {
install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
}
package_python2-urllib3() {
depends=('python2')
optdepends=('python2-pysocks: SOCKS support'
'python2-pyopenssl: security support')
cd urllib3-$pkgver-py2
python2 setup.py install --root="$pkgdir"
install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
}
package_python-urllib3-doc() {
pkgdesc="urllib3 Documentation"

Loading…
Cancel
Save