New package: dev-python/piexif
This commit is contained in:
parent
5ad59ebd7b
commit
9053c188b0
2 changed files with 40 additions and 0 deletions
38
dev-python/piexif/piexif-1.0.8.ebuild
Normal file
38
dev-python/piexif/piexif-1.0.8.ebuild
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{3,4,5} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="To simplify exif manipulations with python. Writing, reading, and more..."
|
||||
HOMEPAGE="https://github.com/hMatoba/Piexif"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x64-macos"
|
||||
IUSE="doc test"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/requests-2.8.1[${PYTHON_USEDEP}]
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
doc? ( dev-python/sphinx )
|
||||
"
|
||||
|
||||
python_prepare_all() {
|
||||
distutils-r1_python_prepare_all
|
||||
|
||||
use doc && emake -C doc html
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && HTML_DOCS=( doc/_build/html/{*.html,*.js,_sources,_static,_modules,api} )
|
||||
|
||||
distutils-r1_python_install_all
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue