1 |
commit: 95afca0166387f882b4115285e777beef847022b |
2 |
Author: Louis Sautier <sbraz <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jul 15 00:40:20 2018 +0000 |
4 |
Commit: Louis Sautier <sbraz <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jul 15 00:47:43 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=95afca01 |
7 |
|
8 |
dev-python/imagesize: bump to 1.0.0, add tests, fix deps+SRC_URI |
9 |
|
10 |
Package-Manager: Portage-2.3.42, Repoman-2.3.9 |
11 |
|
12 |
dev-python/imagesize/Manifest | 1 + |
13 |
dev-python/imagesize/imagesize-1.0.0.ebuild | 27 +++++++++++++++++++++++++++ |
14 |
2 files changed, 28 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/imagesize/Manifest b/dev-python/imagesize/Manifest |
17 |
index 58530fb31ba..fe9e04677cd 100644 |
18 |
--- a/dev-python/imagesize/Manifest |
19 |
+++ b/dev-python/imagesize/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST imagesize-0.7.1.tar.gz 2871 BLAKE2B c458527576b9e55d7bb501667b1283a6362b408339c385c6dc1201538668d0c4708973c8b94faea7151195304eac78071770fc068a65f0b9565f50ea7808395e SHA512 61ff92167cc90bb1dcc78bb358419a526f09dc567709548bbe399694aa15dab63744f56c67bf33a940f5f443fd3a5ddc08ef9e17799b6fede1b11c0ad6a17f75 |
22 |
+DIST imagesize-1.0.0.tar.gz 465373 BLAKE2B aadb78abb6cdba8083c123313e4e35bc2d83cff4034357c6806c9231e6e0be570c871a5ed2e975337a91741aea6ac7643c4cfe3a19e12c184cab0b2f3f51fdd4 SHA512 1111d284cfdb8b14bc09dd0dd569434c62225f0b8da5ca5c00a740fce095c382efafcba73a4000e38b91418775518707693675c2d3c2dafb1036fc4aadb91e64 |
23 |
|
24 |
diff --git a/dev-python/imagesize/imagesize-1.0.0.ebuild b/dev-python/imagesize/imagesize-1.0.0.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..54738deb273 |
27 |
--- /dev/null |
28 |
+++ b/dev-python/imagesize/imagesize-1.0.0.ebuild |
29 |
@@ -0,0 +1,27 @@ |
30 |
+# Copyright 1999-2018 Gentoo Foundation |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=7 |
34 |
+ |
35 |
+PYTHON_COMPAT=( pypy{,3} python{2_7,3_{4,5,6}} ) |
36 |
+ |
37 |
+inherit distutils-r1 |
38 |
+ |
39 |
+DESCRIPTION="Pure Python module for getting image size from png/jpeg/jpeg2000/gif files" |
40 |
+HOMEPAGE="https://github.com/shibukawa/imagesize_py" |
41 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
42 |
+ |
43 |
+LICENSE="MIT" |
44 |
+SLOT="0" |
45 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x64-solaris" |
46 |
+IUSE="test" |
47 |
+ |
48 |
+DEPEND=" |
49 |
+ dev-python/setuptools[${PYTHON_USEDEP}] |
50 |
+ test? ( dev-python/pytest[${PYTHON_USEDEP}] ) |
51 |
+" |
52 |
+RDEPEND="" |
53 |
+ |
54 |
+python_test() { |
55 |
+ py.test || die "tests failed with ${EPYTHON}" |
56 |
+} |