2017-04-12 14:08:18 +02:00
|
|
|
|
# Description: GeoIP aramaları için Python3 API
|
|
|
|
|
# URL: https://pypi.python.org/pypi/pygeoip/
|
2016-10-17 22:43:50 +02:00
|
|
|
|
# Packager: alihan-ozturk28@hotmail.com
|
|
|
|
|
# Depends on: python3
|
|
|
|
|
|
|
|
|
|
name=python3-geoip
|
|
|
|
|
version=0.2.7
|
|
|
|
|
release=1
|
|
|
|
|
_name=pygeoip
|
|
|
|
|
|
|
|
|
|
source=( https://pypi.python.org/packages/source/p/${_name}/${_name}-$version.tar.gz)
|
|
|
|
|
|
|
|
|
|
build() {
|
|
|
|
|
cd ${_name}-$version
|
|
|
|
|
python3 setup.py build
|
|
|
|
|
python3 setup.py install --optimize=1 --root=$PKG
|
|
|
|
|
}
|