debian/0000755000000000000000000000000012214415124007162 5ustar debian/rules0000755000000000000000000000103411732460654010254 0ustar #!/usr/bin/make -f build: build-indep build-arch: build-indep: clean: dh_testdir dh_testroot dh_clean install: build dh_testdir dh_testroot dh_installdirs install pyecm.py $(CURDIR)/debian/pyecm/usr/bin/pyecm binary-indep: install dh_testdir dh_testroot dh_installchangelogs dh_installdocs dh_installman dh_compress dh_fixperms dh_python2 dh_installdeb dh_gencontrol dh_md5sums dh_builddeb binary-arch: binary: binary-indep binary-arch .PHONY: build build-arch build-indep clean binary-indep binary-arch binary debian/manpages0000644000000000000000000000001711505554256010712 0ustar debian/pyecm.1 debian/compat0000644000000000000000000000000211731706504010370 0ustar 9 debian/copyright0000644000000000000000000000235312212236655011130 0ustar This package was debianized by Martin Kelly on Wed, 2 May 2007 22:11:26 -0700. It was downloaded from http://sourceforge.net/projects/pyecm/ Authors: Eric Larson , Martin Kelly Copyright: 2006-2012 Martin Kelly License: This package is free software; 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. 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 can be found in `/usr/share/common-licenses/GPL-2'. The Debian packaging is Copyright 2007-2013 Martin Kelly and is licensed under the GPL, see above. debian/dirs0000644000000000000000000000001011505554256010051 0ustar usr/bin debian/pyecm.10000644000000000000000000000352512211755501010371 0ustar .TH PYECM "1" "pyecm 2.0.2" .SH NAME pyecm \- Number factorization with the Elliptic Curve Method .SH SYNOPSIS \fBpyecm\fP [\fIOPTIONS\fP] [\fIFACTORS\fP]... .SH DESCRIPTION .PP \fBpyecm\fP factors numbers using the Elliptic Curve Method (ECM). If FACTORS is given, it will factor each one of these. Otherwise, it will factor from standard input. You can type "exit" to quit pyecm at any time. .TP \fB\-h, \-\-help\fP Get help using pyecm. .TP \fB\-\-portion=num\fP Does only part of the work for factoring, corresponding to what fraction of the total work the machine is doing. Useful for working in parallel. For example, if there are three machines: 1GHz, 1GHz, and 2GHz, print should be set to 0.25 for the 1GHz machines and 0.5 for the 2GHz machine. Implies \-r and \-v. \-r is needed to avoid duplicating work and \-v is needed to report results. .TP \fB\-\-ov=num\fP Sets the value of the internal parameter ov, which determines the trade\-off between memory and time usage. Do not touch if you do not know what you are doing. Please read all the documentation and understand the full implications of the parameter before using this switch. .TP \fB\-n, \-\-noverbose\fP Terse. On by default. Needed to cancel the \-v from the \-\-portion or \-\-random switches. If both \-n and \-v are specified, the one specified last takes precedence. .TP \fB\-r, \-\-random\fP Chooses random values for sigma, an internal parameter in the calculation. Implies \-v; if you're doing something random, you want to know what's happening. .TP \fB\-v, \-\-verbose\fP Explains what is being done with intermediate calculations and results. .SH EXAMPLES .TP pyecm 2^3\-1 1000 "(3^13+2)*5" Factor 7, 1000, then 7971625. .TP pyecm Get factors from standard input. .SH AUTHOR Written by Eric Larson and Martin Kelly. .SH "REPORTING BUGS" Please send bugs to Eric Larson . debian/control0000644000000000000000000000136712214414776010610 0ustar Source: pyecm Section: math Priority: optional Maintainer: Martin Kelly Build-Depends: debhelper (>= 9) Build-Depends-Indep: python (>= 2.6.5) Standards-Version: 3.9.4.0 Homepage: http://sourceforge.net/projects/pyecm X-Python-Version: >= 2.3 Package: pyecm Architecture: all Depends: ${python:Depends}, ${misc:Depends}, python-gmpy2 Description: integer factorization with the Elliptic Curve Method (ECM) pyecm is a Python program to factor numbers using the Elliptic Curve Method (ECM). It is relatively fast in that it can quickly factors numbers up to 50 digits. . Because it is written in Python, pyecm is very portable. It is also fairly easy to use. Use of python-gmpy and/or python-psyco will speed it up immensely. debian/watch0000644000000000000000000000013711505554256010230 0ustar # Compulsory line, this is a version 3 file version=3 http://sf.net/pyecm/pyecm-(.*)\.tar\.gz debian/source/0000755000000000000000000000000011442730234010466 5ustar debian/source/format0000644000000000000000000000001411505554256011704 0ustar 3.0 (quilt) debian/changelog0000644000000000000000000000762312214415115011044 0ustar pyecm (2.0.2-2) unstable; urgency=low * Now referencing python-gmpy2 instead of python-gmpy due to package rename * Changed Recommends to Depends for python-gmpy2, as pyecm is extremely slow without gmpy support -- Martin Kelly Thu, 12 Sep 2013 12:46:32 -0700 pyecm (2.0.2-1) unstable; urgency=low * New upstream release * Updated Standards-Version to 3.9.4.0 (no changes needed) -- Martin Kelly Wed, 04 Sep 2013 18:13:41 -0700 pyecm (2.0.1-1) unstable; urgency=low * New upstream release * Bumped Standards-Version to 3.9.3.0 (no changes needed) * Updated the watch file to use the Sourceforge redirector * Updated the copyright information * Updated debhelper compatibility level to 9 * Changed the license symlink to be more specific * Cleaned up the rules file -- Martin Kelly Tue, 13 Mar 2012 23:39:43 -0400 pyecm (2.0-6) unstable; urgency=low * Removed python-psyco Recommends (getting orphaned, no longer in testing) -- Martin Kelly Sun, 26 Jun 2011 10:38:27 -0400 pyecm (2.0-5) unstable; urgency=low * Added source/format as "3.0 (quilt)" * Changed debhelper compatibility to 8 -- Martin Kelly Sat, 25 Dec 2010 21:50:09 -0800 pyecm (2.0-4) experimental; urgency=low * Bumped Standards-Version to 3.9.1.0 (no changes needed) * Moved from pycentral to dh_python2 * Uncapitalized the description line in control -- Martin Kelly Sat, 07 Aug 2010 16:30:59 -0700 pyecm (2.0-3) unstable; urgency=low * Bumped Standards-Version to 3.9.0.0 (no changes needed) * Changed the python-psyco Recommends to python-psyco | not+i386 (Closes: #583060) -- Martin Kelly Mon, 05 Jul 2010 18:25:40 -0500 pyecm (2.0-2) unstable; urgency=low * Bump Standards-Version to 3.8.4.0 (no changes needed) * Added "${misc:Depends} to Depends to remove Lintian warning * Replaced "python-dev" with "python" in Build-Depends-Indep to remove lintian warning * Updated dates in copyright file * Changed copyright file to list copyright as "Copyright" instead of "(C)" to fix lintian warning -- Martin Kelly Mon, 08 Feb 2010 20:30:09 -0500 pyecm (2.0-1) unstable; urgency=low * New upstream release * Fixed description in control file (Closes: #465446) * Updated the manpage * Updated Policy to 3.8.0 * Gave Homepage: its own header in control as specified by policy * Moved the binary-arch target to binary-indep because this package is architecture-independent. * Updated the copyright to include 2008 -- Martin Kelly Mon, 7 Jul 2008 13:19:23 -0700 pyecm (1.2.2-1) unstable; urgency=low * New upstream release * Slightly modified the package description text in control -- Martin Kelly Fri, 1 Jun 2007 23:57:28 -0700 pyecm (1.2.1-1) unstable; urgency=low * New upstream release * Updated the manpage version (WHOOPS!), escaped the "--" in the manpage with "\-\-" * Added Recommends: python-gmpy * Added a note about using python-gmpy and/or psyco in control. * Made the python-psyco Recommends lines dependent upon architecture, as it should be. * Cleaned up the rules file -- Martin Kelly Wed, 30 May 2007 12:08:52 -0700 pyecm (1.1.2-1) unstable; urgency=low * New upstream release * Changed the dh_installchangelogs call to CHANGELOG.txt, as per the upstream name change -- Martin Kelly Fri, 18 May 2007 11:12:37 -0700 pyecm (1.1.1-1) unstable; urgency=low * New upstream release * New upstream changelog is now being installed * Minor manpage changes -- Martin Kelly Tue, 15 May 2007 17:39:55 -0700 pyecm (1.1-1) unstable; urgency=low * Initial release (Closes: #392721). -- Martin Kelly Wed, 2 May 2007 22:11:26 -0700