Skip to content

Commit

Permalink
Prepare for release v2.7
Browse files Browse the repository at this point in the history
  • Loading branch information
jarun committed Dec 21, 2019
1 parent 78596a1 commit 9a50724
Show file tree
Hide file tree
Showing 7 changed files with 56 additions and 10 deletions.
8 changes: 8 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
.pytest_cache*
__pycache__*

# Distribution / packaging
imgp.egg-info
dist/
build/
imgp.py
11 changes: 11 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -254,5 +254,5 @@ optional arguments:

### Developers

1. Copyright © 2016-2019 [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)
6 changes: 3 additions & 3 deletions imgp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#
# Resize or rotate JPEG and PNG images.
#
# Copyright © 2016-2019 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
Expand Down Expand Up @@ -51,7 +51,7 @@ pad = '_IMGP' # output file suffix when --overwrite is unused
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
Expand Down Expand Up @@ -455,7 +455,7 @@ class ExtendedArgumentParser(argparse.ArgumentParser):

file.write('''
Version %s
Copyright © 2016-2019 Arun Prakash Jana <[email protected]>
Copyright © 2016-2020 Arun Prakash Jana <[email protected]>
License: GPLv3
Webpage: https://github.com/jarun/imgp
''' % _VERSION_)
Expand Down
4 changes: 2 additions & 2 deletions imgp.1
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -211,7 +211,7 @@ Arun Prakash Jana <[email protected]>
.SH REPORTING BUGS
.I https://github.com/jarun/imgp/issues
.SH LICENSE
Copyright \(co 2016-2019 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
Expand Down
27 changes: 23 additions & 4 deletions packagecore.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ packages:
- python-pillow
- python
container: "archlinux/base"
centos7.3:
centos7.5:
builddeps:
- make
deps:
Expand All @@ -23,7 +23,7 @@ packages:
commands:
pre:
- yum install epel-release
centos7.4:
centos7.6:
builddeps:
- make
deps:
Expand All @@ -32,20 +32,39 @@ packages:
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
fedora28:
debian10:
builddeps:
- make
deps:
- python3-pillow
- python3
fedora29:
fedora30:
builddeps:
- make
deps:
- python3-pillow
- python3
fedora31:
builddeps:
- make
deps:
- python3-pillow
- python3
opensuse42.3:
builddeps:
- make
Expand Down
8 changes: 8 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@
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')

Expand All @@ -26,6 +33,7 @@
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'],
Expand Down

4 comments on commit 9a50724

@jarun
Copy link
Owner Author

@jarun jarun commented on 9a50724 Dec 22, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@szlin, @pabloariasal, @dilawar, @eclipseo imgp v2.7 is released!

@eclipseo
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done in F30-F32.

@szlin
Copy link
Collaborator

@szlin szlin commented on 9a50724 Dec 25, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jarun The new version of imgp has been uploaded into Debian archive.

Merry Christmas!

SZ

@jarun
Copy link
Owner Author

@jarun jarun commented on 9a50724 Dec 25, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks guys! Merry Christmas to you too!

Please sign in to comment.