From d169733adf39a7d5922c6ea93453c24b0de41788 Mon Sep 17 00:00:00 2001 From: steffen123 Date: Thu, 22 Jul 2010 02:23:07 +0200 Subject: [PATCH 1/2] GUI: update version display for -git --- pyfpdb/fpdb.pyw | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyfpdb/fpdb.pyw b/pyfpdb/fpdb.pyw index 8cd8b129..c90bca06 100755 --- a/pyfpdb/fpdb.pyw +++ b/pyfpdb/fpdb.pyw @@ -117,7 +117,7 @@ import Configuration import Exceptions import Stats -VERSION = "0.20 plus git" +VERSION = "0.20.1 plus git" class fpdb: From 85200e8dd5ad1e80236f4bcf0305093f263d2801 Mon Sep 17 00:00:00 2001 From: steffen123 Date: Thu, 22 Jul 2010 03:46:11 +0200 Subject: [PATCH 2/2] PKG/GENTOO: many improvements from ferki, update to 0.20.1 --- packaging/gentoo/fpdb-0.20.1.ebuild | 61 +++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 packaging/gentoo/fpdb-0.20.1.ebuild diff --git a/packaging/gentoo/fpdb-0.20.1.ebuild b/packaging/gentoo/fpdb-0.20.1.ebuild new file mode 100644 index 00000000..a99e1bfe --- /dev/null +++ b/packaging/gentoo/fpdb-0.20.1.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# created by Steffen Schaumburg, steffen@schaumburger.info + +inherit eutils +inherit games + +EAPI="2" +NEED_PYTHON=2.5 + +DESCRIPTION="A free/open source tracker/HUD for use with online poker" +HOMEPAGE="http://fpdb.wiki.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${PV}/${P}.tar.gz" + +LICENSE="AGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +#note: this should work on other architectures too, please send me your experiences + +IUSE="graph mysql postgres sqlite" +RDEPEND=" + mysql? ( virtual/mysql + dev-python/mysql-python ) + postgres? ( dev-db/postgresql-server + dev-python/psycopg ) + sqlite? ( dev-lang/python[sqlite] + dev-python/numpy ) + >=x11-libs/gtk+-2.10 + dev-python/pygtk + graph? ( dev-python/numpy + dev-python/matplotlib[gtk] ) + dev-python/python-xlib" +DEPEND="${RDEPEND}" + +src_install() { + insinto "${GAMES_DATADIR}"/${PN} + doins -r gfx + doins -r pyfpdb + doins readme.txt + + exeinto "${GAMES_DATADIR}"/${PN} + doexe run_fpdb.py + + dodir "${GAMES_BINDIR}" + dosym "${GAMES_DATADIR}"/${PN}/run_fpdb.py "${GAMES_BINDIR}"/${PN} + + newicon gfx/fpdb-icon.png ${PN}.png + make_desktop_entry ${PN} + + prepgamesdirs + fperms +x "${GAMES_DATADIR}"/${PN}/pyfpdb/*.pyw +} + +pkg_postinst() { + games_pkg_postinst + echo + elog "Note that if you really want to use mysql or postgresql you will have to create" + elog "the database and user yourself and enter it into the fpdb config." + elog "You can find the instructions on the project's website." + echo +}