debian/0000755000000000000000000000000012302376412007166 5ustar debian/LICENSE0000644000000000000000000000177712173631132010206 0ustar Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. debian/python-mimeparse.docs0000644000000000000000000000000712173631132013335 0ustar README debian/python3-mimeparse.docs0000644000000000000000000000000712173631132013420 0ustar README debian/copyright0000644000000000000000000000247312173631132011126 0ustar Format: http://anonscm.debian.org/viewvc/dep/web/deps/dep5.mdwn?revision=173&view=markup Upstream-Name: mimeparse Upstream-Contact: Joe Gregorio Source: https://pypi.python.org/pypi/python-mimeparse Files: * Copyright: 2010, Joe Gregorio License: Expat Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: . The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. . THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. debian/changelog0000644000000000000000000000457312302376412011051 0ustar python-mimeparse (0.1.4-1build1) trusty; urgency=medium * Rebuild to drop files installed into /usr/share/pyshared. -- Matthias Klose Sun, 23 Feb 2014 13:52:10 +0000 python-mimeparse (0.1.4-1) unstable; urgency=low * New upstream release. * Added support for python3. * Updated wrong VCS fields (Closes: #717546). * Updated Homepage: in debian/control and Source: field in debian/copyright. * Standards-Version: is now 3.9.4 (no change). * Add python-setuptools and python3-setuptools as build dependency. -- Mathias Ertl Sun, 23 Sep 2012 20:41:21 +0200 python-mimeparse (0.1.3-6) unstable; urgency=low * Use Debhelpper 8 * use uscan for get-orig-source target * Initial release ready for Debian unstable (Closes: #647162) -- Mathias Ertl Thu, 03 Nov 2011 22:17:39 +0000 python-mimeparse (0.1.3-5) unstable; urgency=low * Build-Depend on python-all instead of just python * check for nocheck DEB_BUILD_OPTIONS * Get supported python versions in a cleaner way * Initial release ready for Debian unstable (Closes: #647162) -- Mathias Ertl Tue, 01 Nov 2011 11:55:50 +0000 python-mimeparse (0.1.3-4) unstable; urgency=low * Build-Depend on python-all instead of just python * check for nocheck DEB_BUILD_OPTIONS * Get supported python versions in a cleaner way * Initial release ready for Debian unstable (Closes: #647162) -- Mathias Ertl Tue, 01 Nov 2011 11:55:50 +0000 python-mimeparse (0.1.3-4) unstable; urgency=low * Do not repackage source tarball * Add debian/watch file * Run test-suite for all supported python versions -- Mathias Ertl Mon, 31 Oct 2011 11:22:10 +0000 python-mimeparse (0.1.3-3) unstable; urgency=low * debian/copyright is now machine readable * get-orig-source target now works from every directory -- Mathias Ertl Mon, 31 Oct 2011 10:41:57 +0100 python-mimeparse (0.1.3-2) unstable; urgency=low * update package for newest standards. * deprecate python-support and use dh_python2 instead * no longer depend on quilt -- Mathias Ertl Sun, 30 Oct 2011 14:46:01 +0000 python-mimeparse (0.1.3-1) unstable; urgency=low * Initial version -- Mathias Ertl Sat, 04 Dec 2010 17:04:20 +0100 debian/compat0000644000000000000000000000000212173631132010363 0ustar 8 debian/control0000644000000000000000000000234212173774702010604 0ustar Source: python-mimeparse Section: python Priority: optional Maintainer: Mathias Ertl Standards-Version: 3.9.4 Build-Depends: debhelper (>= 8), python-all (>= 2.6.6-3~), python3-all, python-setuptools, python3-setuptools XS-Python-Version: >= 2.6 Homepage: https://pypi.python.org/pypi/python-mimeparse Vcs-Browser: https://git.fsinf.at/apt/python-mimeparse Vcs-Git: https://git.fsinf.at/apt/python-mimeparse.git Package: python-mimeparse Architecture: all Depends: ${misc:Depends}, ${python:Depends} Description: Parse mime-types and quality parameters - python 2.x This module provides basic functions for parsing mime-type names and matching them against a list of media-ranges. . See section 14.1 of RFC 2616 (the HTTP specification) for a complete explanation. . This package contains the Python 2.x module. Package: python3-mimeparse Architecture: all Depends: ${misc:Depends}, ${python:Depends} Description: Parse mime-types and quality parameters - python 3.x This module provides basic functions for parsing mime-type names and matching them against a list of media-ranges. . See section 14.1 of RFC 2616 (the HTTP specification) for a complete explanation. . This package contains the Python 3.x module. debian/rules0000755000000000000000000000146112173631132010247 0ustar #!/usr/bin/make -f PYVERS=$(shell pyversions -sv) PY3VERS=$(shell py3versions -sv) %: dh $@ --buildsystem=python_distutils --with python2,python3 override_dh_clean: dh_clean rm -rf build override_dh_auto_install: dh_auto_install set -e && for pyvers in $(PYVERS); do \ python$$pyvers setup.py install --install-layout=deb \ --root $(CURDIR)/debian/python-mimeparse; \ done set -e && for pyvers in $(PY3VERS); do \ python$$pyvers setup.py install --install-layout=deb \ --root $(CURDIR)/debian/python3-mimeparse; \ done get-orig-source: uscan --noconf --force-download --download-current-version --destdir=${CURDIR} test-python%: python$* mimeparse_test.py ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS))) override_dh_auto_test: ${PYVERS:%=test-python%} ${PY3VERS:%=test-python%} endif debian/source/0000755000000000000000000000000012173631132010465 5ustar debian/source/format0000644000000000000000000000001412173631132011673 0ustar 3.0 (quilt) debian/watch0000644000000000000000000000011612173631132010214 0ustar version=3 http://googlecode.debian.net/p/mimeparse/mimeparse-(\d+.*)\.tar\.gz