[Debian-astro-commits] [python-astropy] 02/02: Re-add configobj.py remnant

Ole Streicher olebole at moszumanska.debian.org
Mon Sep 11 20:39:09 UTC 2017


This is an automated email from the git hooks/post-receive script.

olebole pushed a commit to branch master
in repository python-astropy.

commit 9d97f736f70e6ddf6a3c0e766f3e9aab2547eb7c
Author: Ole Streicher <olebole at debian.org>
Date:   Mon Sep 11 21:05:23 2017 +0200

    Re-add configobj.py remnant
---
 debian/patches/external_python_pkgs.patch | 14 +++++++++++++-
 1 file changed, 13 insertions(+), 1 deletion(-)

diff --git a/debian/patches/external_python_pkgs.patch b/debian/patches/external_python_pkgs.patch
index 5aa5048..ab75461 100644
--- a/debian/patches/external_python_pkgs.patch
+++ b/debian/patches/external_python_pkgs.patch
@@ -4,13 +4,15 @@ Subject: Use external python modules instead of convenience copies
 
 ---
  astropy/coordinates/angle_utilities.py |  2 +-
+ astropy/extern/configobj.py            |  4 ++++
  astropy/extern/six.py                  |  2 +-
  astropy/table/jsviewer.py              | 14 ++++++++------
  astropy/table/tests/test_jsviewer.py   |  6 +++---
  astropy/units/format/cds.py            |  4 ++--
  astropy/units/format/generic.py        |  4 ++--
  astropy/units/format/ogip.py           |  4 ++--
- 7 files changed, 19 insertions(+), 17 deletions(-)
+ 8 files changed, 23 insertions(+), 17 deletions(-)
+ create mode 100644 astropy/extern/configobj.py
 
 diff --git a/astropy/coordinates/angle_utilities.py b/astropy/coordinates/angle_utilities.py
 index cfa894e..bb8fb7d 100644
@@ -25,6 +27,16 @@ index cfa894e..bb8fb7d 100644
  
          # List of token names.
          tokens = (
+diff --git a/astropy/extern/configobj.py b/astropy/extern/configobj.py
+new file mode 100644
+index 0000000..2815978
+--- /dev/null
++++ b/astropy/extern/configobj.py
+@@ -0,0 +1,4 @@
++# Wrapper to use installed validate and configobj modules
++from __future__ import absolute_import
++import validate
++import configobj
 diff --git a/astropy/extern/six.py b/astropy/extern/six.py
 index 5398fc0..fb3a30c 100644
 --- a/astropy/extern/six.py

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-astro/packages/python-astropy.git



More information about the Debian-astro-commits mailing list