milis/talimatname/genel/p/python-geoip/talimat

18 lines
401 B
Plaintext
Raw Normal View History

2017-10-27 20:46:27 +02:00
# Tanım: GeoIP aramaları için Python API'sı
2017-04-13 09:03:58 +02:00
# URL: https://pypi.python.org/pypi/pygeoip/
2017-10-27 20:46:27 +02:00
# Paketçi: alihan-ozturk28@hotmail.com
# Gerekler: python
2016-10-17 22:43:50 +02:00
name=python-geoip
version=0.2.7
release=1
_name=pygeoip
source=( https://pypi.python.org/packages/source/p/${_name}/${_name}-$version.tar.gz)
2017-10-27 23:59:41 +02:00
derle() {
2016-10-17 22:43:50 +02:00
cd ${_name}-$version
python setup.py build
python setup.py install --optimize=1 --root=$PKG
}