# Tanım: İnsanlar için Python HTTP
# URL: https://github.com/requests/requests
# Paketçi: milisarge
# Gerekler: python3 python-setuptools python3-setuptools python3-urllibs python3-chardet python3-certifi python3-idna
# Grup: kütüphane

isim=python3-requests
surum=2.19.1
devir=1

kaynak=(https://github.com/requests/requests/archive/v$surum.tar.gz::requests-$surum.tar.gz)

derle() {
  cd "$SRC"/requests-$surum
  python3 setup.py build
  python3 setup.py install --root="$PKG" --optimize=1 --skip-build
  install -Dm644 LICENSE "$PKG/usr/share/licenses/pyrequests/LICENSE"
}
