summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Pipping <sping@gentoo.org>2018-01-17 01:27:10 +0100
committerSebastian Pipping <sping@gentoo.org>2018-01-17 01:33:48 +0100
commit48dcb73991770537df62cb3120ba57502db0599b (patch)
tree1566ac01d74da42a786bb87a212a2edd02b9da57 /dev-python/piexif/piexif-1.1.0_beta0.ebuild
parentapp-portage/portpeek: portpeek-2.1.25 stable on amd64. See bug #644824 (diff)
downloadgentoo-48dcb73991770537df62cb3120ba57502db0599b.tar.gz
gentoo-48dcb73991770537df62cb3120ba57502db0599b.tar.bz2
gentoo-48dcb73991770537df62cb3120ba57502db0599b.zip
dev-python/piexif: 1.1.0_beta0
Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'dev-python/piexif/piexif-1.1.0_beta0.ebuild')
-rw-r--r--dev-python/piexif/piexif-1.1.0_beta0.ebuild29
1 files changed, 29 insertions, 0 deletions
diff --git a/dev-python/piexif/piexif-1.1.0_beta0.ebuild b/dev-python/piexif/piexif-1.1.0_beta0.ebuild
new file mode 100644
index 000000000000..d3d26468042f
--- /dev/null
+++ b/dev-python/piexif/piexif-1.1.0_beta0.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( pypy{,3} python{2_7,3_{4,5,6}} )
+
+inherit distutils-r1
+
+MY_P=${PN}-${PV/_beta/b}
+DESCRIPTION="Exif manipulation with pure Python"
+HOMEPAGE="https://github.com/hMatoba/Piexif
+ https://pypi.python.org/pypi/piexif"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_P}.zip"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+S="${WORKDIR}"/${MY_P}
+
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
+ app-arch/unzip
+ test? ( dev-python/pillow )"
+
+python_test() {
+ "${PYTHON}" setup.py test
+}