debian/0000755000000000000000000000000011407742330007167 5ustar debian/copyright0000644000000000000000000000321711374564676011147 0ustar This work was packaged for Debian by: Severin Heiniger on Sat, 15 May 2010 12:16:25 +0200 It was downloaded from: http://www.openstv.org/ Upstream Authors: Jeff O'Neill Jonathan Lundell Brian Wichmann Copyright: OpenSTV Copyright (C) 2003-2010 Jeffrey O'Neill License: This package is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation. This package is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this package; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA On Debian systems, the complete text of the GNU General Public License version 2 can be found in `/usr/share/common-licenses/GPL-2'. debian/icons/*: debian/openstv.xpm: These files were generated by Severin Heiniger based on openstv/Icons/pie.ico without any further modifications and are thus distributed under the same license as the application. The Debian packaging is: Copyright (C) 2010 Severin Heiniger you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. debian/icons/0000755000000000000000000000000011374040214010275 5ustar debian/icons/22x22/0000755000000000000000000000000011374040214011054 5ustar debian/icons/22x22/apps/0000755000000000000000000000000011374040214012017 5ustar debian/icons/22x22/apps/openstv.png0000644000000000000000000000173411374040214014230 0ustar PNG  IHDRĴl;sRGBbKGD pHYs  tIME4;\IDAT8ˍMh\UL2fT 4\@IEY&6D7n$F$0J%$)h5 PKnј>s{w3hcF.Ih!`#k_df Q_?A,(@ookIˡ)$4r?x0Mr4\Z**PϣTkQeG:>֑J̰p`;a8i.ˉBA|m\"Khx!P"+8U>&SSBrN~N]IKڊ3ppJJ'U@x0qyA/7kq6G%Ps3B@*D;:KzJxRuzX#_b<!N`|)H0=JpJWF»@M8Wj"p߾BR߸~ t:(ʊ[AֈY& "ůQ4%3>yJٕ'oJU[[U`A@ԥ3ijt"׸qODLiЁXeᨺxp"fn$0#l` ?D:M&'F][o/SrM$Fz$lo8ܽki߰Coq;m8LE$HnqDQb#6/iRIENDB`debian/icons/48x48/0000755000000000000000000000000011374040214011074 5ustar debian/icons/48x48/apps/0000755000000000000000000000000011374040214012037 5ustar debian/icons/48x48/apps/openstv.png0000644000000000000000000000326611374040214014252 0ustar PNG  IHDR00WsRGBbKGD pHYs  tIME17NO6IDAThŚ]lTE%&-PRjBl4hO>*$@c4hB6<>;$TB"D@Smʃ6F҂J"Y-fwwn-3{=993s*W6u>y`4}Ͻ4QM3sacf"4ىlo !;ѵy%  1@PFDZ,fH DLKDAB 3*RB=HYX@kAvXh Z@G^iOʌyVJ 0d? Dٍ.3 :N!e붛A\k(Mt꺱atUߏr{+rq3_\ZjkaPjeBV`YS*CPU%_/XqY*d$`SshcE~&@1޺Ϗ0xښ^1q :>.xB `t6ԏf A J>!Ia(NP(6KZDȷ=F-ֈexbJF<SД E@hoO7+[NKLI4p:ۮ2 HS Q mկ@a@S_/,,;iy cs&SA֙xB($G%v^򞤬H4xsy`pBl.dF=S>x) É>Dr)@ [*{i;6&44Ft:ޥ[a>x ]z@:ݟL6lX6^@yOa ՗)3XQScmR(]度E (FPTLBlݫ)Ng}ZZ`xթ|~Sm9[_!c`f]9te:3B99~EEp ݻbS(̓!Ŀ1&A!pt|-qx"gܶF2/em,ֈ :JQG /WB/m0һNQ芣 %!LZYtț̱c 4 VBPAEt.TQtD91!,a S ᘣox; sV$W;`6qG+x"?pv+7z"WgW9 5ҋ2tRtpVj>@O?@bs b$fN;Nvtbx qϤR®]B$RqrkEVRp-3R<0 }}Vbd0&-׆7kRpbH$*Fyxj7!Q?4^]&tYI8u*bD E~A?orx# ެ^)? 6biIؐmM /w/l|fF r9B^]uJry@)W{_jMDSdTyk#YXebv^~E㭳~mssz"%"D흨M6 a r33!"HuDAd]YTcZv`px -U#'( :7/9ZE! lc-'ݣT ]f?ɕq'=<=NA?'x c( Vr-ʋ^#4a׋"]y-lJ;^ igU>F1HC;*"M jJvI4@V|hD>/<7?Ee\bvr:., Bm{IENDB`debian/icons/32x32/0000755000000000000000000000000011374040214011056 5ustar debian/icons/32x32/apps/0000755000000000000000000000000011374040214012021 5ustar debian/icons/32x32/apps/openstv.png0000644000000000000000000000171711374040214014233 0ustar PNG  IHDR szzsRGBbKGD pHYs  tIME3(OIDATXõOhEϮXVJMBf!APDJTHA 5䮠BOB{I SOl"fþlnM sxgy&'p/?XyLD E( Q {w"/{ ˈaQ*jUj"BQ"Q%J6r#`TDE{3@sO 1瞬ěxR@o3(;μo=,h؆S$NT{N 1ۂ.33!ItGvO 0)Pxl` ll]>!#eߑo@T `WF~k)N51<\96;:P~i>^ D3퓭\8"Tvӵhdᷭex>U(Z=@ @&\y[@􈞬vT:J for the Debian system (but may be used by others). Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 or any later version published by the Free Software Foundation. On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL. debian/openstv.xpm0000644000000000000000000000744711374040214011422 0ustar /* XPM */ static char * openstv_xpm[] = { "32 32 103 2", " c None", ". c #000000", "+ c #0C0C00", "@ c #2C2C00", "# c #0E0E00", "$ c #0E0000", "% c #2C0000", "& c #0C0000", "* c #303000", "= c #8E8E00", "- c #D6D600", "; c #FDFD00", "> c #FFFF00", ", c #3F3F00", "' c #3F0000", ") c #FF0000", "! c #FD0000", "~ c #D60000", "{ c #8E0000", "] c #300000", "^ c #2B2B00", "/ c #B7B700", "( c #FEFE00", "_ c #FE0000", ": c #B70000", "< c #2B0000", "[ c #727200", "} c #F8F800", "| c #F80000", "1 c #720000", "2 c #424200", "3 c #430000", "4 c #004343", "5 c #6E6E00", "6 c #700000", "7 c #004100", "8 c #007272", "9 c #00FEFE", "0 c #007070", "a c #006E00", "b c #00FE00", "c c #006D00", "d c #002B2B", "e c #00F8F8", "f c #00FFFF", "g c #00FF00", "h c #00F600", "i c #002400", "j c #00B7B7", "k c #00AC00", "l c #003030", "m c #00FD00", "n c #002500", "o c #008E8E", "p c #008300", "q c #00D6D6", "r c #00CD00", "s c #000C0C", "t c #00FDFD", "u c #00FB00", "v c #000800", "w c #002C2C", "x c #040400", "y c #040000", "z c #002900", "A c #003C3C", "B c #003B00", "C c #003B3B", "D c #003333", "E c #007000", "F c #002A2A", "G c #003F3F", "H c #040200", "I c #000909", "J c #00FCFC", "K c #3F2800", "L c #6E4700", "M c #00CECE", "N c #3F2900", "O c #FEA300", "P c #008484", "Q c #FFA400", "R c #002525", "S c #00ACAC", "T c #002424", "U c #00F6F6", "V c #006C6C", "W c #009A9A", "X c #004200", "Y c #000202", "Z c #422A00", "` c #F8A000", " . c #724900", ".. c #B77600", "+. c #2B1B00", "@. c #FDA300", "#. c #D68A00", "$. c #8E5B00", "%. c #301E00", "&. c #000E0E", "*. c #0E0900", "=. c #2C1C00", "-. c #0C0800", " . . . . . . ", " . . . + @ # $ % & . . . ", " . . * = - ; > , ' ) ! ~ { ] . . ", " . . ^ / ( > > > > , ' ) ) ) ) _ : < . . ", " . . [ } > > > > > > , ' ) ) ) ) ) ) | 1 . . ", " . . 2 ( > > > > > > > , ' ) ) ) ) ) ) ) _ 3 . . ", " . . 4 . 5 ( > > > > > > , ' ) ) ) ) ) ) _ 6 . 7 . . ", " . 8 9 0 . 5 ( > > > > > , ' ) ) ) ) ) _ 6 . a b c . ", " . d e f 9 0 . 5 ( > > > > , ' ) ) ) ) _ 6 . a b g h i . ", " . j f f f 9 0 . 5 ( > > > , ' ) ) ) _ 6 . a b g g g k . ", " . l 9 f f f f 9 0 . 5 ( > > , ' ) ) _ 6 . a b g g g g m n . ", " . o f f f f f f 9 0 . 5 ( > , ' ) _ 6 . a b g g g g g g p . ", " . q f f f f f f f 9 0 . 5 ( , ' _ 6 . a b g g g g g g g r . ", ". s t f f f f f f f f 9 0 . 5 , ' 6 . a b g g g g g g g g u v . ", ". w f f f f f f f f f f 9 0 . x y . a b g g g g g g g g g g z . ", ". A f f f f f f f f f f f 9 0 . . a b g g g g g g g g g g g B . ", ". C f f f f f f f f f f f f 9 D . E b g g g g g g g g g g g B . ", ". F f f f f f f f f f f f f f G H . E b g g g g g g g g g g z . ", ". I J f f f f f f f f f f f f G K L . E b g g g g g g g g u v . ", " . M f f f f f f f f f f f f G N O L . E b g g g g g g g r . ", " . P f f f f f f f f f f f f G N Q O L . E b g g g g g g p . ", " . R t f f f f f f f f f f f G N Q Q O L . E b g g g g m n . ", " . S f f f f f f f f f f f G N Q Q Q O L . E b g g g k . ", " . T U f f f f f f f f f f G N Q Q Q Q O L . E b g h i . ", " . V f f f f f f f f f f G N Q Q Q Q Q O L . E b c . ", " . . W f f f f f f f f f G N Q Q Q Q Q Q O L . X . . ", " . Y W f f f f f f f f G N Q Q Q Q Q Q Q O Z . . ", " . . V U f f f f f f G N Q Q Q Q Q Q ` .. . ", " . . T S t f f f f G N Q Q Q Q O ..+.. . ", " . . R P M J f G N Q @.#.$.%.. . ", " . . . I F &.*.=.-.. . . ", " . . . . . . "}; debian/control0000644000000000000000000000300511374312257010574 0ustar Source: openstv Section: misc Priority: optional Maintainer: Severin Heiniger Uploaders: Python Applications Packaging Team Build-Depends: quilt (>= 0.46-7~), debhelper (>= 7.0.50~), python-support, python Standards-Version: 3.8.4 Vcs-Svn: svn://svn.debian.org/python-apps/packages/openstv/trunk/ Vcs-Browser: http://svn.debian.org/viewsvn/python-apps/packages/openstv/trunk Homepage: http://www.openstv.org/ XS-Python-Version: >= 2.5 Package: openstv Architecture: all Depends: ${python:Depends}, ${misc:Depends}, python-wxgtk2.8 Suggests: python-profiler Description: single transferable vote and instant runoff voting software OpenSTV is an open-source software for implementing the single transferable vote and other voting methods such as instant runoff voting, Condorcet voting, and approval voting. OpenSTV is the only open-source software that implements the single transferable vote exactly as used by governments, including Scotland and the City of Cambridge, Massachusetts. These methods have been extensively verified against other software and/or actual election results. . Organizations can use OpenSTV to implement their own elections. First, the organization must adopt a voting method. Second, the organization must conduct the vote, and this will most likely be done with paper ballots. Third, the ballots must be entered into the OpenSTV program. Finally, you can use OpenSTV to count the votes and determine the winners of the election. debian/openstv.menu0000644000000000000000000000025411374040214011547 0ustar ?package(openstv): \ needs="X11" \ section="Applications/Office" \ title="OpenSTV" \ command="/usr/bin/openstv" \ icon="/usr/share/pixmaps/openstv.xpm" debian/manpages0000644000000000000000000000005711374040214010702 0ustar debian/openstv.1 debian/openstv-run-election.1 debian/patches/0000755000000000000000000000000011407713356010624 5ustar debian/patches/setup-package-data.patch0000644000000000000000000000045711407713356015313 0ustar Install icons, splash screen as well as HTML files used by the application. --- a/setup.py +++ b/setup.py @@ -249,4 +249,5 @@ url = url, license = license, packages = packages, + package_data = {'openstv': ['Icons/*.ico', 'Icons/*.png', '*.html']} ) debian/patches/series0000644000000000000000000000003111407713356012033 0ustar setup-package-data.patch debian/docs0000644000000000000000000000001311374312257010040 0ustar README.txt debian/rules0000755000000000000000000000025111407713356010253 0ustar #!/usr/bin/make -f %: dh $@ override_dh_auto_clean: dh_auto_clean rm -f MANIFEST.in override_dh_auto_install: dh_auto_install -- --install-lib=/usr/share/openstv debian/openstv.install0000644000000000000000000000022311374564676012274 0ustar debian/bin/* /usr/bin debian/icons/* /usr/share/icons/hicolor debian/openstv.xpm /usr/share/pixmaps debian/openstv.desktop /usr/share/applications debian/changelog0000644000000000000000000000105411407713356011047 0ustar openstv (1.6.1-1) unstable; urgency=low * New upstream release. * debian/rules: + Remove MANIFEST.in created by setup.py in override_dh_auto_clean. * debian/patches: + Drop drop-setuptools.patch as it has been partially applied upstream. + Move remaining changes to setup-package-data.patch. -- Severin Heiniger Mon, 21 Jun 2010 08:58:14 +0200 openstv (1.6-1) unstable; urgency=low * Initial release (Closes: #405759) -- Severin Heiniger Sat, 15 May 2010 12:16:25 +0200 debian/bin/0000755000000000000000000000000011374564675007760 5ustar debian/bin/openstv0000644000000000000000000000020211374564675011373 0ustar #!/usr/bin/python import sys sys.path.append("/usr/share/openstv"); from openstv.OpenSTV import App app = App(0) app.MainLoop() debian/bin/openstv-run-election0000644000000000000000000000014111374564675013777 0ustar #!/usr/bin/python import sys sys.path.append('/usr/share/openstv'); import openstv.runElection debian/openstv-run-election.10000644000000000000000000000327111374040214013347 0ustar .TH OPENSTV-RUN-ELECTION 1 "May 2010" "1.6" .SH NAME OpenSTV - Single Transferable Vote and Instant Runoff Voting Software .SH SYNOPSIS .B openstv-run-election [\fIOPTION\fP] \fIMETHOD\fP \fIBALLOT_FILE\fP .SH DESCRIPTION Runs an election for a given \fIMETHOD\fP and \fIBALLOT_FILE\fP. Results are printed to the standard output. The following methods are available: Approval Borda Bucklin CambridgeSTV Condorcet Coombs ERS97STV FTSTV GPCA2000STV IRV MeekNZSTV MeekQXSTV MeekSTV MinneapolisSTV NIrelandSTV QPQ RTSTV SNTV ScottishSTV SuppVote WarrenQXSTV WarrenSTV .SH OPTIONS .TP \fB-p\fP \fIPREC\fP Override default precision (in digits). .TP \fB-r\fP \fIFORMAT\fP Report format: CsvReport, HtmlReport, MinimalReport, TextReport or YamlReport .TP \fB-t\fP \fITIEBREAK\fP Strong tie-break method: random (default), alpha or index .TP \fB-w\fP \fIWEAKTIE\fP Weak tie-break method: method-default (default), strong, forward or backward .TP \fB-s\fP \fISEATS\fP Number of seats (for text-format ballot files). .TP \fB-P\fP Profile and send output to profile.out .TP \fB-x\fP \fINUM\fP Specify repeat count (for profiling). .SH SEE ALSO .B Homepage: http://www.openstv.org/ .SH AUTHOR This manual page was written by Severin Heiniger for the Debian system (but may be used by others). Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 or any later version published by the Free Software Foundation. On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL. debian/compat0000644000000000000000000000000211374040214010360 0ustar 7