Browse Source

[trunk] -> [staging] 'python-urllib3-1.26.7-5' add

master
Qontinuum 8 months ago
parent
commit
c0a222f166
  1. 6
      trunk/PKGBUILD
  2. 6
      x86_64/staging/PKGBUILD

6
trunk/PKGBUILD

@ -6,7 +6,7 @@
pkgbase=python-urllib3
pkgname=(python-urllib3 python-urllib3-doc)
pkgver=1.26.7
pkgrel=4
pkgrel=5
pkgdesc="HTTP library with thread-safe connection pooling and file post support"
arch=("any")
url="https://github.com/urllib3/urllib3"
@ -32,7 +32,7 @@ build() {
python setup.py build
cd "$srcdir"/urllib3-$pkgver/docs
#make html
make html
}
check() {
@ -58,6 +58,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
}

6
x86_64/staging/PKGBUILD

@ -6,7 +6,7 @@
pkgbase=python-urllib3
pkgname=(python-urllib3 python-urllib3-doc)
pkgver=1.26.7
pkgrel=4
pkgrel=5
pkgdesc="HTTP library with thread-safe connection pooling and file post support"
arch=("any")
url="https://github.com/urllib3/urllib3"
@ -32,7 +32,7 @@ build() {
python setup.py build
cd "$srcdir"/urllib3-$pkgver/docs
#make html
make html
}
check() {
@ -58,6 +58,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
}

Loading…
Cancel
Save