Your message dated Thu, 25 Nov 2021 09:42:53 +0000
with message-id <d6c6c63e-7935-4138-b58e-cda09730d...@kitterman.com>
and subject line Re: python-geoip: [patch] build python debug package
has caused the Debian Bug report #534605,
regarding python-geoip: [patch] build python debug package
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
534605: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=534605
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: python-geoip
Version: 1.2.4-1
Severity: wishlist
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu karmic ubuntu-patch
Hi,
attached is a patch from Ubuntu to build a debug package
of python-geoip. Please consider it for inclusion.
It also appears that the license has changed from GPL to
LGPL. debian/copyright still refers to GPL, but the header
of py_GEOIP.c reads now:
/* py_GeoIP.c
*
* Copyright (C) 2007 MaxMind LLC
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
...
Thanks,
Michael
-- System Information:
Debian Release: squeeze/sid
APT prefers karmic
APT policy: (500, 'karmic')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.30-10-generic (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -u python-geoip-1.2.4/debian/control python-geoip-1.2.4/debian/control
--- python-geoip-1.2.4/debian/control
+++ python-geoip-1.2.4/debian/control
@@ -2,7 +2,7 @@
Section: python
Priority: optional
Maintainer: Josselin Mouette <j...@debian.org>
-Build-Depends: debhelper (>= 5.0.37.2), python-all-dev (>= 2.3.5-11), cdbs (>= 0.4.43), libgeoip-dev (>= 1.4.5), python-support (>= 0.3)
+Build-Depends: debhelper (>= 5.0.37.2), python-all-dev (>= 2.3.5-11), python-all-dbg, cdbs (>= 0.4.43), libgeoip-dev, python-support (>= 0.3)
Standards-Version: 3.8.2
Package: python-geoip
@@ -17,2 +17,14 @@
- This package contains the Python bindings for GeoIP, allowing to use
- this library within a Python program.
+ This package contains the python bindings for GeoIP, allowing to use
+ this library within a python program.
+
+Package: python-geoip-dbg
+Priority: extra
+Architecture: any
+Depends: python-geoip (= ${Source-Version}), python-dbg, ${shlibs:Depends}
+Description: python bindings for the GeoIP IP-to-country resolver library (debug extension)
+ GeoIP is a library that enables the user to find the country that any
+ IP address or hostname originates from, using a database instead of
+ DNS.
+ .
+ This package contains the python bindings for GeoIP, allowing to use
+ this library within a python program, built for the python debug interpreter.
diff -u python-geoip-1.2.4/debian/rules python-geoip-1.2.4/debian/rules
--- python-geoip-1.2.4/debian/rules
+++ python-geoip-1.2.4/debian/rules
@@ -7,0 +8,21 @@
+
+build/python-geoip-dbg::
+ set -e; \
+ for i in $(cdbs_python_build_versions); do \
+ python$$i-dbg ./setup.py build; \
+ done
+
+install/python-geoip-dbg::
+ for i in $(cdbs_python_build_versions); do \
+ python$$i-dbg ./setup.py install --root $(CURDIR)/debian/python-geoip-dbg --install-layout=deb; \
+ done
+ find debian/python-geoip-dbg \
+ ! -type d ! -name '*_d.so' | xargs rm -f
+ find debian/python-geoip-dbg -depth -empty -exec rmdir {} \;
+
+binary-predeb/python-geoip-dbg::
+ rm -rf debian/python-geoip-dbg/usr/share/doc/python-geoip-dbg
+ ln -s python-geoip debian/python-geoip-dbg/usr/share/doc/python-geoip-dbg
+
+clean::
+ rm -rf build
only in patch2:
unchanged:
--- python-geoip-1.2.4.orig/debian/python-geoip.install
+++ python-geoip-1.2.4/debian/python-geoip.install
@@ -0,0 +1 @@
+debian/tmp/usr/lib/python*
--- End Message ---
--- Begin Message ---
On Thu, 25 Jun 2009 20:02:26 +0200 Michael Vogt <m...@ubuntu.com> wrote:
> Package: python-geoip
> Version: 1.2.4-1
> Severity: wishlist
> Tags: patch
> User: ubuntu-de...@lists.ubuntu.com
> Usertags: origin-ubuntu karmic ubuntu-patch
>
>
> Hi,
>
> attached is a patch from Ubuntu to build a debug package
> of python-geoip. Please consider it for inclusion.
Closing since Python debug packages are no longer needed.
Scott K
--- End Message ---
_______________________________________________
Python-modules-team mailing list
Python-modules-team@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team