py3-requests

This commit is contained in:
milisbir 2018-08-14 14:34:59 +03:00
parent c210cc9b1f
commit 9c9953a6cc
4 changed files with 23 additions and 37 deletions

View File

@ -1,25 +0,0 @@
# 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"
}

View File

@ -0,0 +1,18 @@
# Tanım: İnsanlar için Python HTTP
# URL: https://github.com/requests/requests
# Paketçi: milisarge
# Gerekler: python3 python-setuptools python3-setuptools python3-urllibs
# 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"
}

View File

@ -1,24 +1,17 @@
# Tanım: İş parçacıklı bağlantı havuzu ve dosya postası desteğiyle HTTP kitaplığı
# URL: https://github.com/shazow/urllib3
# Paketçi: Cihan_Alkan
# Gerekler: python python3 python-setuptools python3-setuptools
# Paketçi: milisarge
# Gerekler: python3 python3-setuptools
# Grup: kütüphane
isim=pyurllibs
surum=1.22
isim=python3-urllibs
surum=1.23
devir=1
kaynak=(https://github.com/shazow/urllib3/archive/$surum.tar.gz::urllib3-$surum.tar.gz)
derle() {
cp -a urllib3-$surum{,-py3}
cd "$SRC"/urllib3-$surum
python setup.py build
python setup.py install --root="$PKG" --optimize=1 --skip-build
cd "$SRC"/urllib3-$surum-py3
python3 setup.py build
python3 setup.py install --root="$PKG" --optimize=1 --skip-build
}

View File

@ -1,7 +1,7 @@
# Tanım: Bir CUPS yazıcı yapılandırma aracı ve durum uygulaması
# URL: https://github.com/zdohnal/system-config-printer
# Packager: Cihan_Alkan
# Gerekler: intltool xmlto docbook-xsl desktop-file-utils pychardet pycertifi pyidna libsecret python3-pycups pydbus pycurl libnotify pyrequests python3-gobject gtk3 python3-cairo
# Gerekler: intltool xmlto docbook-xsl desktop-file-utils pychardet pycertifi pyidna libsecret python3-pycups pydbus pycurl libnotify python3-requests python3-gobject gtk3 python3-cairo
# Grup: sistem
isim=system-config-printer