[csw-devel] SF.net SVN: gar:[19511] csw/mgar/pkg/lang-python/GeoIP-Python/trunk

bdwalton at users.sourceforge.net bdwalton at users.sourceforge.net
Wed Oct 24 23:23:55 CEST 2012


Revision: 19511
          http://gar.svn.sourceforge.net/gar/?rev=19511&view=rev
Author:   bdwalton
Date:     2012-10-24 21:23:54 +0000 (Wed, 24 Oct 2012)
Log Message:
-----------
lang-python/GeoIP-Python/trunk: correct a usr/local reference in the generated .so

Modified Paths:
--------------
    csw/mgar/pkg/lang-python/GeoIP-Python/trunk/Makefile

Added Paths:
-----------
    csw/mgar/pkg/lang-python/GeoIP-Python/trunk/files/0001-Remove-usr-local-references-from-setup.py-to-fix-emb.patch

Modified: csw/mgar/pkg/lang-python/GeoIP-Python/trunk/Makefile
===================================================================
--- csw/mgar/pkg/lang-python/GeoIP-Python/trunk/Makefile	2012-10-24 21:10:49 UTC (rev 19510)
+++ csw/mgar/pkg/lang-python/GeoIP-Python/trunk/Makefile	2012-10-24 21:23:54 UTC (rev 19511)
@@ -8,6 +8,8 @@
 MASTER_SITES = http://www.maxmind.com/download/geoip/api/python/
 DISTFILES  = $(DISTNAME).tar.gz
 
+PATCHFILES += 0001-Remove-usr-local-references-from-setup.py-to-fix-emb.patch
+
 VENDOR_URL = http://www.maxmind.com/app/python
 
 LICENSE = LICENSE

Added: csw/mgar/pkg/lang-python/GeoIP-Python/trunk/files/0001-Remove-usr-local-references-from-setup.py-to-fix-emb.patch
===================================================================
--- csw/mgar/pkg/lang-python/GeoIP-Python/trunk/files/0001-Remove-usr-local-references-from-setup.py-to-fix-emb.patch	                        (rev 0)
+++ csw/mgar/pkg/lang-python/GeoIP-Python/trunk/files/0001-Remove-usr-local-references-from-setup.py-to-fix-emb.patch	2012-10-24 21:23:54 UTC (rev 19511)
@@ -0,0 +1,29 @@
+From 1ceb448faad576ec565052759f4e44d1fc0fabc1 Mon Sep 17 00:00:00 2001
+From: Ben Walton <bwalton at opencsw.org>
+Date: Wed, 24 Oct 2012 23:19:36 +0200
+Subject: [PATCH] Remove usr/local references from setup.py to fix embedded
+ refs later
+
+Signed-off-by: Ben Walton <bwalton at opencsw.org>
+---
+ setup.py | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/setup.py b/setup.py
+index c34324a..eed12ab 100644
+--- a/setup.py
++++ b/setup.py
+@@ -3,8 +3,8 @@ from distutils.core import setup, Extension
+ module1 = Extension('GeoIP',
+ 	libraries = ['GeoIP'],
+ 	sources = ['py_GeoIP.c'],
+-	library_dirs = ['/usr/local/lib'],
+-	include_dirs = ['/usr/local/include'])
++	library_dirs = ['/opt/csw/lib'],
++	include_dirs = ['/opt/csw/include'])
+ 
+ setup (name = 'GeoIP-Python',
+ 	version = '1.2.7',
+-- 
+1.8.0
+

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list