dev-python/python-docx - 1.2.0 (pentoo)

Search

Install

Install this version:

emerge -a =dev-python/python-docx-1.2.0

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =dev-python/python-docx-1.2.0

Or alternatively:

emerge --autounmask-write -a =dev-python/python-docx-1.2.0

Package Information

Description:
Create and modify Word documents with Python
Homepage:
https://github.com/python-openxml/python-docx
License:
MIT

Ebuild Details

Version EAPI Keywords Slot
1.2.0 8 ~amd64 ~arm ~arm64 ~x86 0
View Raw Ebuild
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{12..14} )

inherit distutils-r1 pypi

DESCRIPTION="Create and modify Word documents with Python"
HOMEPAGE="https://github.com/python-openxml/python-docx"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
IUSE="test"
RESTRICT="!test? ( test )"

RDEPEND="
	>=dev-python/lxml-3.1.0[${PYTHON_USEDEP}]
	>=dev-python/typing-extensions-4.9.0[${PYTHON_USEDEP}]
"

BDEPEND="
	${RDEPEND}
	test? (
		dev-python/pyparsing[${PYTHON_USEDEP}]
	)
"

EPYTEST_PLUGINS=()
distutils_enable_tests pytest
distutils_enable_sphinx docs

USE Flags

Manage flags for this package: euse -i <flag> -p dev-python/python-docx | euse -E <flag> -p dev-python/python-docx | euse -D <flag> -p dev-python/python-docx

Global/Standard Flags

Inherited Eclasses

Dependencies

RDEPEND

	>=dev-python/lxml-3.1.0[]
	>=dev-python/typing-extensions-4.9.0[]

BDEPEND

	
	>=dev-python/lxml-3.1.0[]
	>=dev-python/typing-extensions-4.9.0[]

	test? (
		dev-python/pyparsing[]
	)