New package: dev-python/piexif

This commit is contained in:
nemunaire 2016-10-26 19:53:43 +02:00
parent 5ad59ebd7b
commit 9053c188b0
2 changed files with 40 additions and 0 deletions

View File

@ -0,0 +1,2 @@
DIST piexif-1.0.8.zip 1004900 SHA256 fee69b5b7f6b551dbbdf907535d837bad59cbab8564c693083941acd6e287dbc SHA512 472971b7dc06da0d634d2c7e1bba22e58e40ad9bdcdb8956f3034c1fe04b3615d84f2039e1cc985911ce1e361fe93fd968b365f8bf9df0536a4ca44004826800 WHIRLPOOL ba6b77fdd4e129136cd195045b815ddeada2cb175a79cf3d067416ab1706abe2e557c9816120e9335677ce0a2ae99b63b322386a79eb8976ce6d757e9be64481
EBUILD piexif-1.0.8.ebuild 911 SHA256 d880c7aa71f3734a4f849e08150d3a689c3805ceaf50e724e6c09c154d2c064c SHA512 aa17388ac531cb92ff034617d75dd82d37ce3740480c40edff75e9932635fe513ea250b6633b8b76706afffd1d234cefe19d8722daa3058357e4b6639d0ab732 WHIRLPOOL f0fc3d2120c023aa281b7404067e9bb5826fdbcf5c57f0ad0a870b6c25c328f6e1e9f61ca911ee673f0f011f18f346b544035893d7b978ac76843d00b2b1e818

View 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
}