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

18 lines
396 B
Plaintext
Raw Normal View History

2017-10-27 20:46:27 +02:00
# Tanım: GeoIP aramaları için Python3 API
2017-04-12 14:08:18 +02:00
# URL: https://pypi.python.org/pypi/pygeoip/
2017-10-27 20:46:27 +02:00
# Paketçi: milisarge
# Gerekler: python3 python3-setuptools
2016-10-17 22:43:50 +02:00
name=python3-geoip
2017-06-01 05:42:46 +02:00
version=1.3.2
2016-10-17 22:43:50 +02:00
release=1
_name=pygeoip
2017-06-01 05:42:46 +02:00
source=(https://pypi.python.org/packages/source/G/GeoIP/GeoIP-$version.tar.gz)
2016-10-17 22:43:50 +02:00
build() {
2017-06-01 05:42:46 +02:00
cd GeoIP-$version
python3 setup.py build
python3 setup.py install --optimize=1 --root=$PKG
2016-10-17 22:43:50 +02:00
}