[med-svn] [Git][med-team/python-easydev][master] 9 commits: Drop __pycache__/__init__.cpython-35.pyc

Andreas Tille gitlab at salsa.debian.org
Wed Jan 23 06:39:47 GMT 2019


Andreas Tille pushed to branch master at Debian Med / python-easydev


Commits:
38022ac5 by Nick Morrott at 2019-01-22T22:28:00Z
Drop __pycache__/__init__.cpython-35.pyc

- - - - -
082e5384 by Nick Morrott at 2019-01-22T22:29:26Z
d/control: refresh build-dependencies for tests

- - - - -
a0603281 by Nick Morrott at 2019-01-22T22:29:26Z
d/patches: refresh external-appdirs.patch

- - - - -
73cdbf74 by Nick Morrott at 2019-01-22T22:30:03Z
d/rules: generate egg_info for tests

- - - - -
5aeaf9ed by Nick Morrott at 2019-01-22T22:30:03Z
d/rules: skip test requiring network access

- - - - -
0825ee33 by Nick Morrott at 2019-01-22T22:38:20Z
d/rules: delete coverage report from build tree

- - - - -
a12c458e by Nick Morrott at 2019-01-22T22:48:32Z
Drop unused python-easydev.lintian-overrides

The Python 2 binary package is still required for hinge (python-colormap)

- - - - -
8320d992 by Nick Morrott at 2019-01-22T23:19:07Z
Update changelog

Gbp-Dch: Ignore

- - - - -
f339e6ba by Andreas Tille at 2019-01-23T06:39:44Z
Merge branch 'master' into 'master'

Updates to Debian packaging for 0.9.37-1

See merge request med-team/python-easydev!1
- - - - -


6 changed files:

- debian/changelog
- debian/control
- debian/patches/external-appdirs.patch
- − debian/python-easydev.lintian-overrides
- debian/rules
- − easydev/share/__pycache__/__init__.cpython-35.pyc


Changes:

=====================================
debian/changelog
=====================================
@@ -1,7 +1,8 @@
 python-easydev (0.9.37-1) UNRELEASED; urgency=medium
 
-  [ Andreas Tille ]
   * Team upload.
+
+  [ Andreas Tille ]
   * Fix watch file
   * debhelper 12
   * Activate Testsuite field
@@ -12,7 +13,16 @@ python-easydev (0.9.37-1) UNRELEASED; urgency=medium
   [ Piotr Ożarowski ]
   * do not use pkg_resources
 
- -- Andreas Tille <tille at debian.org>  Wed, 09 Jan 2019 16:45:57 +0100
+  [ Nick Morrott ]
+  * Drop __pycache__/__init__.cpython-35.pyc
+  * d/control: refresh build-dependencies for tests
+  * d/patches: refresh external-appdirs.patch
+  * d/rules: generate egg_info for tests
+  * d/rules: skip test requiring network access
+  * d/rules: delete coverage report from build tree
+  * Drop unused python-easydev.lintian-overrides.
+
+ -- Nick Morrott <knowledgejunkie at gmail.com>  Tue, 22 Jan 2019 23:18:11 +0000
 
 python-easydev (0.9.35+dfsg-2) unstable; urgency=medium
 


=====================================
debian/control
=====================================
@@ -9,15 +9,23 @@ Build-Depends: debhelper (>= 12~),
                python-all,
                python-setuptools,
                python-appdirs,
+               python-colorlog,
                python-colorama,
+               python-nose,
                python-pexpect,
                python-pytest,
+               python-pytest-cov,
+               python-pytest-mock,
                python3-all,
                python3-setuptools,
                python3-appdirs,
+               python3-colorlog,
                python3-colorama,
+               python3-nose,
                python3-pexpect,
                python3-pytest,
+               python3-pytest-cov,
+               python3-pytest-mock,
 Standards-Version: 4.3.0
 Vcs-Browser: https://salsa.debian.org/med-team/python-easydev
 Vcs-Git: https://salsa.debian.org/med-team/python-easydev.git


=====================================
debian/patches/external-appdirs.patch
=====================================
@@ -2,10 +2,10 @@ Description: use separately installed appdirs package
  easydev used its own convenience copy, which we don't need.
 Author: Afif Elghraoui <afif at debian.org>
 Forwarded: not-needed
-Last-Update: 2017-10-18
---- python-easydev.orig/easydev/config_tools.py
-+++ python-easydev/easydev/config_tools.py
-@@ -367,7 +367,7 @@
+Last-Update: 2019-01-22
+--- a/easydev/config_tools.py
++++ b/easydev/config_tools.py
+@@ -370,7 +370,7 @@
  
      def __init__(self, name, verbose=False):
          self.verbose = verbose
@@ -14,3 +14,25 @@ Last-Update: 2017-10-18
          self.appdirs = appdirs.AppDirs(name)
  
      def init(self):
+--- a/test/test_appdirs.py
++++ b/test/test_appdirs.py
+@@ -11,16 +11,16 @@
+         app.user_log_dir
+ 
+     with mock.patch("sys.platform", "darwin"):
+-        from easydev import appdirs
++        import appdirs
+         app = appdirs.AppDirs("test")
+         getter(app)
+ 
+     with mock.patch("sys.platform", "win32"):
+-        from easydev import appdirs
++        import appdirs
+         app = appdirs.AppDirs("test")
+         getter(app)
+ 
+     with mock.patch("sys.platform", "linux"):
+-        from easydev import appdirs
++        import appdirs
+         app = appdirs.AppDirs("test")
+         getter(app)


=====================================
debian/python-easydev.lintian-overrides deleted
=====================================
@@ -1,2 +0,0 @@
-# needed for hinge; The python3 module is also packaged
-new-package-should-not-package-python2-module


=====================================
debian/rules
=====================================
@@ -3,11 +3,19 @@
 export LC_ALL=C.UTF-8
 export PYBUILD_NAME=easydev
 
+export PYBUILD_BEFORE_TEST={interpreter} {dir}/setup.py egg_info -e {build_dir}
+export PYBUILD_AFTER_TEST=cd {build_dir}; rm -rf *.egg-info
+export PYBUILD_TEST_ARGS=-k-test_url
+
 %:
 	dh $@ --with python2,python3 --buildsystem=pybuild
 
 override_dh_install:
 	dh_install
+
+	# remove coverage report
+	$(RM) debian/*/usr/lib/python*/dist-packages/.coverage
+
 	# Allow python{,3}-easydev to be co-installable
 	# and avoid the generic name "browse" for an executable in /usr/bin
 	cd debian/python-easydev/usr/bin \


=====================================
easydev/share/__pycache__/__init__.cpython-35.pyc deleted
=====================================
Binary files a/easydev/share/__pycache__/__init__.cpython-35.pyc and /dev/null differ



View it on GitLab: https://salsa.debian.org/med-team/python-easydev/compare/9f62bf076497c9beddc7e16d7ed0237450ca54a2...f339e6ba6457a28627c38a30cf1f0bd3ccaaa9e1

-- 
View it on GitLab: https://salsa.debian.org/med-team/python-easydev/compare/9f62bf076497c9beddc7e16d7ed0237450ca54a2...f339e6ba6457a28627c38a30cf1f0bd3ccaaa9e1
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20190123/14eaffad/attachment-0001.html>


More information about the debian-med-commit mailing list