From 3e9cbe237975041830a047a299c753ece14a536f Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Tue, 30 Sep 2014 12:10:12 -0700 Subject: [PATCH] dev-python/thumbor-pexif: Add this thumbor dependency I've submitted the new homepage upstream [1]. This package is old, and not Python 3 compatible, with stuff like: print >> sys.stderr, usage [1]: https://github.com/thumbor/pexif/pull/1 --- thumbor-pexif-9999.ebuild | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 thumbor-pexif-9999.ebuild diff --git a/thumbor-pexif-9999.ebuild b/thumbor-pexif-9999.ebuild new file mode 100644 index 0000000..5030923 --- /dev/null +++ b/thumbor-pexif-9999.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=5 +PYTHON_COMPAT=( python2_7 ) + +inherit distutils-r1 + +if [[ "${PV}" == "9999" ]]; then + inherit git-2 + EGIT_REPO_URI="git://github.com/thumbor/pexif.git" + SRC_URI="" +else + SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" +fi + +DESCRIPTION="Edit JPEG EXIF data" +HOMEPAGE="https://github.com/thumbor/pexif https://pypi.python.org/pypi/thumbor-pexif" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +RDEPEND="" +DEPEND="" + +python_test() { + PYTHONPATH=. "${EPYTHON}" ./test/test.py +} -- 2.26.2