milis/talimatname/genel/p/pyrequests/talimat

26 lines
702 B
Plaintext
Raw Normal View History

2018-02-10 23:01:28 +01:00
# Tanım: İnsanlar için Python HTTP
# URL: https://github.com/requests/requests
# Paketçi: Cihan Alkan
# Gerekler: python-chardet python python3 python-setuptools python3-setuptools pyurllibs
# Grup: kütüphane
isim=pyrequests
surum=2.18.4
devir=1
kaynak=(https://github.com/requests/requests/archive/v2.18.4.tar.gz::requests-$surum.tar.gz)
derle() {
cp -a requests-$surum{,-py3}
cd "$SRC"/requests-$surum
python setup.py build
python setup.py install --root="$PKG" --optimize=1 --skip-build
cd "$SRC"/requests-$surum-py3
python3 setup.py build
python3 setup.py install --root="$PKG" --optimize=1 --skip-build
install -Dm644 LICENSE "$PKG/usr/share/licenses/$isim/LICENSE"
}