python3-geoip

This commit is contained in:
milisarge 2017-06-01 06:42:46 +03:00
parent 0ad3c90d0f
commit f58731db20
1 changed files with 7 additions and 7 deletions

View File

@ -1,17 +1,17 @@
# Description: GeoIP aramaları için Python3 API
# URL: https://pypi.python.org/pypi/pygeoip/
# Packager: alihan-ozturk28@hotmail.com
# Depends on: python3
# Packager: milisarge
# Depends on: python3 python3-setuptools
name=python3-geoip
version=0.2.7
version=1.3.2
release=1
_name=pygeoip
source=( https://pypi.python.org/packages/source/p/${_name}/${_name}-$version.tar.gz)
source=(https://pypi.python.org/packages/source/G/GeoIP/GeoIP-$version.tar.gz)
build() {
cd ${_name}-$version
python3 setup.py build
python3 setup.py install --optimize=1 --root=$PKG
cd GeoIP-$version
python3 setup.py build
python3 setup.py install --optimize=1 --root=$PKG
}