update to py-GeoIP 1.2.9, ok benoit@ (maintainer)
This commit is contained in:
parent
1d184e96df
commit
9321c6b077
@ -1,12 +1,11 @@
|
||||
# $OpenBSD: Makefile,v 1.14 2013/03/11 11:35:55 espie Exp $
|
||||
# $OpenBSD: Makefile,v 1.15 2014/03/18 19:24:59 sthen Exp $
|
||||
|
||||
COMMENT = GeoIP Python API
|
||||
|
||||
MODPY_EGG_VERSION = 1.2.7
|
||||
DISTNAME = GeoIP-Python-${MODPY_EGG_VERSION}
|
||||
MODPY_EGG_VERSION = 1.2.9
|
||||
DISTNAME = GeoIP-${MODPY_EGG_VERSION}
|
||||
PKGNAME = py-GeoIP-${MODPY_EGG_VERSION}
|
||||
CATEGORIES = net
|
||||
REVISION = 0
|
||||
|
||||
HOMEPAGE = http://dev.maxmind.com/geoip/
|
||||
|
||||
@ -15,19 +14,28 @@ MAINTAINER = Benoit Lecocq <benoit@openbsd.org>
|
||||
# LGPL v2.1
|
||||
PERMIT_PACKAGE_CDROM = Yes
|
||||
|
||||
MASTER_SITES = http://geolite.maxmind.com/download/geoip/api/python/
|
||||
WANTLIB += ${MODPY_WANTLIB} GeoIP>=8 pthread
|
||||
|
||||
MASTER_SITES = ${MASTER_SITE_PYPI:=G/GeoIP/}
|
||||
|
||||
MODULES = lang/python
|
||||
MODPY_ADJ_FILES = test*.py
|
||||
|
||||
LIB_DEPENDS = net/GeoIP>=1.4.7
|
||||
WANTLIB = GeoIP>=8
|
||||
|
||||
EXAMPLEDIR = ${PREFIX}/share/examples/py-GeoIP
|
||||
NO_TEST = Yes
|
||||
|
||||
pre-patch:
|
||||
perl -pi -e 's,/usr/local/share/GeoIP,${LOCALSTATEDIR}/db/GeoIP,g' \
|
||||
${WRKSRC}/*.py
|
||||
|
||||
post-install:
|
||||
${INSTALL_DATA_DIR} ${EXAMPLEDIR}
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/${MODPY_ADJ_FILES} ${EXAMPLEDIR}
|
||||
|
||||
TEST_DEPENDS = ${BUILD_PKGPATH}
|
||||
|
||||
do-test:
|
||||
cd ${WRKSRC}; ${MODPY_BIN} test.py
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,5 +1,2 @@
|
||||
MD5 (GeoIP-Python-1.2.7.tar.gz) = 33H1rnpcd7vfcm1RK31nzw==
|
||||
RMD160 (GeoIP-Python-1.2.7.tar.gz) = SrtQpwzhXoMF54ZZPd0t4V7+0Sk=
|
||||
SHA1 (GeoIP-Python-1.2.7.tar.gz) = CvX10GvIG1QnAZ0ougKejDHeyes=
|
||||
SHA256 (GeoIP-Python-1.2.7.tar.gz) = 3Vd12X+W0SDM2VJO4JTbBAtsYxCQSLX2JXIXOkpzyx0=
|
||||
SIZE (GeoIP-Python-1.2.7.tar.gz) = 15938
|
||||
SHA256 (GeoIP-1.2.9.tar.gz) = OJLBUKu0i3+xK6c+2IVBt1MZA9K7tQuPYgZ/YefyScc=
|
||||
SIZE (GeoIP-1.2.9.tar.gz) = 24567
|
||||
|
@ -1,11 +1,11 @@
|
||||
@comment $OpenBSD: PLIST,v 1.4 2013/03/11 09:15:15 benoit Exp $
|
||||
@comment $OpenBSD: PLIST,v 1.5 2014/03/18 19:24:59 sthen Exp $
|
||||
lib/python${MODPY_VERSION}/site-packages/GeoIP-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info
|
||||
lib/python${MODPY_VERSION}/site-packages/GeoIP.so
|
||||
lib/python${MODPY_VERSION}/site-packages/GeoIP_Python-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info
|
||||
share/examples/${MODPY_PY_PREFIX}GeoIP/
|
||||
share/examples/${MODPY_PY_PREFIX}GeoIP/test.py
|
||||
share/examples/${MODPY_PY_PREFIX}GeoIP/test_city.py
|
||||
share/examples/${MODPY_PY_PREFIX}GeoIP/test_city_acc.py
|
||||
share/examples/${MODPY_PY_PREFIX}GeoIP/test_city_charset.py
|
||||
share/examples/${MODPY_PY_PREFIX}GeoIP/test_domain.py
|
||||
share/examples/${MODPY_PY_PREFIX}GeoIP/test_netspeed.py
|
||||
share/examples/${MODPY_PY_PREFIX}GeoIP/test_netspeedcell.py
|
||||
share/examples/${MODPY_PY_PREFIX}GeoIP/test_org.py
|
||||
|
Loading…
Reference in New Issue
Block a user