Skip to content

Commit 8b0db7b

Browse files
author
Philippe Normand
committed
Debian package is finally done. To build it:
svn export svn://colorstudy.com/trunk/SQLObject cd SQLObject fakeroot debian/rules binary To build the source, use debbuild: debuild -rfakeroot -d -us -uc git-svn-id: http://svn.colorstudy.com/trunk/SQLObject@155 95a46c32-92d2-0310-94a5-8d71aeb3d4b3
1 parent 964cb84 commit 8b0db7b

6 files changed

Lines changed: 114 additions & 0 deletions

File tree

debian/changelog

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
sqlobject (0.6-1) unstable; urgency=low
2+
3+
* Debian package will be part of the Colorstudy SVN repository
4+
* Added Build-dependencies : python-{mysqldb,sqlite,psycopg,kinterbasdb,maxdb}
5+
* Fixed copyright to suit new SQLOBject license
6+
7+
-- Philippe Normand (phil) <sweafty@free.fr> Tue, 8 Jun 2004 20:39:16 +0200
8+
9+
sqlobject (0.5.2-1) unstable; urgency=low
10+
11+
* Update to 0.5.2.
12+
13+
-- Keisuke URAGO <bravo@resourcez.org> Sat, 5 Jun 2004 02:32:43 +0900
14+
15+
sqlobject (0.3-1) unstable; urgency=low
16+
17+
* New upstream version.
18+
19+
-- Keisuke URAGO <bravo@resourcez.org> Fri, 09 May 2003 17:06:23 +0900

debian/control

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
Source: sqlobject
2+
Section: python
3+
Priority: optional
4+
Maintainer: Philippe Normand (phil) <sweafty@free.fr>
5+
Build-Depends: debhelper (>= 4.0.0), python-dev (>= 2.3)
6+
Standards-Version: 3.6.1
7+
8+
Package: python-sqlobject
9+
#Section: python
10+
Architecture: any
11+
Depends: ${python:Depends}
12+
Recommends: python-mysqldb (>= 0.9.2-0.4), python-sqlite (>= 0.4.3-2), python-psycopg (>= 1.1.13-1), python-kinterbasdb (>= 3.0.1-3.1), python-maxdb (>= 7.5.00.12-1)
13+
Description: An object-relational mapper for Python
14+
It allows you to translate RDBMS table rows into Python objects,
15+
and manipulate those objects to transparently manipulate the
16+
database.
17+
.
18+
Homepage: http://sqlobject.org
19+

debian/copyright

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
This package was debianized by Keisuke URAGO <bravo@resourcez.org> on
2+
Fri, 09 May 2003 17:06:23 +0900
3+
4+
It was downloaded from http://sourceforge.net/projects/sqlobject
5+
6+
Upstream Author: Ian Bicking <ianb@colorstudy.com>
7+
8+
Copyright: PSF
9+
10+
The Python Software Foundation License can be downloaded from
11+
http://www.opensource.org/licenses/PythonSoftFoundation.php

debian/docs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
README.txt
2+
docs/

debian/examples

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
examples/*
2+
tests/

debian/rules

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
#!/usr/bin/make -f
2+
# Sample debian/rules that uses debhelper.
3+
# GNU copyright 1997 to 1999 by Joey Hess.
4+
5+
# Uncomment this to turn on verbose mode.
6+
#export DH_VERBOSE=1
7+
8+
9+
PYTHON=python
10+
11+
configure: configure-stamp
12+
configure-stamp:
13+
dh_testdir
14+
#$(PYTHON) config_unix.py --prefix /usr
15+
#$(PYTHON) setup.py config
16+
touch configure-stamp
17+
18+
build: build-stamp
19+
build-stamp: configure-stamp
20+
dh_testdir
21+
$(PYTHON) setup.py build
22+
touch build-stamp
23+
24+
clean:
25+
dh_testdir
26+
dh_testroot
27+
rm -f build-stamp configure-stamp
28+
-$(PYTHON) setup.py clean --all
29+
dh_clean
30+
31+
install: build
32+
dh_testdir
33+
dh_testroot
34+
dh_clean -k
35+
dh_installdirs
36+
$(PYTHON) setup.py install --prefix $(CURDIR)/debian/python-sqlobject/usr
37+
38+
# Build architecture-independent files here.
39+
binary-indep: build install
40+
# We have nothing to do by default.
41+
42+
# Build architecture-dependent files here.
43+
binary-arch: build install
44+
dh_testdir
45+
dh_testroot
46+
dh_installdocs -X.svn
47+
dh_installexamples -X.svn
48+
dh_installchangelogs
49+
dh_link
50+
dh_strip
51+
dh_compress
52+
dh_fixperms
53+
dh_makeshlibs -V
54+
dh_python
55+
dh_installdeb
56+
dh_gencontrol
57+
dh_md5sums
58+
dh_builddeb -X.svn
59+
60+
binary: binary-indep binary-arch
61+
.PHONY: build clean binary-indep binary-arch binary install configure

0 commit comments

Comments
 (0)