dev-python/olefile: Add from Gentoo

It's from Gentoo commit 123f53a24dcba25eb21652b1fda561b0eb3763a0.
This commit is contained in:
Krzesimir Nowak 2024-07-04 12:10:02 +02:00 committed by Mathieu Tortuyaux
parent 021f16d6d1
commit 76c0801314
No known key found for this signature in database
GPG Key ID: AC5CCFB52545D9B8
3 changed files with 42 additions and 0 deletions

View File

@ -0,0 +1 @@
DIST olefile-0.47.gh.tar.gz 102116 BLAKE2B d3b3e8349901b7bf4a4facd0a784e9fa01f3acc50412f3952e85d59e6816321cd41d65cca83731cf280a6a83c3a4bf4e9ae9ee84662f0883e138dc2ceb22798d SHA512 efd73092f4fb428a91066c11fd319a60fa43e46f7abc4e7ba38627f11e19a6fbba227d1307ee308d1297e97b3fff30e6e497c50d7f708204e20122ea01dddfd8

View File

@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>python@gentoo.org</email>
<name>Python</name>
</maintainer>
<stabilize-allarches/>
<upstream>
<remote-id type="pypi">olefile</remote-id>
<remote-id type="github">decalage2/olefile</remote-id>
</upstream>
</pkgmetadata>

View File

@ -0,0 +1,28 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{10..13} pypy3 )
inherit distutils-r1
DESCRIPTION="Python package to parse, read and write Microsoft OLE2 files"
HOMEPAGE="
https://www.decalage.info/olefile/
https://github.com/decalage2/olefile/
https://pypi.org/project/olefile/
"
SRC_URI="
https://github.com/decalage2/olefile/archive/v${PV}.tar.gz
-> ${P}.gh.tar.gz
"
LICENSE="BSD-2"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos"
distutils_enable_sphinx doc \
dev-python/sphinx-rtd-theme
distutils_enable_tests unittest