debian/0000755000000000000000000000000012122150567007167 5ustar debian/watch0000644000000000000000000000023012121705676010221 0ustar version=3 opts=filenamemangle=s/spkg/tar.bz2/,dversionmangle=s/\+dfsg// http://www.sagemath.org/packages/standard/conway_polynomials-(\d[\.\dp]*)\.spkg debian/compat0000644000000000000000000000000212121705676010373 0ustar 9 debian/control0000644000000000000000000000145612121705676010606 0ustar Source: sagemath-database-conway-polynomials Maintainer: Debian Science Maintainers Uploaders: Julien Puydt Section: math Priority: optional Standards-Version: 3.9.3 Homepage: http://www.sagemath.org/packages/standard/ Build-Depends: debhelper (>= 9), python (>= 2.7) Vcs-Git: git://git.debian.org/git/debian-science/packages/sagemath-database-conway-polynomials.git Vcs-Browser: http://git.debian.org/?p=debian-science/packages/sagemath-database-conway-polynomials.git Package: sagemath-database-conway-polynomials Architecture: all Multi-Arch: foreign Depends: ${misc:Depends} Description: Database of Conway polynomials This package contains a small database of Conway polynomials. . It is part of the sagemath software suite. debian/README.source0000644000000000000000000000042312121705676011353 0ustar README.source The +dfsg.orig.tar.bz2 upstream source tarball is obtained by: - renaming the .spkg to .tar.bz2 (the debian/watch file does this) - unpacking, removing all mercurial files (.hg*) - renaming the directory with an appended +dfsg - repacking with a +dfsg version debian/rules0000755000000000000000000000027012121705676010254 0ustar #!/usr/bin/make -f %: dh $@ override_dh_auto_build: python debian/builder.py override_dh_auto_clean: rm -rf build override_dh_installchangelogs: dh_installchangelogs SPKG.txt debian/builder.py0000644000000000000000000000066312121705676011202 0ustar import zlib; comp = zlib import cPickle import os import sys sys.path.append('.') from src import conway_polynomials db = {} for p,n,v in conway_polynomials: if not db.has_key(p): db[p] = {} db[p][n] = v dstdir = os.path.join('build') dst = os.path.join(dstdir, 'conway_polynomials.sobj') if not os.path.exists(dstdir): os.makedirs(dstdir) open(dst, 'wb').write(comp.compress(cPickle.dumps(db, protocol=2))) debian/changelog0000644000000000000000000000030112121705676011041 0ustar sagemath-database-conway-polynomials (0.4.p0+dfsg-1) unstable; urgency=low * Initial release. (Closes: #703308) -- Julien Puydt Mon, 18 Mar 2013 22:47:06 +0100 debian/source/0000755000000000000000000000000012121705676010475 5ustar debian/source/format0000644000000000000000000000001412121705676011703 0ustar 3.0 (quilt) debian/install0000644000000000000000000000006112121705676010563 0ustar build/* /usr/share/sagemath/conway_polynomials/ debian/copyright0000644000000000000000000000217412121705676011134 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: conway_polynomials Upstream-Contact: R. Andrew Ohana Source: http://www.sagemath.org/packages/standard/ Files: debian/* Copyright: 2013, Julien Puydt License: GPL-2+ License: GPL-2+ This program 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 program 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 program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, 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'