diff --git a/packaging/debian/changelog b/packaging/debian/changelog index e95fd1c5..0616ad0e 100644 --- a/packaging/debian/changelog +++ b/packaging/debian/changelog @@ -1,3 +1,34 @@ +free-poker-tools (0.20.902-1) unstable; urgency=low + + * New snapshot release; .901 was broken for FTP + + -- Mika Bostrom Sat, 24 Jul 2010 09:05:57 +0300 + +free-poker-tools (0.20.901-1) unstable; urgency=low + + * Snapshot release before oncoming 0.21 + + -- Mika Bostrom Thu, 22 Jul 2010 23:32:47 +0300 + +free-poker-tools (0.20.1-1) unstable; urgency=low + + * 0.20.1 release + + -- Mika Bostrom Thu, 22 Jul 2010 08:47:39 +0300 + +free-poker-tools (0.20-2) unstable; urgency=low + + * Fix executable script shebangs: there is no /usr/bin/python2 (nor + /usr/bin/python3) symlink on Debian or Ubuntu + + -- Mika Bostrom Thu, 08 Jul 2010 21:29:40 +0300 + +free-poker-tools (0.20-1) unstable; urgency=low + + * 0.20 release + + -- Mika Bostrom Thu, 08 Jul 2010 11:25:36 +0300 + free-poker-tools (0.20~git20100630) unstable; urgency=low * Snapshot release diff --git a/packaging/gentoo/fpdb-0.20.1.ebuild b/packaging/gentoo/current_stable_and_testing.ebuild similarity index 84% rename from packaging/gentoo/fpdb-0.20.1.ebuild rename to packaging/gentoo/current_stable_and_testing.ebuild index a99e1bfe..7a27feb0 100644 --- a/packaging/gentoo/fpdb-0.20.1.ebuild +++ b/packaging/gentoo/current_stable_and_testing.ebuild @@ -10,7 +10,7 @@ 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" +SRC_URI="mirror://sourceforge/${PN}/${PV}/${P}.tar.bz2" LICENSE="AGPL-3" SLOT="0" @@ -29,7 +29,8 @@ RDEPEND=" dev-python/pygtk graph? ( dev-python/numpy dev-python/matplotlib[gtk] ) - dev-python/python-xlib" + dev-python/python-xlib + dev-python/pytz" DEPEND="${RDEPEND}" src_install() { @@ -53,9 +54,7 @@ src_install() { 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 "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 } diff --git a/packaging/gentoo/fpdb-0.20-r1.ebuild b/packaging/gentoo/fpdb-0.20-r1.ebuild deleted file mode 100644 index 988a90b1..00000000 --- a/packaging/gentoo/fpdb-0.20-r1.ebuild +++ /dev/null @@ -1,57 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# created by Steffen Schaumburg, steffen@schaumburger.info - -EAPI="2" -NEED_PYTHON=2.5 - -#inherit distutils - -DESCRIPTION="A database program to track your online poker games" -HOMEPAGE="http://fpdb.sourceforge.net/" -#SRC_URI="mirror://sourceforge/fpdb/${MY_P}.tar.bz2" - -LICENSE="AGPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86" -#note: this should work on other architectures too, please send me your experiences - -IUSE="graphing 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 - graphing? ( dev-python/numpy - dev-python/matplotlib[gtk] ) - dev-python/python-xlib" -DEPEND="${RDEPEND}" - -#src_install() { -# DIRINST="${D}usr/share/games/fpdb/" -# mkdir -p "${DIRINST}" -# cp -R * "${DIRINST}" || die -# -# DIRBIN="${D}usr/games/bin/" -# mkdir -p "${DIRBIN}" -# #echo "pathes" -# #echo "${DIRINST}pyfpdb/fpdb.py" -# #echo "${DIRBIN}fpdb.py" -# #echo -# echo "cd /usr/share/games/fpdb/pyfpdb/ && python fpdb.py" > "${DIRBIN}fpdb" || die -# chmod 755 "${DIRBIN}fpdb" || die -#} - -#src_test() { -#} - -pkg_postinst() { - elog "Fpdb's dependencies have been installed. Please visit fpdb.sourceforge.net" - elog "and download and unpack the archive.You can then start fpdb by running run_fpdb.py." - 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." -} diff --git a/packaging/gentoo/fpdb-0.20-r2.ebuild b/packaging/gentoo/fpdb-0.20-r2.ebuild deleted file mode 100644 index 2e04719e..00000000 --- a/packaging/gentoo/fpdb-0.20-r2.ebuild +++ /dev/null @@ -1,59 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# created by Steffen Schaumburg, steffen@schaumburger.info - -EAPI="2" -NEED_PYTHON=2.5 - -DESCRIPTION="Fpdb is 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="graphing 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 - graphing? ( dev-python/numpy - dev-python/matplotlib[gtk] ) - dev-python/python-xlib" -DEPEND="${RDEPEND}" - -src_install() { - dodir /usr/share/games/fpdb - - exeinto /usr/share/games/fpdb - doexe run_fpdb.py - dosym /usr/share/games/fpdb/run_fpdb.py /usr/bin/fpdb - - insinto /usr/share/games/fpdb - doins readme.txt - - insinto /usr/share/games/fpdb/files - doins files/* - - insinto /usr/share/games/fpdb/gfx - doins gfx/* - - insinto /usr/share/games/fpdb/pyfpdb - doins pyfpdb/* - -# pyfpdb/regression-test-files dir is missing for now; cp -r ?? - -} - -pkg_postinst() { - 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." -} diff --git a/packaging/gentoo/readme.txt b/packaging/gentoo/readme.txt new file mode 100644 index 00000000..66d3b452 --- /dev/null +++ b/packaging/gentoo/readme.txt @@ -0,0 +1,2 @@ +To use the ebuild please simply copy it into your local portage tree and rename it to fpdb-version.ebuild, for example fpdb-0.20.1.ebuild or fpdb-0.20.902.ebuild. +Here's a little howto on how to utilise 3rd party ebuilds such as this one: http://www.gentoo-wiki.info/HOWTO_Installing_3rd_Party_Ebuilds diff --git a/pyfpdb/AbsoluteToFpdb.py b/pyfpdb/AbsoluteToFpdb.py index 26aea7e8..31e21764 100755 --- a/pyfpdb/AbsoluteToFpdb.py +++ b/pyfpdb/AbsoluteToFpdb.py @@ -42,10 +42,10 @@ class Absolute(HandHistoryConverter): #Seat 6 - FETS63 ($0.75 in chips) #Board [10s 5d Kh Qh 8c] - re_GameInfo = re.compile(ur"^Stage #([0-9]+): (?PHoldem|HORSE)(?: \(1 on 1\)|)? ?(?PNo Limit|Pot Limit|Normal|)? ?(?P\$| €|)(?P[.0-9]+)/?(?:\$| €|)(?P[.0-9]+)?", re.MULTILINE) + re_GameInfo = re.compile(ur"^Stage #(C?[0-9]+): (?PHoldem|HORSE)(?: \(1 on 1\)|)? ?(?PNo Limit|Pot Limit|Normal|)? ?(?P\$| €|)(?P[.0-9]+)/?(?:\$| €|)(?P[.0-9]+)?", re.MULTILINE) re_HorseGameInfo = re.compile(ur"^Game Type: (?PLimit) (?PHoldem)", re.MULTILINE) # TODO: can set max seats via (1 on 1) to a known 2 .. - re_HandInfo = re.compile(ur"^Stage #(?P[0-9]+): .*(?P\d\d\d\d-\d\d-\d\d \d\d:\d\d:\d\d).*\n(Table: (?P.*) \(Real Money\))?", re.MULTILINE) + re_HandInfo = re.compile(ur"^Stage #C?(?P[0-9]+): .*(?P\d\d\d\d-\d\d-\d\d \d\d:\d\d:\d\d).*\n(Table: (?P
.*) \(Real Money\))?", re.MULTILINE) re_TableFromFilename = re.compile(ur".*IHH([0-9]+) (?P
.*) -") # on HORSE STUD games, the table name isn't in the hand info! re_Button = re.compile(ur"Seat #(?P