diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-12-14 13:26:14 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-12-14 13:26:14 +0000 |
commit | 6abbf81ef2f298e3221ff5e67a1f3c5f23958212 (patch) | |
tree | 25413d1cb3a0cbfe36029db32398c0f333609215 /dev-python/python-xmp-toolkit | |
parent | 9c417bacd51da6d8b57fa9f37425161d30d4b95b (diff) |
gentoo resync : 14.12.2020
Diffstat (limited to 'dev-python/python-xmp-toolkit')
-rw-r--r-- | dev-python/python-xmp-toolkit/Manifest | 1 | ||||
-rw-r--r-- | dev-python/python-xmp-toolkit/python-xmp-toolkit-2.0.1-r1.ebuild | 44 |
2 files changed, 45 insertions, 0 deletions
diff --git a/dev-python/python-xmp-toolkit/Manifest b/dev-python/python-xmp-toolkit/Manifest index 66485237de0e..02b3191ffdb0 100644 --- a/dev-python/python-xmp-toolkit/Manifest +++ b/dev-python/python-xmp-toolkit/Manifest @@ -1,4 +1,5 @@ AUX python-xmp-toolkit-2.0.1-test.patch 397 BLAKE2B 059d415194f4544de5e4f6bfcbc2bec466b14e72e46792ac762115dd8b33bcd87ebfcdc9412695bd5b75483ac6e82024c083725ed73713c1bad100c30f22448a SHA512 f70eb11fe5b46ec0fac9a4a5c56a7a5b9dc75427b53e8159ec873a74afde23ca4bf5940b185932fc566a10f8a47d2ff8e56fa514eac1b06c94135cfa7070747b DIST python-xmp-toolkit-2.0.1.tar.gz 3576384 BLAKE2B cbe73d08d101d0d44c368fd1f1c6f1c8308ece5ca26f164f78312d901fb5d0387a5d2a6519d527b3625d11e338df5c366bed8a7361ac822ac887ef8be3a74948 SHA512 46f83b03574b2d742f6c6efb5b94a549068557ad6338e74fc62368c265d05f0b66a4dd36b17cd51b39f7b6cfbfb1210d54cc44c69e9a9e3da3392ee5f11de3bd +EBUILD python-xmp-toolkit-2.0.1-r1.ebuild 1084 BLAKE2B 1bcd913e4b4b1305a238fb27f532c2673a848067ba50005bef578c412b2fca1f48f9a7df986f5d5983c3a6681b84c6e717af2bd3d81b8d009d089c5525f518dd SHA512 80a4042f9f426f217ebe3de3175209325cdfd7f93728467c285ae3f59d40c5d7dcb64511a3d125352e25ee19d52ff0454803b73a2c0c2495d89b6ec349ee3552 EBUILD python-xmp-toolkit-2.0.1.ebuild 1085 BLAKE2B 7127d2dd254433a846302392537b60cf8feeb19f3c71354c3f03f38a8447adc0063d68a00caccebb843681618ea80f7aabfcd6016f60e6847d2376f318fa7643 SHA512 85cf382a90321433bd60f4eff385de18cb77902a4bf4e015b2dcb92f9c78ffd3f449f0e697ce3c42b0875841a5fbfefbacd936da5b62220bc37c9b8921c3bd66 MISC metadata.xml 416 BLAKE2B 5ef9300ed19a8ed256dd6c6958c2350526d5946893c3346cc17550d15754030315cdae84355872f64e09e890a4dd2da5742f8ded5945e3d4fec2f569cad075ac SHA512 64943f03cf1585d994471560ab50e7f2cfb7c7b2f234fa38b6dcbae004987741f4f2faaa728c2570fdc7b776140d68c0437960118ffb3067b03a67de90656935 diff --git a/dev-python/python-xmp-toolkit/python-xmp-toolkit-2.0.1-r1.ebuild b/dev-python/python-xmp-toolkit/python-xmp-toolkit-2.0.1-r1.ebuild new file mode 100644 index 000000000000..b6bc67c87c0f --- /dev/null +++ b/dev-python/python-xmp-toolkit/python-xmp-toolkit-2.0.1-r1.ebuild @@ -0,0 +1,44 @@ +# Copyright 2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6..9} ) +inherit distutils-r1 + +if [[ ${PV} == "9999" ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/python-xmp-toolkit/${PN}.git" +else + SRC_URI="https://github.com/python-xmp-toolkit/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +DESCRIPTION="Library for working with XMP metadata" +HOMEPAGE="https://github.com/python-xmp-toolkit/python-xmp-toolkit/ https://pypi.org/project/python-xmp-toolkit/" + +LICENSE="BSD" +SLOT="0" +IUSE="doc test" +RESTRICT="!test? ( test )" + +DEPEND="doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) + test? ( dev-python/unittest2[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] + media-libs/exempi )" +RDEPEND="dev-python/pytz[${PYTHON_USEDEP}]" + +PATCHES=( "${FILESDIR}"/${P}-test.patch ) + +python_compile_all() { + use doc && emake -C docs html +} + +python_test() { + esetup.py test +} + +python_install_all() { + use doc && local HTML_DOCS=( docs/.build/html/. ) + distutils-r1_python_install_all +} |