This commit is contained in:
milisbir 2018-08-28 15:28:42 +03:00
parent 4d490ba67e
commit 1865e2fe38
13 changed files with 116 additions and 65 deletions

View File

@ -1,5 +1,8 @@
#!/bin/bash
mps kur python
curl https://bootstrap.pypa.io/get-pip.py | python -
#mps kur python
#curl https://bootstrap.pypa.io/get-pip.py | python -
#mps kur python3
#curl https://bootstrap.pypa.io/get-pip.py | python3 -
mps kur python3
curl https://bootstrap.pypa.io/get-pip.py | python3 -
mps kur python3-setuptools
easy_install-3.7 pip

View File

@ -1,24 +0,0 @@
# Tanım: Mozilla'nın CA Paketini sağlamak için Python paketi
# URL: http://pypi.python.org/pypi/certifi
# Paketçi: Cihan_Alkan
# Gerekler: python python3 python-setuptools python3-setuptools
# Grup: kütüphane
isim=pycertifi
surum=2018.1.18
devir=1
kaynak=(https://pypi.python.org/packages/15/d4/2f888fc463d516ff7bf2379a4e9a552fef7f22a94147655d9b1097108248/certifi-2018.1.18.tar.gz)
derle() {
cp -a certifi-$surum{,-py3}
cd "$SRC"/certifi-$surum
python setup.py build
python setup.py install --root="$PKG" --optimize=1 --skip-build
cd "$SRC"/certifi-$surum-py3
python3 setup.py build
python3 setup.py install --root="$PKG" --optimize=1 --skip-build
}

View File

@ -1,24 +0,0 @@
# Tanım: Otomatik algılama karakteri kodlaması için Python modülü
# URL: https://pypi.io/packages/source/c/chardet
# Paketçi: Cihan_Alkan
# Gerekler: python python3 python-setuptools python3-setuptools
# Grup: kütüphane
isim=pychardet
surum=3.0.4
devir=1
kaynak=(https://pypi.io/packages/source/c/chardet/chardet-${surum}.tar.gz)
derle() {
cp -a chardet-$surum{,-py3}
cd "$SRC"/chardet-$surum
python setup.py build
python setup.py install --root="$PKG" --optimize=1 --skip-build
cd "$SRC"/chardet-$surum-py3
python3 setup.py build
python3 setup.py install --root="$PKG" --optimize=1 --skip-build
}

View File

@ -0,0 +1,17 @@
# Tanım: httplib2 caching for requests
# URL: http://pypi.python.org/pypi/CacheControl
# Paketçi: milisarge
# Gerekler: python3 python3-setuptools python3-lockfile
# Grup: kütüphane
isim=python3-cachecontrol
surum=0.12.1
devir=1
kaynak=(https://pypi.python.org/packages/3a/f7/075de886ad249f4ca08615ebd8bec9ce995ed6852790b6d9df38ae059e43/CacheControl-0.12.1.tar.gz
)
derle() {
cd "${SRC}/CacheControl-$surum"
python3 setup.py build
python3 setup.py install --root="${PKG}"
}

View File

@ -0,0 +1,17 @@
# Tanım: Mozilla'nın CA Paketini sağlamak için Python paketi
# URL: http://pypi.python.org/pypi/certifi
# Paketçi: Cihan_Alkan
# Gerekler: python3 python3-setuptools
# Grup: kütüphane
isim=python3-certifi
surum=2018.8.24
devir=1
kaynak=(https://files.pythonhosted.org/packages/e1/0f/f8d5e939184547b3bdc6128551b831a62832713aa98c2ccdf8c47ecc7f17/certifi-2018.8.24.tar.gz)
derle() {
cd "$SRC"/certifi-$surum
python3 setup.py build
python3 setup.py install --root="$PKG" --optimize=1 --skip-build
}

View File

@ -0,0 +1,17 @@
# Tanım: Karakter kodlaması otomatik algılama için Python modülü.
# URL: https://github.com/erikrose/chardet
# Paketçi: milisarge
# Gerekler: python3 python3-setuptools
# Grup: kütüphane
isim=python3-chardet
_isim=chardet
surum=3.0.4
devir=1
kaynak=(https://pypi.python.org/packages/source/c/$_isim/$_isim-$surum.tar.gz)
derle() {
cd $_isim-$surum
/usr/bin/python3 setup.py build
/usr/bin/python3 setup.py install --root=$PKG
}

View File

@ -0,0 +1,19 @@
# Tanım: distutils2 paketleme python kütüphanesi
# URL: https://bitbucket.org/pypa/distlib
# Paketçi: milisarge
# Gerekler: python3
# Grup: kütüphane
isim=python3-distlib
_isim=distlib
surum=0.2.7
devir=1
kaynak=(https://files.pythonhosted.org/packages/source/${_isim:0:1}/distlib/distlib-$surum.zip)
derle() {
cd "${SRC}"/${_isim}-${surum}
sed -i 's/tatterdema/tatterdemalion/' tests/test_index.py
python3 setup.py build
#PYTHONHASHSEED=0 python3 setup.py test
python3 setup.py install --root="${PKG}" --optimize=1 --skip-build
}

View File

@ -1,24 +1,17 @@
# Tanım: Uygulamalardaki Uluslararası Alan Adları (IDNA)
# URL: https://github.com/kjd/idna
# Paketçi: Cihan_Alkan
# Gerekler: python python3 python-setuptools python3-setuptools
# Gerekler: python3 python3-setuptools
# Grup: kütüphane
isim=pyidna
surum=2.6
isim=python3-idna
surum=2.7
devir=1
kaynak=(https://pypi.io/packages/source/i/idna/idna-$surum.tar.gz)
derle() {
cp -a idna-$surum{,-py3}
cd "$SRC"/idna-$surum
python setup.py build
python setup.py install --root="$PKG" --optimize=1 --skip-build
cd "$SRC"/idna-$surum-py3
python3 setup.py build
python3 setup.py install --root="$PKG" --optimize=1 --skip-build
}

View File

@ -0,0 +1,17 @@
# Tanım: Platform-independent file locking module
# URL: https://pypi.python.org/pypi/lockfile
# Paketçi: milisarge
# Gerekler: python3 python3-setuptools
# Grup: kütüphane
isim=python3-lockfile
surum=0.11.0
devir=1
kaynak=(https://pypi.python.org/packages/source/l/lockfile/lockfile-$surum.tar.gz)
derle() {
cd "${SRC}/lockfile-${surum}"
2to3 --no-diffs -w lockfile/*.py
python3 setup.py install --root="${PKG}" --optimize=1
install -Dm 644 LICENSE "${PKG}/usr/share/licenses/${isim}/LICENSE"
}

View File

@ -0,0 +1,16 @@
# Tanım: Core utilities for Python packages
# URL: https://github.com/pypa/packaging
# Paketçi: milisarge
# Gerekler: python3-setuptools
# Grup: kütüphane
isim=python3-packaging
surum=17.1
devir=1
kaynak=(https://github.com/pypa/packaging/archive/0dfec396998e7237e12dc2e3a06385ffa1bd97b1.tar.gz::python-packaging-0dfec396998e7237e12dc2e3a06385ffa1bd97b1.tar.gz)
derle() {
cd "$SRC"/packaging-0dfec396998e7237e12dc2e3a06385ffa1bd97b1
python3 setup.py build
python3 setup.py install --root "$PKG"
}

View File

@ -1,12 +1,12 @@
# Tanım: Pypi python paketlerini yüklemek için kolay kurulum değiştirme
# URL: http://www.pip-installer.org
# Paketçi: milisarge
# Gerekler: python3 python3-setuptools python3-webencodings python3-html5lib
# Gerekler: python3 python3-setuptools python3-webencodings python3-html5lib python3-requests python3-distlib python3-packaging python3-cachecontrol
# Grup: sistem
isim=python3-pip
surum=18.0
devir=1
devir=2
kaynak=(https://github.com/pypa/pip/archive/${surum}.tar.gz::pip-$surum.tar.gz)

View File

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

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 python3-pydbus python3-curl libnotify python3-requests python3-gobject gtk3 python3-cairo
# Gerekler: intltool xmlto docbook-xsl desktop-file-utils python3-chardet python3-certifi pyidna libsecret python3-pycups python3-pydbus python3-curl libnotify python3-requests python3-gobject gtk3 python3-cairo
# Grup: sistem
isim=system-config-printer