debian/0000755000000000000000000000000012041313225007157 5ustar debian/python-pkginfo.manpages0000644000000000000000000000002112041312132013635 0ustar debian/pkginfo.1 debian/control0000644000000000000000000000254312041312132010562 0ustar Source: python-pkginfo Section: python Priority: optional Maintainer: Debian Python Modules Team Uploaders: Jan Dittberner Build-Depends: debhelper (>= 9~), python (>= 2.6.5~), python-setuptools, python-sphinx (>= 1.0.7+dfsg-1~) Standards-Version: 3.9.3 Homepage: http://pypi.python.org/pypi/pkginfo/ Vcs-Svn: svn://svn.debian.org/python-modules/packages/pkginfo/trunk Vcs-Browser: http://anonscm.debian.org/viewvc/python-modules/packages/pkginfo/trunk Package: python-pkginfo Architecture: all Depends: ${python:Depends}, ${misc:Depends}, python-pkg-resources Recommends: python-pkginfo-doc (=${binary:Version}) Description: Python module to query metadata from packages This package provides an API for querying the distutils metadata written in the PKG-INFO file inside a source distribution (an sdist), or into the EGG-INFO directory of an installed distribution. Package: python-pkginfo-doc Architecture: all Section: doc Depends: ${sphinxdoc:Depends}, ${misc:Depends} Description: Python module to query metadata from packages documentation This package provides an API for querying the distutils metadata written in the PKG-INFO file inside a source distribution (an sdist), or into the EGG-INFO directory of an installed distribution. . This package contains the documentation for python-pkginfo debian/changelog0000644000000000000000000000023712041313127011034 0ustar python-pkginfo (0.9.1-1) unstable; urgency=low * Initial release. (Closes: #691172) -- Jan Dittberner Mon, 22 Oct 2012 20:54:14 +0200 debian/python-pkginfo-doc.doc-base0000644000000000000000000000071712041312132014276 0ustar Document: python-pkginfo Title: pkginfo - Python module to query metadata from packages Author: Tres Seaver Abstract: pkginfo provides an API for querying the distutils metadata written in the PKG-INFO file inside a source distribution (an sdist), or into the EGG-INFO directory of an installed distribution. Section: Programming/Python Format: HTML Index: /usr/share/doc/python-pkginfo-doc/html/index.html Files: /usr/share/doc/python-pkginfo-doc/html/*.html debian/watch0000644000000000000000000000012612041312132010203 0ustar version=3 http://pypi.python.org/packages/source/p/pkginfo/ pkginfo-([\d.]+)\.tar\.gz debian/copyright0000644000000000000000000000745412041312132011120 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: pkginfo Upstream-Contact: Tres Seaver Source: http://pypi.python.org/pypi/pkginfo/ Files: * Copyright: 2009-2012 Tres Seaver, Agendaless Consulting License: Python PYTHON SOFTWARE FOUNDATION LICENSE VERSION 2 -------------------------------------------- . 1. This LICENSE AGREEMENT is between the Python Software Foundation ("PSF"), and the Individual or Organization ("Licensee") accessing and otherwise using this software ("Python") in source or binary form and its associated documentation. . 2. Subject to the terms and conditions of this License Agreement, PSF hereby grants Licensee a nonexclusive, royalty-free, world-wide license to reproduce, analyze, test, perform and/or display publicly, prepare derivative works, distribute, and otherwise use Python alone or in any derivative version, provided, however, that PSF's License Agreement and PSF's notice of copyright, i.e., "Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006 Python Software Foundation; All Rights Reserved" are retained in Python alone or in any derivative version prepared by Licensee. . 3. In the event Licensee prepares a derivative work that is based on or incorporates Python or any part thereof, and wants to make the derivative work available to others as provided herein, then Licensee hereby agrees to include in any such work a brief summary of the changes made to Python. . 4. PSF is making Python available to Licensee on an "AS IS" basis. PSF MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, PSF MAKES NO AND DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON WILL NOT INFRINGE ANY THIRD PARTY RIGHTS. . 5. PSF SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON, OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF. . 6. This License Agreement will automatically terminate upon a material breach of its terms and conditions. . 7. Nothing in this License Agreement shall be deemed to create any relationship of agency, partnership, or joint venture between PSF and Licensee. This License Agreement does not grant permission to use PSF trademarks or trade name in a trademark sense to endorse or promote products or services of Licensee, or any third party. . 8. By copying, installing or otherwise using Python, Licensee agrees to be bound by the terms and conditions of this License Agreement. Files: debian/* Copyright: 2012 Jan Dittberner License: MIT Copyright (c) 2012 Jan Dittberner . 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/compat0000644000000000000000000000000212041312132010351 0ustar 9 debian/rules0000755000000000000000000000133012041313115010232 0ustar #!/usr/bin/make -f override_dh_auto_install: PYTHONPATH=$(CURDIR) sphinx-build -b html -a -c docs docs \ $(CURDIR)/debian/python-pkginfo-doc/usr/share/doc/python-pkginfo-doc/html python setup.py install --install-layout=deb \ --root $(CURDIR)/debian/python-pkginfo override_dh_python2: dh_python2 -ppython-pkginfo override_dh_sphinxdoc: dh_sphinxdoc -ppython-pkginfo-doc override_dh_compress: dh_compress -i -X.rst -X.js -X.html -X.txt -X.py override_dh_clean: rm -rf *.egg-info dh_clean override_dh_auto_test: ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS))) set -e -x; \ PYTHONPATH=$(CURDIR)/build/lib.* python setup.py test endif %: dh $@ --with python2,sphinxdoc --buildsystem=python_distutils debian/pkginfo.10000644000000000000000000000326512041312132010700 0ustar .TH PKGINFO "1" "October 2012" "pkginfo" "User Commands" .SH NAME pkginfo \- print metadata for one or more Python package distributions .SH SYNOPSIS .TP \fBpkginfo [options] \fIpath ...\fR .SH DESCRIPTION .TP Print the metadata for one or more Python package distributions. .PP Each 'path' entry can be one of the following: .PP - a source distribution: in this case, 'path' should point to an existing archive file (.tar.gz, .tar.bz2, or .zip) as generated by 'setup.py sdist'. .PP - a binary distribution: in this case, 'path' should point to an existing archive file (.egg) .PP - a "develop" checkout: in ths case, 'path' should point to a directory intialized via 'setup.py develop' (under setuptools). .PP - an installed package: in this case, 'path' should be the importable name of the package. .SH OPTIONS .IP "\-h, \-\-help" show help message and exit .IP "\-m METADATA_VERSION, \-\-metadata\-version=METADATA_VERSION" Override metadata version .IP "\-f FIELDS, \-\-field=FIELDS" Specify an output field (repeatable) .IP "\-d DOWNLOAD_URL_PREFIX, \-\-download\-url\-prefix=DOWNLOAD_URL_PREFIX" Download URL prefix .IP "\-\-simple" Output as simple key\-value pairs .IP "\-s, \-\-skip" Skip missing values in simple output .IP "\-S, \-\-no\-skip" Don't skip missing values in simple output .IP "\-\-single" Output delimited values .IP "\-\-item\-delim=ITEM_DELIM" Delimiter for fields in single\-line output .IP "\-\-sequence\-delim=SEQUENCE_DELIM" Delimiter for multi\-valued fields .IP "\-\-csv" Output as CSV .IP "\-\-ini" Output as INI .SH "SEE ALSO" The full documentation for .B pkginfo is available in /usr/share/doc/python-pkginfo-doc/html if the python-pkginfo-doc package is installed debian/source/0000755000000000000000000000000012041313137010461 5ustar debian/source/format0000644000000000000000000000001412041312132011661 0ustar 3.0 (quilt)