Commit 21524682 authored by Sandro Tosi's avatar Sandro Tosi

Imported Debian patch 0.6-1

Metadata-Version: 1.0 Metadata-Version: 1.1
Name: prettytable Name: prettytable
Version: 0.5 Version: 0.6
Summary: A simple Python library for easily displaying tabular data in a visually appealing ASCII table format Summary: A simple Python library for easily displaying tabular data in a visually appealing ASCII table format
Home-page: http://www.luke.maurits.id.au/software/prettytable Home-page: http://code.google.com/p/prettytable
Author: Luke Maurits Author: Luke Maurits
Author-email: luke@maurits.id.au Author-email: luke@maurits.id.au
License: http://www.luke.maurits.id.au/software/bsdlicense.txt License: UNKNOWN
Description: UNKNOWN Description: UNKNOWN
Platform: UNKNOWN Platform: UNKNOWN
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: BSD License
Classifier: Topic :: Text Processing
This diff is collapsed.
prettytable (0.6-1) unstable; urgency=low
* New upstream release
* debian/rules
- remove python3 transformation commands, available upstream now
- run tests at build time
* debian/copyright
- reorganize information
* Ship unittest in debian/, no longer available in upstream tarball
-- Sandro Tosi <morph@debian.org> Sun, 06 May 2012 11:06:13 +0200
prettytable (0.5-2) unstable; urgency=low prettytable (0.5-2) unstable; urgency=low
* debian/control * debian/control
......
...@@ -2,9 +2,15 @@ Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ ...@@ -2,9 +2,15 @@ Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: prettytable Upstream-Name: prettytable
Source: http://code.google.com/p/prettytable/ Source: http://code.google.com/p/prettytable/
Files: * Files: * debian/prettytable_test.py
Copyright: Copyright (c) 2009, Luke Maurits <luke@maurits.id.au> Copyright: Copyright (c) 2009, Luke Maurits <luke@maurits.id.au>
License: License: BSD
Files: debian/*
Copyright: Copyright (C) 2009-2012 Sandro Tosi <morph@debian.org>
License: BSD
License: BSD
Redistribution and use in source and binary forms, with or without Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met: modification, are permitted provided that the following conditions are met:
. .
...@@ -28,6 +34,3 @@ License: ...@@ -28,6 +34,3 @@ License:
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE. POSSIBILITY OF SUCH DAMAGE.
Files: debian/*
Copyright: Copyright (C) 2009-2012 Sandro Tosi <morph@debian.org>
License: same terms as upstream code
This diff is collapsed.
...@@ -15,18 +15,12 @@ override_dh_auto_install: ...@@ -15,18 +15,12 @@ override_dh_auto_install:
--root $(CURDIR)/debian/python-prettytable; \ --root $(CURDIR)/debian/python-prettytable; \
done done
# convert to Python 3
2to3 -w $(CURDIR)/prettytable.py
set -e ; \ set -e ; \
for python in $(PY3VERS); do \ for python in $(PY3VERS); do \
$$python setup.py install --no-compile -O0 --install-layout=deb \ $$python setup.py install --no-compile -O0 --install-layout=deb \
--root $(CURDIR)/debian/python3-prettytable; \ --root $(CURDIR)/debian/python3-prettytable; \
done done
# restore pristine copy after 2to3 run
mv $(CURDIR)/prettytable.py.bak $(CURDIR)/prettytable.py
override_dh_auto_clean: override_dh_auto_clean:
set -e ; \ set -e ; \
for python in $(PY2VERS); do \ for python in $(PY2VERS); do \
...@@ -38,3 +32,11 @@ override_dh_auto_clean: ...@@ -38,3 +32,11 @@ override_dh_auto_clean:
done done
find . -name \*.pyc -exec rm {} \; find . -name \*.pyc -exec rm {} \;
dh_clean dh_clean
override_dh_auto_test:
ifeq ($(filter nocheck,$(DEB_BUILD_OPTIONS)),)
set -e ; \
for python in $(PY2VERS) $(PY3VERS); do \
PYTHONPATH=. $$python debian/prettytable_test.py ; \
done
endif
Metadata-Version: 1.0 Metadata-Version: 1.1
Name: prettytable Name: prettytable
Version: 0.5 Version: 0.6
Summary: A simple Python library for easily displaying tabular data in a visually appealing ASCII table format Summary: A simple Python library for easily displaying tabular data in a visually appealing ASCII table format
Home-page: http://www.luke.maurits.id.au/software/prettytable Home-page: http://code.google.com/p/prettytable
Author: Luke Maurits Author: Luke Maurits
Author-email: luke@maurits.id.au Author-email: luke@maurits.id.au
License: http://www.luke.maurits.id.au/software/bsdlicense.txt License: UNKNOWN
Description: UNKNOWN Description: UNKNOWN
Platform: UNKNOWN Platform: UNKNOWN
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: BSD License
Classifier: Topic :: Text Processing
README
prettytable.py prettytable.py
setup.py setup.py
prettytable.egg-info/PKG-INFO prettytable.egg-info/PKG-INFO
......
This diff is collapsed.
#!/usr/bin/env python #!/usr/bin/env python
from setuptools import setup from setuptools import setup
from prettytable import __version__ as version
setup( setup(
name='prettytable', name='prettytable',
version='0.5', version=version,
classifiers=[
'Programming Language :: Python',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'License :: OSI Approved :: BSD License',
'Topic :: Text Processing'
],
description='A simple Python library for easily displaying tabular data in a visually appealing ASCII table format', description='A simple Python library for easily displaying tabular data in a visually appealing ASCII table format',
author='Luke Maurits', author='Luke Maurits',
author_email='luke@maurits.id.au', author_email='luke@maurits.id.au',
url='http://www.luke.maurits.id.au/software/prettytable', url='http://code.google.com/p/prettytable',
license='http://www.luke.maurits.id.au/software/bsdlicense.txt',
py_modules=['prettytable'] py_modules=['prettytable']
) )
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment