[Python-modules-commits] r4610 - in packages/pynjb/trunk (8 files)
morph-guest at users.alioth.debian.org
morph-guest at users.alioth.debian.org
Sat Feb 23 15:49:57 UTC 2008
Date: Saturday, February 23, 2008 @ 15:49:56
Author: morph-guest
Revision: 4610
[svn-inject] Applying Debian modifications to trunk
Added:
packages/pynjb/trunk/debian/
packages/pynjb/trunk/debian/changelog
packages/pynjb/trunk/debian/compat
packages/pynjb/trunk/debian/control
packages/pynjb/trunk/debian/copyright
packages/pynjb/trunk/debian/pycompat
packages/pynjb/trunk/debian/rules
Modified:
packages/pynjb/trunk/Makefile
Modified: packages/pynjb/trunk/Makefile
===================================================================
--- packages/pynjb/trunk/Makefile 2008-02-23 15:48:13 UTC (rev 4609)
+++ packages/pynjb/trunk/Makefile 2008-02-23 15:49:56 UTC (rev 4610)
@@ -1,14 +1,14 @@
TARGET = pynjb.so
OFILES = sippynjbcmodule.o sippynjbNJBTime.o sippynjbNJBEAXType.o sippynjbNJBDatafileTag.o sippynjbNJBPlaylist.o sippynjbNJBPlaylistTrack.o sippynjbNJBSong.o sippynjbNJBFrame.o sippynjbNJBDevice.o
-HFILES = sipAPIpynjb.h sippynjbNJBTime.h sippynjbNJBEAXType.h sippynjbNJBDatafileTag.h sippynjbNJBPlaylist.h sippynjbNJBPlaylistTrack.h sippynjbNJBSong.h sippynjbNJBFrame.h sippynjbNJBDevice.h
+HFILES = sipAPIpynjb.h
CC = gcc
CXX = g++
LINK = g++
-CPPFLAGS = -I. -I/usr/include/python2.3
-CFLAGS = -pipe -fPIC -O2 -Wall -W
-CXXFLAGS = -pipe -fPIC -O2 -Wall -W
-LFLAGS = -shared
+CPPFLAGS = -I. -I/usr/include/python2.5
+CFLAGS = -O2 -g -fPIC -Wall -W
+CXXFLAGS = -O2 -g -fPIC -Wall -W
+LFLAGS = -shared -Wl,--version-script=pynjb.exp
LIBS = -L. -lnjb
.SUFFIXES: .c .o .cpp .cc .cxx .C
@@ -29,13 +29,14 @@
$(CC) -c $(CFLAGS) $(CPPFLAGS) -o $@ $<
$(TARGET): $(OFILES)
+ @echo '{ global: initpynjb; local: *; };' > pynjb.exp
$(LINK) $(LFLAGS) -o $(TARGET) $(OFILES) $(LIBS)
$(OFILES): $(HFILES)
install: $(TARGET)
- @test -d $(DESTDIR)/usr/lib/python2.3/site-packages || mkdir -p $(DESTDIR)/usr/lib/python2.3/site-packages
- cp -f $(TARGET) $(DESTDIR)/usr/lib/python2.3/site-packages/$(TARGET)
+ @test -d $(DESTDIR)/usr/lib/python2.5/site-packages || mkdir -p $(DESTDIR)/usr/lib/python2.5/site-packages
+ cp -f $(TARGET) $(DESTDIR)/usr/lib/python2.5/site-packages/$(TARGET)
clean:
-rm -f $(TARGET)
@@ -48,3 +49,4 @@
-rm -f sippynjbNJBSong.o
-rm -f sippynjbNJBFrame.o
-rm -f sippynjbNJBDevice.o
+ -rm -f pynjb.exp
Property changes on: packages/pynjb/trunk/debian
___________________________________________________________________
Name: mergeWithUpstream
+ 1
Added: packages/pynjb/trunk/debian/changelog
===================================================================
--- packages/pynjb/trunk/debian/changelog (rev 0)
+++ packages/pynjb/trunk/debian/changelog 2008-02-23 15:49:56 UTC (rev 4610)
@@ -0,0 +1,37 @@
+pynjb (0.1.0-3) UNRELEASED; urgency=low
+
+ * Adopting package (Closes: #460979)
+ * debian/control
+ - set DPMT as maintainer
+ - set me as uploader
+ - bump Standard-Version to 3.7.3
+ - added Vcs-{Svn,Browser}
+ - spelling fix for Python in long/short description
+ * debian/compat
+ - bump to 5
+ * debian/rules
+ - removed debhelper template header
+ - removed some unneeded commented/empty lines
+ - do not ignore anymore clean error
+ - removed unneeded dh_* calls
+ - added clean commands to remove files generated in configure target
+ - added dh_installexamples call
+ - removed configure target
+ - build target now launch configure.py, make and make install for each
+ supported python version
+ - install target does nothing now
+
+ -- Sandro Tosi <matrixhasu at gmail.com> Wed, 13 Feb 2008 07:28:49 +0100
+
+pynjb (0.1.0-2) unstable; urgency=high
+
+ * Fixes Release Critical bug: missing dependency on python-sip4.
+ (Closes: #402760)
+
+ -- Jaldhar H. Vyas <jaldhar.vyas at linspire.com> Wed, 13 Dec 2006 01:00:39 -0500
+
+pynjb (0.1.0-1) unstable; urgency=low
+
+ * First upload to Debian. (Closes: #396150)
+
+ -- Jaldhar H. Vyas <jaldhar.vyas at linspire.com> Wed, 1 Nov 2006 16:20:39 -0500
Added: packages/pynjb/trunk/debian/compat
===================================================================
--- packages/pynjb/trunk/debian/compat (rev 0)
+++ packages/pynjb/trunk/debian/compat 2008-02-23 15:49:56 UTC (rev 4610)
@@ -0,0 +1 @@
+5
Added: packages/pynjb/trunk/debian/control
===================================================================
--- packages/pynjb/trunk/debian/control (rev 0)
+++ packages/pynjb/trunk/debian/control 2008-02-23 15:49:56 UTC (rev 4610)
@@ -0,0 +1,18 @@
+Source: pynjb
+Section: python
+Priority: optional
+Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Uploaders: Sandro Tosi <matrixhasu at gmail.com>
+Build-Depends: debhelper (>= 5.0.38), libnjb-dev (>= 2.2.2), sip4, python-all-dev (>= 2.3.5-11), python-central (>= 0.5.6), python-sip4-dev
+XS-Python-Version: all
+Standards-Version: 3.7.3
+Vcs-Svn: svn://svn.debian.org/python-modules/packages/pynjb/trunk/
+Vcs-Browser: http://svn.debian.org/wsvn/python-modules/packages/pynjb/trunk/?op=log
+
+Package: python-pynjb
+Architecture: any
+Depends: ${shlibs:Depends}, ${python:Depends}, python-sip4
+XB-Python-Version: ${python:Versions}
+Description: Python wrapper for libnjb
+ Python wrapper for libnjb - the library used to interface with Dell DJs,
+ Creative Nomad Jukeboxes, and other related MP3 players.
Added: packages/pynjb/trunk/debian/copyright
===================================================================
--- packages/pynjb/trunk/debian/copyright (rev 0)
+++ packages/pynjb/trunk/debian/copyright 2008-02-23 15:49:56 UTC (rev 4610)
@@ -0,0 +1,28 @@
+This package was debianized by Brian Thomason <brian.thomason at lindows.com> on
+Wed, 23 Mar 2005 17:50:44 -0800.
+
+It was downloaded from http://apt.freespire.org/
+
+Copyright:
+
+Upstream Author: Duane Maxwell <duane at linspireinc.com>
+
+(c) Copyright Linspire. Inc, 2005
+
+ This is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License
+ as published by the Free Software Foundation; either version 2
+ of the License, or (at your option) any later version.
+
+ This is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
+
+A copy of the GNU General Public License is available as
+/usr/share/common-licenses/GPL in the Debian GNU/Linux distribution.
+
Added: packages/pynjb/trunk/debian/pycompat
===================================================================
--- packages/pynjb/trunk/debian/pycompat (rev 0)
+++ packages/pynjb/trunk/debian/pycompat 2008-02-23 15:49:56 UTC (rev 4610)
@@ -0,0 +1 @@
+2
Added: packages/pynjb/trunk/debian/rules
===================================================================
--- packages/pynjb/trunk/debian/rules (rev 0)
+++ packages/pynjb/trunk/debian/rules 2008-02-23 15:49:56 UTC (rev 4610)
@@ -0,0 +1,84 @@
+#!/usr/bin/make -f
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+PYVERS=$(shell pyversions -r)
+
+CFLAGS = -Wall -g
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+ CFLAGS += -O0
+else
+ CFLAGS += -O2
+endif
+
+#configure: configure-stamp
+#configure-stamp:
+# dh_testdir
+#
+# # Add here commands to configure the package.
+# for python in $(PYVERS); do \
+# $$python configure.py; \
+# done
+#
+# touch configure-stamp
+
+build: build-stamp
+build-stamp:
+ dh_testdir
+
+ # Add here commands to compile the package.
+
+ for python in $(PYVERS); do \
+ [ ! -f Makefile ] || $(MAKE) clean; \
+ $$python configure.py; \
+ $(MAKE); \
+ $(MAKE) install DESTDIR=$(CURDIR)/debian/python-pynjb; \
+ done
+
+ touch build-stamp
+
+clean:
+ dh_testdir
+ dh_testroot
+ rm -f build-stamp configure-stamp
+
+ # Add here commands to clean up after the build process.
+ [ ! -f Makefile ] || $(MAKE) clean
+
+ dh_clean sippynjb*.cpp sipAPIpynjb.h pynjb.sbf
+
+install: build
+ dh_testdir
+ dh_testroot
+ #dh_clean -k
+ dh_installdirs
+
+ # Add here commands to install the package into debian/python-pynjb.
+ #$(MAKE) install DESTDIR=$(CURDIR)/debian/python-pynjb
+
+# Build architecture-independent files here.
+binary-indep: build install
+# We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-arch: build install
+ dh_testdir
+ dh_testroot
+ dh_installchangelogs
+ dh_installdocs
+ dh_installexamples sample.py
+ dh_link
+ dh_strip
+ dh_compress
+ dh_fixperms
+ dh_pycentral
+ dh_installdeb
+ dh_shlibdeps
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install
Property changes on: packages/pynjb/trunk/debian/rules
___________________________________________________________________
Name: svn:executable
+ *
More information about the Python-modules-commits
mailing list