Skip to content

Commit 9a50724

Browse files
committed
Prepare for release v2.7
1 parent 78596a1 commit 9a50724

File tree

7 files changed

+56
-10
lines changed

7 files changed

+56
-10
lines changed

.gitignore

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
.pytest_cache*
2+
__pycache__*
3+
4+
# Distribution / packaging
5+
imgp.egg-info
6+
dist/
7+
build/
8+
imgp.py

CHANGELOG

+11
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
imgp v2.7
2+
2019-12-21
3+
4+
What's in?
5+
- Code lint fixes
6+
- Package uploaded to PyPI
7+
- New auto-generated packages for - CentOS, Debian, Fedora
8+
- Update copyright year
9+
10+
-------------------------------------------------------------------------------
11+
112
imgp v2.6
213
2018-10-20
314

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -254,5 +254,5 @@ optional arguments:
254254

255255
### Developers
256256

257-
1. Copyright © 2016-2019 [Arun Prakash Jana](https://github.com/jarun)
257+
1. Copyright © 2016-2020 [Arun Prakash Jana](https://github.com/jarun)
258258
2. [Ananya Jana](https://github.com/ananyajana)

imgp

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#
33
# Resize or rotate JPEG and PNG images.
44
#
5-
# Copyright © 2016-2019 Arun Prakash Jana <engineerarun@gmail.com>
5+
# Copyright © 2016-2020 Arun Prakash Jana <engineerarun@gmail.com>
66
#
77
# This program is free software: you can redistribute it and/or modify
88
# it under the terms of the GNU General Public License as published by
@@ -51,7 +51,7 @@ pad = '_IMGP' # output file suffix when --overwrite is unused
5151
png_ip = PIL.Image.ANTIALIAS # default interpolation for PNG
5252
fill_color = '#ffffff' # BG color to strip alpha channel
5353
init_time = time.time() # profile the total time taken
54-
_VERSION_ = '2.6' # current program version
54+
_VERSION_ = '2.7' # current program version
5555

5656
# Globals for multiprocessing
5757
pool = None
@@ -455,7 +455,7 @@ class ExtendedArgumentParser(argparse.ArgumentParser):
455455

456456
file.write('''
457457
Version %s
458-
Copyright © 2016-2019 Arun Prakash Jana <engineerarun@gmail.com>
458+
Copyright © 2016-2020 Arun Prakash Jana <engineerarun@gmail.com>
459459
License: GPLv3
460460
Webpage: https://github.com/jarun/imgp
461461
''' % _VERSION_)

imgp.1

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.TH "IMGP" "1" "20 Oct 2018" "Version 2.6" "User Commands"
1+
.TH "IMGP" "1" "21 Dec 2019" "Version 2.7" "User Commands"
22
.SH NAME
33
imgp \- Resize, rotate JPEG and PNG images.
44
.SH SYNOPSIS
@@ -211,7 +211,7 @@ Arun Prakash Jana <engineerarun@gmail.com>
211211
.SH REPORTING BUGS
212212
.I https://github.com/jarun/imgp/issues
213213
.SH LICENSE
214-
Copyright \(co 2016-2019 Arun Prakash Jana <engineerarun@gmail.com>
214+
Copyright \(co 2016-2020 Arun Prakash Jana <engineerarun@gmail.com>
215215
.PP
216216
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
217217
.br

packagecore.yaml

+23-4
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ packages:
1414
- python-pillow
1515
- python
1616
container: "archlinux/base"
17-
centos7.3:
17+
centos7.5:
1818
builddeps:
1919
- make
2020
deps:
@@ -23,7 +23,7 @@ packages:
2323
commands:
2424
pre:
2525
- yum install epel-release
26-
centos7.4:
26+
centos7.6:
2727
builddeps:
2828
- make
2929
deps:
@@ -32,20 +32,39 @@ packages:
3232
commands:
3333
pre:
3434
- yum install epel-release
35+
# centos8.0:
36+
# builddeps:
37+
# - make
38+
# deps:
39+
# - python-pillow
40+
# - python
41+
# commands:
42+
# pre:
43+
# - yum install epel-release
3544
debian9:
3645
builddeps:
3746
- make
3847
deps:
3948
- python3-pillow
4049
- python3
41-
fedora28:
50+
debian10:
4251
builddeps:
4352
- make
4453
deps:
4554
- python3-pillow
4655
- python3
47-
fedora29:
56+
fedora30:
4857
builddeps:
58+
- make
59+
deps:
60+
- python3-pillow
61+
- python3
62+
fedora31:
63+
builddeps:
64+
- make
65+
deps:
66+
- python3-pillow
67+
- python3
4968
opensuse42.3:
5069
builddeps:
5170
- make

setup.py

+8
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,13 @@
55
import sys
66

77
from setuptools import setup, find_packages
8+
from pkg_resources import get_distribution, DistributionNotFound
9+
10+
def get_dist(pkgname):
11+
try:
12+
return get_distribution(pkgname)
13+
except DistributionNotFound:
14+
return None
815

916
shutil.copyfile('imgp', 'imgp.py')
1017

@@ -26,6 +33,7 @@
2633
author_email='engineerarun@gmail.com',
2734
url='https://github.com/jarun/imgp',
2835
license='GPLv3',
36+
license_file='LICENSE',
2937
python_requires='>=3.5', # requires pip>=9.0.0
3038
platforms=['any'],
3139
py_modules=['imgp'],

0 commit comments

Comments
 (0)