debian/0000755000000000000000000000000012313577610007173 5ustar debian/compat0000644000000000000000000000000212212604032010354 0ustar 9 debian/rules0000755000000000000000000000301312227331761010247 0ustar #!/usr/bin/make -f PY2VERS=$(shell pyversions -vr) PY3VERS=$(shell py3versions -vr) PYVERS=$(PY2VERS) $(PY3VERS) DPKG_EXPORT_BUILDFLAGS=1 include /usr/share/dpkg/buildflags.mk clean: dh_testdir dh_testroot rm -f *-stamp rm -f build-* rm -rf build rm -rf docs/_build find . -name *\.py[co] -exec rm {} \; dh_clean build: build-indep build-arch build-arch: $(PYVERS:%=build-python%) touch $@ build-python%: dh_testdir python$* setup.py build touch $@ build-indep: make -C $(CURDIR)/docs man touch $@ install: $(PYVERS:%=install-python%) install-python%: build if echo "$*" | grep -q 3\..* ; then \ python$* setup.py install --install-layout=deb --root $(CURDIR)/debian/python3-gmpy2/; \ else \ python$* setup.py install --install-layout=deb --root $(CURDIR)/debian/python-gmpy2/; \ fi test: $(PYVERS:%=test-python%) test-python%: install if echo "$*" | grep -q 3\..* ; then \ PYTHONPATH=$(CURDIR)/debian/python3-gmpy2/usr/lib/python3/dist-packages:$(PYTHONPATH) python$* test/runtests.py; \ else \ PYTHONPATH=$(CURDIR)/debian/python-gmpy2/usr/lib/python$*/dist-packages:$(PYTHONPATH) python$* test/runtests.py; \ fi binary-indep: build install test binary-arch: build install test dh_testdir dh_testroot dh_installchangelogs dh_installdocs dh_installman dh_installexamples dh_python2 dh_python3 dh_strip dh_compress dh_fixperms dh_installdeb dh_shlibdeps dh_gencontrol dh_md5sums dh_builddeb binary: binary-indep binary-arch .PHONY: build clean binary-indep binary-arch binary test install debian/copyright0000644000000000000000000000270112212604032011111 0ustar This package was debianized by Martin Kelly on Fri, 18 May 2007 21:46:23 -0700. It was downloaded from http://gmpy.sourceforge.net/ Use "uscan --verbose --force-download --rename --repack" to get the orig.tar.gz Upstream Author: Alex Martelli Copyright: 2000-2010 Alex Martelli License: This package is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser 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 src/pysymbolicext.c and src/pysymbolicext.h files are Copyright 2000 by Pearu Peterson On Debian systems, the complete text of the GNU Lesser General Public License can be found in `/usr/share/common-licenses/LGPL-2.1'. The Debian packaging is Copyright 2007-2010 Martin Kelly and is licensed under the GPL, see `/usr/share/common-licenses/GPL-2'. debian/source/0000755000000000000000000000000011770437345010501 5ustar debian/source/format0000644000000000000000000000001411526563634011707 0ustar 3.0 (quilt) debian/watch0000644000000000000000000000025512212604032010211 0ustar # Compulsory line, this is a version 3 file version=3 http://code.google.com/p/gmpy/downloads/list?can=1 .*/gmpy2-(\d[\d\.]*)\.(?:zip|tgz|tbz2|txz|tar\.gz|tar\.bz2|tar\.xz) debian/patches/0000755000000000000000000000000012227061550010615 5ustar debian/patches/series0000644000000000000000000000003612227061550012031 0ustar correct_manpage_section.patch debian/patches/correct_manpage_section.patch0000644000000000000000000000043112227061550016511 0ustar Correcting manpage section --- a/docs/conf.py +++ b/docs/conf.py @@ -212,5 +212,5 @@ # (source start file, name, description, authors, manual section). man_pages = [ ('index', 'gmpy2', u'gmpy2 Documentation', - [u'Case Van Horsen'], 1) + [u'Case Van Horsen'], 3) ] debian/control0000644000000000000000000000407112276707747010616 0ustar Source: python-gmpy2 Section: python Priority: optional Maintainer: Martin Kelly Build-Depends: debhelper (>= 9), python-all-dev (>= 2.6.5), python3-all-dev (>= 3.3.2), libmpfr-dev (>= 3.1.0), libmpc-dev (>= 1.0.0), python-sphinx Standards-Version: 3.9.4.0 Homepage: http://code.google.com/p/gmpy/ Uploaders: Debian Python Modules Team Vcs-Svn: svn://anonscm.debian.org/python-modules/packages/python-gmpy2/trunk/ Vcs-Browser: http://anonscm.debian.org/viewvc/python-modules/packages/python-gmpy2/trunk/ X-Python-Version: >= 2.3 X-Python3-Version: >= 3.3 Package: python-gmpy2 Architecture: any Depends: python-gmpy2-common, ${python:Depends}, ${shlibs:Depends}, ${misc:Depends} Provides: ${python:Provides} Description: interfaces GMP to Python 2 for fast, unbound-precision computations gmpy is a C-coded Python extension module that wraps the GMP library to provide to Python code fast multiprecision arithmetic (integer, rational, and float), random number generation, advanced number-theoretical functions, and more. Package: python3-gmpy2 Architecture: any Depends: python-gmpy2-common, ${python3:Depends}, ${shlibs:Depends}, ${misc:Depends} Provides: ${python3:Provides} Description: interfaces GMP to Python 3 for fast, unbound-precision computations gmpy is a C-coded Python extension module that wraps the GMP library to provide to Python code fast multiprecision arithmetic (integer, rational, and float), random number generation, advanced number-theoretical functions, and more. Package: python-gmpy2-common Architecture: all Depends: ${shlibs:Depends}, ${misc:Depends} Recommends: python-gmpy2 | python3-gmpy2 Description: interfaces GMP to Python for fast, unbound-precision computations gmpy is a C-coded Python extension module that wraps the GMP library to provide to Python code fast multiprecision arithmetic (integer, rational, and float), random number generation, advanced number-theoretical functions, and more. . This package installs files in common between python-gmpy2 and python3-gmpy2. debian/python-gmpy2-common.manpages0000644000000000000000000000002212217657132014546 0ustar docs/_build/man/* debian/changelog0000644000000000000000000001132112313577607011051 0ustar python-gmpy2 (2.0.2-1ubuntu2) trusty; urgency=medium * No-change rebuild to drop Python 3.3 support. -- Matthias Klose Sun, 23 Mar 2014 16:36:15 +0100 python-gmpy2 (2.0.2-1ubuntu1) trusty; urgency=medium * Build-depend on python3-all-dev. -- Matthias Klose Wed, 12 Feb 2014 16:15:01 +0100 python-gmpy2 (2.0.2-1) unstable; urgency=low * New upstream release * Updated Standards-Version to 3.9.4.0 (no changes needed) * Changed rules to use default compiler hardening flags * The manpage that comes with gmpy2 is now installed on the system * Renamed package to python-gmpy2. * Now providing a python3-gmpy2 package, which works with Python 3, as well as a common package for files in common between the two packages * No longer installing the tests * Now running tests at build time * Added patch to correct manpage library section from 1 to 3 -- Martin Kelly Sun, 13 Oct 2013 16:18:02 -0700 python-gmpy (1.15-1) unstable; urgency=low * New upstream release * Updated Standards-Version to 3.9.3.0 (no changes needed) * Updated the watch file to make it actually work (not sure if it really did before) * 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:31:03 -0400 python-gmpy (1.14-3) unstable; urgency=low * Removed version from libgmp3-dev dependency and changed it to libgmp-dev (Closes: #619585) -- Martin Kelly Fri, 25 Mar 2011 14:24:29 -0700 python-gmpy (1.14-2) unstable; urgency=low * Changed build-depends from libgmp3-dev to libgmp10-dev as per SONAME change (Closes: #618216) -- Martin Kelly Mon, 14 Mar 2011 21:16:48 -0400 python-gmpy (1.14-1) unstable; urgency=low * New upstream release * Changed the watch file to remove the .ds in the orig.tar.gz filename -- Martin Kelly Mon, 20 Dec 2010 16:07:03 -0800 python-gmpy (1.12-1) unstable; urgency=low * New upstream release * Bump Standards-Version to 3.9.1.0 (no changes needed) * Moved from pycentral to dh_python2 * Changed python dependency to 2.6.5 so that dh_python2 will be installed * Added a source/format file with 3.0 (native) * Added the flag --install-layout=deb to the python install line since python 2.6 wants it -- Martin Kelly Wed, 14 Jul 2010 22:17:17 -0500 python-gmpy (1.11-1) unstable; urgency=low * New upstream release * Bump Standards-Version to 3.8.4.0 (no changes needed) * Removed "XS-DM-Upload-Allowed: yes" field because Ondrej Certik is no longer an active uploader * Added "${misc:Depends} to Depends 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 16:31:32 -0500 python-gmpy (1.10-1) unstable; urgency=low * New upstream release * Changed Uploaders entry to Debian Python Modules Team (Closes: #550456) * Changed Homepage entry to the more recent http://code.google.com/p/gmpy/ * Bump Standards-Version to 3.8.3.0 (no changes needed) -- Martin Kelly Fri, 25 Dec 2009 14:31:15 -0800 python-gmpy (1.04-1) unstable; urgency=low * New upstream release * Probably fixes a bug in python-mpmath (Closes: #530381) * Bump Standards-Version to 3.8.1 (no changes needed) -- Martin Kelly Thu, 11 Jun 2009 08:43:15 -0700 python-gmpy (1.03.ds-1) unstable; urgency=low * New upstream release (Closes: #488941) * Bump Standards-Version to 3.8.0 (no changes needed) * XS-DM-Upload-Allowed: yes field added * Ondrej Certik added to uploaders * debian/watch file fixed * debian/copyright updated with info how to get the orig.tar.gz * license in debian/copyright updated to reflect the current codebase (set to LGPL 2.1) * install tests into /usr/share/doc/python-gmpy/examples/ -- Ondrej Certik Fri, 04 Jul 2008 16:50:28 +0200 python-gmpy (1.02~1.dfsg.1-1) unstable; urgency=low * New upstream release * Bump Standards-Version to 3.7.3 (no changes needed) -- Martin Kelly Sat, 29 Dec 2007 21:27:19 -0800 python-gmpy (1.01.dfsg.1-1) unstable; urgency=medium * Modified the upstream sources to include a COPYING license file, since the upstream author did not include one (Closes: #427005) -- Martin Kelly Sat, 02 Jun 2007 11:40:18 -0700 python-gmpy (1.01-1) unstable; urgency=low * Initial release (Closes: #299723) -- Martin Kelly Fri, 18 May 2007 21:46:23 -0700