Hello community,

here is the log from the commit of package imgp for openSUSE:Factory checked in 
at 2020-08-17 12:04:38
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/imgp (Old)
 and      /work/SRC/openSUSE:Factory/.imgp.new.3399 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "imgp"

Mon Aug 17 12:04:38 2020 rev:5 rq:827075 version:2.7

Changes:
--------
--- /work/SRC/openSUSE:Factory/imgp/imgp.changes        2018-10-23 
20:36:53.240795412 +0200
+++ /work/SRC/openSUSE:Factory/.imgp.new.3399/imgp.changes      2020-08-17 
12:05:04.746684190 +0200
@@ -1,0 +2,7 @@
+Sun Aug 16 13:40:40 UTC 2020 - Dirk Mueller <[email protected]>
+
+- update to 2.7
+  - Code lint fixes
+  - Package uploaded to PyPI
+
+-------------------------------------------------------------------

Old:
----
  imgp-2.6.tar.gz

New:
----
  imgp-2.7.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ imgp.spec ++++++
--- /var/tmp/diff_new_pack.jY39c1/_old  2020-08-17 12:05:06.014684897 +0200
+++ /var/tmp/diff_new_pack.jY39c1/_new  2020-08-17 12:05:06.018684899 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package imgp
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,12 +17,12 @@
 
 
 Name:           imgp
-Version:        2.6
+Version:        2.7
 Release:        0
 Summary:        Image resizer and rotator
 License:        GPL-3.0-or-later
 Group:          Productivity/Graphics/Convertors
-Url:            https://github.com/jarun/imgp
+URL:            https://github.com/jarun/imgp
 Source0:        
https://github.com/jarun/imgp/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
 BuildRequires:  bash-completion
 BuildRequires:  fish

