dev-python/thumbor-pexif: Add this thumbor dependency
authorW. Trevor King <wking@tremily.us>
Tue, 30 Sep 2014 19:10:12 +0000 (12:10 -0700)
committerW. Trevor King <wking@tremily.us>
Tue, 30 Sep 2014 19:10:12 +0000 (12:10 -0700)
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 [new file with mode: 0644]

diff --git a/thumbor-pexif-9999.ebuild b/thumbor-pexif-9999.ebuild
new file mode 100644 (file)
index 0000000..5030923
--- /dev/null
@@ -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
+}