|
|
|
@ -6,7 +6,7 @@
|
|
|
|
|
pkgbase=python-urllib3 |
|
|
|
|
pkgname=(python-urllib3 python2-urllib3 python-urllib3-doc) |
|
|
|
|
pkgver=1.25.10 |
|
|
|
|
pkgrel=3 |
|
|
|
|
pkgrel=4 |
|
|
|
|
pkgdesc="HTTP library with thread-safe connection pooling and file post support" |
|
|
|
|
arch=("any") |
|
|
|
|
url="https://github.com/shazow/urllib3" |
|
|
|
@ -35,7 +35,7 @@ build() {
|
|
|
|
|
python2 setup.py build |
|
|
|
|
|
|
|
|
|
cd "$srcdir"/urllib3-$pkgver/docs |
|
|
|
|
#make html |
|
|
|
|
make html |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
check() { |
|
|
|
@ -69,6 +69,6 @@ package_python-urllib3-doc() {
|
|
|
|
|
|
|
|
|
|
cd urllib3-$pkgver/docs |
|
|
|
|
install -d "$pkgdir"/usr/share/doc |
|
|
|
|
#cp -r _build/html "$pkgdir"/usr/share/doc/python-urllib3 |
|
|
|
|
cp -r _build/html "$pkgdir"/usr/share/doc/python-urllib3 |
|
|
|
|
install -Dm644 ../LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt |
|
|
|
|
} |
|
|
|
|