Debian packaging, step #1
* add setup.py for python distutils use * add packaging/debian/* Not ready yet, but at least seems to behave sanely
This commit is contained in:
parent
1eb17e90e1
commit
f84644990b
5
packaging/debian/changelog
Normal file
5
packaging/debian/changelog
Normal file
|
@ -0,0 +1,5 @@
|
|||
free-poker-tools (0.10.99) unstable; urgency=low
|
||||
|
||||
* Initial packaging release.
|
||||
|
||||
-- Mika Bostrom <bostik+fpdb@iki.fi> Thu, 20 Aug 2009 06:30:53 +0300
|
1
packaging/debian/compat
Normal file
1
packaging/debian/compat
Normal file
|
@ -0,0 +1 @@
|
|||
7
|
24
packaging/debian/control
Normal file
24
packaging/debian/control
Normal file
|
@ -0,0 +1,24 @@
|
|||
Source: free-poker-tools
|
||||
Maintainer: Mika Bostrom <bostik+fpdb@bostik.iki.fi>
|
||||
Section: games
|
||||
Priority: optional
|
||||
Build-Depends: python, dpkg-dev, python-support
|
||||
Standards-Version: 3.8.0
|
||||
|
||||
Package: python-fpdb
|
||||
Architecture: any
|
||||
Section: games
|
||||
Priority: optional
|
||||
Depends: ${python:Depends}, python-gtk2, python-matplotlib,
|
||||
python-support, mysql-server | postgresql | python-pysqlite2,
|
||||
python-psycopg2 | python-mysqldb
|
||||
Suggests: wine
|
||||
Description: free poker database with HUD
|
||||
FPDB is a statistics tool for online poker. It supports most sites
|
||||
and several games. Most prominent feature is its heads-up display
|
||||
(HUD) which shows statistical details for players in real time.
|
||||
.
|
||||
Due to the fact that most online poker clients are Windows-only,
|
||||
you may need to install wine.
|
||||
.
|
||||
FPDB is under heavy development.
|
7
packaging/debian/copyright
Normal file
7
packaging/debian/copyright
Normal file
|
@ -0,0 +1,7 @@
|
|||
This package was debianised by Mika Bostrom <bostik+fpdb@bostik.iki.fi>
|
||||
|
||||
Upstream authors: ...
|
||||
|
||||
License: AGPL
|
||||
|
||||
Copyright (C) 2008- The FPDB developers
|
1
packaging/debian/links
Normal file
1
packaging/debian/links
Normal file
|
@ -0,0 +1 @@
|
|||
/usr/share/pyshared/fpdb/fpdb.py /usr/bin/fpdb
|
1
packaging/debian/pyversions
Normal file
1
packaging/debian/pyversions
Normal file
|
@ -0,0 +1 @@
|
|||
2.4-
|
45
packaging/debian/rules
Executable file
45
packaging/debian/rules
Executable file
|
@ -0,0 +1,45 @@
|
|||
#!/usr/bin/make -f
|
||||
# -*- makefile -*-
|
||||
|
||||
PACKAGE := python-fpdb
|
||||
|
||||
build: build-stamp
|
||||
build-stamp:
|
||||
dh_testdir
|
||||
python setup.py build
|
||||
touch $@
|
||||
|
||||
clean:
|
||||
dh_testdir
|
||||
dh_testroot
|
||||
python setup.py clean
|
||||
rm -rf build
|
||||
dh_clean build-stamp
|
||||
|
||||
install: build
|
||||
dh_testdir
|
||||
dh_testroot
|
||||
dh_prep || dh_clean -k
|
||||
dh_installdirs
|
||||
#
|
||||
python setup.py install --root=debian/$(PACKAGE) --prefix=/usr --no-compile
|
||||
|
||||
binary-indep: build install
|
||||
dh_testdir
|
||||
dh_testroot
|
||||
dh_installchangelogs
|
||||
dh_installdocs
|
||||
dh_link
|
||||
dh_compress
|
||||
dh_fixperms
|
||||
dh_pysupport
|
||||
dh_installdeb
|
||||
dh_gencontrol
|
||||
dh_md5sums
|
||||
dh_builddeb
|
||||
|
||||
binary-arch: build install
|
||||
|
||||
binary: binary-indep binary-arch
|
||||
.PHONY: build clean binary-indep binary-arch binary install
|
||||
|
17
setup.py
Normal file
17
setup.py
Normal file
|
@ -0,0 +1,17 @@
|
|||
# setup.py
|
||||
# Python packaging for fpdb
|
||||
|
||||
from distutils.core import setup
|
||||
|
||||
setup(name = 'fpdb',
|
||||
description = 'Free Poker Database',
|
||||
version = '0.10.999',
|
||||
author = 'FPDB team',
|
||||
author_email = 'fpdb-main@lists.sourceforge.net',
|
||||
packages = ['fpdb'],
|
||||
package_dir = { 'fpdb' : 'pyfpdb' },
|
||||
data_files = [
|
||||
('/usr/share/doc/python-fpdb',
|
||||
['docs/readme.txt', 'docs/release-notes.txt',
|
||||
'docs/tabledesign.html', 'THANKS.txt'])]
|
||||
)
|
Loading…
Reference in New Issue
Block a user