openSUSE Commits
Threads by month
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2007 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2006 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
February 2017
- 1 participants
- 1918 discussions
Hello community,
here is the log from the commit of package libjnidispatch for openSUSE:Factory checked in at 2017-02-26 17:09:45
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libjnidispatch (Old)
and /work/SRC/openSUSE:Factory/.libjnidispatch.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libjnidispatch"
Changes:
--------
--- /work/SRC/openSUSE:Factory/libjnidispatch/libjnidispatch.changes 2016-03-26 15:24:07.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.libjnidispatch.new/libjnidispatch.changes 2017-02-26 17:09:47.143074897 +0100
@@ -1,0 +2,6 @@
+Fri Feb 24 21:03:28 UTC 2017 - msuchanek(a)suse.com
+
+- Upstream version 4.2.2
+ * adds some symbols needed by Arduino IDE.
+
+-------------------------------------------------------------------
Old:
----
4.2.1.tar.gz
New:
----
4.2.2.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ libjnidispatch.spec ++++++
--- /var/tmp/diff_new_pack.IttudK/_old 2017-02-26 17:09:49.402731956 +0100
+++ /var/tmp/diff_new_pack.IttudK/_new 2017-02-26 17:09:49.402731956 +0100
@@ -1,7 +1,7 @@
#
# spec file for package libjnidispatch
#
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2000-2009, JPackage Project
#
# All modifications and additions to the file contributed by third parties
@@ -18,7 +18,7 @@
Name: libjnidispatch
-Version: 4.2.1
+Version: 4.2.2
Release: 0
Summary: Java Native Access (shared library)
License: LGPL-2.1+ or Apache-2.0
++++++ 4.2.1.tar.gz -> 4.2.2.tar.gz ++++++
/work/SRC/openSUSE:Factory/libjnidispatch/4.2.1.tar.gz /work/SRC/openSUSE:Factory/.libjnidispatch.new/4.2.2.tar.gz differ: char 21, line 1
1
0
Hello community,
here is the log from the commit of package legion for openSUSE:Factory checked in at 2017-02-26 17:09:39
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/legion (Old)
and /work/SRC/openSUSE:Factory/.legion.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "legion"
Changes:
--------
--- /work/SRC/openSUSE:Factory/legion/legion.changes 2017-02-15 10:03:25.197429741 +0100
+++ /work/SRC/openSUSE:Factory/.legion.new/legion.changes 2017-02-26 17:09:40.352105541 +0100
@@ -1,0 +2,11 @@
+Fri Feb 24 23:29:59 UTC 2017 - junghans(a)votca.org
+
+- Version bump to 17.02.0
+ * Drop 204.patch, merged upstream
+
+-------------------------------------------------------------------
+Tue Nov 1 21:18:09 UTC 2016 - junghans(a)votca.org
+
+- 204.patch: upstream patch to fix build on arm
+
+-------------------------------------------------------------------
Old:
----
legion-16.10.0.tar.gz
New:
----
legion-17.02.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ legion.spec ++++++
--- /var/tmp/diff_new_pack.lO0t6H/_old 2017-02-26 17:09:40.792038774 +0100
+++ /var/tmp/diff_new_pack.lO0t6H/_new 2017-02-26 17:09:40.804036953 +0100
@@ -1,7 +1,7 @@
#
# spec file for package legion
#
-# Copyright (c) 2016 Christoph Junghans
+# Copyright (c) 2016-2017 Christoph Junghans
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,7 +16,7 @@
#
Name: legion
-Version: 16.10.0
+Version: 17.02.0
Release: 0
Summary: A data-centric parallel programming system
License: Apache-2.0
@@ -30,6 +30,8 @@
BuildRequires: hwloc-devel
BuildRequires: gasnet-devel
BuildRequires: cmake
+BuildRequires: openmpi
+BuildRequires: openmpi-devel
%description
Legion is a data-centric parallel programming system for writing portable
++++++ legion-16.10.0.tar.gz -> legion-17.02.0.tar.gz ++++++
++++ 152499 lines of diff (skipped)
1
0
Hello community,
here is the log from the commit of package calibre for openSUSE:Factory checked in at 2017-02-26 17:09:34
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/calibre (Old)
and /work/SRC/openSUSE:Factory/.calibre.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "calibre"
Changes:
--------
--- /work/SRC/openSUSE:Factory/calibre/calibre.changes 2017-02-14 00:47:42.552097986 +0100
+++ /work/SRC/openSUSE:Factory/.calibre.new/calibre.changes 2017-02-26 17:09:36.012764110 +0100
@@ -1,0 +2,33 @@
+Fri Feb 24 18:25:08 UTC 2017 - ecsos(a)opensuse.org
+
+- update to 2.80.0
+ New Features
+ - Add support for sideloading of KFX files created with the
+ third-party KFX calibre plugin
+ - Edit book: Allow drag and drop of image files, stylesheets and
+ html files into the editor to insert the appropriate and tags
+ and add the files to the book automatically.
+ - Kobo driver: Add support for updated firmware
+ - Edit Book: Spell Check: If there are no suggestions fill the
+ suggested word box with the original word.
+ - Viewer: add a shortcut (Ctrl+F11) to show/hide toolbars.
+ Bug Fixes
+ - PDF Output: Fix courier font not being rendered when converting
+ on windows.
+ - E-mail delivery: Add a Message-ID header when sending emails.
+ Reduces probability of mails sent from calibre being marked as
+ spam
+ - Save to disk: Fix path shortening being applied to entire save
+ template even when saving to singe directory.
+ - Get Books: Update the Virualo and Publi store plugins for
+ website changes
+ - Viewer: Fix regression that caused slow opening of some books
+ with missing font/css/image files
+ - Viewer: Pressing Ctrl+F in fullscreen mode should show the
+ controls.
+ - Edit book: Do not allow creating multiple new files whose names
+ differ only by case.
+ - Viewer: Use heuristics to try to detect comics encoded as fixed
+ layout EPUBs to ensure they are displayed as intended.
+
+-------------------------------------------------------------------
Old:
----
calibre-2.79.0.tar.xz
New:
----
calibre-2.80.0.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ calibre.spec ++++++
--- /var/tmp/diff_new_pack.fIeXx3/_old 2017-02-26 17:09:36.960620257 +0100
+++ /var/tmp/diff_new_pack.fIeXx3/_new 2017-02-26 17:09:36.964619650 +0100
@@ -20,7 +20,7 @@
License: GPL-3.0
Group: Productivity/Other
Name: calibre
-Version: 2.79.0
+Version: 2.80.0
Release: 0
Url: http://calibre-ebook.com
Source0: http://download.calibre-ebook.com/%{version}/calibre-%{version}.tar.xz
++++++ calibre-2.79.0.tar.xz -> calibre-2.80.0.tar.xz ++++++
/work/SRC/openSUSE:Factory/calibre/calibre-2.79.0.tar.xz /work/SRC/openSUSE:Factory/.calibre.new/calibre-2.80.0.tar.xz differ: char 26, line 1
1
0
Hello community,
here is the log from the commit of package kid3 for openSUSE:Factory checked in at 2017-02-26 17:09:27
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kid3 (Old)
and /work/SRC/openSUSE:Factory/.kid3.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kid3"
Changes:
--------
--- /work/SRC/openSUSE:Factory/kid3/kid3.changes 2016-12-29 22:50:05.631662720 +0100
+++ /work/SRC/openSUSE:Factory/.kid3.new/kid3.changes 2017-02-26 17:09:28.561894906 +0100
@@ -1,0 +2,24 @@
+Fri Feb 24 13:29:27 UTC 2017 - joerg.lorenzen(a)ki.tng.de
+
+- update to version 3.4.5
+ * New:
+ + Settings to include and exclude folders in the file list.
+ * Improved:
+ + Use HTTPS for imports where possible.
+ + Much faster expanding of the file list by avoiding GUI
+ updates during the operation.
+ + Faster filtering by avoiding GUI updates during the
+ operation.
+ + Reduced memory usage when filtering.
+ + Updated Czech and Dutch translations.
+ * Fixed:
+ + Import from MusicBrainz.
+ + Rate limit for import from Discogs.
+ + Do not display multiple frames of same type as different.
+ + Application not responsive when using a new filter after
+ filtering a huge number of files.
+ + Application not responsive when loading the tags after
+ selecting a lot of files, is now abortable.
+ + Terminate kid3-cli if EOF is received.
+
+-------------------------------------------------------------------
Old:
----
kid3-3.4.4.tar.gz
kid3-3.4.4.tar.gz.asc
New:
----
kid3-3.4.5.tar.gz
kid3-3.4.5.tar.gz.asc
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ kid3.spec ++++++
--- /var/tmp/diff_new_pack.sJkEHo/_old 2017-02-26 17:09:29.033823283 +0100
+++ /var/tmp/diff_new_pack.sJkEHo/_new 2017-02-26 17:09:29.033823283 +0100
@@ -1,7 +1,7 @@
#
# spec file for package kid3
#
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -25,7 +25,7 @@
%endif
Name: kid3
-Version: 3.4.4
+Version: 3.4.5
Release: 0
Summary: Efficient ID3 Tag Editor
License: GPL-2.0+
++++++ kid3-3.4.4.tar.gz -> kid3-3.4.5.tar.gz ++++++
++++ 6424 lines of diff (skipped)
1
0
Hello community,
here is the log from the commit of package wammu for openSUSE:Factory checked in at 2017-02-26 17:09:21
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/wammu (Old)
and /work/SRC/openSUSE:Factory/.wammu.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "wammu"
Changes:
--------
--- /work/SRC/openSUSE:Factory/wammu/wammu.changes 2016-07-01 10:00:40.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.wammu.new/wammu.changes 2017-02-26 17:09:22.522811441 +0100
@@ -1,0 +2,17 @@
+Fri Dec 16 17:55:16 UTC 2016 - ecsos(a)opensuse.org
+
+- Update to 0.43
+ * Fixed images path lookups for installations to /opt.
+ * Fixed startup when installed to /opt.
+ * Fixed bug when message could not be read back.
+ * Localization updates.
+
+-------------------------------------------------------------------
+Fri Nov 25 22:03:17 UTC 2016 - ecsos(a)opensuse.org
+
+- Update to 0.42
+ * Improved AppData metadata.
+ * Added ttyHS ports to selection.
+ * Localization updates.
+
+-------------------------------------------------------------------
Old:
----
wammu-0.41.tar.bz2
New:
----
wammu-0.43.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ wammu.spec ++++++
--- /var/tmp/diff_new_pack.S7DAFg/_old 2017-02-26 17:09:22.902753778 +0100
+++ /var/tmp/diff_new_pack.S7DAFg/_new 2017-02-26 17:09:22.906753171 +0100
@@ -17,13 +17,13 @@
Name: wammu
-Version: 0.41
+Version: 0.43
Release: 0
Summary: Mobile Phone Manager
License: GPL-2.0
Group: Productivity/Telephony/Utilities
Url: http://wammu.eu/wammu/
-Source: http://downloads.sourceforge.net/gammu/%{name}-%{version}.tar.bz2
+Source: https://dl.cihar.com/wammu/v0/%{name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
# Python location
@@ -34,7 +34,7 @@
BuildRequires: desktop-file-utils
%endif
BuildRequires: python-devel
-BuildRequires: python-gammu >= 2.5
+BuildRequires: python-gammu >= 2.7
BuildRequires: python-pybluez
%if 0%{?suse_version} > 1130
BuildRequires: python-wxWidgets >= 2.6
@@ -46,7 +46,7 @@
BuildRequires: update-desktop-files
%endif
Requires: python-base = %py_ver
-Requires: python-gammu >= 2.5
+Requires: python-gammu >= 2.7
Requires: python-pybluez
Requires: python-xml
%if 0%{?suse_version} > 1130
++++++ wammu-0.41.tar.bz2 -> wammu-0.43.tar.bz2 ++++++
++++ 14419 lines of diff (skipped)
1
0
Hello community,
here is the log from the commit of package feh for openSUSE:Factory checked in at 2017-02-26 17:09:15
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/feh (Old)
and /work/SRC/openSUSE:Factory/.feh.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "feh"
Changes:
--------
--- /work/SRC/openSUSE:Factory/feh/feh.changes 2016-09-07 11:44:51.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.feh.new/feh.changes 2017-02-26 17:09:16.427736473 +0100
@@ -1,0 +2,9 @@
+Fri Feb 24 11:07:56 UTC 2017 - mimi.vx(a)gmail.com
+
+- update to 2.18.2
+* Fix image-specific format specifiers not being updated correctly
+* New key binding: ! - zoom_fill (zoom to fill window, may cut off image parts
+* Disable EXIF-based auto rotation by default
+* add --auto-rotate option to enable auto rotation
+
+-------------------------------------------------------------------
Old:
----
feh-2.17.1.tar.bz2
feh-2.17.1.tar.bz2.asc
New:
----
feh-2.18.2.tar.bz2
feh-2.18.2.tar.bz2.asc
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ feh.spec ++++++
--- /var/tmp/diff_new_pack.UQ0LKY/_old 2017-02-26 17:09:16.931659995 +0100
+++ /var/tmp/diff_new_pack.UQ0LKY/_new 2017-02-26 17:09:16.935659388 +0100
@@ -1,7 +1,7 @@
#
# spec file for package feh
#
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
Name: feh
-Version: 2.17.1
+Version: 2.18.2
Release: 0
Summary: Fast and Lightweight Image Viewer
License: MIT and LGPL-2.0+
@@ -97,7 +97,7 @@
%files
%defattr(-, root, root)
-%doc AUTHORS ChangeLog README TODO
+%doc AUTHORS ChangeLog README.md TODO
%{_bindir}/feh
%{_bindir}/feh-cam
%{_bindir}/gen-cam-menu
++++++ feh-2.17.1.tar.bz2 -> feh-2.18.2.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/feh-2.17.1/ChangeLog new/feh-2.18.2/ChangeLog
--- old/feh-2.17.1/ChangeLog 2016-08-31 20:30:26.000000000 +0200
+++ new/feh-2.18.2/ChangeLog 2017-02-16 23:11:12.000000000 +0100
@@ -1,3 +1,24 @@
+Thu, 16 Feb 2017 23:05:39 +0100 Daniel Friesel <derf+feh(a)finalrewind.org>
+
+* Release v2.18.2
+ * Fix crash when using both --thumbnails and --title. This bug was
+ introduced in v2.18.1.
+
+Sun, 22 Jan 2017 19:11:32 +0100 Daniel Friesel <derf+feh(a)finalrewind.org>
+
+* Release v2.18.1
+ * Fix image-specific format specifiers not being updated correctly
+ (e.g. %z not displaying the correct zoom value after zooming in / out)
+
+Tue, 01 Nov 2016 10:55:04 +0100 Daniel Friesel <derf+feh(a)finalrewind.org>
+
+* Release v2.18
+ * Move README to README.md
+ * New key binding: ! / zoom_fill (zoom to fill window, may cut off image
+ parts)
+ * Only for builds with exif=1: Disable EXIF-based auto rotation by
+ default, add --auto-rotate option to enable it (Patch by Elliot Wolk)
+
Wed, 31 Aug 2016 20:27:20 +0200 Daniel Friesel <derf+feh(a)finalrewind.org>
* Release v2.17.1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/feh-2.17.1/Makefile new/feh-2.18.2/Makefile
--- old/feh-2.17.1/Makefile 2016-08-31 20:30:26.000000000 +0200
+++ new/feh-2.18.2/Makefile 2017-02-16 23:11:12.000000000 +0100
@@ -51,8 +51,8 @@
install-doc:
@echo installing docs to ${doc_dir}
@mkdir -p ${doc_dir}
- @cp AUTHORS ChangeLog README TODO ${doc_dir}
- @chmod 644 ${doc_dir}/AUTHORS ${doc_dir}/ChangeLog ${doc_dir}/README \
+ @cp AUTHORS ChangeLog README.md TODO ${doc_dir}
+ @chmod 644 ${doc_dir}/AUTHORS ${doc_dir}/ChangeLog ${doc_dir}/README.md \
${doc_dir}/TODO
install-bin:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/feh-2.17.1/README new/feh-2.18.2/README
--- old/feh-2.17.1/README 2016-08-31 20:30:26.000000000 +0200
+++ new/feh-2.18.2/README 1970-01-01 01:00:00.000000000 +0100
@@ -1,109 +0,0 @@
-feh - Imlib2 based image viewer
--------------------------------
-
- * <http://feh.finalrewind.org/>
- * <http://linuxbrit.co.uk/feh/>
- * #feh on irc.oftc.net
-
-Dependencies
-------------
-
- * Imlib2
- * libcurl (disable with make curl=0)
- * libpng
- * libX11
- * libXinerama (disable with make xinerama=0)
-
-If built with exif=1:
-
- * libexif-dev
- * libexif12
-
-Recommended
------------
-
- * jpegtran (supplied by the jpeg library, for lossless image rotation)
- * convert (supplied by ImageMagick, can be used to load unsupported formats)
-
-Installation
-------------
-
-For end users:
-
-$ make
-$ sudo make install app=1
-
-For package maintainers and users who do not want feh to install its
-icons into /usr/share:
-
-$ make
-$ sudo make install
-
-Explanation: feh ships some icons and an X11 desktop entry, which allow it to
-be used from file managers, desktop menus and similar. However, installing
-icons to /usr/local/share/... does not seem to work reliable in all cases.
-Because of this, when using "make install app=1", feh will install its icons
-to /usr/share/..., even though they technically belong into /usr/local.
-
-ZSH Completion for feh is available at
-<http://git.finalrewind.org/zsh/plain/etc/completions/_feh>
-
-Make flags
-----------
-
-Flags can be used to control the build and installation process, e.g. via "make
-flag=bool", "make install flag=bool", or "export flag=bool; make && make
-install". For example, "make xinerama=0 debug=1" will disable Xinerama support
-and produce a debug build.
-
-Available flags are:
-
- * app (default 0) - install icons to /usr/share, regardless of DESTDIR
- and PREFIX, and call gtk-update-icon-cache afterwards
- * cam (default 0) - install deprecated feh-cam und gen-cam-menu scripts
- * curl (default 1) - use libcurl to view http:// and similar images
- * debug (default 0) - debug build, enables --debug
- * exif (default 0) - Builtin EXIF tag display support
- * help (default 0) - include help text (refers to the manpage otherwise)
- * stat64 (default 0) - Support CIFS shares from 64bit hosts on 32bit machines
- * xinerama (default 1) - Support Xinerama/XRandR multiscreen setups
-
-So, by default libcurl and Xinerama are enabled, the rest is disabled.
-
-Additionally, the standard variables PREFIX and DESTDIR are supported.
-PREFIX (default /usr) controls where the application and its data files
-will be installed. It must be set both during "make" and "make install".
-DESTDIR (default empty) sets the installation root during "make install". It
-is mostly useful for package maintainers.
-
-Note: config.mk is designed so that in most cases, you can set environment
-variables instead of editing it. E.g.:
-CFLAGS='-g -Os' make
-export DESTDIR=/tmp/feh PREFIX=/usr; make && make install
-
-Builtin EXIF support is maintained by Dennis Real, see
-<https://github.com/reald/feh>.
-
-
-Testing (non-X)
----------------
-
-$ make test
-
-Requires perl >= 5.10 with Test::Command. The tests are non-interactive and
-work without X, so they can safely be run even on a headless buildserver.
-
-
-Testing (X)
------------
-
-Requires
- * import (usually supplied by imagemagick)
- * perl >= 5.10 with GD, Test::More and X11::GUITest
- * twm
- * Xephyr
-
-$ make test-x11
-
-Be aware that this is quite experimental, so far the X-tests have only been
-run on one machine. So they may or may not work for you.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/feh-2.17.1/README.md new/feh-2.18.2/README.md
--- old/feh-2.17.1/README.md 1970-01-01 01:00:00.000000000 +0100
+++ new/feh-2.18.2/README.md 2017-02-16 23:11:12.000000000 +0100
@@ -0,0 +1,136 @@
+# feh
+Imlib2 based image viewer
+---
+
+ * http://feh.finalrewind.org/
+ * http://linuxbrit.co.uk/feh/
+ * #feh on irc.oftc.net
+
+Dependencies
+---
+
+ * Imlib2
+ * libcurl (disable with make curl=0)
+ * libpng
+ * libX11
+ * libXinerama (disable with make xinerama=0)
+
+If built with exif=1:
+
+ * libexif-dev
+ * libexif12
+
+Recommended
+---
+
+ * jpegtran (supplied by the jpeg library, for lossless image rotation)
+ * convert (supplied by ImageMagick, can be used to load unsupported formats)
+
+Installation
+---
+
+**For end users:**
+```bash
+$ make
+$ sudo make install app=1
+```
+
+**For package maintainers and users who do not want feh to install its
+icons into /usr/share:**
+```bash
+$ make
+$ sudo make install
+```
+
+**Explanation:** feh ships some icons and an X11 desktop entry, which allow it to
+be used from file managers, desktop menus and similar. However, installing
+icons to /usr/local/share/... does not seem to work reliable in all cases.
+Because of this, when using "make install app=1", feh will install its icons
+to /usr/share/..., even though they technically belong into /usr/local.
+
+
+ZSH Completion for feh is available [here](http://git.finalrewind.org/zsh/plain/etc/completions/_feh)
+
+Make flags
+----------
+
+Flags can be used to control the build and installation process.
+
+e.g.
+
+```bash
+make flag=bool
+```
+```bash
+make install flag=bool
+```
+or
+```bash
+export flag=bool
+make && make install
+```
+
+For example, `make xinerama=0 debug=1` will disable Xinerama support and produce a debug build.
+
+Available flags are:
+
+| Flag | Default value | Description |
+| :--- | :---: | :--- |
+| app | 0 | install icons to /usr/share, regardless of `DESTDIR` and `PREFIX, and call gtk-update-icon-cache afterwards |
+| cam | 0 | install deprecated feh-cam und gen-cam-menu scripts |
+| curl | 1 | use libcurl to view http:// and similar images |
+| debug | 0 | debug build, enables `--debug` |
+| exif | 0 | Builtin EXIF tag display support |
+| help | 0 | include help text (refers to the manpage otherwise) |
+| stat64 | 0 | Support CIFS shares from 64bit hosts on 32bit machines |
+| xinerama | 1 | Support Xinerama/XRandR multiscreen setups |
+
+So, by default **libcurl** and **Xinerama** are enabled, the rest is disabled.
+
+Additionally, the standard variables `PREFIX` and `DESTDIR` are supported.
+
+**PREFIX _(default: /usr)_** controls where the application and its data files
+will be installed. It must be set both during `make` and `make install`.
+
+**DESTDIR _(default: empty)_** sets the installation root during "make install". It
+is mostly useful for package maintainers.
+
+**Note:** config.mk is designed so that in most cases, you can set environment
+variables instead of editing it. E.g.:
+
+```bash
+CFLAGS='-g -Os' make
+```
+```bash
+export DESTDIR=/tmp/feh PREFIX=/usr
+make && make install
+```
+
+Builtin EXIF support is maintained by Dennis Real, [here](https://github.com/reald/feh).
+
+
+Testing (non-X)
+---------------
+```bash
+$ make test
+```
+
+Requires **perl >= 5.10** with `Test::Command`. The tests are non-interactive and
+work without X, so they can safely be run even on a headless buildserver.
+
+
+Testing (X)
+-----------
+
+Requires
+ * import (usually supplied by imagemagick)
+ * perl >= 5.10 with GD, Test::More and X11::GUITest
+ * twm
+ * Xephyr
+
+```bash
+$ make test-x11
+```
+
+**_Be aware that this is quite experimental, so far the X-tests have only been
+run on one machine. So they may or may not work for you._**
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/feh-2.17.1/config.mk new/feh-2.18.2/config.mk
--- old/feh-2.17.1/config.mk 2016-08-31 20:30:26.000000000 +0200
+++ new/feh-2.18.2/config.mk 2017-02-16 23:11:12.000000000 +0100
@@ -1,5 +1,5 @@
PACKAGE ?= feh
-VERSION ?= 2.17.1
+VERSION ?= 2.18.2
app ?= 0
cam ?= 0
@@ -73,7 +73,7 @@
MAN_EXIF = disabled
endif
-MAN_DATE ?= August 31, 2016
+MAN_DATE ?= February 16, 2017
# Uncomment this to use dmalloc
#CFLAGS += -DWITH_DMALLOC
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/feh-2.17.1/man/feh.pre new/feh-2.18.2/man/feh.pre
--- old/feh-2.17.1/man/feh.pre 2016-08-31 20:30:26.000000000 +0200
+++ new/feh-2.18.2/man/feh.pre 2017-02-16 23:11:12.000000000 +0100
@@ -37,7 +37,7 @@
.Pq graphical
file managers to view an image.
By default
-.Pq unless arguments or a filelist are specified
+.Pq unless arguments or a filelist are specified ,
.Nm
displays all files in the current directory.
.
@@ -45,11 +45,11 @@
.
.Nm
supports filelists, various image sorting modes, image captions, HTTP and more.
-Configurable keyboard and mouse shortcuts are used to control it; by default,
-the mouse is only required for very few actions.
+Configurable keyboard and mouse shortcuts are used to control it.
.
.Pp
.
+In many desktop environments,
.Nm
can also be used as wallpaper setter.
.
@@ -58,9 +58,11 @@
EXIF tags are supported either using exiv2 / exifgrep via
.Cm --info
.Pq see the Sx USAGE EXAMPLES No section ,
-or by compiling
+or as a builtin feature by compiling
.Nm
-with exif=1.
+with exif=1. In this build of
+.Nm ,
+builtin EXIF support is $MAN_EXIF$.
.
.
.Sh MODES
@@ -71,11 +73,12 @@
.
.Pp
.
-Slideshow mode is the default. It opens one window and displays the first
-image in it, the keyboard and mouse can be used to change slides
-.Pq images .
+Slideshow mode is the default. It opens a window and displays the first
+image in it; the slideshow position can be advanced
+.Pq or otherwise changed
+using keyboard and mouse shortcuts.
In slideshow mode, images can be deleted either from the filelist or from the
-disk, the new filelist can then be saved to the disk and reopened at a later
+disk, a changed filelist can also be saved to the disk and reopened at a later
time.
An image can also be read from stdin via
.Qq feh - .
@@ -104,23 +107,25 @@
.
.Pp
.
-List mode doesn't display images. Outputs an
-.Cm ls - No style
-listing of the files in the filelist, including image info such as size,
-pixels, type, etc. Customlist mode will display whatever image info you want,
-in the format you choose.
+List mode doesn't display images. Instead, it outputs an
+.Cm ls Ns No - Ns style
+listing of the files in the filelist, including image info such as size, number
+of pixels, type, etc. There is also a Customlist mode which prints image info
+in a custom format specified by a printf-like format string.
.
.Pp
.
.Nm
can also list either all the loadable files in a filelist or all the
-unloadable files. Useful for preening a directory.
+unloadable files. This is useful for preening a directory.
.
.
.Sh SUPPORTED FORMATS
.
.Nm
-can open any format supported by Imlib2, most notably jpeg and png.
+can open any format supported by Imlib2, most notably jpeg, png,
+pnm, tiff, and bmp. The gif format is also supported, but only for static
+images. In case of animations, only the first frame will be shown.
.
If the convert binary
.Pq supplied by ImageMagick
@@ -129,8 +134,6 @@
.Cm --magick-timeout Ar num
with a non-negative value to enable it.
.
-For animated images, only the first frame is shown.
-.
.
.Sh OPTIONS
.
@@ -184,10 +187,15 @@
for details. Example usage:
.Qq feh -A Qo mv ~/images/%N Qc * .
.
-.It Cm --action1 No .. Cm --action9
+.It Cm --action1 No .. Cm --action9 Oo Ar flag Oc Ns Oo [ Ar title ] Oc Ns Ar action
.
Extra actions which can be set and triggered using the appropriate number key.
.
+.It Cm --auto-rotate
+.
+.Pq only if compiled with exif=1
+Automatically rotate images based on EXIF data. Does not alter the image files.
+.
.It Cm -Z , --auto-zoom
.
Zoom pictures to screen size in fullscreen / fixed geometry mode.
@@ -362,34 +370,10 @@
Enable Index mode. Index mode is similar to montage mode, and accepts the
same options. It creates an index print of thumbnails, printing the image
name beneath each thumbnail. Index mode enables certain other options, see
-.Sx INDEX MODE OPTIONS
+.Sx INDEX AND THUMBNAIL MODE OPTIONS
and
.Sx MONTAGE MODE OPTIONS .
.
-.It Cm --index-info Ar format
-.
-Show image information based on
-.Ar format
-below thumbnails in index / thumbnail mode. See
-.Sx FORMAT SPECIFIERS .
-May contain newlines.
-.
-Use
-.Qq --index-info So Sc
-to display thumbnails without any info text
-.
-.Pp
-.
-Note: If you specify image-related formats
-.Pq such as \&%w or \&%s ,
-.Nm
-needs to load all images to calculate the dimensions of its own window.
-So when using them with many files, it will take a while before a
-.Nm
-window becomes visible. Use
-.Cm --preload
-to get a progress bar.
-.
.It Cm --info Oo Ar flag Oc Ns Ar commandline
.
Execute
@@ -653,6 +637,8 @@
do not affect the thumbnail window. They do, however, work for image windows
launched from thumbnail mode.
Also supports
+.Sx INDEX AND THUMBNAIL MODE OPTIONS
+as well as
.Sx MONTAGE MODE OPTIONS .
.
.It Cm -~ , --thumb-title Ar string
@@ -830,10 +816,34 @@
.El
.
.
-.Sh INDEX MODE OPTIONS
+.Sh INDEX AND THUMBNAIL MODE OPTIONS
.
.Bl -tag -width indent
.
+.It Cm --index-info Ar format
+.
+Show image information based on
+.Ar format
+below thumbnails in index / thumbnail mode. See
+.Sx FORMAT SPECIFIERS .
+May contain newlines.
+.
+Use
+.Qq --index-info ''
+to display thumbnails without any info text
+.
+.Pp
+.
+Note: If you specify image-related formats
+.Pq such as \&%w or \&%s ,
+.Nm
+needs to load all images to calculate the dimensions of its own window.
+So when using them with many files, it will take a while before a
+.Nm
+window becomes visible. Use
+.Cm --preload
+to get a progress bar.
+.
.It Cm -@ , --title-font Ar font
.
Set font to print a title on the index, if no font is specified, no title will
@@ -843,6 +853,7 @@
.
.Sh BACKGROUND SETTING
.
+In many desktop environments,
.Nm
can also be used as a background setter. Unless you pass the
.Cm --no-fehbg
@@ -860,6 +871,15 @@
.
.Pp
.
+Note that
+.Nm
+does not support setting the wallpaper of GNOME shell desktops. In this
+environment, you can use
+.Qq gsettings set org.gnome.desktop.background picture-uri file:/// Ns Ar path
+instead.
+.
+.Pp
+.
For the
.Cm --bg-center
and
@@ -1412,6 +1432,11 @@
.
Zoom to fit the window size
.
+.It ! Bq zoom_fill
+.
+Zoom to fill the window size like
+.Cm --bg-fill
+.
.El
.
.Ss MENU KEYS
@@ -1700,18 +1725,19 @@
.
.Pp
.
-On systems with Imlib2 >= 1.4.7 and giflib >= 5.1.2,
+On systems with giflib 5.1.2,
.Nm
may be unable to load gif images. For affected mips, mipsel and arm devices,
gif support is completely broken, while on x86 / x86_64 gifs can usually
only be loaded if they are the first image in the filelist.
-This appears to be an Imlib2 and/or giflib bug introduced in giflib 5.1.2.
-See
+This appears to be a bug in giflib,
+see
.Aq https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=813729
for details. Workaround: Use
.Cm --magick-timeout 5
.Pq or some other positive value
-to load gifs with imagemagick instead, or downgrade giflib to 5.1.1.
+to load gifs with imagemagick instead, or downgrade to giflib 5.1.1, or
+upgrade to giflib 5.1.4.
.
.Pp
.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/feh-2.17.1/share/applications/feh.pre new/feh-2.18.2/share/applications/feh.pre
--- old/feh-2.17.1/share/applications/feh.pre 2016-08-31 20:30:26.000000000 +0200
+++ new/feh-2.18.2/share/applications/feh.pre 2017-02-16 23:11:12.000000000 +0100
@@ -4,7 +4,7 @@
GenericName=Image viewer
GenericName[en_US]=Image viewer
Comment=Fast Imlib2-based Image Viewer
-Exec=feh %F
+Exec=feh %U
Terminal=false
Type=Application
Icon=feh
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/feh-2.17.1/src/events.c new/feh-2.18.2/src/events.c
--- old/feh-2.17.1/src/events.c 2016-08-31 20:30:26.000000000 +0200
+++ new/feh-2.18.2/src/events.c 2017-02-16 23:11:12.000000000 +0100
@@ -388,7 +388,7 @@
thumbfile = feh_thumbnail_get_file_from_coords(x, y);
if (thumbfile) {
if (opt.actions[0]) {
- feh_action_run(thumbfile, opt.actions[0]);
+ feh_action_run(thumbfile, opt.actions[0], winwid);
if (!opt.hold_actions[0])
feh_thumbnail_mark_removed(thumbfile, 0);
} else {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/feh-2.17.1/src/feh.h new/feh-2.18.2/src/feh.h
--- old/feh-2.17.1/src/feh.h 2016-08-31 20:30:26.000000000 +0200
+++ new/feh-2.18.2/src/feh.h 2017-02-16 23:11:12.000000000 +0100
@@ -143,7 +143,7 @@
void feh_event_handle_keypress(XEvent * ev);
void feh_event_handle_generic(winwidget winwid, unsigned int state, KeySym keysym, unsigned int button);
fehkey *feh_str_to_kb(char * action);
-void feh_action_run(feh_file * file, char *action);
+void feh_action_run(feh_file * file, char *action, winwidget winwid);
char *format_size(int size);
char *feh_printf(char *str, feh_file * file, winwidget winwid);
void im_weprintf(winwidget w, char *fmt, ...);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/feh-2.17.1/src/getopt.h new/feh-2.18.2/src/getopt.h
--- old/feh-2.17.1/src/getopt.h 2016-08-31 20:30:26.000000000 +0200
+++ new/feh-2.18.2/src/getopt.h 2017-02-16 23:11:12.000000000 +0100
@@ -14,8 +14,8 @@
You should have received a copy of the GNU Library General Public
License along with the GNU C Library; see the file COPYING.LIB. If not,
- write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
- Boston, MA 02111-1307, USA. */
+ write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
+ Boston, MA 02110-1301, USA. */
#ifndef _GETOPT_H
#define _GETOPT_H 1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/feh-2.17.1/src/help.raw new/feh-2.18.2/src/help.raw
--- old/feh-2.17.1/src/help.raw 2016-08-31 20:30:26.000000000 +0200
+++ new/feh-2.18.2/src/help.raw 2017-02-16 23:11:12.000000000 +0100
@@ -35,6 +35,7 @@
-d, --draw-filename Show the filename in the image window
--draw-tinted Show overlay texts on semi-transparent background
--draw-exif Show some Exif information (if compiled with exif=1)
+ --auto-rotate Rotate images according to Exif info (if compiled with exif=1)
-^, --title TITLE Set window title (see FORMAT SPECIFIERS)
-D, --slideshow-delay NUM Set delay between automatically changing slides
--cycle-once Exit after one loop through the slideshow
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/feh-2.17.1/src/imlib.c new/feh-2.18.2/src/imlib.c
--- old/feh-2.17.1/src/imlib.c 2016-08-31 20:30:26.000000000 +0200
+++ new/feh-2.18.2/src/imlib.c 2017-02-16 23:11:12.000000000 +0100
@@ -259,19 +259,22 @@
}
#ifdef HAVE_LIBEXIF
- file->ed = exif_get_data(file->filename);
-
- if (file->ed) {
- entry = exif_content_get_entry(file->ed->ifd[EXIF_IFD_0], 0x0112);
- if (entry != NULL) {
- if (*(entry->data) == 3)
- gib_imlib_image_orientate(*im, 2);
- else if (*(entry->data) == 6)
- gib_imlib_image_orientate(*im, 1);
- else if (*(entry->data) == 8)
- gib_imlib_image_orientate(*im, 3);
- }
+ int orientation = 0;
+ ExifData *exifData = exif_data_new_from_file(file->filename);
+ if (exifData) {
+ ExifByteOrder byteOrder = exif_data_get_byte_order(exifData);
+ ExifEntry *exifEntry = exif_data_get_entry(exifData, EXIF_TAG_ORIENTATION);
+ if (exifEntry && opt.auto_rotate)
+ orientation = exif_get_short(exifEntry->data, byteOrder);
}
+ file->ed = exifData;
+
+ if (orientation == 3)
+ gib_imlib_image_orientate(*im, 2);
+ else if (orientation == 6)
+ gib_imlib_image_orientate(*im, 1);
+ else if (orientation == 8)
+ gib_imlib_image_orientate(*im, 3);
#endif
D(("Loaded ok\n"));
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/feh-2.17.1/src/keyevents.c new/feh-2.18.2/src/keyevents.c
--- old/feh-2.17.1/src/keyevents.c 2016-08-31 20:30:26.000000000 +0200
+++ new/feh-2.18.2/src/keyevents.c 2017-02-16 23:11:12.000000000 +0100
@@ -134,13 +134,14 @@
feh_set_kb(&keys.zoom_out , 0, XK_Down , 0, XK_KP_Subtract,0, 0);
feh_set_kb(&keys.zoom_default, 0, XK_KP_Multiply, 0, XK_asterisk,0, 0);
feh_set_kb(&keys.zoom_fit , 0, XK_KP_Divide , 0, XK_slash , 0, 0);
+ feh_set_kb(&keys.zoom_fill , 0, XK_exclam , 0, 0 , 0, 0);
feh_set_kb(&keys.size_to_image, 0, XK_w , 0, 0 , 0, 0);
feh_set_kb(&keys.render , 0, XK_KP_Begin , 0, XK_R , 0, 0);
feh_set_kb(&keys.toggle_actions, 0, XK_a, 0, 0, 0, 0);
feh_set_kb(&keys.toggle_aliasing, 0, XK_A, 0, 0, 0, 0);
feh_set_kb(&keys.toggle_filenames, 0, XK_d, 0, 0, 0, 0);
#ifdef HAVE_LIBEXIF
- feh_set_kb(&keys.toggle_exif, 0, XK_e, 0, 0, 0, 0);
+ feh_set_kb(&keys.toggle_exif, 0, XK_e, 0, 0, 0, 0);
#endif
feh_set_kb(&keys.toggle_info, 0, XK_i, 0, 0, 0, 0);
feh_set_kb(&keys.toggle_pointer, 0, XK_o, 0, 0, 0, 0);
@@ -226,7 +227,7 @@
{
if (opt.actions[action]) {
if (opt.slideshow) {
- feh_action_run(FEH_FILE(winwid->file->data), opt.actions[action]);
+ feh_action_run(FEH_FILE(winwid->file->data), opt.actions[action], winwid);
if (opt.hold_actions[action])
feh_reload_image(winwid, 1, 1);
@@ -235,7 +236,7 @@
} else if ((winwid->type == WIN_TYPE_SINGLE)
|| (winwid->type == WIN_TYPE_THUMBNAIL_VIEWER)) {
- feh_action_run(FEH_FILE(winwid->file->data), opt.actions[action]);
+ feh_action_run(FEH_FILE(winwid->file->data), opt.actions[action], winwid);
if (opt.hold_actions[action])
feh_reload_image(winwid, 1, 1);
@@ -246,7 +247,7 @@
thumbfile = feh_thumbnail_get_selected_file();
if (thumbfile) {
- feh_action_run(thumbfile, opt.actions[action]);
+ feh_action_run(thumbfile, opt.actions[action], winwid);
if (!opt.hold_actions[action])
feh_thumbnail_mark_removed(thumbfile, 0);
@@ -439,6 +440,8 @@
return &keys.zoom_default;
else if (!strcmp(action, "zoom_fit"))
return &keys.zoom_fit;
+ else if (!strcmp(action, "zoom_fill"))
+ return &keys.zoom_fill;
else if (!strcmp(action, "size_to_image"))
return &keys.size_to_image;
else if (!strcmp(action, "render"))
@@ -653,6 +656,14 @@
winwidget_center_image(winwid);
winwidget_render_image(winwid, 0, 0);
}
+ else if (feh_is_kp(&keys.zoom_fill, state, keysym, button)) {
+ int save_zoom = opt.zoom_mode;
+ opt.zoom_mode = ZOOM_MODE_FILL;
+ feh_calc_needed_zoom(&winwid->zoom, winwid->im_w, winwid->im_h, winwid->w, winwid->h);
+ winwidget_center_image(winwid);
+ winwidget_render_image(winwid, 0, 0);
+ opt.zoom_mode = save_zoom;
+ }
else if (feh_is_kp(&keys.render, state, keysym, button)) {
if (winwid->type == WIN_TYPE_THUMBNAIL)
feh_thumbnail_show_selected();
@@ -677,7 +688,7 @@
opt.draw_exif = !opt.draw_exif;
winwidget_rerender_all(0);
}
-#endif
+#endif
else if (feh_is_kp(&keys.toggle_info, state, keysym, button)) {
opt.draw_info = !opt.draw_info;
winwidget_rerender_all(0);
@@ -777,7 +788,7 @@
}
#endif /* HAVE_LIBXINERAMA */
}
- else if (feh_is_kp(&keys.reload_plus, state, keysym, button)){
+ else if (feh_is_kp(&keys.reload_plus, state, keysym, button)){
if (opt.reload < SLIDESHOW_RELOAD_MAX)
opt.reload++;
else if (opt.verbose)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/feh-2.17.1/src/list.c new/feh-2.18.2/src/list.c
--- old/feh-2.17.1/src/list.c 2016-08-31 20:30:26.000000000 +0200
+++ new/feh-2.18.2/src/list.c 2017-02-16 23:11:12.000000000 +0100
@@ -54,7 +54,7 @@
file->info->has_alpha ? 'X' : '-', file->filename);
}
- feh_action_run(file, opt.actions[0]);
+ feh_action_run(file, opt.actions[0], NULL);
}
exit(0);
}
@@ -92,7 +92,7 @@
if (opt.verbose)
feh_display_status('.');
puts(file->filename);
- feh_action_run(file, opt.actions[0]);
+ feh_action_run(file, opt.actions[0], NULL);
}
else {
if (opt.verbose)
@@ -106,7 +106,7 @@
if (opt.verbose)
feh_display_status('.');
puts(file->filename);
- feh_action_run(file, opt.actions[0]);
+ feh_action_run(file, opt.actions[0], NULL);
}
else {
if (opt.verbose)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/feh-2.17.1/src/options.c new/feh-2.18.2/src/options.c
--- old/feh-2.17.1/src/options.c 2016-08-31 20:30:26.000000000 +0200
+++ new/feh-2.18.2/src/options.c 2017-02-16 23:11:12.000000000 +0100
@@ -396,6 +396,7 @@
{"no-jump-on-resort", 0, 0, 220},
#ifdef HAVE_LIBEXIF
{"draw-exif" , 0, 0, 223},
+ {"auto-rotate" , 0, 0, 242},
#endif
{"cycle-once" , 0, 0, 224},
{"no-xinerama" , 0, 0, 225},
@@ -730,6 +731,9 @@
case 223:
opt.draw_exif = 1;
break;
+ case 242:
+ opt.auto_rotate = 1;
+ break;
#endif
case 224:
opt.cycle_once = 1;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/feh-2.17.1/src/options.h new/feh-2.18.2/src/options.h
--- old/feh-2.17.1/src/options.h 2016-08-31 20:30:26.000000000 +0200
+++ new/feh-2.18.2/src/options.h 2017-02-16 23:11:12.000000000 +0100
@@ -51,6 +51,7 @@
unsigned char draw_filename;
#ifdef HAVE_LIBEXIF
unsigned char draw_exif;
+ unsigned char auto_rotate;
#endif
unsigned char list;
unsigned char quiet;
@@ -175,6 +176,7 @@
struct __fehkey zoom_out;
struct __fehkey zoom_default;
struct __fehkey zoom_fit;
+ struct __fehkey zoom_fill;
struct __fehkey render;
struct __fehkey toggle_actions;
struct __fehkey toggle_filenames;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/feh-2.17.1/src/slideshow.c new/feh-2.18.2/src/slideshow.c
--- old/feh-2.17.1/src/slideshow.c 2016-08-31 20:30:26.000000000 +0200
+++ new/feh-2.18.2/src/slideshow.c 2017-02-16 23:11:12.000000000 +0100
@@ -450,12 +450,12 @@
return(s);
}
-void feh_action_run(feh_file * file, char *action)
+void feh_action_run(feh_file * file, char *action, winwidget winwid)
{
if (action) {
char *sys;
D(("Running action %s\n", action));
- sys = feh_printf(action, file, NULL);
+ sys = feh_printf(action, file, winwid);
if (opt.verbose && !opt.list && !opt.customlist)
fprintf(stderr, "Running action -->%s<--\n", sys);
@@ -615,6 +615,8 @@
if (winwid) {
snprintf(buf, sizeof(buf), "%.2f", winwid->zoom);
strncat(ret, buf, sizeof(ret) - strlen(ret) - 1);
+ } else {
+ strncat(ret, "1.00", sizeof(ret) - strlen(ret) - 1);
}
break;
case '%':
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/feh-2.17.1/src/thumbnail.c new/feh-2.18.2/src/thumbnail.c
--- old/feh-2.17.1/src/thumbnail.c 2016-08-31 20:30:26.000000000 +0200
+++ new/feh-2.18.2/src/thumbnail.c 2017-02-16 23:11:12.000000000 +0100
@@ -144,6 +144,7 @@
index_image_width = td.w;
index_image_height = td.h + title_area_h;
+ D(("imlib_create_image(%d, %d)", index_image_width, index_image_height));
td.im_main = imlib_create_image(index_image_width, index_image_height);
gib_imlib_image_set_has_alpha(td.im_main, 1);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/feh-2.17.1/src/winwidget.c new/feh-2.18.2/src/winwidget.c
--- old/feh-2.17.1/src/winwidget.c 2016-08-31 20:30:26.000000000 +0200
+++ new/feh-2.18.2/src/winwidget.c 2017-02-16 23:11:12.000000000 +0100
@@ -634,6 +634,12 @@
feh_draw_info(winwid);
if (winwid->errstr)
feh_draw_errstr(winwid);
+ if (opt.title && (current_file != NULL)) {
+ /* title might contain e.g. the zoom specifier -> rewrite */
+ char *s = slideshow_create_name(FEH_FILE(current_file->data), winwid);
+ winwidget_rename(winwid, s);
+ free(s);
+ }
} else if ((opt.mode == MODE_ZOOM) && !antialias)
feh_draw_zoom(winwid);
1
0
Hello community,
here is the log from the commit of package python3-numba for openSUSE:Factory checked in at 2017-02-26 17:09:10
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python3-numba (Old)
and /work/SRC/openSUSE:Factory/.python3-numba.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python3-numba"
Changes:
--------
--- /work/SRC/openSUSE:Factory/python3-numba/python3-numba.changes 2017-02-03 18:59:07.235018554 +0100
+++ /work/SRC/openSUSE:Factory/.python3-numba.new/python3-numba.changes 2017-02-26 17:09:12.344356197 +0100
@@ -1,0 +2,34 @@
+Wed Feb 22 22:15:53 UTC 2017 - arun(a)gmx.de
+
+- update to version 0.31.0:
+ * Improvements:
+ + PR #2281: Update for numpy1.12
+ + PR #2278: Add CUDA atomic.{max, min, compare_and_swap}
+ + PR #2277: Add about section to conda recipies to identify
+ license and other metadata in Anaconda Cloud
+ + PR #2271: Adopt itanium C++-style mangling for CPU and CUDA
+ targets
+ + PR #2267: Add fastmath flags
+ + PR #2261: Support dtype.type
+ + PR #2249: Changes for llvm3.9
+ + PR #2234: Bump llvmlite requirement to 0.16 and add
+ install_name_tool_fixer to mviewbuf for OS X
+ + PR #2230: Add python3.6 to TravisCi
+ + PR #2227: Enable caching for gufunc wrapper
+ + PR #2170: Add debugging support
+ + PR #2037: inspect_cfg() for easier visualization of the function
+ operation
+ * Fixes:
+ + PR #2274: Fix nvvm ir patch in mishandling “load”
+ + PR #2272: Fix breakage to cuda7.5
+ + PR #2269: Fix caching of copy_strides kernel in cuda.reduce
+ + PR #2265: Fix #2263: error when linking two modules with dynamic
+ globals
+ + PR #2252: Fix path separator in test
+ + PR #2246: Fix overuse of memory in some system with fork
+ + PR #2241: Fix #2240: __module__ in dynamically created function
+ not a str
+ + PR #2239: Fix fingerprint computation failure preventing
+ fallback
+
+-------------------------------------------------------------------
Old:
----
numba-0.30.1.tar.gz
New:
----
numba-0.31.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python3-numba.spec ++++++
--- /var/tmp/diff_new_pack.MsP1fh/_old 2017-02-26 17:09:12.724298534 +0100
+++ /var/tmp/diff_new_pack.MsP1fh/_new 2017-02-26 17:09:12.728297927 +0100
@@ -13,21 +13,22 @@
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
+#
Name: python3-numba
-Version: 0.30.1
+Version: 0.31.0
Release: 0
-License: BSD-2-Clause
Summary: Compiling Python code using LLVM
-Url: http://numba.github.com
+License: BSD-2-Clause
Group: Development/Languages/Python
+Url: http://numba.github.com
Source: https://files.pythonhosted.org/packages/source/n/numba/numba-%{version}.tar…
BuildRequires: gcc-c++
BuildRequires: python3-devel
-BuildRequires: python3-setuptools
BuildRequires: python3-llvmlite
BuildRequires: python3-numpy-devel >= 1.7
+BuildRequires: python3-setuptools
Requires: python3-llvmlite
Requires: python3-numpy >= 1.7
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@@ -66,11 +67,9 @@
%setup -q -n numba-%{version}
sed -i '1{\@^#!/usr/bin/env python@d}' numba/appdirs.py
-
%build
python3 setup.py build
-
%install
python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}
@@ -81,7 +80,6 @@
ln -s -f %{_sysconfdir}/alternatives/$p %{buildroot}%{_bindir}/$p
done
-
%post
%_sbindir/update-alternatives \
--install %{_bindir}/numba numba %{_bindir}/numba-%{py3_ver} 30 \
@@ -92,7 +90,6 @@
%_sbindir/update-alternatives --remove numba %{_bindir}/numba-%{py3_ver}
fi
-
%files
%defattr(-,root,root,-)
%doc AUTHORS CHANGE_LOG LICENSE README.rst
++++++ numba-0.30.1.tar.gz -> numba-0.31.0.tar.gz ++++++
++++ 8474 lines of diff (skipped)
1
0
Hello community,
here is the log from the commit of package python3-pyrsistent for openSUSE:Factory checked in at 2017-02-26 17:09:02
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python3-pyrsistent (Old)
and /work/SRC/openSUSE:Factory/.python3-pyrsistent.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python3-pyrsistent"
Changes:
--------
--- /work/SRC/openSUSE:Factory/python3-pyrsistent/python3-pyrsistent.changes 2016-06-02 09:36:12.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python3-pyrsistent.new/python3-pyrsistent.changes 2017-02-26 17:09:03.281731608 +0100
@@ -1,0 +2,14 @@
+Wed Feb 22 22:04:57 UTC 2017 - arun(a)gmx.de
+
+- specfile:
+ * update copyright year
+
+- update to version 0.12.0:
+ * Fix #87, add function get_in() for access to elements in deeply
+ nested structures.
+ * Fix #91, add method update() to pset and pbag.
+ * Fix #92, incorrect discard of elements in transform on pvector
+ * This is a release candidate for 1.0 as I now consider pyrsistent
+ fairly stable.
+
+-------------------------------------------------------------------
@@ -11 +24,0 @@
-
Old:
----
pyrsistent-0.11.13.tar.gz
New:
----
pyrsistent-0.12.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python3-pyrsistent.spec ++++++
--- /var/tmp/diff_new_pack.NREtdG/_old 2017-02-26 17:09:03.589684871 +0100
+++ /var/tmp/diff_new_pack.NREtdG/_new 2017-02-26 17:09:03.593684264 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python3-pyrsistent
#
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
Name: python3-pyrsistent
-Version: 0.11.13
+Version: 0.12.0
Release: 0
Summary: Persistent/Functional/Immutable data structures
License: MIT
++++++ pyrsistent-0.11.13.tar.gz -> pyrsistent-0.12.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyrsistent-0.11.13/CHANGES.txt new/pyrsistent-0.12.0/CHANGES.txt
--- old/pyrsistent-0.11.13/CHANGES.txt 2016-04-03 09:02:32.000000000 +0200
+++ new/pyrsistent-0.12.0/CHANGES.txt 2017-01-06 18:51:48.000000000 +0100
@@ -1,5 +1,11 @@
Revision history
----------------
+v0.12.0, 2017-01-06
+ * Fix #87, add function get_in() for access to elements in deeply nested structures.
+ * Fix #91, add method update() to pset and pbag.
+ * Fix #92, incorrect discard of elements in transform on pvector
+ * This is a release candidate for 1.0 as I now consider pyrsistent fairly stable.
+
v0.11.13, 2016-04-03
* Fix #84, pvector segfault in CPython 3 when repr of contained object raises Exception.
* Update README to cover for issue described in #83.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyrsistent-0.11.13/LICENCE.mit new/pyrsistent-0.12.0/LICENCE.mit
--- old/pyrsistent-0.11.13/LICENCE.mit 2016-01-31 15:28:25.000000000 +0100
+++ new/pyrsistent-0.12.0/LICENCE.mit 2017-01-06 18:46:49.000000000 +0100
@@ -1,4 +1,4 @@
-Copyright (c) 2016 Tobias Gustafsson
+Copyright (c) 2017 Tobias Gustafsson
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyrsistent-0.11.13/PKG-INFO new/pyrsistent-0.12.0/PKG-INFO
--- old/pyrsistent-0.11.13/PKG-INFO 2016-04-03 09:03:47.000000000 +0200
+++ new/pyrsistent-0.12.0/PKG-INFO 2017-01-06 19:20:19.000000000 +0100
@@ -1,11 +1,11 @@
Metadata-Version: 1.1
Name: pyrsistent
-Version: 0.11.13
+Version: 0.12.0
Summary: Persistent/Functional/Immutable data structures
Home-page: http://github.com/tobgu/pyrsistent/
Author: Tobias Gustafsson
Author-email: tobias.l.gustafsson(a)gmail.com
-License: LICENSE.mit
+License: MIT
Description: Pyrsistent
==========
.. image:: https://travis-ci.org/tobgu/pyrsistent.png?branch=master
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyrsistent-0.11.13/_pyrsistent_version.py new/pyrsistent-0.12.0/_pyrsistent_version.py
--- old/pyrsistent-0.11.13/_pyrsistent_version.py 2016-04-03 09:00:06.000000000 +0200
+++ new/pyrsistent-0.12.0/_pyrsistent_version.py 2017-01-06 18:52:29.000000000 +0100
@@ -1 +1 @@
-__version__ = '0.11.13'
+__version__ = '0.12.0'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyrsistent-0.11.13/pyrsistent/__init__.py new/pyrsistent-0.12.0/pyrsistent/__init__.py
--- old/pyrsistent-0.11.13/pyrsistent/__init__.py 2015-09-29 19:34:56.000000000 +0200
+++ new/pyrsistent-0.12.0/pyrsistent/__init__.py 2017-01-06 18:39:17.000000000 +0100
@@ -29,6 +29,8 @@
from pyrsistent._transformations import inc, discard, rex, ny
+from pyrsistent._toolz import get_in
+
__all__ = ('pmap', 'm', 'PMap',
'pvector', 'v', 'PVector',
@@ -41,4 +43,5 @@
'PClass', 'PClassMeta',
'immutable',
'freeze', 'thaw', 'mutant',
+ 'get_in',
'inc', 'discard', 'rex', 'ny')
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyrsistent-0.11.13/pyrsistent/_pbag.py new/pyrsistent-0.12.0/pyrsistent/_pbag.py
--- old/pyrsistent-0.11.13/pyrsistent/_pbag.py 2015-09-30 20:51:54.000000000 +0200
+++ new/pyrsistent-0.12.0/pyrsistent/_pbag.py 2017-01-06 18:15:04.000000000 +0100
@@ -49,6 +49,19 @@
"""
return PBag(_add_to_counters(self._counts, element))
+ def update(self, iterable):
+ """
+ Update bag with all elements in iterable.
+
+ >>> s = pbag([1])
+ >>> s.update([1, 2])
+ pbag([1, 1, 2])
+ """
+ if iterable:
+ return PBag(reduce(_add_to_counters, iterable, self._counts))
+
+ return self
+
def remove(self, element):
"""
Remove an element from the bag.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyrsistent-0.11.13/pyrsistent/_pset.py new/pyrsistent-0.12.0/pyrsistent/_pset.py
--- old/pyrsistent-0.11.13/pyrsistent/_pset.py 2015-09-28 20:44:16.000000000 +0200
+++ new/pyrsistent-0.12.0/pyrsistent/_pset.py 2017-01-06 18:04:25.000000000 +0100
@@ -73,6 +73,20 @@
"""
return self.evolver().add(element).persistent()
+ def update(self, iterable):
+ """
+ Return a new PSet with elements in iterable added
+
+ >>> s1 = s(1, 2)
+ >>> s1.update([3, 4, 4])
+ pset([1, 2, 3, 4])
+ """
+ e = self.evolver()
+ for element in iterable:
+ e.add(element)
+
+ return e.persistent()
+
def remove(self, element):
"""
Return a new PSet with element removed. Raises KeyError if element is not present.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyrsistent-0.11.13/pyrsistent/_toolz.py new/pyrsistent-0.12.0/pyrsistent/_toolz.py
--- old/pyrsistent-0.11.13/pyrsistent/_toolz.py 1970-01-01 01:00:00.000000000 +0100
+++ new/pyrsistent-0.12.0/pyrsistent/_toolz.py 2017-01-06 19:04:04.000000000 +0100
@@ -0,0 +1,83 @@
+"""
+Functionality copied from the toolz package to avoid having
+to add toolz as a dependency.
+
+See https://github.com/pytoolz/toolz/.
+
+toolz is relased under BSD licence. Below is the licence text
+from toolz as it appeared when copying the code.
+
+--------------------------------------------------------------
+
+Copyright (c) 2013 Matthew Rocklin
+
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+
+ a. Redistributions of source code must retain the above copyright notice,
+ this list of conditions and the following disclaimer.
+ b. Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+ c. Neither the name of toolz nor the names of its contributors
+ may be used to endorse or promote products derived from this software
+ without specific prior written permission.
+
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR
+ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
+CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
+DAMAGE.
+"""
+import operator
+from six.moves import reduce
+
+
+def get_in(keys, coll, default=None, no_default=False):
+ """
+ NB: This is a straight copy of the get_in implementation found in
+ the toolz library (https://github.com/pytoolz/toolz/) It works
+ with persistent data structures as well as the corresponding
+ datastructures from the stdlib.
+
+ Returns coll[i0][i1]...[iX] where [i0, i1, ..., iX]==keys.
+
+ If coll[i0][i1]...[iX] cannot be found, returns ``default``, unless
+ ``no_default`` is specified, then it raises KeyError or IndexError.
+
+ ``get_in`` is a generalization of ``operator.getitem`` for nested data
+ structures such as dictionaries and lists.
+ >>> from pyrsistent import freeze
+ >>> transaction = freeze({'name': 'Alice',
+ ... 'purchase': {'items': ['Apple', 'Orange'],
+ ... 'costs': [0.50, 1.25]},
+ ... 'credit card': '5555-1234-1234-1234'})
+ >>> get_in(['purchase', 'items', 0], transaction)
+ 'Apple'
+ >>> get_in(['name'], transaction)
+ 'Alice'
+ >>> get_in(['purchase', 'total'], transaction)
+ >>> get_in(['purchase', 'items', 'apple'], transaction)
+ >>> get_in(['purchase', 'items', 10], transaction)
+ >>> get_in(['purchase', 'total'], transaction, 0)
+ 0
+ >>> get_in(['y'], {}, no_default=True)
+ Traceback (most recent call last):
+ ...
+ KeyError: 'y'
+ """
+ try:
+ return reduce(operator.getitem, keys, coll)
+ except (KeyError, IndexError, TypeError):
+ if no_default:
+ raise
+ return default
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyrsistent-0.11.13/pyrsistent/_transformations.py new/pyrsistent-0.12.0/pyrsistent/_transformations.py
--- old/pyrsistent-0.11.13/pyrsistent/_transformations.py 2015-12-27 21:07:11.000000000 +0100
+++ new/pyrsistent-0.12.0/pyrsistent/_transformations.py 2017-01-06 17:48:28.000000000 +0100
@@ -81,11 +81,14 @@
def _update_structure(structure, kvs, path, command):
e = structure.evolver()
- for k, v in kvs:
- if not path and command is discard:
+ if not path and command is discard:
+ # Do this in reverse to avoid index problems with vectors. See #92.
+ for k, v in reversed(kvs):
discard(e, k)
- else:
+ else:
+ for k, v in kvs:
result = _do_to_path(v, path, command)
if result is not v:
e[k] = result
- return e.persistent()
\ No newline at end of file
+
+ return e.persistent()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyrsistent-0.11.13/pyrsistent.egg-info/PKG-INFO new/pyrsistent-0.12.0/pyrsistent.egg-info/PKG-INFO
--- old/pyrsistent-0.11.13/pyrsistent.egg-info/PKG-INFO 2016-04-03 09:03:47.000000000 +0200
+++ new/pyrsistent-0.12.0/pyrsistent.egg-info/PKG-INFO 2017-01-06 19:20:11.000000000 +0100
@@ -1,11 +1,11 @@
Metadata-Version: 1.1
Name: pyrsistent
-Version: 0.11.13
+Version: 0.12.0
Summary: Persistent/Functional/Immutable data structures
Home-page: http://github.com/tobgu/pyrsistent/
Author: Tobias Gustafsson
Author-email: tobias.l.gustafsson(a)gmail.com
-License: LICENSE.mit
+License: MIT
Description: Pyrsistent
==========
.. image:: https://travis-ci.org/tobgu/pyrsistent.png?branch=master
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyrsistent-0.11.13/pyrsistent.egg-info/SOURCES.txt new/pyrsistent-0.12.0/pyrsistent.egg-info/SOURCES.txt
--- old/pyrsistent-0.11.13/pyrsistent.egg-info/SOURCES.txt 2016-04-03 09:03:47.000000000 +0200
+++ new/pyrsistent-0.12.0/pyrsistent.egg-info/SOURCES.txt 2017-01-06 19:20:11.000000000 +0100
@@ -19,6 +19,7 @@
pyrsistent/_precord.py
pyrsistent/_pset.py
pyrsistent/_pvector.py
+pyrsistent/_toolz.py
pyrsistent/_transformations.py
pyrsistent.egg-info/PKG-INFO
pyrsistent.egg-info/SOURCES.txt
@@ -40,5 +41,6 @@
tests/record_test.py
tests/regression_test.py
tests/set_test.py
+tests/toolz_test.py
tests/transform_test.py
tests/vector_test.py
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyrsistent-0.11.13/setup.py new/pyrsistent-0.12.0/setup.py
--- old/pyrsistent-0.11.13/setup.py 2016-02-06 14:34:59.000000000 +0100
+++ new/pyrsistent-0.12.0/setup.py 2017-01-06 19:17:38.000000000 +0100
@@ -65,7 +65,7 @@
author='Tobias Gustafsson',
author_email='tobias.l.gustafsson(a)gmail.com',
url='http://github.com/tobgu/pyrsistent/',
- license='LICENSE.mit',
+ license='MIT',
py_modules=['_pyrsistent_version'],
classifiers=[
'Intended Audience :: Developers',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyrsistent-0.11.13/tests/bag_test.py new/pyrsistent-0.12.0/tests/bag_test.py
--- old/pyrsistent-0.11.13/tests/bag_test.py 2015-09-30 20:51:54.000000000 +0200
+++ new/pyrsistent-0.12.0/tests/bag_test.py 2017-01-06 18:12:59.000000000 +0100
@@ -131,3 +131,12 @@
def test_supports_weakref():
import weakref
weakref.ref(b(1))
+
+
+def test_update():
+ assert pbag([1, 2, 2]).update([3, 3, 4]) == pbag([1, 2, 2, 3, 3, 4])
+
+
+def test_update_no_elements():
+ b = pbag([1, 2, 2])
+ assert b.update([]) is b
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyrsistent-0.11.13/tests/set_test.py new/pyrsistent-0.12.0/tests/set_test.py
--- old/pyrsistent-0.11.13/tests/set_test.py 2015-09-28 20:43:42.000000000 +0200
+++ new/pyrsistent-0.12.0/tests/set_test.py 2017-01-06 18:16:36.000000000 +0100
@@ -158,4 +158,13 @@
def test_supports_weakref():
import weakref
- weakref.ref(s(1))
\ No newline at end of file
+ weakref.ref(s(1))
+
+
+def test_update():
+ assert s(1, 2, 3).update([3, 4, 4, 5]) == s(1, 2, 3, 4, 5)
+
+
+def test_update_no_elements():
+ s1 = s(1, 2)
+ assert s1.update([]) is s1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyrsistent-0.11.13/tests/toolz_test.py new/pyrsistent-0.12.0/tests/toolz_test.py
--- old/pyrsistent-0.11.13/tests/toolz_test.py 1970-01-01 01:00:00.000000000 +0100
+++ new/pyrsistent-0.12.0/tests/toolz_test.py 2017-01-06 18:41:23.000000000 +0100
@@ -0,0 +1,6 @@
+from pyrsistent import get_in, m, v
+
+
+def test_get_in():
+ # This is not an extensive test. The doctest covers that fairly good though.
+ get_in(m(a=v(1, 2, 3)), ['m', 1]) == 2
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyrsistent-0.11.13/tests/transform_test.py new/pyrsistent-0.12.0/tests/transform_test.py
--- old/pyrsistent-0.11.13/tests/transform_test.py 2015-12-27 21:09:42.000000000 +0100
+++ new/pyrsistent-0.12.0/tests/transform_test.py 2017-01-06 17:42:34.000000000 +0100
@@ -80,3 +80,7 @@
def test_no_transformation_returns_the_same_structure():
v = freeze([{'foo': 1}, {'bar': 2}])
assert v.transform([ny, ny], lambda x: x) is v
+
+
+def test_discard_multiple_elements_in_pvector():
+ assert freeze([0, 1, 2, 3, 4]).transform([lambda i: i % 2], discard) == freeze([0, 2, 4])
1
0
Hello community,
here is the log from the commit of package python3-pytest-runner for openSUSE:Factory checked in at 2017-02-26 17:08:56
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python3-pytest-runner (Old)
and /work/SRC/openSUSE:Factory/.python3-pytest-runner.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python3-pytest-runner"
Changes:
--------
--- /work/SRC/openSUSE:Factory/python3-pytest-runner/python3-pytest-runner.changes 2016-07-18 21:24:44.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python3-pytest-runner.new/python3-pytest-runner.changes 2017-02-26 17:08:57.322636006 +0100
@@ -1,0 +2,21 @@
+Wed Feb 22 22:05:35 UTC 2017 - arun(a)gmx.de
+
+- specfile:
+ * update copyright year
+
+- update to version 2.11.1:
+ * #28: Fix logic in marker evaluation.
+
+- changes from version 2.11:
+ * #27: Improved wording in the README around configuration for the
+ distutils command and pytest proper.
+
+- changes from version 2.10.1:
+ * #21: Avoid mutating dictionary keys during iteration.
+
+- changes from version 2.10:
+ * #20: Leverage technique in setuptools 794 to populate PYTHONPATH
+ during test runs such that Python subprocesses will have a
+ dependency context comparable to the test runner.
+
+-------------------------------------------------------------------
Old:
----
pytest-runner-2.9.tar.gz
New:
----
pytest-runner-2.11.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python3-pytest-runner.spec ++++++
--- /var/tmp/diff_new_pack.lmAqlG/_old 2017-02-26 17:08:57.682581378 +0100
+++ /var/tmp/diff_new_pack.lmAqlG/_new 2017-02-26 17:08:57.690580164 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python3-pytest-runner
#
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
Name: python3-pytest-runner
-Version: 2.9
+Version: 2.11.1
Release: 0
Summary: Simple powerful testing with Python
License: MIT
++++++ pytest-runner-2.9.tar.gz -> pytest-runner-2.11.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-runner-2.9/.hgignore new/pytest-runner-2.11.1/.hgignore
--- old/pytest-runner-2.9/.hgignore 2016-07-14 21:57:54.000000000 +0200
+++ new/pytest-runner-2.11.1/.hgignore 1970-01-01 01:00:00.000000000 +0100
@@ -1,2 +0,0 @@
-build
-dist
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-runner-2.9/.hgtags new/pytest-runner-2.11.1/.hgtags
--- old/pytest-runner-2.9/.hgtags 2016-07-14 21:57:54.000000000 +0200
+++ new/pytest-runner-2.11.1/.hgtags 1970-01-01 01:00:00.000000000 +0100
@@ -1,25 +0,0 @@
-a41b62bd27ddab9ce0dda1f586a91eaed1d6a28c 1.0a1
-329b93ea52567ef21c0e96bc78c7dce1d1091607 1.0a2
-9c26b0f31e3033de73e81d84c3140ad22c4c6e14 1.0b1
-b66744dba81a3d674d83420d56d7abfcd132f32a 1.0b2
-fc47a169b30fddce2e37259cf9f853b3fc58cf83 1.0
-5073ad862016aed2c9bd01c06105d505139f754a 1.1b1
-1a37e4e32c68807b5a84ce96244ac285336d0bff 1.1
-fff2c07f64587d73505cdcac4880ecd652f8b308 1.2
-2759a927af554bf3dc7a8feb79353b88bb3eec97 2.0
-339be8b7dc911dd3cd3e2095d7fe1de47fb6c956 2.1
-b4e3fd6cf0e3559f71dcecbf321dbc92723f3df5 2.1.1
-ad7ce5b4257c47bbfc6ff49271ef3a675deb156a 2.1.2
-b0c0ff130ab962a5eea998c91b077296952e4465 2.2
-cc63a4576386eaade57b16590fe7c0053f4533c2 2.2.1
-b71c2b4ed8f735500eabe3fabc5048a36a6a3420 2.3
-4d109575243f51425d03baa8c4bce8c989e87fec 2.4
-ae4193e3172955d2a4cd00208e1f392b6c3c1148 2.5
-fe07ae9c3f076ebf3b716e9951de5492314159df 2.5.1
-0304f39b40f791b81da8a14aed6e8910f798af14 2.6
-cce8431d8b4d9441740a723c7c700d810a4662f8 2.6.1
-0cc61470c2a2fd5b0ed2c4c4ac7480bf68526f6e 2.6.2
-daf0974a5e9348b8c8e20e9ee227702edc5b6e75 2.6.3
-a1fa887922d237f915ba51f9022f4da983ceb32e 2.7
-21cfa346c8960f29f1a364d97ecbb9d1a7f6a3c0 2.7.1
-955536a145d5db5e4a2c23bf52fd575fbc595196 2.8
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-runner-2.9/.travis.yml new/pytest-runner-2.11.1/.travis.yml
--- old/pytest-runner-2.9/.travis.yml 2016-07-14 21:57:54.000000000 +0200
+++ new/pytest-runner-2.11.1/.travis.yml 2017-02-08 23:01:52.000000000 +0100
@@ -2,20 +2,24 @@
language: python
python:
- 2.7
-- 3.5
+- 3.6
+- nightly
+install:
+- pip install tox "setuptools>=28.2"
script:
-- pip install -U pytest
-- python setup.py test
+- tox
branches:
except:
- skeleton
deploy:
provider: pypi
+ server: https://upload.pypi.org/legacy/
on:
tags: true
all_branches: true
- python: 3.5
+ python: 3.6
user: jaraco
- distributions: release
+ distributions: dists
+ skip_upload_docs: true
password:
secure: lZfYQx0ZrCf2FJ+348etKWfzTySB3BZYGd0ce5RFHN2BppcdkONyJfTs4rgdrFEn/WtOaKV3SkJYR09xvlr+4kbLibg7fXhueqZt0ZkhRBnoDE4SxCjICyFCmisG6O3zkrVosizch70/0MqseNanhgXOPhd5llCfQHIqLsa145BG4hM5kxAHPO3Rz2/HCObOTPe4HKj93RAK7lPIMZVN6omcWoG6ZB0QqK+i3LTUtmJ3gE6q/iHk3VF9cJs8xtn3hdo++Lhrboa2NIqf6fl8oxR1C24Wh8vBQ69uTNjmVnDFYMulTs5475jjgDBXPPgVz3CAqYAy/PI+NPw59ebK8MzlaMRK/h/xSrdhxW6K3WbBL71Dn2UGuejXHFC3IuCI832xwkuEupOcGLWz4r2uBnhbgXF63vZ2gYPqrCGHxvDpbtllTVyEeebP8BnFzZttxSn9rbhTP1O9Dn/9tRko8WskyXIR+/2JOA9KP5uT47yeHoFBBUS0GB1XdkGhBrJfQx2LhfHuI6bpzosMiMfJrVNZEg8k0I9XA0uwxDgZrdqKGMKBR6233MXiJg8NyUPRInCRGth4rufcq6kn+wsT9RvuSt9XOhGiYLwChjvHexUXrLGBgupu0Y80Oqcp3YkDG3WHUX++Z2zJSQovrb4BMdKS6Y4usQ8Df5SklIpMCf0=
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-runner-2.9/CHANGES.rst new/pytest-runner-2.11.1/CHANGES.rst
--- old/pytest-runner-2.9/CHANGES.rst 2016-07-14 21:57:54.000000000 +0200
+++ new/pytest-runner-2.11.1/CHANGES.rst 2017-02-08 23:01:52.000000000 +0100
@@ -1,3 +1,28 @@
+2.11.1
+~~~~~~
+
+* #28: Fix logic in marker evaluation.
+
+2.11
+~~~~
+
+* #27: Improved wording in the README around configuration
+ for the distutils command and pytest proper.
+
+2.10.1
+~~~~~~
+
+* #21: Avoid mutating dictionary keys during iteration.
+
+2.10
+~~~~
+
+* #20: Leverage technique in `setuptools 794
+ <https://github.com/pypa/setuptools/issues/794>`_
+ to populate PYTHONPATH during test runs such that
+ Python subprocesses will have a dependency context
+ comparable to the test runner.
+
2.9
~~~
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-runner-2.9/PKG-INFO new/pytest-runner-2.11.1/PKG-INFO
--- old/pytest-runner-2.9/PKG-INFO 2016-07-14 21:59:24.000000000 +0200
+++ new/pytest-runner-2.11.1/PKG-INFO 2017-02-08 23:02:15.000000000 +0100
@@ -1,17 +1,32 @@
Metadata-Version: 1.1
Name: pytest-runner
-Version: 2.9
+Version: 2.11.1
Summary: Invoke py.test as distutils command with dependency resolution
Home-page: https://github.com/pytest-dev/pytest-runner
Author: Jason R. Coombs
Author-email: jaraco(a)jaraco.com
License: UNKNOWN
-Description: pytest-runner
- =============
+Description: .. image:: https://img.shields.io/pypi/v/pytest-runner.svg
+ :target: https://pypi.org/project/pytest-runner
+
+ .. image:: https://img.shields.io/pypi/pyversions/pytest-runner.svg
+
+ .. image:: https://img.shields.io/pypi/dm/pytest-runner.svg
+
+ .. image:: https://img.shields.io/travis/pytest-dev/pytest-runner/master.svg
+ :target: http://travis-ci.org/pytest-dev/pytest-runner
Setup scripts can use pytest-runner to add setup.py test support for pytest
runner.
+
+ License
+ =======
+
+ License is indicated in the project metadata (typically one or more
+ of the Trove classifiers). For more details, see `this explanation
+ <https://github.com/jaraco/skeleton/issues/1>`_.
+
Usage
-----
@@ -22,14 +37,14 @@
- Pass ``--index-url`` to have test requirements downloaded from an alternate
index URL (unnecessary if specified for easy_install in setup.cfg).
- Pass additional py.test command-line options using ``--addopts``.
- - Set permanent options for the pytest distutils command in the ``[pytest]``
- section of setup.cfg.
- - Set permanent options for the pytest run itself in the ``[pytest]``
- section of pytest.ini or tox.ini. See `pytest 567
- <https://bitbucket.org/pytest-dev/pytest/issues/567/>`_ for details on
- why setup.cfg is inadequate.
- - Optionally, set ``test=pytest`` in the ``[aliases]`` section of setup.cfg
- to cause ``setup.py test`` to invoke pytest.
+ - Set permanent options for the ``python setup.py pytest`` command (like ``index-url``)
+ in the ``[pytest]`` section of ``setup.cfg``.
+ - Set permanent options for the ``py.test`` run (like ``addopts`` or ``pep8ignore``) in the ``[pytest]``
+ section of ``pytest.ini`` or ``tox.ini`` or put them in the ``[tool:pytest]``
+ section of ``setup.cfg``. See `pytest issue 567
+ <https://github.com/pytest-dev/pytest/issues/567>`_.
+ - Optionally, set ``test=pytest`` in the ``[aliases]`` section of ``setup.cfg``
+ to cause ``python setup.py test`` to invoke pytest.
Example
-------
@@ -49,13 +64,17 @@
plugins) may be added to tests_require and will be downloaded and
required by the session before invoking pytest.
- See the `jaraco.collections
- <https://github.com/jaraco/jaraco.collections>`_ project
- for real-world usage.
+ Follow `this search on github
+ <https://github.com/search?utf8=%E2%9C%93&q=filename%3Asetup.py+pytest-runne…>`_
+ for examples of real-world usage.
Standalone Example
------------------
+ This technique is deprecated - if you have standalone scripts
+ you wish to invoke with dependencies, `use rwt
+ <https://pypi.org/project/rwt>`_.
+
Although ``pytest-runner`` is typically used to add pytest test
runner support to maintained packages, ``pytest-runner`` may
also be used to create standalone tests. Consider `this example
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-runner-2.9/README.rst new/pytest-runner-2.11.1/README.rst
--- old/pytest-runner-2.9/README.rst 2016-07-14 21:57:54.000000000 +0200
+++ new/pytest-runner-2.11.1/README.rst 2017-02-08 23:01:52.000000000 +0100
@@ -1,9 +1,24 @@
-pytest-runner
-=============
+.. image:: https://img.shields.io/pypi/v/pytest-runner.svg
+ :target: https://pypi.org/project/pytest-runner
+
+.. image:: https://img.shields.io/pypi/pyversions/pytest-runner.svg
+
+.. image:: https://img.shields.io/pypi/dm/pytest-runner.svg
+
+.. image:: https://img.shields.io/travis/pytest-dev/pytest-runner/master.svg
+ :target: http://travis-ci.org/pytest-dev/pytest-runner
Setup scripts can use pytest-runner to add setup.py test support for pytest
runner.
+
+License
+=======
+
+License is indicated in the project metadata (typically one or more
+of the Trove classifiers). For more details, see `this explanation
+<https://github.com/jaraco/skeleton/issues/1>`_.
+
Usage
-----
@@ -14,14 +29,14 @@
- Pass ``--index-url`` to have test requirements downloaded from an alternate
index URL (unnecessary if specified for easy_install in setup.cfg).
- Pass additional py.test command-line options using ``--addopts``.
-- Set permanent options for the pytest distutils command in the ``[pytest]``
- section of setup.cfg.
-- Set permanent options for the pytest run itself in the ``[pytest]``
- section of pytest.ini or tox.ini. See `pytest 567
- <https://bitbucket.org/pytest-dev/pytest/issues/567/>`_ for details on
- why setup.cfg is inadequate.
-- Optionally, set ``test=pytest`` in the ``[aliases]`` section of setup.cfg
- to cause ``setup.py test`` to invoke pytest.
+- Set permanent options for the ``python setup.py pytest`` command (like ``index-url``)
+ in the ``[pytest]`` section of ``setup.cfg``.
+- Set permanent options for the ``py.test`` run (like ``addopts`` or ``pep8ignore``) in the ``[pytest]``
+ section of ``pytest.ini`` or ``tox.ini`` or put them in the ``[tool:pytest]``
+ section of ``setup.cfg``. See `pytest issue 567
+ <https://github.com/pytest-dev/pytest/issues/567>`_.
+- Optionally, set ``test=pytest`` in the ``[aliases]`` section of ``setup.cfg``
+ to cause ``python setup.py test`` to invoke pytest.
Example
-------
@@ -41,13 +56,17 @@
plugins) may be added to tests_require and will be downloaded and
required by the session before invoking pytest.
-See the `jaraco.collections
-<https://github.com/jaraco/jaraco.collections>`_ project
-for real-world usage.
+Follow `this search on github
+<https://github.com/search?utf8=%E2%9C%93&q=filename%3Asetup.py+pytest-runne…>`_
+for examples of real-world usage.
Standalone Example
------------------
+This technique is deprecated - if you have standalone scripts
+you wish to invoke with dependencies, `use rwt
+<https://pypi.org/project/rwt>`_.
+
Although ``pytest-runner`` is typically used to add pytest test
runner support to maintained packages, ``pytest-runner`` may
also be used to create standalone tests. Consider `this example
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-runner-2.9/docs/conf.py new/pytest-runner-2.11.1/docs/conf.py
--- old/pytest-runner-2.9/docs/conf.py 2016-07-14 21:57:54.000000000 +0200
+++ new/pytest-runner-2.11.1/docs/conf.py 2017-02-08 23:01:52.000000000 +0100
@@ -1,7 +1,12 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
-import setuptools_scm
+import os
+import sys
+import subprocess
+
+if 'check_output' not in dir(subprocess):
+ import subprocess32 as subprocess
extensions = [
'sphinx.ext.autodoc',
@@ -9,31 +14,41 @@
]
# General information about the project.
-project = 'pytest-runner'
-copyright = '2015,2016 Jason R. Coombs'
-# The short X.Y version.
-version = setuptools_scm.get_version(root='..', relative_to=__file__)
+root = os.path.join(os.path.dirname(__file__), '..')
+setup_script = os.path.join(root, 'setup.py')
+fields = ['--name', '--version', '--url', '--author']
+dist_info_cmd = [sys.executable, setup_script] + fields
+output_bytes = subprocess.check_output(dist_info_cmd, cwd=root)
+project, version, url, author = output_bytes.decode('utf-8').strip().split('\n')
+
+copyright = '2015-2017 ' + author
+
# The full version, including alpha/beta/rc tags.
release = version
master_doc = 'index'
link_files = {
- 'CHANGES.rst': dict(
+ '../CHANGES.rst': dict(
using=dict(
GH='https://github.com',
project=project,
+ url=url,
),
replace=[
dict(
pattern=r"(Issue )?#(?P<issue>\d+)",
- url='{GH}/pytest-dev/{project}/issues/{issue}',
+ url='{url}/issues/{issue}',
),
dict(
pattern=r"^(?m)((?P<scm_version>v?\d+(\.\d+){1,2}))\n[-=]+\n",
with_scm="{text}\n{rev[timestamp]:%d %b %Y}\n",
),
+ dict(
+ pattern=r"PEP[- ](?P<pep_number>\d+)",
+ url='https://www.python.org/dev/peps/pep-{pep_number:0>4}/',
+ ),
],
),
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-runner-2.9/docs/requirements.txt new/pytest-runner-2.11.1/docs/requirements.txt
--- old/pytest-runner-2.9/docs/requirements.txt 1970-01-01 01:00:00.000000000 +0100
+++ new/pytest-runner-2.11.1/docs/requirements.txt 2017-02-08 23:01:52.000000000 +0100
@@ -0,0 +1 @@
+rst.linker
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-runner-2.9/ptr.py new/pytest-runner-2.11.1/ptr.py
--- old/pytest-runner-2.9/ptr.py 2016-07-14 21:57:54.000000000 +0200
+++ new/pytest-runner-2.11.1/ptr.py 2017-02-08 23:01:52.000000000 +0100
@@ -6,6 +6,14 @@
import shlex as _shlex
import contextlib as _contextlib
import sys as _sys
+import operator as _operator
+import itertools as _itertools
+
+try:
+ # ensure that map has the same meaning on Python 2
+ from future_builtins import map
+except ImportError:
+ pass
import pkg_resources
import setuptools.command.test as orig
@@ -22,6 +30,11 @@
_sys.argv[:] = saved
+(a)_contextlib.contextmanager
+def null():
+ yield
+
+
class PyTest(orig.test):
"""
>>> import setuptools
@@ -61,28 +74,80 @@
and pkg_resources.evaluate_marker(marker)
)
+ @staticmethod
+ def _install_dists_compat(dist):
+ """
+ Copy of install_dists from setuptools 27.3.0.
+ """
+ ir_d = dist.fetch_build_eggs(dist.install_requires or [])
+ tr_d = dist.fetch_build_eggs(dist.tests_require or [])
+ return _itertools.chain(ir_d, tr_d)
+
+ def install_dists(self, dist):
+ """
+ Extend install_dists to include extras support
+ """
+ i_d = getattr(orig.test, 'install_dists', self._install_dists_compat)
+ return _itertools.chain(i_d(dist), self.install_extra_dists(dist))
+
+ def install_extra_dists(self, dist):
+ """
+ Install extras that are indicated by markers or
+ install all extras if '--extras' is indicated.
+ """
+ extras_require = dist.extras_require or {}
+
+ spec_extras = (
+ (spec.partition(':'), reqs)
+ for spec, reqs in extras_require.items()
+ )
+ matching_extras = (
+ reqs
+ for (name, sep, marker), reqs in spec_extras
+ # never include extras that fail to pass marker eval
+ if self.marker_passes(marker)
+ # include unnamed extras or all if self.extras indicated
+ and (not name or self.extras)
+ )
+ results = list(map(dist.fetch_build_eggs, matching_extras))
+ return _itertools.chain.from_iterable(results)
+
+ @staticmethod
+ def paths_on_pythonpath(paths):
+ """
+ Backward compatibility for paths_on_pythonpath;
+ Returns a null context if paths_on_pythonpath is
+ not implemented in orig.test.
+ Note that this also means that the paths iterable
+ is never consumed, which incidentally means that
+ the None values from dist.fetch_build_eggs in
+ older Setuptools will be disregarded.
+ """
+ try:
+ return orig.test.paths_on_pythonpath(paths)
+ except AttributeError:
+ return null()
+
+ def _super_run(self):
+ if hasattr(orig.test, 'install_dists'):
+ return orig.test.run(self)
+
+ # for backward compatibility with setuptools < 27.3
+ installed_dists = self.install_dists(self.distribution)
+ if self.dry_run:
+ self.announce('skipping tests (dry run)')
+ return
+ paths = map(_operator.attrgetter('location'), installed_dists)
+ with self.paths_on_pythonpath(paths):
+ self.with_project_on_sys_path(self.run_tests)
+
def run(self):
"""
Override run to ensure requirements are available in this session (but
don't install them anywhere).
"""
self._build_egg_fetcher()
- if self.distribution.install_requires:
- self.distribution.fetch_build_eggs(self.distribution.install_requires)
- if self.distribution.tests_require:
- self.distribution.fetch_build_eggs(self.distribution.tests_require)
- extras_require = self.distribution.extras_require or {}
- for spec, reqs in extras_require.items():
- name, sep, marker = spec.partition(':')
- if marker and not self.marker_passes(marker):
- continue
- # always include unnamed extras
- if not name or self.extras:
- self.distribution.fetch_build_eggs(reqs)
- if self.dry_run:
- self.announce('skipping tests (dry run)')
- return
- self.with_project_on_sys_path(self.run_tests)
+ self._super_run()
if self.result_code:
raise SystemExit(self.result_code)
return self.result_code
@@ -100,7 +165,7 @@
'find_links', 'site_dirs', 'index_url', 'optimize',
'site_dirs', 'allow_hosts'
)
- for key in opts.keys():
+ for key in list(opts.keys()):
if key not in keep:
del opts[key] # don't use any other settings
if main_dist.dependency_links:
@@ -122,6 +187,10 @@
cmd.ensure_finalized()
main_dist._egg_fetcher = cmd
+ @property
+ def _argv(self):
+ return ['pytest'] + self.addopts
+
def run_tests(self):
"""
Invoke pytest, replacing argv.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-runner-2.9/pytest.ini new/pytest-runner-2.11.1/pytest.ini
--- old/pytest-runner-2.9/pytest.ini 2016-07-14 21:57:54.000000000 +0200
+++ new/pytest-runner-2.11.1/pytest.ini 2017-02-08 23:01:52.000000000 +0100
@@ -1,4 +1,4 @@
[pytest]
-norecursedirs=*.egg .eggs dist build
+norecursedirs=dist build .tox
addopts=--doctest-modules
doctest_optionflags=ALLOW_UNICODE ELLIPSIS
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-runner-2.9/pytest_runner.egg-info/PKG-INFO new/pytest-runner-2.11.1/pytest_runner.egg-info/PKG-INFO
--- old/pytest-runner-2.9/pytest_runner.egg-info/PKG-INFO 2016-07-14 21:59:24.000000000 +0200
+++ new/pytest-runner-2.11.1/pytest_runner.egg-info/PKG-INFO 2017-02-08 23:02:15.000000000 +0100
@@ -1,17 +1,32 @@
Metadata-Version: 1.1
Name: pytest-runner
-Version: 2.9
+Version: 2.11.1
Summary: Invoke py.test as distutils command with dependency resolution
Home-page: https://github.com/pytest-dev/pytest-runner
Author: Jason R. Coombs
Author-email: jaraco(a)jaraco.com
License: UNKNOWN
-Description: pytest-runner
- =============
+Description: .. image:: https://img.shields.io/pypi/v/pytest-runner.svg
+ :target: https://pypi.org/project/pytest-runner
+
+ .. image:: https://img.shields.io/pypi/pyversions/pytest-runner.svg
+
+ .. image:: https://img.shields.io/pypi/dm/pytest-runner.svg
+
+ .. image:: https://img.shields.io/travis/pytest-dev/pytest-runner/master.svg
+ :target: http://travis-ci.org/pytest-dev/pytest-runner
Setup scripts can use pytest-runner to add setup.py test support for pytest
runner.
+
+ License
+ =======
+
+ License is indicated in the project metadata (typically one or more
+ of the Trove classifiers). For more details, see `this explanation
+ <https://github.com/jaraco/skeleton/issues/1>`_.
+
Usage
-----
@@ -22,14 +37,14 @@
- Pass ``--index-url`` to have test requirements downloaded from an alternate
index URL (unnecessary if specified for easy_install in setup.cfg).
- Pass additional py.test command-line options using ``--addopts``.
- - Set permanent options for the pytest distutils command in the ``[pytest]``
- section of setup.cfg.
- - Set permanent options for the pytest run itself in the ``[pytest]``
- section of pytest.ini or tox.ini. See `pytest 567
- <https://bitbucket.org/pytest-dev/pytest/issues/567/>`_ for details on
- why setup.cfg is inadequate.
- - Optionally, set ``test=pytest`` in the ``[aliases]`` section of setup.cfg
- to cause ``setup.py test`` to invoke pytest.
+ - Set permanent options for the ``python setup.py pytest`` command (like ``index-url``)
+ in the ``[pytest]`` section of ``setup.cfg``.
+ - Set permanent options for the ``py.test`` run (like ``addopts`` or ``pep8ignore``) in the ``[pytest]``
+ section of ``pytest.ini`` or ``tox.ini`` or put them in the ``[tool:pytest]``
+ section of ``setup.cfg``. See `pytest issue 567
+ <https://github.com/pytest-dev/pytest/issues/567>`_.
+ - Optionally, set ``test=pytest`` in the ``[aliases]`` section of ``setup.cfg``
+ to cause ``python setup.py test`` to invoke pytest.
Example
-------
@@ -49,13 +64,17 @@
plugins) may be added to tests_require and will be downloaded and
required by the session before invoking pytest.
- See the `jaraco.collections
- <https://github.com/jaraco/jaraco.collections>`_ project
- for real-world usage.
+ Follow `this search on github
+ <https://github.com/search?utf8=%E2%9C%93&q=filename%3Asetup.py+pytest-runne…>`_
+ for examples of real-world usage.
Standalone Example
------------------
+ This technique is deprecated - if you have standalone scripts
+ you wish to invoke with dependencies, `use rwt
+ <https://pypi.org/project/rwt>`_.
+
Although ``pytest-runner`` is typically used to add pytest test
runner support to maintained packages, ``pytest-runner`` may
also be used to create standalone tests. Consider `this example
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-runner-2.9/pytest_runner.egg-info/SOURCES.txt new/pytest-runner-2.11.1/pytest_runner.egg-info/SOURCES.txt
--- old/pytest-runner-2.9/pytest_runner.egg-info/SOURCES.txt 2016-07-14 21:59:24.000000000 +0200
+++ new/pytest-runner-2.11.1/pytest_runner.egg-info/SOURCES.txt 2017-02-08 23:02:15.000000000 +0100
@@ -1,6 +1,3 @@
-.gitignore
-.hgignore
-.hgtags
.travis.yml
CHANGES.rst
LICENSE
@@ -9,12 +6,15 @@
pytest.ini
setup.cfg
setup.py
+tox.ini
docs/conf.py
docs/history.rst
docs/index.rst
+docs/requirements.txt
pytest_runner.egg-info/PKG-INFO
pytest_runner.egg-info/SOURCES.txt
pytest_runner.egg-info/dependency_links.txt
pytest_runner.egg-info/entry_points.txt
pytest_runner.egg-info/namespace_packages.txt
-pytest_runner.egg-info/top_level.txt
\ No newline at end of file
+pytest_runner.egg-info/top_level.txt
+tests/requirements.txt
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-runner-2.9/setup.cfg new/pytest-runner-2.11.1/setup.cfg
--- old/pytest-runner-2.9/setup.cfg 2016-07-14 21:59:24.000000000 +0200
+++ new/pytest-runner-2.11.1/setup.cfg 2017-02-08 23:02:15.000000000 +0100
@@ -1,12 +1,12 @@
[aliases]
-release = clean --all sdist bdist_wheel build_sphinx upload upload_docs
-test = pytest
+release = dists upload
+dists = clean --all sdist bdist_wheel
[wheel]
universal = 1
[egg_info]
-tag_svn_revision = 0
tag_build =
tag_date = 0
+tag_svn_revision = 0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-runner-2.9/setup.py new/pytest-runner-2.11.1/setup.py
--- old/pytest-runner-2.9/setup.py 2016-07-14 21:57:54.000000000 +0200
+++ new/pytest-runner-2.11.1/setup.py 2017-02-08 23:01:52.000000000 +0100
@@ -3,24 +3,16 @@
# Project skeleton maintained at https://github.com/jaraco/skeleton
import io
-import sys
import setuptools
with io.open('README.rst', encoding='utf-8') as readme:
long_description = readme.read()
-needs_pytest = set(['pytest', 'test']).intersection(sys.argv)
-pytest_runner = ['pytest_runner'] if needs_pytest else []
-needs_sphinx = set(['release', 'build_sphinx', 'upload_docs']).intersection(sys.argv)
-sphinx = ['sphinx', 'rst.linker'] if needs_sphinx else []
-needs_wheel = set(['release', 'bdist_wheel']).intersection(sys.argv)
-wheel = ['wheel'] if needs_wheel else []
-
name = 'pytest-runner'
description = 'Invoke py.test as distutils command with dependency resolution'
-setup_params = dict(
+params = dict(
name=name,
use_scm_version=True,
author="Jason R. Coombs",
@@ -35,10 +27,7 @@
extras_require={
},
setup_requires=[
- 'setuptools_scm>=1.9',
- ] + pytest_runner + sphinx + wheel,
- tests_require=[
- 'pytest>=2.8',
+ 'setuptools_scm>=1.15.0',
],
classifiers=[
"Development Status :: 5 - Production/Stable",
@@ -57,4 +46,4 @@
},
)
if __name__ == '__main__':
- setuptools.setup(**setup_params)
+ setuptools.setup(**params)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-runner-2.9/tests/requirements.txt new/pytest-runner-2.11.1/tests/requirements.txt
--- old/pytest-runner-2.9/tests/requirements.txt 1970-01-01 01:00:00.000000000 +0100
+++ new/pytest-runner-2.11.1/tests/requirements.txt 2017-02-08 23:01:52.000000000 +0100
@@ -0,0 +1,2 @@
+pytest >= 2.8
+subprocess32; python_version=="2.6"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-runner-2.9/tox.ini new/pytest-runner-2.11.1/tox.ini
--- old/pytest-runner-2.9/tox.ini 1970-01-01 01:00:00.000000000 +0100
+++ new/pytest-runner-2.11.1/tox.ini 2017-02-08 23:01:52.000000000 +0100
@@ -0,0 +1,6 @@
+[testenv]
+deps =
+ -rtests/requirements.txt
+
+commands = py.test {posargs}
+usedevelop = True
1
0
commit ghc-serversession-backend-acid-state for openSUSE:Factory
by root@hilbertn.suse.de 26 Feb '17
by root@hilbertn.suse.de 26 Feb '17
26 Feb '17
Hello community,
here is the log from the commit of package ghc-serversession-backend-acid-state for openSUSE:Factory checked in at 2017-02-26 17:08:46
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-serversession-backend-acid-state (Old)
and /work/SRC/openSUSE:Factory/.ghc-serversession-backend-acid-state.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-serversession-backend-acid-state"
Changes:
--------
New Changes file:
--- /dev/null 2017-01-26 09:49:33.150892021 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-serversession-backend-acid-state.new/ghc-serversession-backend-acid-state.changes 2017-02-26 17:08:46.720245106 +0100
@@ -0,0 +1,5 @@
+-------------------------------------------------------------------
+Sun Jul 10 17:08:03 UTC 2016 - psimons(a)suse.com
+
+- Update to version 1.0.3 revision 0 with cabal2obs.
+
New:
----
ghc-serversession-backend-acid-state.changes
ghc-serversession-backend-acid-state.spec
serversession-backend-acid-state-1.0.3.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ghc-serversession-backend-acid-state.spec ++++++
#
# spec file for package ghc-serversession-backend-acid-state
#
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
%global pkg_name serversession-backend-acid-state
%bcond_with tests
Name: ghc-%{pkg_name}
Version: 1.0.3
Release: 0
Summary: Storage backend for serversession using acid-state
License: MIT
Group: System/Libraries
Url: https://hackage.haskell.org/package/%{pkg_name}
Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{ve…
BuildRequires: ghc-Cabal-devel
# Begin cabal-rpm deps:
BuildRequires: ghc-acid-state-devel
BuildRequires: ghc-containers-devel
BuildRequires: ghc-mtl-devel
BuildRequires: ghc-rpm-macros
BuildRequires: ghc-safecopy-devel
BuildRequires: ghc-serversession-devel
BuildRequires: ghc-unordered-containers-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if %{with tests}
BuildRequires: ghc-hspec-devel
%endif
# End cabal-rpm deps
%description
API docs and the README are available at
<http://www.stackage.org/package/serversession-backend-acid-state>.
%package devel
Summary: Haskell %{pkg_name} library development files
Group: Development/Libraries/Other
Requires: %{name} = %{version}-%{release}
Requires: ghc-compiler = %{ghc_version}
Requires(post): ghc-compiler = %{ghc_version}
Requires(postun): ghc-compiler = %{ghc_version}
%description devel
This package provides the Haskell %{pkg_name} library
development files.
%prep
%setup -q -n %{pkg_name}-%{version}
%build
%ghc_lib_build
%install
%ghc_lib_install
%check
%if %{with tests}
%{cabal} test
%endif
%post devel
%ghc_pkg_recache
%postun devel
%ghc_pkg_recache
%files -f %{name}.files
%defattr(-,root,root,-)
%doc LICENSE
%files devel -f %{name}-devel.files
%defattr(-,root,root,-)
%doc README.md
%changelog
1
0