[med-svn] [Git][med-team/python-easydev][master] 5 commits: remove py2 package
Olivier Sallou
gitlab at salsa.debian.org
Mon Oct 28 16:01:24 GMT 2019
Olivier Sallou pushed to branch master at Debian Med / python-easydev
Commits:
24235c85 by Olivier Sallou at 2019-10-28T15:45:59Z
remove py2 package
- - - - -
8a1f7542 by Olivier Sallou at 2019-10-28T15:56:46Z
New upstream version 0.9.38
- - - - -
49bc1811 by Olivier Sallou at 2019-10-28T15:56:46Z
Update upstream source from tag 'upstream/0.9.38'
Update to upstream version '0.9.38'
with Debian dir 360334eb5de2718f730d871816f627bf0e6d6c2b
- - - - -
0eac60dc by Olivier Sallou at 2019-10-28T15:57:13Z
new upstream release 0.9.38
- - - - -
2d213703 by Olivier Sallou at 2019-10-28T15:58:17Z
update patch
- - - - -
9 changed files:
- PKG-INFO
- debian/changelog
- debian/control
- debian/patches/no_pkg_resources.patch
- debian/rules
- easydev/__init__.py
- easydev/config_tools.py
- setup.cfg
- setup.py
Changes:
=====================================
PKG-INFO
=====================================
@@ -1,10 +1,10 @@
Metadata-Version: 1.1
Name: easydev
-Version: 0.9.37
+Version: 0.9.38
Summary: Common utilities to ease the development of Python packages
Home-page: ['http://packages.python.org/easydev/']
Author: Thomas Cokelaer
-Author-email: cokelaer at ebi.ac.uk
+Author-email: thomas.cokelaer at pasteur.fr
License: new BSD
Download-URL: ['http://pypi.python.org/pypi/easydev']
Description-Content-Type: UNKNOWN
=====================================
debian/changelog
=====================================
@@ -1,3 +1,15 @@
+python-easydev (0.9.38-1) UNRELEASED; urgency=medium
+
+ * New upstream release
+
+ -- Olivier Sallou <osallou at debian.org> Mon, 28 Oct 2019 15:56:52 +0000
+
+python-easydev (0.9.37-2) unstable; urgency=medium
+
+ * Remove python2 package (Closes: #937720).
+
+ -- Olivier Sallou <osallou at debian.org> Mon, 28 Oct 2019 15:04:58 +0000
+
python-easydev (0.9.37-1) unstable; urgency=medium
* Team upload.
=====================================
debian/control
=====================================
@@ -5,21 +5,12 @@ Testsuite: autopkgtest-pkg-python
Priority: optional
Build-Depends: debhelper (>= 12~),
dh-python,
- 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-mock,
python3-nose,
python3-pexpect,
python3-pytest,
@@ -30,19 +21,6 @@ Vcs-Browser: https://salsa.debian.org/med-team/python-easydev
Vcs-Git: https://salsa.debian.org/med-team/python-easydev.git
Homepage: https://easydev-python.readthedocs.io/en/latest/
-Package: python-easydev
-Architecture: all
-Depends: ${python:Depends},
- ${misc:Depends},
- python-pkg-resources,
- python-appdirs
-Description: common utilities to ease the development of Python packages (Python 2)
- The package easydev provides miscellaneous functions that are often used in
- other Python packages. easydev should help developers in speeding up their
- own developments.
- .
- This package installs the library for Python 2.
-
Package: python3-easydev
Architecture: all
Depends: ${python3:Depends},
=====================================
debian/patches/no_pkg_resources.patch
=====================================
@@ -9,7 +9,7 @@ Description: Do not use pkg_resources to avoid build failure
@@ -20,15 +20,6 @@ from __future__ import print_function
- __version__ = "0.9.36"
+ __version__ = "0.9.38"
-try:
- import pkg_resources
-except ImportError as err:
=====================================
debian/rules
=====================================
@@ -8,7 +8,7 @@ export PYBUILD_AFTER_TEST=cd {build_dir}; rm -rf *.egg-info
export PYBUILD_TEST_ARGS=-k-test_url
%:
- dh $@ --with python2,python3 --buildsystem=pybuild
+ dh $@ --with python3 --buildsystem=pybuild
override_dh_install:
dh_install
@@ -18,9 +18,6 @@ override_dh_install:
# 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 \
- && mv easydev_buildPackage easydev2_buildPackage \
- && mv browse easydev2_browse
cd debian/python3-easydev/usr/bin \
&& mv easydev_buildPackage easydev3_buildPackage \
&& mv browse easydev3_browse
=====================================
easydev/__init__.py
=====================================
@@ -19,7 +19,7 @@ from __future__ import print_function
#from __future__ import absolute_import
-__version__ = "0.9.36"
+__version__ = "0.9.38"
try:
import pkg_resources
except ImportError as err:
=====================================
easydev/config_tools.py
=====================================
@@ -421,7 +421,7 @@ def _load_configfile(configpath):
"has not been installed. Please install "
"PyYAML to use YAML config files.")
try:
- return yaml.load(f)
+ return yaml.load(f, Loader=yaml.FullLoader)
except yaml.YAMLError:
raise IOError("Config file is not valid JSON or YAML. "
"In case of YAML, make sure to not mix "
=====================================
setup.cfg
=====================================
@@ -1,27 +1,15 @@
-[sdist]
-
-[egg_info]
-tag_build =
-tag_date = 0
-
-[global]
-
[build_sphinx]
source_dir = doc/source
build_dir = doc/build
all_files = 1
-[nosetests]
-tests = test
-with-coverage = 1
-cover-package = easydev
-verbosity = 2
-logging-level = ERROR
-attr = !skip,!notravis
-
[upload_docs]
upload_dir = doc/build/html/
[tool:pytest]
addopts = --cov=easydev --cov-report=term-missing --durations=10 --verbose
+[egg_info]
+tag_build =
+tag_date = 0
+
=====================================
setup.py
=====================================
@@ -7,12 +7,12 @@ import glob
_MAJOR = 0
_MINOR = 9
-_MICRO = 37
+_MICRO = 38
version = '%d.%d.%d' % (_MAJOR, _MINOR, _MICRO)
release = '%d.%d' % (_MAJOR, _MINOR)
metainfo = {
- 'authors': {'Cokelaer':('Thomas Cokelaer','cokelaer at ebi.ac.uk')},
+ 'authors': {'Cokelaer':('Thomas Cokelaer','thomas.cokelaer at pasteur.fr')},
'version': version,
'license' : 'new BSD',
'download_url' : ['http://pypi.python.org/pypi/easydev'],
View it on GitLab: https://salsa.debian.org/med-team/python-easydev/compare/3dc88cdd01794b32b82aa6bee866c66611c97896...2d21370337b98a8e4f8019b6b95395aae8ab1bcf
--
View it on GitLab: https://salsa.debian.org/med-team/python-easydev/compare/3dc88cdd01794b32b82aa6bee866c66611c97896...2d21370337b98a8e4f8019b6b95395aae8ab1bcf
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/20191028/ff0f378e/attachment-0001.html>
More information about the debian-med-commit
mailing list