Add dev-python/exif

This commit is contained in:
2023-10-15 13:16:56 +02:00
parent e6f1aa95b9
commit 92121290e4
2 changed files with 40 additions and 0 deletions

2
dev-python/exif/Manifest Normal file
View File

@ -0,0 +1,2 @@
DIST exif-1.6.0.tar.gz 19095205 BLAKE2B 1e113dacfbf80f5944353f93d515d2bb7383b5b6165ab473763992f0a821700acfbfe21ff86c07c66897cd91101d4589d3a5e5a3fb8df1fbd10be7613f2297fa SHA512 c250c9487da581418fe0072480e883e5ca02b7a9d94d2b1728c2724290aae4375abf8ae21a98baca638662a7a2d1630a02d8e2c9caeac2eb1598e12fdaf10d36
EBUILD exif-1.6.0.ebuild 910 BLAKE2B 8cbdadf9aa65a2e8499b6edb588708c207763b28c0c9569443f52102091d73262fa85c4f056d37f76fb4ad45768a3019e4f625e29f65234547bab6f0e1091725 SHA512 2029d59dd21ae0144fc57bb6c4e53a0536cbf5cad065c31093c0a6c6d1d0e6e544712d0c5d052e7ffaf59cccb909ee8d6c29db2e0f36d8a896e08f47089a9c20

View File

@ -0,0 +1,38 @@
# Copyright 2018-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{10..12} pypy3 )
inherit distutils-r1
DESCRIPTION="RFC-compliant FQDN validation and manipulation for Python"
HOMEPAGE="
https://gitlab.com/TNThieding/exif
https://pypi.org/project/exif/
"
SRC_URI="
https://gitlab.com/TNThieding/${PN}/-/archive/v${PV}/${PN}-v${PV}.tar.gz
-> ${P}.tar.gz
"
S="${WORKDIR}/${PN}-v${PV}"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~arm64-macos ~x64-macos"
DEPENDS="
dev-python/pytest
dev-python/pytest-cov
dev-python/pytest-html
"
distutils_enable_tests pytest
distutils_enable_sphinx docs
python_prepare_all() {
export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
distutils-r1_python_prepare_all
}