++++++ imgp-2.6.tar.gz -> imgp-2.7.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/imgp-2.6/.circleci/config.yml 
new/imgp-2.7/.circleci/config.yml
--- old/imgp-2.6/.circleci/config.yml   1970-01-01 01:00:00.000000000 +0100
+++ new/imgp-2.7/.circleci/config.yml   2019-12-21 10:29:54.000000000 +0100
@@ -0,0 +1,85 @@
+version: 2
+
+test-template: &test-template
+  working_directory: ~/imgp
+  environment:
+    CI_FORCE_TEST: 1
+  steps:
+    - run:
+        command: |
+          apt update && apt install -y --no-install-recommends gcc git make 
libjpeg-dev zlib1g-dev
+          pip install --upgrade setuptools flake8 pylint pillow
+    - checkout
+    - run:
+        command: |
+          python -m flake8 imgp
+          echo imgp | xargs pylint
+          make test
+
+jobs:
+  py35:
+    docker:
+      - image: python:3.5-slim
+    <<: *test-template
+
+  py36:
+    docker:
+      - image: python:3.6-slim
+    <<: *test-template
+
+  py37:
+    docker:
+      - image: python:3.7-slim
+    <<: *test-template
+
+  py38:
+    docker:
+      - image: python:3.8-slim
+    <<: *test-template
+
+  package-and-publish:
+    machine: true
+    working_directory: ~/imgp
+    steps:
+      - checkout
+      - run:
+          name: "package with packagecore"
+          command: |
+            # Use latest installed python3 from pyenv
+            export PYENV_VERSION="$(pyenv versions | grep -Po '\b3\.\d+\.\d+' 
| tail -1)"
+            pip install packagecore
+            packagecore -o ./dist/ ${CIRCLE_TAG#v}
+      - run:
+          name: "publish to GitHub"
+          command: |
+            go get github.com/tcnksm/ghr
+            ghr -t ${GITHUB_API_TOKEN} -u ${CIRCLE_PROJECT_USERNAME} -r 
${CIRCLE_PROJECT_REPONAME} -c ${CIRCLE_SHA1} -replace ${CIRCLE_TAG} ./dist/
+
+workflows:
+  version: 2
+
+  test:
+    jobs: &all-tests
+      - py35
+      - py36
+      - py37
+      - py38
+
+  nightly:
+    triggers:
+      - schedule:
+          cron: "0 0 * * 6"
+          filters:
+            branches:
+              only:
+                - master
+    jobs: *all-tests
+
+  publish-github-release:
+    jobs:
+      - package-and-publish:
+          filters:
+            tags:
+              only: /^v.*/
+            branches:
+              ignore: /.*/
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/imgp-2.6/.flake8 new/imgp-2.7/.flake8
--- old/imgp-2.6/.flake8        1970-01-01 01:00:00.000000000 +0100
+++ new/imgp-2.7/.flake8        2019-12-21 10:29:54.000000000 +0100
@@ -0,0 +1,2 @@
+[flake8]
+max-line-length = 139
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/imgp-2.6/.github/FUNDING.yml 
new/imgp-2.7/.github/FUNDING.yml
--- old/imgp-2.6/.github/FUNDING.yml    1970-01-01 01:00:00.000000000 +0100
+++ new/imgp-2.7/.github/FUNDING.yml    2019-12-21 10:29:54.000000000 +0100
@@ -0,0 +1 @@
+custom: 
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=RMLTQ76JSXJ4Q
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/imgp-2.6/.gitignore new/imgp-2.7/.gitignore
--- old/imgp-2.6/.gitignore     1970-01-01 01:00:00.000000000 +0100
+++ new/imgp-2.7/.gitignore     2019-12-21 10:29:54.000000000 +0100
@@ -0,0 +1,8 @@
+.pytest_cache*
+__pycache__*
+
+# Distribution / packaging
+imgp.egg-info
+dist/
+build/
+imgp.py
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/imgp-2.6/.pylintrc new/imgp-2.7/.pylintrc
--- old/imgp-2.6/.pylintrc      1970-01-01 01:00:00.000000000 +0100
+++ new/imgp-2.7/.pylintrc      2019-12-21 10:29:54.000000000 +0100
@@ -0,0 +1,24 @@
+[MESSAGES CONTROL]
+disable=
+  broad-except,
+  chained-comparison,
+  global-statement,
+  inconsistent-return-statements,
+  invalid-name,
+  invalid-unary-operand-type,
+  len-as-condition,
+  missing-docstring,
+  no-self-use,
+  protected-access,
+  too-few-public-methods,
+  too-many-arguments,
+  too-many-branches,
+  too-many-function-args,
+  too-many-instance-attributes,
+  too-many-lines,
+  too-many-locals,
+  too-many-return-statements,
+  too-many-statements,
+  unused-argument,
+[FORMAT]
+max-line-length=139
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/imgp-2.6/.travis.yml new/imgp-2.7/.travis.yml
--- old/imgp-2.6/.travis.yml    2018-10-20 18:20:31.000000000 +0200
+++ new/imgp-2.7/.travis.yml    1970-01-01 01:00:00.000000000 +0100
@@ -1,31 +0,0 @@
-language: python
-python:
-  - "3.5"
-  - "3.6"
-sudo: required
-services:
-  - docker
-dist: trusty
-before_install:
-  - "pip install --upgrade setuptools"
-  - "pip install --upgrade pip"
-  - "pip install --upgrade pillow"
-script:
-  - make test
-before_deploy:
-  - sudo apt-get update -qy
-  - sudo apt-get install -qy python3 python3-pip
-  - python3 -m pip install packagecore
-  - packagecore -o dist/ "${TRAVIS_TAG#v}"
-deploy:
-  provider: releases
-  api-key:
-    secure: 
ARQwy2cGxVnkS+dZ+GdrwIqlGflCYD+Po3M1JGuD+lkdxfLm8J44bCjUGY/Dt28UxqJuQkqxCPb0rG5fpvCGmHUXswf1nYXQcUY6CUZEVmR8x0+z6gMFZt4iHhYTJbNO9qb7pjHBfxd1ZlWJVoiomyoZt8Mz1dVeMdFsVTiJyQt9Y+4JCrvdCWKPqf6CcnDzq0iKn7Ng+LgBqXRtJ9E24yih/VMbu5LgtScB66Hnu9ztxYBuLTw8CCnYjGyfIl8L3OD+OtGvOaBPLcE0iXfbF61dfI+qki8chP08coi7ZyJZlJ+XNaPgSBIf0JIfwSODNUC7GXm4P5uML5yU5992XbVJsVpFXcxC+4z/104+V6jMeDoEMWteBDxoRRn0gfU+lij/Eh8h40jQZGze1AdxfryYkWXyt6mG1eVc6bhjKShgJXKB1S9DlxSeN9hXs3LbftQIHBt4WMTAaR6cH2WrSDNDriqUaTjp9yhrh7t6oePTAc4Vx3/VaDQCR5CybTLeeww3wDhECgMgO5puCoixLrDiZKpfxBubKqMvDndxr5qZwMWTgkRT4CzXX3fquZfUbeD5uETB3KVRGMWv0NiM2Jv97TO6bWZr2qIqp8QcfNNjocNxI4PakorwH3eZlZKjUXl3/BWjcPh7YXIkQa5h4MNe20cEP5iOvhf/+XQUcLY=
-  file_glob: true
-  file:
-    - dist/*
-  skip_cleanup: true
-  on:
-    tags: true
-    repo: jarun/imgp
-    python: "3.6"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/imgp-2.6/CHANGELOG new/imgp-2.7/CHANGELOG
--- old/imgp-2.6/CHANGELOG      2018-10-20 18:20:31.000000000 +0200
+++ new/imgp-2.7/CHANGELOG      2019-12-21 10:29:54.000000000 +0100
@@ -1,3 +1,14 @@
+imgp v2.7
+2019-12-21
+
+What's in?
+- Code lint fixes
+- Package uploaded to PyPI
+- New auto-generated packages for - CentOS, Debian, Fedora
+- Update copyright year
+
+-------------------------------------------------------------------------------
+
 imgp v2.6
 2018-10-20
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/imgp-2.6/MANIFEST.in new/imgp-2.7/MANIFEST.in
--- old/imgp-2.6/MANIFEST.in    1970-01-01 01:00:00.000000000 +0100
+++ new/imgp-2.7/MANIFEST.in    2019-12-21 10:29:54.000000000 +0100
@@ -0,0 +1 @@
+include CHANGELOG LICENSE
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/imgp-2.6/Makefile new/imgp-2.7/Makefile
--- old/imgp-2.6/Makefile       2018-10-20 18:20:31.000000000 +0200
+++ new/imgp-2.7/Makefile       2019-12-21 10:29:54.000000000 +0100
@@ -22,4 +22,5 @@
        rm -f $(MANDIR)/imgp.1.gz
        rm -rf $(DOCDIR)
 
-test: ;
+test:
+       ./imgp --help
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/imgp-2.6/README.md new/imgp-2.7/README.md
--- old/imgp-2.6/README.md      2018-10-20 18:20:31.000000000 +0200
+++ new/imgp-2.7/README.md      2019-12-21 10:29:54.000000000 +0100
@@ -2,12 +2,9 @@
 
 <p align="center">
 <a href="https://github.com/jarun/imgp/releases/latest";><img 
src="https://img.shields.io/github/release/jarun/imgp.svg?maxAge=600"; 
alt="Latest release" /></a>
-<a href="https://aur.archlinux.org/packages/imgp";><img 
src="https://img.shields.io/aur/version/imgp.svg?maxAge=600"; alt="AUR" /></a>
-<a href="https://github.com/jarun/homebrew-imgp";><img 
src="https://img.shields.io/badge/homebrew-TAP-blue.svg?maxAge=2592000"; 
alt="Homebrew TAP" /></a>
-<a 
href="https://packages.debian.org/search?keywords=imgp&searchon=names&exact=1";><img
 src="https://img.shields.io/badge/debian-9+-blue.svg?maxAge=2592000"; 
alt="Debian Stretch+" /></a>
-<a href="https://apps.fedoraproject.org/packages/imgp";><img 
src="https://img.shields.io/badge/fedora-27+-blue.svg?maxAge=2592000"; 
alt="Fedora 27+" /></a>
-<a href="https://software.opensuse.org/package/imgp";><img 
src="https://img.shields.io/badge/opensuse%20leap-15.0+-blue.svg?maxAge=2592000";
 alt="openSUSE Leap 15.0+" /></a>
-<a 
href="https://packages.ubuntu.com/search?keywords=imgp&searchon=names&exact=1";><img
 src="https://img.shields.io/badge/ubuntu-17.04+-blue.svg?maxAge=2592000"; 
alt="Ubuntu Zesty+" /></a>
+<a href="https://repology.org/project/imgp/versions";><img 
src="https://repology.org/badge/tiny-repos/imgp.svg"; alt="Availability"></a>
+<a href="https://pypi.org/project/imgp/";><img 
src="https://img.shields.io/pypi/v/imgp.svg?maxAge=600"; alt="PyPI" /></a>
+<a href="https://circleci.com/gh/jarun/workflows/imgp";><img 
src="https://img.shields.io/circleci/project/github/jarun/imgp.svg"; alt="Build 
Status" /></a>
 <a href="https://github.com/jarun/imgp/blob/master/LICENSE";><img 
src="https://img.shields.io/badge/license-GPLv3-yellow.svg?maxAge=2592000"; 
alt="License" /></a>
 </p>
 
@@ -19,15 +16,14 @@
 
 `imgp` is a command line image resizer and rotator for JPEG and PNG images. It 
can resize (or thumbnail) and rotate thousands of images in a go, at lightning 
speed, while saving significantly on storage.
 
-Powered by multiprocessing, an intelligent adaptive algorithm, recursive 
operations, shell completion scripts, EXIF preservation (and more), `imgp` is a 
very flexible utility with well-documented easy to use options.
+Powered by multiprocessing, SIMD parallelism (thanks to the Pillow-SIMD 
library), an intelligent adaptive algorithm, recursive operations, shell 
completion scripts, EXIF preservation (and more), `imgp` is a very flexible 
utility with well-documented easy to use options.
 
-`imgp` intends to be a stronger replacement of the Nautilus Image Converter 
extension, not tied to any file manager and way faster. On desktop environments 
(like Xfce or LxQt) which do not integrate Nautilus, `imgp` will save your day.
+`imgp` intends to be a stronger replacement of the Nautilus Image Converter 
extension, not tied to any file manager and way faster. On desktop environments 
(like Xfce or LxQt) which do not integrate Nautilus, `imgp` will save your day. 
File manager [nnn](https://github.com/jarun/nnn) provides a script to batch 
resize images with `imgp`.
 
 *Love smart and efficient utilities? Explore [my 
repositories](https://github.com/jarun?tab=repositories). Buy me a cup of 
coffee if they help you.*
 
 <p align="center">
-<a href="https://saythanks.io/to/jarun";><img 
src="https://img.shields.io/badge/say-thanks!-ff69b4.svg"; /></a>
-<a 
href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=RMLTQ76JSXJ4Q";><img
 src="https://img.shields.io/badge/PayPal-donate-green.svg"; alt="Donate via 
PayPal!" /></a>
+<a 
href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=RMLTQ76JSXJ4Q";><img
 src="https://img.shields.io/badge/PayPal-donate-1eb0fc.svg"; alt="Donate via 
PayPal!" /></a>
 </p>
 
 ### Table of Contents
@@ -99,16 +95,21 @@
 
 #### From a package manager
 
-- [AUR](https://aur.archlinux.org/packages/imgp/) (`yaourt -S imgp`)
-- 
[Debian](https://packages.debian.org/search?keywords=imgp&searchon=names&exact=1)
 (`apt-get install imgp`)
-- [Fedora](https://apps.fedoraproject.org/packages/imgp) (`dnf install imgp`)
-- [Homebrew *tap*](https://github.com/jarun/homebrew-imgp) (`brew install 
jarun/imgp/imgp`)
-- [openSUSE](https://software.opensuse.org/package/imgp) (`zypper in imgp`)
-- [Slackware](http://slackbuilds.org/repository/14.2/graphics/imgp/) 
(`slackpkg install imgp`)
-- [Source Mage](http://codex.sourcemage.org/test/graphics/imgp/) (`cast imgp`)
-- 
[Ubuntu](http://packages.ubuntu.com/search?keywords=imgp&searchon=names&exact=1)
 (`apt-get install imgp`)
-- [Ubuntu PPA](https://launchpad.net/~twodopeshaggy/+archive/ubuntu/jarun/) 
(`apt-get install imgp`)
-- [Void 
Linux](https://github.com/void-linux/void-packages/tree/master/srcpkgs/imgp) 
(`xbps-install -S imgp`)
+Install `imgp` from your package manager. If the version available is dated 
try an alternative installation method.
+
+<details><summary>Packaging status (expand)</summary>
+<p>
+<br>
+<a href="https://repology.org/project/imgp/versions";><img 
src="https://repology.org/badge/vertical-allrepos/imgp.svg"; alt="Packaging 
status"></a>
+</p>
+Unlisted packagers:
+<p>
+<br>
+● <a href="https://github.com/jarun/homebrew-imgp";>Homebrew TAP</a> 
(<code>brew install jarun/imgp/imgp</code>)<br>
+● <a href="https://pypi.org/project/imgp/";>PyPI</a> (<code>pip3 install 
imgp</code>)<br>
+● <a href="http://codex.sourcemage.org/test/graphics/imgp/";>Source Mage</a> 
(<code>cast imgp</code>)<br>
+</p>
+</details>
 
 #### Release packages
 
@@ -162,9 +163,8 @@
   -e, --eraseexif       erase exif metadata [default: off]
   -f, --force           force to exact specified resolution [default: off]
   -i, --includeimgp     re-process _IMGP files. * RISKY: refer to docs
-  -k, --keep            skip (but convert or make progressive, if opted)
-                        images with matching specified hres or vres or
-                        --res=100 [default: off]
+  -k, --keep            skip (honors -c or --pr) images matching specified
+                        hres or vres or --res=100 [default: off]
   -m, --mute            operate silently [default: informative]
   -n, --enlarge         enlarge smaller images [default: off]
   --nn                  use nearest neighbour interpolation for PNG images
@@ -238,11 +238,21 @@
        1050x1400 -> 800x1067
        458092 bytes -> 78089 bytes
 
-6. Process images greater than 50KB (50*1024 bytes) only:
+6. Process images greater than 50KiB only:
 
        $ imgp -wrackx 1366x1000 -s 51200
 
+7. Generate thumbnail of the last modified file in the current dir:
+
+       #!/usr/bin/env sh
+
+       thumb64 ()
+       {
+           pop=$(ls -1t | head -1)
+           imgp -acx 64x64 "$pop"
+       }
+
 ### Developers
 
-1. Copyright © 2016-2018 [Arun Prakash Jana](https://github.com/jarun)
+1. Copyright © 2016-2020 [Arun Prakash Jana](https://github.com/jarun)
 2. [Ananya Jana](https://github.com/ananyajana)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/imgp-2.6/imgp new/imgp-2.7/imgp
--- old/imgp-2.6/imgp   2018-10-20 18:20:31.000000000 +0200
+++ new/imgp-2.7/imgp   2019-12-21 10:29:54.000000000 +0100
@@ -2,7 +2,7 @@
 #
 # Resize or rotate JPEG and PNG images.
 #
-# Copyright © 2016-2018 Arun Prakash Jana <[email protected]>
+# Copyright © 2016-2020 Arun Prakash Jana <[email protected]>
 #
 # This program is free software: you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -18,12 +18,12 @@
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 import argparse
-import sys
+from multiprocessing import Pool, Lock
 import os
-import PIL
+import sys
 import time
+import PIL
 from PIL import Image, ImageFile
-from multiprocessing import Pool, Lock
 
 # Globals
 HRES = 0  # specified horizontal resolution
@@ -51,7 +51,7 @@
 png_ip = PIL.Image.ANTIALIAS  # default interpolation for PNG
 fill_color = '#ffffff'  # BG color to strip alpha channel
 init_time = time.time()  # profile the total time taken
-_VERSION_ = '2.6'  # current program version
+_VERSION_ = '2.7'  # current program version
 
 # Globals for multiprocessing
 pool = None
@@ -120,6 +120,7 @@
         with lock:
             print(e)
 
+
 def rotate_image(src):
     '''Rotate a source image'''
 
@@ -454,7 +455,7 @@
 
         file.write('''
 Version %s
-Copyright © 2016-2018 Arun Prakash Jana <[email protected]>
+Copyright © 2016-2020 Arun Prakash Jana <[email protected]>
 License: GPLv3
 Webpage: https://github.com/jarun/imgp
 ''' % _VERSION_)
@@ -479,8 +480,7 @@
         Namespace with parsed arguments / options.
     '''
 
-    argparser = ExtendedArgumentParser(
-                    description='Resize, rotate JPEG and PNG images.')
+    argparser = ExtendedArgumentParser(description='Resize, rotate JPEG and 
PNG images.')
     addarg = argparser.add_argument
     addarg('-x', '--res', nargs=1, metavar='res',
            help='output resolution in HxV or percentage')
@@ -499,7 +499,7 @@
     addarg('-i', '--includeimgp', action='store_true',
            help='re-process _IMGP files. * RISKY: refer to docs')
     addarg('-k', '--keep', action='store_true',
-           help='skip (but convert or make progressive, if opted) images with 
matching specified \
+           help='skip (honors -c or --pr) images matching specified \
                  hres or vres or --res=100 [default: off]')
     addarg('-m', '--mute', action='store_true',
            help='operate silently [default: informative]')
@@ -558,7 +558,7 @@
                 else:
                     scale = int(args.res[0])
 
-                if (scale <= 0):
+                if scale <= 0:
                     print('scale should be > 0%')
                     return
                 if scale > 100 and not args.enlarge:
@@ -632,5 +632,6 @@
         if count_lowres:
             print('%s not processed due to low resolution.' % count_lowres)
 
+
 if __name__ == '__main__':
     main()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/imgp-2.6/imgp.1 new/imgp-2.7/imgp.1
--- old/imgp-2.6/imgp.1 2018-10-20 18:20:31.000000000 +0200
+++ new/imgp-2.7/imgp.1 2019-12-21 10:29:54.000000000 +0100
@@ -1,4 +1,4 @@
-.TH "IMGP" "1" "20 Oct 2018" "Version 2.6" "User Commands"
+.TH "IMGP" "1" "21 Dec 2019" "Version 2.7" "User Commands"
 .SH NAME
 imgp \- Resize, rotate JPEG and PNG images.
 .SH SYNOPSIS
@@ -184,11 +184,26 @@
 .EE
 .PP
 .IP 6. 4
-Process images greater than 50KB (50*1024 bytes) only:
+Process images greater than 50KiB only:
 .PP
 .EX
 .IP
 .B $ imgp -wrackx 1366x1000 -s 51200
+.EE
+.PP
+.IP 7. 4
+Generate thumbnail of the last modified file in the current dir:
+.PP
+.EX
+.IP
+.B #!/usr/bin/env sh
+
+thumb64 ()
+{
+    pop=$(ls -1t | head -1)
+    imgp -acx 64x64 "$pop"
+}
+.EE
 .SH AUTHORS
 Arun Prakash Jana <[email protected]>
 .SH HOME
@@ -196,7 +211,7 @@
 .SH REPORTING BUGS
 .I https://github.com/jarun/imgp/issues
 .SH LICENSE
-Copyright \(co 2016-2018 Arun Prakash Jana <[email protected]>
+Copyright \(co 2016-2020 Arun Prakash Jana <[email protected]>
 .PP
 License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
 .br
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/imgp-2.6/packagecore.yaml 
new/imgp-2.7/packagecore.yaml
--- old/imgp-2.6/packagecore.yaml       2018-10-20 18:20:31.000000000 +0200
+++ new/imgp-2.7/packagecore.yaml       2019-12-21 10:29:54.000000000 +0100
@@ -13,7 +13,8 @@
     deps:
       - python-pillow
       - python
-  centos7.1:
+    container: "archlinux/base"
+  centos7.5:
     builddeps:
       - make
     deps:
@@ -22,25 +23,7 @@
     commands:
       pre:
         - yum install epel-release
-  centos7.2:
-    builddeps:
-      - make
-    deps:
-      - python-pillow
-      - python
-    commands:
-      pre:
-        - yum install epel-release
-  centos7.3:
-    builddeps:
-      - make
-    deps:
-      - python-pillow
-      - python
-    commands:
-      pre:
-        - yum install epel-release
-  centos7.4:
+  centos7.6:
     builddeps:
       - make
     deps:
@@ -49,48 +32,39 @@
     commands:
       pre:
         - yum install epel-release
+#  centos8.0:
+#    builddeps:
+#      - make
+#    deps:
+#      - python-pillow
+#      - python
+#    commands:
+#      pre:
+#        - yum install epel-release
   debian9:
     builddeps:
       - make
     deps:
       - python3-pillow
       - python3
-  fedora25:
+  debian10:
     builddeps:
       - make
     deps:
       - python3-pillow
       - python3
-  fedora26:
+  fedora30:
     builddeps:
       - make
     deps:
       - python3-pillow
       - python3
-  fedora27:
+  fedora31:
     builddeps:
       - make
     deps:
       - python3-pillow
       - python3
-  fedora28:
-    builddeps:
-      - make
-    deps:
-      - python3-pillow
-      - python3
-  opensuse42.1:
-    builddeps:
-      - make
-    deps:
-      - python3-Pillow
-      - python3
-  opensuse42.2:
-    builddeps:
-      - make
-    deps:
-      - python3-Pillow
-      - python3
   opensuse42.3:
     builddeps:
       - make
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/imgp-2.6/setup.py new/imgp-2.7/setup.py
--- old/imgp-2.6/setup.py       1970-01-01 01:00:00.000000000 +0100
+++ new/imgp-2.7/setup.py       2019-12-21 10:29:54.000000000 +0100
@@ -0,0 +1,65 @@
+#!/usr/bin/env python3
+
+import re
+import shutil
+import sys
+
+from setuptools import setup, find_packages
+from pkg_resources import get_distribution, DistributionNotFound
+
+def get_dist(pkgname):
+    try:
+        return get_distribution(pkgname)
+    except DistributionNotFound:
+        return None
+
+shutil.copyfile('imgp', 'imgp.py')
+
+with open('imgp.py', encoding='utf-8') as f:
+    version = re.search('_VERSION_ = \'([^\']+)\'', f.read()).group(1)
+
+with open('README.md', encoding='utf-8') as f:
+    long_description = f.read()
+
+requirements = ['pillow-simd' if get_dist('pillow-simd') is not None else 
'pillow']
+
+setup(
+    name='imgp',
+    version=version,
+    description='High-performance CLI batch image resizer & rotator',
+    long_description=long_description,
+    long_description_content_type="text/markdown",
+    author='Arun Prakash Jana',
+    author_email='[email protected]',
+    url='https://github.com/jarun/imgp',
+    license='GPLv3',
+    license_file='LICENSE',
+    python_requires='>=3.5',  # requires pip>=9.0.0
+    platforms=['any'],
+    py_modules=['imgp'],
+    install_requires=requirements,
+    include_package_data=True,
+    entry_points={
+        'console_scripts': ['imgp=imgp:main']
+    },
+    extras_require={
+        'packaging': ['twine']
+    },
+    keywords='image processing resize rotate optimize',
+    classifiers=[
+        'Development Status :: 5 - Production/Stable',
+        'Environment :: Console',
+        'Intended Audience :: Developers',
+        'Intended Audience :: End Users/Desktop',
+        'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
+        'Natural Language :: English',
+        'Operating System :: OS Independent',
+        'Programming Language :: Python :: 3',
+        'Programming Language :: Python :: 3 :: Only',
+        'Programming Language :: Python :: 3.5',
+        'Programming Language :: Python :: 3.6',
+        'Programming Language :: Python :: 3.7',
+        'Programming Language :: Python :: 3.8',
+        'Topic :: Utilities'
+    ]
+)


Reply via email to