Skip to content

Commit 99151a4

Browse files
committed
initial commit, original version from pxlib
0 parents  commit 99151a4

File tree

10 files changed

+697
-0
lines changed

10 files changed

+697
-0
lines changed

Makefile

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# -*- Makefile -*-
2+
# :Project: pxpy -- Makefile
3+
# :Source: $Source: /cvsroot/pxlib/bindings/python/Makefile,v $
4+
# :Created: Sun, Apr 04 2004 00:13:57 CEST
5+
# :Author: Lele Gaifax <[email protected]>
6+
# :Revision: $Revision: 1.2 $ by $Author: lele $
7+
# :Date: $Date: 2004/07/19 14:38:04 $
8+
#
9+
10+
all:
11+
python Setup.py build_ext --inplace
12+
13+
clean:
14+
rm -f *.c *.o *.so *~ core
15+
rm -rf build

Setup.py

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# -*- Python -*- -*- coding: iso-8859-1 -*-
2+
# :Project: pxpy -- Module setup
3+
# :Source: $Source: /cvsroot/pxlib/bindings/python/Setup.py,v $
4+
# :Created: Sun, Apr 04 2004 00:14:12 CEST
5+
# :Author: Lele Gaifax <[email protected]>
6+
# :Revision: $Revision: 1.3 $ by $Author: lele $
7+
# :Date: $Date: 2004/07/19 23:04:35 $
8+
#
9+
10+
from distutils.core import setup
11+
from distutils.extension import Extension
12+
from Pyrex.Distutils import build_ext
13+
14+
setup(
15+
name = 'python-pxlib',
16+
description = "Python wrapper around pxlib",
17+
version = '0.0.1',
18+
author = "Lele Gaifax",
19+
author_email = "[email protected]",
20+
url = "http://pxlib.sourceforge.net/",
21+
22+
ext_modules=[
23+
Extension("pxpy", ["pxpy.pyx"],
24+
# Uncomment, to use current version
25+
#include_dirs=["../../pxlib/include/"],
26+
#library_dirs=["../../pxlib/src/.libs"],
27+
libraries=["px"]),
28+
],
29+
cmdclass = {'build_ext': build_ext}
30+
)

debian/changelog

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
python-pxlib (0.0.1-1) unstable; urgency=low
2+
3+
* Initial Release.
4+
5+
-- Uwe Steinmann <[email protected]> Thu, 12 Aug 2004 11:11:53 +0200
6+

debian/compat

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
4

debian/control

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
Source: python-pxlib
2+
Section: python
3+
Priority: optional
4+
Maintainer: Uwe Steinmann <[email protected]>
5+
Build-Depends: debhelper (>> 4.0.0), po-debconf, pxlib-dev, python-dev (>= 2.3)
6+
Standards-Version: 3.6.1
7+
8+
Package: python-pxlib
9+
Architecture: any
10+
Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}
11+
Description: An extension to read and write Paradox databases
12+
This is the Python wrapper around the lower level pxlib, a library
13+
for reading and writing Paradox database files.

debian/copyright

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
This package was debianized by Uwe Steinmann <[email protected]> on
2+
Thu, 12 Aug 2004 11:56:42 +0200.
3+
4+
It was downloaded from http://pxlib.sourceforge.net
5+
6+
Upstream Authors: Lele Gaifax <[email protected]>
7+
8+
Copyright: GPL
9+
10+
On Debian GNU/Linux systems, the complete text of the GNU General
11+
Public License can be found in `/usr/share/common-licenses/GPL'.
12+

debian/files

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
python-pxlib_0.0.1-1_i386.deb python optional

debian/rules

+85
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
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+
PYTHON=/usr/bin/python
9+
PYTHONVERION=`$(PYTHON) -V 2>&1|cut -d ' ' -f 2|cut -d. -f1-2`
10+
11+
configure: configure-stamp
12+
configure-stamp:
13+
dh_testdir
14+
# Add here commands to configure the package.
15+
touch configure-stamp
16+
17+
build: build-stamp
18+
19+
build-stamp: configure-stamp
20+
dh_testdir
21+
22+
# Add here commands to compile the package.
23+
$(PYTHON) Setup.py build
24+
touch build-stamp
25+
26+
clean:
27+
dh_testdir
28+
dh_testroot
29+
rm -f build-stamp configure-stamp
30+
31+
# Add here commands to clean up after the build process.
32+
$(PYTHON) Setup.py clean
33+
rm -rf build
34+
rm -rf dist
35+
rm -f MANIFEST
36+
37+
dh_clean
38+
39+
install: build
40+
dh_testdir
41+
dh_testroot
42+
dh_clean -k
43+
dh_installdirs
44+
45+
# Add here commands to install the package into debian/$PACKAGE_NAME.
46+
mkdir -p $(CURDIR)/debian/python-pxlib/usr/lib/python$(PYTHONVERION)/site-packages/
47+
cp build/lib.*/* $(CURDIR)/debian/python-pxlib/usr/lib/python$(PYTHONVERION)/site-packages/
48+
49+
# Build architecture-independent files here.
50+
binary-indep: build install
51+
# We have nothing to do by default.
52+
53+
# Build architecture-dependent files here.
54+
binary-arch: build install
55+
dh_testdir
56+
dh_testroot
57+
dh_installchangelogs
58+
dh_installdocs
59+
dh_installexamples
60+
# dh_install --sourcedir=debian/$(PACKAGE_NAME)
61+
# dh_installmenu
62+
dh_installdebconf
63+
# dh_installlogrotate
64+
# dh_installemacsen
65+
# dh_installpam
66+
# dh_installmime
67+
# dh_installinit
68+
# dh_installcron
69+
# dh_installinfo
70+
# dh_installman
71+
# dh_link
72+
dh_strip
73+
dh_compress
74+
# dh_fixperms
75+
# dh_perl
76+
dh_python
77+
# dh_makeshlibs
78+
dh_installdeb
79+
dh_shlibdeps
80+
dh_gencontrol
81+
dh_md5sums
82+
dh_builddeb
83+
84+
binary: binary-indep binary-arch
85+
.PHONY: build clean binary-indep binary-arch binary install configure

0 commit comments

Comments
 (0)