[Python-modules-commits] r2503 - in /packages/python-glpk/trunk/debian: ./ changelog compat control copyright dirs docs examples pycompat pyversions rules watch
jmalonzo-guest at users.alioth.debian.org
jmalonzo-guest at users.alioth.debian.org
Wed Jun 6 01:42:38 UTC 2007
Author: jmalonzo-guest
Date: Wed Jun 6 01:42:38 2007
New Revision: 2503
URL: http://svn.debian.org/wsvn/python-modules/?sc=1&rev=2503
Log:
[svn-inject] Applying Debian modifications to trunk
Added:
packages/python-glpk/trunk/debian/ (with props)
packages/python-glpk/trunk/debian/changelog
packages/python-glpk/trunk/debian/compat
packages/python-glpk/trunk/debian/control
packages/python-glpk/trunk/debian/copyright
packages/python-glpk/trunk/debian/dirs
packages/python-glpk/trunk/debian/docs
packages/python-glpk/trunk/debian/examples
packages/python-glpk/trunk/debian/pycompat
packages/python-glpk/trunk/debian/pyversions
packages/python-glpk/trunk/debian/rules (with props)
packages/python-glpk/trunk/debian/watch
Propchange: packages/python-glpk/trunk/debian/
------------------------------------------------------------------------------
mergeWithUpstream = 1
Added: packages/python-glpk/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/python-modules/packages/python-glpk/trunk/debian/changelog?rev=2503&op=file
==============================================================================
--- packages/python-glpk/trunk/debian/changelog (added)
+++ packages/python-glpk/trunk/debian/changelog Wed Jun 6 01:42:38 2007
@@ -1,0 +1,5 @@
+python-glpk (0.1.16-1) unstable; urgency=low
+
+ * Initial release (Closes: #400690)
+
+ -- Jan Alonzo <jmalonzo at unpluggable.com> Sun, 05 Jun 2007 14:32:28 +0200
Added: packages/python-glpk/trunk/debian/compat
URL: http://svn.debian.org/wsvn/python-modules/packages/python-glpk/trunk/debian/compat?rev=2503&op=file
==============================================================================
--- packages/python-glpk/trunk/debian/compat (added)
+++ packages/python-glpk/trunk/debian/compat Wed Jun 6 01:42:38 2007
@@ -1,0 +1,1 @@
+5
Added: packages/python-glpk/trunk/debian/control
URL: http://svn.debian.org/wsvn/python-modules/packages/python-glpk/trunk/debian/control?rev=2503&op=file
==============================================================================
--- packages/python-glpk/trunk/debian/control (added)
+++ packages/python-glpk/trunk/debian/control Wed Jun 6 01:42:38 2007
@@ -1,0 +1,25 @@
+Source: python-glpk
+Section: math
+Priority: optional
+Maintainer: Jan Alonzo <jmalonzo at unpluggable.com>
+Uploaders: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Build-Depends: debhelper (>= 5.0.38), python-support (>= 0.6), python-all-dev (>= 2.4-1), swig, libglpk-dev (>= 4.16)
+Standards-Version: 3.7.2
+
+Package: python-glpk
+Architecture: any
+Depends: ${python:Depends}, ${shlibs:Depends}
+Provides: ${python:Provides}
+XB-Python-Version: ${python:Versions}
+Description: Python bindings to the GNU Linear Programming Kit
+ GLPK (GNU Linear Programming Kit) is intended for solving large-scale
+ linear programming (LP), mixed integer programming (MIP), and other
+ related problems. It is a set of routines written in ANSI C and
+ organized in the form of a callable library.
+ .
+ GLPK supports the GNU MathProg language, which is a subset of the
+ AMPL language. GLPK also supports the standard MPS and LP formats.
+ .
+ This is the python bindings to GLPK.
+ .
+ Homepage: http://www.ncc.up.pt/~jpp/code/python-glpk/
Added: packages/python-glpk/trunk/debian/copyright
URL: http://svn.debian.org/wsvn/python-modules/packages/python-glpk/trunk/debian/copyright?rev=2503&op=file
==============================================================================
--- packages/python-glpk/trunk/debian/copyright (added)
+++ packages/python-glpk/trunk/debian/copyright Wed Jun 6 01:42:38 2007
@@ -1,0 +1,27 @@
+This package was debianized by Jan Alonzo <jmalonzo at unpluggable.com> on
+Fri, 16 Mar 2007 20:03:20 +1100.
+
+It was downloaded from http://www.ncc.up.pt/~jpp/code/python-glpk
+
+Upstream Author: Joao Pedro Pedroso <jpp at fc.up.pt>
+
+Copyright (C) 2005-2007, Joao Pedro Pedroso
+
+Copyright:
+
+ This program 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 program 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
+
+The Debian packaging is (C) 2007, Jan Alonzo <jmalonzo at unpluggable.com> and
+is licensed under the GPL, see `/usr/share/common-licenses/GPL'.
Added: packages/python-glpk/trunk/debian/dirs
URL: http://svn.debian.org/wsvn/python-modules/packages/python-glpk/trunk/debian/dirs?rev=2503&op=file
==============================================================================
--- packages/python-glpk/trunk/debian/dirs (added)
+++ packages/python-glpk/trunk/debian/dirs Wed Jun 6 01:42:38 2007
@@ -1,0 +1,2 @@
+usr/share/doc/python-glpk
+usr/share/doc/python-glpk/examples
Added: packages/python-glpk/trunk/debian/docs
URL: http://svn.debian.org/wsvn/python-modules/packages/python-glpk/trunk/debian/docs?rev=2503&op=file
==============================================================================
--- packages/python-glpk/trunk/debian/docs (added)
+++ packages/python-glpk/trunk/debian/docs Wed Jun 6 01:42:38 2007
@@ -1,0 +1,1 @@
+readme.txt
Added: packages/python-glpk/trunk/debian/examples
URL: http://svn.debian.org/wsvn/python-modules/packages/python-glpk/trunk/debian/examples?rev=2503&op=file
==============================================================================
--- packages/python-glpk/trunk/debian/examples (added)
+++ packages/python-glpk/trunk/debian/examples Wed Jun 6 01:42:38 2007
@@ -1,0 +1,5 @@
+examples/*
+examples/example.mod
+examples/example.mps
+examples/example.py
+examples/example_refman.py
Added: packages/python-glpk/trunk/debian/pycompat
URL: http://svn.debian.org/wsvn/python-modules/packages/python-glpk/trunk/debian/pycompat?rev=2503&op=file
==============================================================================
--- packages/python-glpk/trunk/debian/pycompat (added)
+++ packages/python-glpk/trunk/debian/pycompat Wed Jun 6 01:42:38 2007
@@ -1,0 +1,1 @@
+2
Added: packages/python-glpk/trunk/debian/pyversions
URL: http://svn.debian.org/wsvn/python-modules/packages/python-glpk/trunk/debian/pyversions?rev=2503&op=file
==============================================================================
--- packages/python-glpk/trunk/debian/pyversions (added)
+++ packages/python-glpk/trunk/debian/pyversions Wed Jun 6 01:42:38 2007
@@ -1,0 +1,1 @@
+2.4-
Added: packages/python-glpk/trunk/debian/rules
URL: http://svn.debian.org/wsvn/python-modules/packages/python-glpk/trunk/debian/rules?rev=2503&op=file
==============================================================================
--- packages/python-glpk/trunk/debian/rules (added)
+++ packages/python-glpk/trunk/debian/rules Wed Jun 6 01:42:38 2007
@@ -1,0 +1,63 @@
+#!/usr/bin/make -f
+
+#export DH_VERBOSE=1
+
+PYVERS=$(shell pyversions -vr)
+DEB_DESTDIR=$(CURDIR)/debian/python-glpk
+
+CFLAGS = -Wall -g
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+ CFLAGS += -O0
+else
+ CFLAGS += -O2
+endif
+
+clean:
+ dh_testdir
+ dh_testroot
+ #rm -rf dist build
+ $(MAKE) clean
+ find . -name '*\.pyc' -exec rm '{}' \;
+ rm -f *-stamp build-ext-*
+ dh_clean
+
+glpkpi_wrap.c:
+ swig -python glpkpi.i
+
+build: build-stamp
+build-stamp: $(PYVERS:%=build-ext-%)
+ touch $@
+
+build-ext-%: glpkpi_wrap.c
+ dh_testdir
+ install -d $(DEB_DESTDIR)/usr/lib/python$*/site-packages/
+ $(CC) $(CFLAGS) -c -fPIC glpkpi_wrap.c glpkpi.c -DHAVE_CONFIG_H -I/usr/include/python$* -I/usr/lib/python$*/config
+ $(CC) $(CFLAGS) -shared glpkpi.o glpkpi_wrap.o -lm -lglpk -o $(DEB_DESTDIR)/usr/lib/python$*/site-packages/_glpkpi.so
+ touch $@
+
+install: install-stamp
+install-stamp: build-stamp
+ install -d $(DEB_DESTDIR)/usr/share/python-support/python-glpk
+ install -m 0644 *.py $(DEB_DESTDIR)/usr/share/python-support/python-glpk/
+
+binary-indep:
+
+binary-arch: build install
+ dh_testdir -a
+ dh_testroot -a
+ dh_installchangelogs -a ChangeLog
+ dh_installdocs -a
+ dh_pysupport -a
+ dh_strip -a
+ dh_compress -a -X.py
+ dh_fixperms -a
+ dh_installdeb -a
+ dh_shlibdeps -a
+ dh_gencontrol -a
+ dh_md5sums -a
+ dh_builddeb -a
+
+binary: binary-indep binary-arch
+
+.PHONY: build clean binary-indep binary-arch binary install configure
Propchange: packages/python-glpk/trunk/debian/rules
------------------------------------------------------------------------------
svn:executable = *
Added: packages/python-glpk/trunk/debian/watch
URL: http://svn.debian.org/wsvn/python-modules/packages/python-glpk/trunk/debian/watch?rev=2503&op=file
==============================================================================
--- packages/python-glpk/trunk/debian/watch (added)
+++ packages/python-glpk/trunk/debian/watch Wed Jun 6 01:42:38 2007
@@ -1,0 +1,2 @@
+version=3
+http://www.ncc.up.pt/~jpp/code/python-glpk python-glpk-(.*)\.tgz
More information about the Python-modules-commits
mailing list